@eodash/eodash 5.0.0-alpha.2.16 → 5.0.0-alpha.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/client/composables/EodashMap.js +158 -107
- package/core/client/composables/index.js +13 -2
- package/core/client/eodash.js +6 -0
- package/core/client/plugins/axios.js +8 -0
- package/core/client/store/Actions.js +2 -1
- package/core/client/store/States.js +4 -0
- package/core/client/store/stac.js +11 -8
- package/core/client/utils/createLayers.js +77 -46
- package/core/client/utils/eodashSTAC.js +60 -19
- package/core/client/utils/helpers.js +94 -26
- package/dist/client/{DashboardLayout-CCtyOil0.js → DashboardLayout-BR1lU9ER.js} +2 -2
- package/dist/client/{DynamicWebComponent-But2r1Sj.js → DynamicWebComponent-7z8VFsrZ.js} +2 -2
- package/dist/client/EodashDatePicker-o7ZOYIHL.js +259 -0
- package/dist/client/EodashItemFilter-lNjVkidr.js +7651 -0
- package/dist/client/{EodashLayerControl-BhZL4pYM.js → EodashLayerControl-B0N8_XmX.js} +5162 -5035
- package/dist/client/{EodashMap-C5tOgVOv.js → EodashMap-DFT2R2Rk.js} +3575 -3545
- package/dist/client/{EodashMapBtns-CdDfVQj0.js → EodashMapBtns-CoGjVl8Y.js} +2 -2
- package/dist/client/{ExportState-CKCCN_VI.js → ExportState-Dwv37MRw.js} +133 -126
- package/dist/client/{Footer-B9yVgyzx.js → Footer-DuScuHSx.js} +63 -63
- package/dist/client/{Header-CPIlUEOq.js → Header-C4Y0u0E5.js} +70 -70
- package/dist/client/{IframeWrapper-DRw1kHJm.js → IframeWrapper-D1TfK4xH.js} +1 -1
- package/dist/client/{MobileLayout-CPxVee5U.js → MobileLayout-C-b8DIFO.js} +43 -41
- package/dist/client/{PopUp-Dca-gx9a.js → PopUp-DBMZX3l3.js} +3 -3
- package/dist/client/{VImg-PHLA1nP1.js → VImg-bAMQHnMM.js} +33 -31
- package/dist/client/VMain-Df5VMG9r.js +38 -0
- package/dist/client/VOverlay-D5GzAYRY.js +973 -0
- package/dist/client/{WidgetsContainer-jxk3kw-d.js → WidgetsContainer-yZDmY6_u.js} +1 -1
- package/dist/client/{asWebComponent-3OsFQJVx.js → asWebComponent-DhR2_xlP.js} +9844 -8985
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-BxZaq9ml.js → forwardRefs-C0MQxvur.js} +1 -1
- package/dist/client/{index-Vul961Xy.js → index-qNWeBhRh.js} +1 -1
- package/dist/client/{lerc-B4lXefGh-BESXOHWk.js → lerc-B4lXefGh-CsL-d8wY.js} +1 -1
- package/dist/client/{ssrBoot-BFMBrCqY.js → ssrBoot-Xmkz8T49.js} +1 -1
- package/dist/client/style.css +2 -2
- package/dist/client/{transition-U5aFjJtV.js → transition-DRzZPWIN.js} +1 -1
- package/dist/client/{webfontloader-D_JbBwHu.js → webfontloader-CqD-lAx-.js} +1 -1
- package/dist/node/cli.js +1 -1
- package/package.json +26 -23
- package/widgets/EodashDatePicker.vue +100 -88
- package/widgets/EodashMap.vue +20 -30
- package/widgets/ExportState.vue +4 -2
- package/dist/client/EodashDatePicker-jeYiWflv.js +0 -247
- package/dist/client/EodashItemFilter-BFlfWeE_.js +0 -10125
- package/dist/client/VMain-Ck81LJfb.js +0 -39
- package/dist/client/VOverlay-CL4hiJB8.js +0 -972
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
const
|
|
1
|
+
import { p as _, ae as x, e as w, af as k, ao as b, ag as C, f as S, h as I, g as B, r as g, i as P, Q as R, R as f, ah as z, ai as F, aj as M, s as T, J as V, c as e, ap as X, ar as Z, aq as j, a as L, b as N, C as D, _ as E, x as H, W as $, H as q, $ as A, a0 as J, a1 as K, a9 as t, aa as O, a3 as r, a8 as Q, at as U, au as W } from "./asWebComponent-DhR2_xlP.js";
|
|
2
|
+
const G = _({
|
|
3
3
|
app: Boolean,
|
|
4
4
|
color: String,
|
|
5
5
|
height: {
|
|
6
6
|
type: [Number, String],
|
|
7
7
|
default: "auto"
|
|
8
8
|
},
|
|
9
|
+
...x(),
|
|
10
|
+
...w(),
|
|
9
11
|
...k(),
|
|
10
12
|
...b(),
|
|
11
13
|
...C(),
|
|
12
|
-
...
|
|
13
|
-
...S(),
|
|
14
|
-
...R({
|
|
14
|
+
...S({
|
|
15
15
|
tag: "footer"
|
|
16
16
|
}),
|
|
17
|
-
...
|
|
18
|
-
}, "VFooter"),
|
|
17
|
+
...I()
|
|
18
|
+
}, "VFooter"), Y = B()({
|
|
19
19
|
name: "VFooter",
|
|
20
|
-
props:
|
|
21
|
-
setup(l,
|
|
20
|
+
props: G(),
|
|
21
|
+
setup(l, s) {
|
|
22
22
|
let {
|
|
23
|
-
slots:
|
|
24
|
-
} =
|
|
25
|
-
const
|
|
26
|
-
themeClasses:
|
|
23
|
+
slots: c
|
|
24
|
+
} = s;
|
|
25
|
+
const a = g(), {
|
|
26
|
+
themeClasses: n
|
|
27
|
+
} = P(l), {
|
|
28
|
+
backgroundColorClasses: i,
|
|
29
|
+
backgroundColorStyles: d
|
|
30
|
+
} = R(f(l, "color")), {
|
|
31
|
+
borderClasses: p
|
|
27
32
|
} = z(l), {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} = X((e) => {
|
|
39
|
-
e.length && (h.value = e[0].target.clientHeight);
|
|
40
|
-
}), u = t(() => l.height === "auto" ? h.value : parseInt(l.height, 10));
|
|
41
|
-
return Z(() => l.app, () => {
|
|
42
|
-
const e = j({
|
|
33
|
+
elevationClasses: m
|
|
34
|
+
} = F(l), {
|
|
35
|
+
roundedClasses: v
|
|
36
|
+
} = M(l), h = T(32), {
|
|
37
|
+
resizeRef: y
|
|
38
|
+
} = V((o) => {
|
|
39
|
+
o.length && (h.value = o[0].target.clientHeight);
|
|
40
|
+
}), u = e(() => l.height === "auto" ? h.value : parseInt(l.height, 10));
|
|
41
|
+
return X(() => l.app, () => {
|
|
42
|
+
const o = Z({
|
|
43
43
|
id: l.name,
|
|
44
|
-
order:
|
|
45
|
-
position:
|
|
44
|
+
order: e(() => parseInt(l.order, 10)),
|
|
45
|
+
position: e(() => "bottom"),
|
|
46
46
|
layoutSize: u,
|
|
47
|
-
elementSize:
|
|
48
|
-
active:
|
|
49
|
-
absolute:
|
|
47
|
+
elementSize: e(() => l.height === "auto" ? void 0 : u.value),
|
|
48
|
+
active: e(() => l.app),
|
|
49
|
+
absolute: f(l, "absolute")
|
|
50
50
|
});
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
j(() => {
|
|
52
|
+
a.value = o.layoutItemStyles.value;
|
|
53
53
|
});
|
|
54
|
-
}),
|
|
55
|
-
ref:
|
|
56
|
-
class: ["v-footer",
|
|
57
|
-
style: [
|
|
58
|
-
height:
|
|
54
|
+
}), L(() => N(l.tag, {
|
|
55
|
+
ref: y,
|
|
56
|
+
class: ["v-footer", n.value, i.value, p.value, m.value, v.value, l.class],
|
|
57
|
+
style: [d.value, l.app ? a.value : {
|
|
58
|
+
height: D(l.height)
|
|
59
59
|
}, l.style]
|
|
60
|
-
},
|
|
60
|
+
}, c)), {};
|
|
61
61
|
}
|
|
62
|
-
}),
|
|
62
|
+
}), l0 = (l) => (U("data-v-7ea19f1b"), l = l(), W(), l), e0 = { class: "pt-0 footer-text" }, t0 = /* @__PURE__ */ l0(() => /* @__PURE__ */ t(
|
|
63
63
|
"a",
|
|
64
64
|
{
|
|
65
65
|
href: "https://github.com/eodash/eodash",
|
|
@@ -69,41 +69,41 @@ const Y = w({
|
|
|
69
69
|
"eodash",
|
|
70
70
|
-1
|
|
71
71
|
/* HOISTED */
|
|
72
|
-
)),
|
|
72
|
+
)), a0 = {
|
|
73
73
|
href: "https://eox.at",
|
|
74
74
|
target: "_blank",
|
|
75
75
|
class: "text-white"
|
|
76
|
-
},
|
|
76
|
+
}, o0 = ["src"], s0 = '<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>', c0 = {
|
|
77
77
|
__name: "Footer",
|
|
78
78
|
setup(l) {
|
|
79
|
-
const
|
|
79
|
+
const s = g(null), c = (
|
|
80
80
|
/** @type {import("@/types").Eodash} */
|
|
81
|
-
$
|
|
82
|
-
), { mdAndDown:
|
|
83
|
-
return (i, d) => (
|
|
81
|
+
H($)
|
|
82
|
+
), { mdAndDown: a } = q(), n = window.btoa(s0);
|
|
83
|
+
return (i, d) => (A(), J(Y, {
|
|
84
84
|
ref_key: "footer",
|
|
85
|
-
ref:
|
|
86
|
-
height: r(
|
|
85
|
+
ref: s,
|
|
86
|
+
height: r(a) ? "48px" : "auto",
|
|
87
87
|
color: "secondary",
|
|
88
88
|
app: "",
|
|
89
89
|
class: "d-flex justify-space-between"
|
|
90
90
|
}, {
|
|
91
|
-
default:
|
|
92
|
-
|
|
91
|
+
default: K(() => [
|
|
92
|
+
t(
|
|
93
93
|
"p",
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
e0,
|
|
95
|
+
O(r(c).brand.footerText ?? ""),
|
|
96
96
|
1
|
|
97
97
|
/* TEXT */
|
|
98
98
|
),
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
src: `data:image/svg+xml;base64,${r(
|
|
99
|
+
t("div", null, [
|
|
100
|
+
t0,
|
|
101
|
+
Q(" by "),
|
|
102
|
+
t("a", a0, [
|
|
103
|
+
t("img", {
|
|
104
|
+
src: `data:image/svg+xml;base64,${r(n)}`,
|
|
105
105
|
height: "11px"
|
|
106
|
-
}, null, 8,
|
|
106
|
+
}, null, 8, o0)
|
|
107
107
|
])
|
|
108
108
|
])
|
|
109
109
|
]),
|
|
@@ -111,7 +111,7 @@ const Y = w({
|
|
|
111
111
|
/* STABLE */
|
|
112
112
|
}, 8, ["height"]));
|
|
113
113
|
}
|
|
114
|
-
},
|
|
114
|
+
}, r0 = /* @__PURE__ */ E(c0, [["__scopeId", "data-v-7ea19f1b"]]);
|
|
115
115
|
export {
|
|
116
|
-
|
|
116
|
+
r0 as default
|
|
117
117
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { p
|
|
2
|
-
import { V as A } from "./VImg-
|
|
3
|
-
import { a as
|
|
4
|
-
import { u as
|
|
5
|
-
const L =
|
|
1
|
+
import { p, e as I, f as N, g as V, a as _, b as o, ae as W, af as $, ag as q, h as z, Q as F, R as k, ah as K, ai as O, aj as Q, i as Y, j as Z, s as y, c as n, S as G, ak as B, C as x, r as E, al as J, w as T, Z as X, am as ee, an as te, ao as ae, y as le, ap as oe, aq as se, ar as ne, d as R, _ as re, x as ie, W as ue, $ as ce, a0 as de, a1 as P, a8 as ve, aa as me, a3 as w } from "./asWebComponent-DhR2_xlP.js";
|
|
2
|
+
import { V as A } from "./VImg-bAMQHnMM.js";
|
|
3
|
+
import { a as ge } from "./index-qNWeBhRh.js";
|
|
4
|
+
import { u as fe } from "./ssrBoot-Xmkz8T49.js";
|
|
5
|
+
const L = p({
|
|
6
6
|
text: String,
|
|
7
7
|
...I(),
|
|
8
8
|
...N()
|
|
9
|
-
}, "VToolbarTitle"), U =
|
|
9
|
+
}, "VToolbarTitle"), U = V()({
|
|
10
10
|
name: "VToolbarTitle",
|
|
11
11
|
props: L(),
|
|
12
12
|
setup(e, r) {
|
|
13
13
|
let {
|
|
14
14
|
slots: t
|
|
15
15
|
} = r;
|
|
16
|
-
return
|
|
16
|
+
return _(() => {
|
|
17
17
|
const d = !!(t.default || t.text || e.text);
|
|
18
18
|
return o(e.tag, {
|
|
19
19
|
class: ["v-toolbar-title", e.class],
|
|
@@ -25,14 +25,14 @@ const L = V({
|
|
|
25
25
|
});
|
|
26
26
|
}), {};
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
28
|
+
}), he = [null, "prominent", "default", "comfortable", "compact"], D = p({
|
|
29
29
|
absolute: Boolean,
|
|
30
30
|
collapse: Boolean,
|
|
31
31
|
color: String,
|
|
32
32
|
density: {
|
|
33
33
|
type: String,
|
|
34
34
|
default: "default",
|
|
35
|
-
validator: (e) =>
|
|
35
|
+
validator: (e) => he.includes(e)
|
|
36
36
|
},
|
|
37
37
|
extended: Boolean,
|
|
38
38
|
extensionHeight: {
|
|
@@ -47,15 +47,15 @@ const L = V({
|
|
|
47
47
|
},
|
|
48
48
|
image: String,
|
|
49
49
|
title: String,
|
|
50
|
-
|
|
50
|
+
...W(),
|
|
51
51
|
...I(),
|
|
52
|
+
...$(),
|
|
52
53
|
...q(),
|
|
53
|
-
...z(),
|
|
54
54
|
...N({
|
|
55
55
|
tag: "header"
|
|
56
56
|
}),
|
|
57
|
-
...
|
|
58
|
-
}, "VToolbar"), C =
|
|
57
|
+
...z()
|
|
58
|
+
}, "VToolbar"), C = V()({
|
|
59
59
|
name: "VToolbar",
|
|
60
60
|
props: D(),
|
|
61
61
|
setup(e, r) {
|
|
@@ -64,23 +64,23 @@ const L = V({
|
|
|
64
64
|
} = r;
|
|
65
65
|
const {
|
|
66
66
|
backgroundColorClasses: d,
|
|
67
|
-
backgroundColorStyles:
|
|
68
|
-
} =
|
|
67
|
+
backgroundColorStyles: i
|
|
68
|
+
} = F(k(e, "color")), {
|
|
69
69
|
borderClasses: a
|
|
70
|
-
} =
|
|
70
|
+
} = K(e), {
|
|
71
71
|
elevationClasses: v
|
|
72
|
+
} = O(e), {
|
|
73
|
+
roundedClasses: u
|
|
72
74
|
} = Q(e), {
|
|
73
|
-
roundedClasses: i
|
|
74
|
-
} = Y(e), {
|
|
75
75
|
themeClasses: f
|
|
76
|
-
} =
|
|
76
|
+
} = Y(e), {
|
|
77
77
|
rtlClasses: S
|
|
78
|
-
} =
|
|
79
|
-
return
|
|
78
|
+
} = Z(), 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 G({
|
|
80
80
|
VBtn: {
|
|
81
81
|
variant: "text"
|
|
82
82
|
}
|
|
83
|
-
}),
|
|
83
|
+
}), _(() => {
|
|
84
84
|
const h = !!(e.title || t.title), s = !!(t.image || e.image), g = t.extension?.();
|
|
85
85
|
return c.value = !!(e.extended || g), o(e.tag, {
|
|
86
86
|
class: ["v-toolbar", {
|
|
@@ -89,8 +89,8 @@ const L = V({
|
|
|
89
89
|
"v-toolbar--flat": e.flat,
|
|
90
90
|
"v-toolbar--floating": e.floating,
|
|
91
91
|
[`v-toolbar--density-${e.density}`]: !0
|
|
92
|
-
}, d.value, a.value, v.value,
|
|
93
|
-
style: [
|
|
92
|
+
}, d.value, a.value, v.value, u.value, f.value, S.value, e.class],
|
|
93
|
+
style: [i.value, e.style]
|
|
94
94
|
}, {
|
|
95
95
|
default: () => [s && o("div", {
|
|
96
96
|
key: "image",
|
|
@@ -137,7 +137,7 @@ const L = V({
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}, {
|
|
140
|
-
default: () => [o(
|
|
140
|
+
default: () => [o(ge, null, {
|
|
141
141
|
default: () => [c.value && o("div", {
|
|
142
142
|
class: "v-toolbar__extension",
|
|
143
143
|
style: {
|
|
@@ -152,7 +152,7 @@ const L = V({
|
|
|
152
152
|
extensionHeight: b
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
}),
|
|
155
|
+
}), be = p({
|
|
156
156
|
scrollTarget: {
|
|
157
157
|
type: String
|
|
158
158
|
},
|
|
@@ -161,32 +161,32 @@ const L = V({
|
|
|
161
161
|
default: 300
|
|
162
162
|
}
|
|
163
163
|
}, "scroll");
|
|
164
|
-
function
|
|
164
|
+
function ye(e) {
|
|
165
165
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
166
166
|
const {
|
|
167
167
|
canScroll: t
|
|
168
168
|
} = r;
|
|
169
|
-
let d = 0,
|
|
170
|
-
const a =
|
|
169
|
+
let d = 0, i = 0;
|
|
170
|
+
const a = E(null), v = y(0), u = y(0), f = y(0), S = y(!1), c = y(!1), m = n(() => Number(e.scrollThreshold)), b = n(() => J((m.value - v.value) / m.value || 0)), h = () => {
|
|
171
171
|
const s = a.value;
|
|
172
172
|
if (!s || t && !t.value) return;
|
|
173
173
|
d = v.value, v.value = "window" in s ? s.pageYOffset : s.scrollTop;
|
|
174
174
|
const g = s instanceof Window ? document.documentElement.scrollHeight : s.scrollHeight;
|
|
175
|
-
if (
|
|
176
|
-
|
|
175
|
+
if (i !== g) {
|
|
176
|
+
i = g;
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
c.value = v.value < d, f.value = Math.abs(v.value - m.value);
|
|
180
180
|
};
|
|
181
181
|
return T(c, () => {
|
|
182
|
-
|
|
182
|
+
u.value = u.value || v.value;
|
|
183
183
|
}), T(S, () => {
|
|
184
|
-
|
|
185
|
-
}),
|
|
184
|
+
u.value = 0;
|
|
185
|
+
}), X(() => {
|
|
186
186
|
T(() => e.scrollTarget, (s) => {
|
|
187
187
|
const g = s ? document.querySelector(s) : window;
|
|
188
188
|
if (!g) {
|
|
189
|
-
|
|
189
|
+
ee(`Unable to locate element with identifier ${s}`);
|
|
190
190
|
return;
|
|
191
191
|
}
|
|
192
192
|
g !== a.value && (a.value?.removeEventListener("scroll", h), a.value = g, a.value.addEventListener("scroll", h, {
|
|
@@ -195,7 +195,7 @@ function Se(e) {
|
|
|
195
195
|
}, {
|
|
196
196
|
immediate: !0
|
|
197
197
|
});
|
|
198
|
-
}),
|
|
198
|
+
}), te(() => {
|
|
199
199
|
a.value?.removeEventListener("scroll", h);
|
|
200
200
|
}), t && T(t, h, {
|
|
201
201
|
immediate: !0
|
|
@@ -209,10 +209,10 @@ function Se(e) {
|
|
|
209
209
|
// probably can be removed
|
|
210
210
|
// later (2 chars chlng)
|
|
211
211
|
isScrollingUp: c,
|
|
212
|
-
savedScroll:
|
|
212
|
+
savedScroll: u
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
|
-
const
|
|
215
|
+
const Se = p({
|
|
216
216
|
scrollBehavior: String,
|
|
217
217
|
modelValue: {
|
|
218
218
|
type: Boolean,
|
|
@@ -224,15 +224,15 @@ const xe = V({
|
|
|
224
224
|
validator: (e) => ["top", "bottom"].includes(e)
|
|
225
225
|
},
|
|
226
226
|
...D(),
|
|
227
|
-
...
|
|
228
|
-
...
|
|
227
|
+
...ae(),
|
|
228
|
+
...be(),
|
|
229
229
|
height: {
|
|
230
230
|
type: [Number, String],
|
|
231
231
|
default: 64
|
|
232
232
|
}
|
|
233
|
-
}, "VAppBar"),
|
|
233
|
+
}, "VAppBar"), xe = V()({
|
|
234
234
|
name: "VAppBar",
|
|
235
|
-
props:
|
|
235
|
+
props: Se(),
|
|
236
236
|
emits: {
|
|
237
237
|
"update:modelValue": (e) => !0
|
|
238
238
|
},
|
|
@@ -240,7 +240,7 @@ const xe = V({
|
|
|
240
240
|
let {
|
|
241
241
|
slots: t
|
|
242
242
|
} = r;
|
|
243
|
-
const d =
|
|
243
|
+
const d = E(), i = le(e, "modelValue"), a = n(() => {
|
|
244
244
|
const l = new Set(e.scrollBehavior?.split(" ") ?? []);
|
|
245
245
|
return {
|
|
246
246
|
hide: l.has("hide"),
|
|
@@ -254,40 +254,40 @@ const xe = V({
|
|
|
254
254
|
}), v = n(() => {
|
|
255
255
|
const l = a.value;
|
|
256
256
|
return l.hide || l.fullyHide || l.inverted || l.collapse || l.elevate || l.fadeImage || // behavior.shrink ||
|
|
257
|
-
!
|
|
257
|
+
!i.value;
|
|
258
258
|
}), {
|
|
259
|
-
currentScroll:
|
|
259
|
+
currentScroll: u,
|
|
260
260
|
scrollThreshold: f,
|
|
261
261
|
isScrollingUp: S,
|
|
262
262
|
scrollRatio: c
|
|
263
|
-
} =
|
|
263
|
+
} = ye(e, {
|
|
264
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 && !
|
|
266
|
-
|
|
267
|
-
|
|
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 && !i.value || a.value.elevate && (a.value.inverted ? u.value > 0 : u.value === 0)), s = n(() => a.value.fadeImage ? a.value.inverted ? 1 - c.value : c.value : void 0), g = n(() => {
|
|
266
|
+
if (a.value.hide && a.value.inverted) return 0;
|
|
267
|
+
const l = d.value?.contentHeight ?? 0, H = d.value?.extensionHeight ?? 0;
|
|
268
|
+
return m.value ? u.value < f.value || a.value.fullyHide ? l + H : l : l + H;
|
|
268
269
|
});
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
m.value ? a.value.inverted ?
|
|
270
|
+
oe(n(() => !!e.scrollBehavior), () => {
|
|
271
|
+
se(() => {
|
|
272
|
+
m.value ? a.value.inverted ? i.value = u.value > f.value : i.value = S.value || u.value < f.value : i.value = !0;
|
|
272
273
|
});
|
|
273
274
|
});
|
|
274
275
|
const {
|
|
275
276
|
ssrBootStyles: j
|
|
276
|
-
} =
|
|
277
|
-
layoutItemStyles: M
|
|
278
|
-
|
|
279
|
-
} = re({
|
|
277
|
+
} = fe(), {
|
|
278
|
+
layoutItemStyles: M
|
|
279
|
+
} = ne({
|
|
280
280
|
id: e.name,
|
|
281
281
|
order: n(() => parseInt(e.order, 10)),
|
|
282
282
|
position: k(e, "location"),
|
|
283
283
|
layoutSize: g,
|
|
284
284
|
elementSize: y(void 0),
|
|
285
|
-
active:
|
|
285
|
+
active: i,
|
|
286
286
|
absolute: k(e, "absolute")
|
|
287
287
|
});
|
|
288
|
-
return
|
|
288
|
+
return _(() => {
|
|
289
289
|
const l = C.filterProps(e);
|
|
290
|
-
return o(C,
|
|
290
|
+
return o(C, R({
|
|
291
291
|
ref: d,
|
|
292
292
|
class: ["v-app-bar", {
|
|
293
293
|
"v-app-bar--bottom": e.location === "bottom"
|
|
@@ -302,32 +302,32 @@ const xe = V({
|
|
|
302
302
|
collapse: b.value,
|
|
303
303
|
flat: h.value
|
|
304
304
|
}), t);
|
|
305
|
-
}),
|
|
305
|
+
}), {};
|
|
306
306
|
}
|
|
307
|
-
}),
|
|
307
|
+
}), Te = V()({
|
|
308
308
|
name: "VAppBarTitle",
|
|
309
309
|
props: L(),
|
|
310
310
|
setup(e, r) {
|
|
311
311
|
let {
|
|
312
312
|
slots: t
|
|
313
313
|
} = r;
|
|
314
|
-
return
|
|
314
|
+
return _(() => o(U, R(e, {
|
|
315
315
|
class: "v-app-bar-title"
|
|
316
316
|
}), t)), {};
|
|
317
317
|
}
|
|
318
|
-
}),
|
|
318
|
+
}), pe = {
|
|
319
319
|
__name: "Header",
|
|
320
320
|
setup(e) {
|
|
321
321
|
const r = (
|
|
322
322
|
/** @type {import("@/types").Eodash} */
|
|
323
|
-
ie(
|
|
323
|
+
ie(ue)
|
|
324
324
|
), t = r.brand?.name;
|
|
325
|
-
return (d,
|
|
325
|
+
return (d, i) => (ce(), de(xe, { color: "primary" }, {
|
|
326
326
|
default: P(() => [
|
|
327
|
-
o(
|
|
327
|
+
o(Te, null, {
|
|
328
328
|
default: P(() => [
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
ve(
|
|
330
|
+
me(w(t)),
|
|
331
331
|
1
|
|
332
332
|
/* TEXT */
|
|
333
333
|
)
|
|
@@ -344,7 +344,7 @@ const xe = V({
|
|
|
344
344
|
/* STABLE */
|
|
345
345
|
}));
|
|
346
346
|
}
|
|
347
|
-
},
|
|
347
|
+
}, He = /* @__PURE__ */ re(pe, [["__scopeId", "data-v-d3a5e05e"]]);
|
|
348
348
|
export {
|
|
349
|
-
|
|
349
|
+
He as default
|
|
350
350
|
};
|