@eodash/eodash 5.0.0-alpha.2.19 → 5.0.0-alpha.2.21
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/App.vue +11 -1
- package/core/client/asWebComponent.js +9 -2
- package/core/client/utils/createLayers.js +1 -0
- package/core/client/views/Dashboard.vue +17 -46
- package/dist/client/DashboardLayout-DEZe5rZn.js +86 -0
- package/dist/client/DynamicWebComponent-Cp_3d3nd.js +88 -0
- package/dist/client/EodashDatePicker-BwQ9Bw9-.js +393 -0
- package/dist/client/EodashItemFilter-BtihrBap.js +194 -0
- package/dist/client/EodashLayerControl-BuZgXYop.js +111 -0
- package/dist/client/EodashMap-C9hvsdhf.js +472 -0
- package/dist/client/EodashMapBtns-BTG6oYL5.js +66 -0
- package/dist/client/ExportState-GDJ8YxS9.js +644 -0
- package/dist/client/Footer-Cul4HvW4.js +141 -0
- package/dist/client/Header-BikVMROv.js +437 -0
- package/dist/client/IframeWrapper-BgM9aU8f.js +28 -0
- package/dist/client/MobileLayout-ByPGOgnO.js +1210 -0
- package/dist/client/PopUp-AJqPEHmR.js +382 -0
- package/dist/client/VImg-CY7ndzv2.js +384 -0
- package/dist/client/VMain-BlIaUbM6.js +43 -0
- package/dist/client/VOverlay-CiMWDe2b.js +1453 -0
- package/dist/client/WidgetsContainer-DG9sQaF0.js +83 -0
- package/dist/client/asWebComponent-6g8pz2_C.js +11557 -0
- package/dist/client/eo-dash.js +2 -6
- package/dist/client/forwardRefs-DnXzPqIo.js +245 -0
- package/dist/client/index-14PHPf-A.js +199 -0
- package/dist/client/ssrBoot-BP7SYRyC.js +22 -0
- package/dist/client/style.css +2 -2
- package/dist/client/transition-CGVKXZbS.js +37 -0
- package/dist/node/cli.js +5 -5
- package/dist/node/types.d.ts +2 -0
- package/package.json +21 -19
- package/widgets/EodashDatePicker.vue +20 -9
- package/core/client/SuspensedDashboard.ce.vue +0 -105
- package/dist/client/DashboardLayout-CU4js3lr.js +0 -156
- package/dist/client/DynamicWebComponent-BsYZdIEB.js +0 -57
- package/dist/client/EodashDatePicker-DZoH_gRX.js +0 -276
- package/dist/client/EodashItemFilter-CHBfsFSm.js +0 -7666
- package/dist/client/EodashLayerControl-CuY-cAx8.js +0 -24665
- package/dist/client/EodashMap-Ch43fWNv.js +0 -88369
- package/dist/client/EodashMapBtns-CFA2uti4.js +0 -50
- package/dist/client/ExportState-C6raDjTt.js +0 -570
- package/dist/client/Footer-D8T5ROhF.js +0 -117
- package/dist/client/Header-B8B4Z5R9.js +0 -350
- package/dist/client/IframeWrapper-BK2JxzSJ.js +0 -19
- package/dist/client/MobileLayout-aZaYvF8V.js +0 -947
- package/dist/client/PopUp-DdHXoNOP.js +0 -300
- package/dist/client/VImg-yb8O1cb8.js +0 -293
- package/dist/client/VMain-Dknnyxts.js +0 -38
- package/dist/client/VOverlay-BCOn3hd6.js +0 -973
- package/dist/client/WidgetsContainer-BixUyr1e.js +0 -129
- package/dist/client/asWebComponent-CHqY8A1z.js +0 -24636
- package/dist/client/basedecoder-DHcBySSe-BmCFNFnw.js +0 -88
- package/dist/client/decoder-DJlmx386-DJlmx386.js +0 -8
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +0 -10
- package/dist/client/eox-stacinfo-l7ALSV90.js +0 -13969
- package/dist/client/forwardRefs-dcYA2XVU.js +0 -185
- package/dist/client/index-BVuSHaVu.js +0 -153
- package/dist/client/jpeg-BAgeD1d3-oeHbFPUL.js +0 -514
- package/dist/client/lerc-BPVtQnt3-08GHszVp.js +0 -1027
- package/dist/client/lzw-LAGDNbSC-DkP96qO9.js +0 -84
- package/dist/client/packbits-BlDR4Kj5-C66n1-zr.js +0 -24
- package/dist/client/pako.esm-CB1uQYY0-DB0PYm1P.js +0 -1081
- package/dist/client/raw-CMGvRjfu-BRi6E4i1.js +0 -9
- package/dist/client/ssrBoot-DU2S_nLc.js +0 -17
- package/dist/client/transition-C_fi1aa6.js +0 -34
- package/dist/client/webfontloader-Ofarvipf.js +0 -435
- package/dist/client/webimage-BM_pbLN3-L2cGWK5l.js +0 -19
|
@@ -1,117 +0,0 @@
|
|
|
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-CHqY8A1z.js";
|
|
2
|
-
const G = _({
|
|
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
|
-
...S({
|
|
15
|
-
tag: "footer"
|
|
16
|
-
}),
|
|
17
|
-
...I()
|
|
18
|
-
}, "VFooter"), Y = B()({
|
|
19
|
-
name: "VFooter",
|
|
20
|
-
props: G(),
|
|
21
|
-
setup(l, s) {
|
|
22
|
-
let {
|
|
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
|
|
32
|
-
} = z(l), {
|
|
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
|
-
id: l.name,
|
|
44
|
-
order: e(() => parseInt(l.order, 10)),
|
|
45
|
-
position: e(() => "bottom"),
|
|
46
|
-
layoutSize: u,
|
|
47
|
-
elementSize: e(() => l.height === "auto" ? void 0 : u.value),
|
|
48
|
-
active: e(() => l.app),
|
|
49
|
-
absolute: f(l, "absolute")
|
|
50
|
-
});
|
|
51
|
-
j(() => {
|
|
52
|
-
a.value = o.layoutItemStyles.value;
|
|
53
|
-
});
|
|
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
|
-
}, l.style]
|
|
60
|
-
}, c)), {};
|
|
61
|
-
}
|
|
62
|
-
}), l0 = (l) => (U("data-v-7ea19f1b"), l = l(), W(), l), e0 = { class: "pt-0 footer-text" }, t0 = /* @__PURE__ */ l0(() => /* @__PURE__ */ t(
|
|
63
|
-
"a",
|
|
64
|
-
{
|
|
65
|
-
href: "https://github.com/eodash/eodash",
|
|
66
|
-
class: "text-white",
|
|
67
|
-
target: "_blank"
|
|
68
|
-
},
|
|
69
|
-
"eodash",
|
|
70
|
-
-1
|
|
71
|
-
/* HOISTED */
|
|
72
|
-
)), a0 = {
|
|
73
|
-
href: "https://eox.at",
|
|
74
|
-
target: "_blank",
|
|
75
|
-
class: "text-white"
|
|
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
|
-
__name: "Footer",
|
|
78
|
-
setup(l) {
|
|
79
|
-
const s = g(null), c = (
|
|
80
|
-
/** @type {import("@/types").Eodash} */
|
|
81
|
-
H($)
|
|
82
|
-
), { mdAndDown: a } = q(), n = window.btoa(s0);
|
|
83
|
-
return (i, d) => (A(), J(Y, {
|
|
84
|
-
ref_key: "footer",
|
|
85
|
-
ref: s,
|
|
86
|
-
height: r(a) ? "48px" : "auto",
|
|
87
|
-
color: "secondary",
|
|
88
|
-
app: "",
|
|
89
|
-
class: "d-flex justify-space-between"
|
|
90
|
-
}, {
|
|
91
|
-
default: K(() => [
|
|
92
|
-
t(
|
|
93
|
-
"p",
|
|
94
|
-
e0,
|
|
95
|
-
O(r(c).brand.footerText ?? ""),
|
|
96
|
-
1
|
|
97
|
-
/* TEXT */
|
|
98
|
-
),
|
|
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
|
-
height: "11px"
|
|
106
|
-
}, null, 8, o0)
|
|
107
|
-
])
|
|
108
|
-
])
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
/* STABLE */
|
|
112
|
-
}, 8, ["height"]));
|
|
113
|
-
}
|
|
114
|
-
}, r0 = /* @__PURE__ */ E(c0, [["__scopeId", "data-v-7ea19f1b"]]);
|
|
115
|
-
export {
|
|
116
|
-
r0 as default
|
|
117
|
-
};
|
|
@@ -1,350 +0,0 @@
|
|
|
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-CHqY8A1z.js";
|
|
2
|
-
import { V as A } from "./VImg-yb8O1cb8.js";
|
|
3
|
-
import { a as ge } from "./index-BVuSHaVu.js";
|
|
4
|
-
import { u as fe } from "./ssrBoot-DU2S_nLc.js";
|
|
5
|
-
const L = p({
|
|
6
|
-
text: String,
|
|
7
|
-
...I(),
|
|
8
|
-
...N()
|
|
9
|
-
}, "VToolbarTitle"), U = V()({
|
|
10
|
-
name: "VToolbarTitle",
|
|
11
|
-
props: L(),
|
|
12
|
-
setup(e, r) {
|
|
13
|
-
let {
|
|
14
|
-
slots: t
|
|
15
|
-
} = r;
|
|
16
|
-
return _(() => {
|
|
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
|
-
}), he = [null, "prominent", "default", "comfortable", "compact"], D = p({
|
|
29
|
-
absolute: Boolean,
|
|
30
|
-
collapse: Boolean,
|
|
31
|
-
color: String,
|
|
32
|
-
density: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: "default",
|
|
35
|
-
validator: (e) => he.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
|
-
...W(),
|
|
51
|
-
...I(),
|
|
52
|
-
...$(),
|
|
53
|
-
...q(),
|
|
54
|
-
...N({
|
|
55
|
-
tag: "header"
|
|
56
|
-
}),
|
|
57
|
-
...z()
|
|
58
|
-
}, "VToolbar"), C = V()({
|
|
59
|
-
name: "VToolbar",
|
|
60
|
-
props: D(),
|
|
61
|
-
setup(e, r) {
|
|
62
|
-
let {
|
|
63
|
-
slots: t
|
|
64
|
-
} = r;
|
|
65
|
-
const {
|
|
66
|
-
backgroundColorClasses: d,
|
|
67
|
-
backgroundColorStyles: i
|
|
68
|
-
} = F(k(e, "color")), {
|
|
69
|
-
borderClasses: a
|
|
70
|
-
} = K(e), {
|
|
71
|
-
elevationClasses: v
|
|
72
|
-
} = O(e), {
|
|
73
|
-
roundedClasses: u
|
|
74
|
-
} = Q(e), {
|
|
75
|
-
themeClasses: f
|
|
76
|
-
} = Y(e), {
|
|
77
|
-
rtlClasses: S
|
|
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
|
-
VBtn: {
|
|
81
|
-
variant: "text"
|
|
82
|
-
}
|
|
83
|
-
}), _(() => {
|
|
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, u.value, f.value, S.value, e.class],
|
|
93
|
-
style: [i.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(ge, 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
|
-
}), be = p({
|
|
156
|
-
scrollTarget: {
|
|
157
|
-
type: String
|
|
158
|
-
},
|
|
159
|
-
scrollThreshold: {
|
|
160
|
-
type: [String, Number],
|
|
161
|
-
default: 300
|
|
162
|
-
}
|
|
163
|
-
}, "scroll");
|
|
164
|
-
function ye(e) {
|
|
165
|
-
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
166
|
-
const {
|
|
167
|
-
canScroll: t
|
|
168
|
-
} = r;
|
|
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
|
-
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 (i !== g) {
|
|
176
|
-
i = g;
|
|
177
|
-
return;
|
|
178
|
-
}
|
|
179
|
-
c.value = v.value < d, f.value = Math.abs(v.value - m.value);
|
|
180
|
-
};
|
|
181
|
-
return T(c, () => {
|
|
182
|
-
u.value = u.value || v.value;
|
|
183
|
-
}), T(S, () => {
|
|
184
|
-
u.value = 0;
|
|
185
|
-
}), X(() => {
|
|
186
|
-
T(() => e.scrollTarget, (s) => {
|
|
187
|
-
const g = s ? document.querySelector(s) : window;
|
|
188
|
-
if (!g) {
|
|
189
|
-
ee(`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
|
-
}), te(() => {
|
|
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: u
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
const Se = p({
|
|
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
|
-
...ae(),
|
|
228
|
-
...be(),
|
|
229
|
-
height: {
|
|
230
|
-
type: [Number, String],
|
|
231
|
-
default: 64
|
|
232
|
-
}
|
|
233
|
-
}, "VAppBar"), xe = V()({
|
|
234
|
-
name: "VAppBar",
|
|
235
|
-
props: Se(),
|
|
236
|
-
emits: {
|
|
237
|
-
"update:modelValue": (e) => !0
|
|
238
|
-
},
|
|
239
|
-
setup(e, r) {
|
|
240
|
-
let {
|
|
241
|
-
slots: t
|
|
242
|
-
} = r;
|
|
243
|
-
const d = E(), i = le(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
|
-
!i.value;
|
|
258
|
-
}), {
|
|
259
|
-
currentScroll: u,
|
|
260
|
-
scrollThreshold: f,
|
|
261
|
-
isScrollingUp: S,
|
|
262
|
-
scrollRatio: c
|
|
263
|
-
} = ye(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 && !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;
|
|
269
|
-
});
|
|
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;
|
|
273
|
-
});
|
|
274
|
-
});
|
|
275
|
-
const {
|
|
276
|
-
ssrBootStyles: j
|
|
277
|
-
} = fe(), {
|
|
278
|
-
layoutItemStyles: M
|
|
279
|
-
} = ne({
|
|
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: i,
|
|
286
|
-
absolute: k(e, "absolute")
|
|
287
|
-
});
|
|
288
|
-
return _(() => {
|
|
289
|
-
const l = C.filterProps(e);
|
|
290
|
-
return o(C, R({
|
|
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
|
-
}), {};
|
|
306
|
-
}
|
|
307
|
-
}), Te = V()({
|
|
308
|
-
name: "VAppBarTitle",
|
|
309
|
-
props: L(),
|
|
310
|
-
setup(e, r) {
|
|
311
|
-
let {
|
|
312
|
-
slots: t
|
|
313
|
-
} = r;
|
|
314
|
-
return _(() => o(U, R(e, {
|
|
315
|
-
class: "v-app-bar-title"
|
|
316
|
-
}), t)), {};
|
|
317
|
-
}
|
|
318
|
-
}), pe = {
|
|
319
|
-
__name: "Header",
|
|
320
|
-
setup(e) {
|
|
321
|
-
const r = (
|
|
322
|
-
/** @type {import("@/types").Eodash} */
|
|
323
|
-
ie(ue)
|
|
324
|
-
), t = r.brand?.name;
|
|
325
|
-
return (d, i) => (ce(), de(xe, { color: "primary" }, {
|
|
326
|
-
default: P(() => [
|
|
327
|
-
o(Te, null, {
|
|
328
|
-
default: P(() => [
|
|
329
|
-
ve(
|
|
330
|
-
me(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
|
-
}, He = /* @__PURE__ */ re(pe, [["__scopeId", "data-v-d3a5e05e"]]);
|
|
348
|
-
export {
|
|
349
|
-
He as default
|
|
350
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { $ as r, a6 as t } from "./asWebComponent-CHqY8A1z.js";
|
|
2
|
-
const s = ["src"], i = {
|
|
3
|
-
__name: "IframeWrapper",
|
|
4
|
-
props: {
|
|
5
|
-
src: {
|
|
6
|
-
type: String,
|
|
7
|
-
required: !0
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
setup(e) {
|
|
11
|
-
return (c, a) => (r(), t("iframe", {
|
|
12
|
-
src: e.src,
|
|
13
|
-
class: "fill-height fill-width"
|
|
14
|
-
}, null, 8, s));
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
i as default
|
|
19
|
-
};
|