@eodash/eodash 5.0.0-alpha.2.5 → 5.0.0-alpha.2.7
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/README.md +19 -5
- package/core/client/App.vue +6 -7
- package/core/client/SuspensedDashboard.ce.vue +58 -40
- package/core/client/asWebComponent.d.ts +10 -5
- package/core/client/asWebComponent.js +6 -6
- package/core/client/components/DashboardLayout.vue +35 -16
- package/core/client/components/DynamicWebComponent.vue +44 -44
- package/core/client/components/ErrorAlert.vue +19 -7
- package/core/client/components/Footer.vue +28 -14
- package/core/client/components/Header.vue +4 -4
- package/core/client/components/IframeWrapper.vue +3 -3
- package/core/client/components/Loading.vue +17 -18
- package/core/client/components/MobileLayout.vue +48 -26
- package/core/client/composables/DefineEodash.js +38 -29
- package/core/client/composables/DefineWidgets.js +101 -81
- package/core/client/composables/index.js +43 -29
- package/core/client/eodash.js +59 -41
- package/core/client/main.js +2 -2
- package/core/client/plugins/index.js +9 -10
- package/core/client/plugins/vuetify.js +9 -10
- package/core/client/render.js +4 -5
- package/core/client/store/Actions.js +8 -0
- package/core/client/store/States.js +8 -13
- package/core/client/store/index.js +14 -11
- package/core/client/store/stac.js +51 -37
- package/core/client/types.d.ts +173 -200
- package/core/client/utils/eodashSTAC.js +130 -49
- package/core/client/utils/helpers.js +18 -20
- package/core/client/utils/index.js +29 -10
- package/core/client/utils/keys.js +2 -2
- package/core/client/views/Dashboard.vue +53 -36
- package/core/client/vite-env.d.ts +19 -17
- package/dist/client/{DashboardLayout-BYROtP-7.js → DashboardLayout-Cbci3g7o.js} +9 -9
- package/dist/client/{DynamicWebComponent-BQhxFPM0.js → DynamicWebComponent-DzmQ3Fr3.js} +3 -3
- package/dist/client/EodashDatePicker-SP5bYISd.js +252 -0
- package/dist/client/{EodashItemFilter-DIBDAHcc.js → EodashItemFilter-B9Tf2TBw.js} +4 -6
- package/dist/client/{EodashMap-C6jJ2Lb_.js → EodashMap-D_znzmX7.js} +13131 -14490
- package/dist/client/EodashMapBtns-BOKugQ88.js +37 -0
- package/dist/client/ExportState-D7m9s4T8.js +558 -0
- package/dist/client/{Footer-BVIZms1S.js → Footer-C2uV1-zu.js} +12 -12
- package/dist/client/Header-C2ROtxo_.js +350 -0
- package/dist/client/{IframeWrapper-XKChM78a.js → IframeWrapper-Wwou4pwf.js} +1 -1
- package/dist/client/{MobileLayout-BlGcMQra.js → MobileLayout-DR27Ctiz.js} +45 -57
- package/dist/client/PopUp-bPGAY43o.js +300 -0
- package/dist/client/VImg-swqiqth2.js +291 -0
- package/dist/client/{VMain-C9XV5Lyg.js → VMain-Bu1bPjvK.js} +2 -2
- package/dist/client/VOverlay-D_MKJ4vQ.js +967 -0
- package/dist/client/{WidgetsContainer-BQXHnZpa.js → WidgetsContainer-CpxYT8YI.js} +10 -3
- package/dist/client/{asWebComponent-CbdGxelK.js → asWebComponent-DeaU3QoK.js} +6332 -6159
- package/dist/client/{basedecoder-Qm25PwVp-CHo5Pomv.js → basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
- package/dist/client/{decoder-HRvnjnEI-CHAYOWhz.js → decoder-CP4lv0Kb-nokx54iM.js} +1 -1
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
- package/dist/client/eo-dash.js +2 -2
- package/dist/client/eodashSTAC-CFQuZ_cI.js +2788 -0
- package/dist/client/{eox-itemfilter-DcQkRD2l.js → eox-itemfilter-TaBxgqq_.js} +1002 -974
- package/dist/client/{eox-map-C3DL31fp.js → eox-map-L7abwKTR.js} +5677 -5695
- package/dist/client/{forwardRefs-CyCJOFsz.js → forwardRefs-D0a135Tc.js} +43 -50
- package/dist/client/{index-CabQjjQg.js → index-CoqcWt6E.js} +4 -4
- package/dist/client/{jpeg-DNfUpLwy-Fjan-04T.js → jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
- package/dist/client/{lerc-_E46UbWQ-TxBH4OeK.js → lerc-DzVumYtB-B3rx9xzz.js} +5 -7
- package/dist/client/{lzw-BOMhmEDy-Dboc93VO.js → lzw-LAGDNbSC-DkP96qO9.js} +1 -1
- package/dist/client/{packbits-DaUD6MLm-Bu1PoTGa.js → packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
- package/dist/client/{pako.esm-C3kYPGGQ-BMki8cQY.js → pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
- package/dist/client/{raw-CcGKjn8q-DFOt-i8n.js → raw-CMGvRjfu-BRi6E4i1.js} +1 -1
- package/dist/client/{ssrBoot-DWJ-z4I-.js → ssrBoot-C-inWOiD.js} +1 -1
- package/dist/client/style.css +2 -2
- package/dist/client/{transition-BlLt41wg.js → transition-C8le0YwQ.js} +3 -3
- package/dist/client/{webfontloader-CyOFAuFB.js → webfontloader-qotgY98I.js} +56 -92
- package/dist/client/{webimage-D2c098k3-DLj1LQxB.js → webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
- package/dist/node/cli.js +1 -1
- package/dist/node/types.d.ts +32 -38
- package/package.json +12 -12
- package/widgets/EodashDatePicker.vue +94 -43
- package/widgets/EodashItemFilter.vue +13 -10
- package/widgets/EodashMap.vue +87 -20
- package/widgets/EodashMapBtns.vue +34 -0
- package/widgets/ExportState.vue +112 -0
- package/widgets/PopUp.vue +40 -0
- package/widgets/WidgetsContainer.vue +45 -27
- package/dist/client/EodashDatePicker-CFltnt5d.js +0 -1194
- package/dist/client/Header-TsTL1d2R.js +0 -633
- package/dist/client/deflate-Be2Arps5-hDqMz3RA.js +0 -10
- package/dist/client/http-ZWiLaAeR.js +0 -1337
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
import { p as V, e as I, f as N, g as _, a as p, b as o, ae as $, af as q, ag as z, h as F, Q as K, R as k, ah as O, ai as Q, aj as Y, i as Z, j as G, s as y, c as n, S as J, ak as B, C as x, r as R, al as X, w as T, Z as ee, am as te, an as ae, ao as le, y as oe, ap as se, aq as ne, ar as re, d as E, _ as ue, x as ie, W as ce, $ as de, a0 as ve, a1 as P, a8 as me, aa as ge, a3 as w } from "./asWebComponent-DeaU3QoK.js";
|
|
2
|
+
import { V as A } from "./VImg-swqiqth2.js";
|
|
3
|
+
import { a as fe } from "./index-CoqcWt6E.js";
|
|
4
|
+
import { u as he } from "./ssrBoot-C-inWOiD.js";
|
|
5
|
+
const L = V({
|
|
6
|
+
text: String,
|
|
7
|
+
...I(),
|
|
8
|
+
...N()
|
|
9
|
+
}, "VToolbarTitle"), U = _()({
|
|
10
|
+
name: "VToolbarTitle",
|
|
11
|
+
props: L(),
|
|
12
|
+
setup(e, r) {
|
|
13
|
+
let {
|
|
14
|
+
slots: t
|
|
15
|
+
} = r;
|
|
16
|
+
return p(() => {
|
|
17
|
+
const d = !!(t.default || t.text || e.text);
|
|
18
|
+
return o(e.tag, {
|
|
19
|
+
class: ["v-toolbar-title", e.class],
|
|
20
|
+
style: e.style
|
|
21
|
+
}, {
|
|
22
|
+
default: () => [d && o("div", {
|
|
23
|
+
class: "v-toolbar-title__placeholder"
|
|
24
|
+
}, [t.text ? t.text() : e.text, t.default?.()])]
|
|
25
|
+
});
|
|
26
|
+
}), {};
|
|
27
|
+
}
|
|
28
|
+
}), be = [null, "prominent", "default", "comfortable", "compact"], D = V({
|
|
29
|
+
absolute: Boolean,
|
|
30
|
+
collapse: Boolean,
|
|
31
|
+
color: String,
|
|
32
|
+
density: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: "default",
|
|
35
|
+
validator: (e) => be.includes(e)
|
|
36
|
+
},
|
|
37
|
+
extended: Boolean,
|
|
38
|
+
extensionHeight: {
|
|
39
|
+
type: [Number, String],
|
|
40
|
+
default: 48
|
|
41
|
+
},
|
|
42
|
+
flat: Boolean,
|
|
43
|
+
floating: Boolean,
|
|
44
|
+
height: {
|
|
45
|
+
type: [Number, String],
|
|
46
|
+
default: 64
|
|
47
|
+
},
|
|
48
|
+
image: String,
|
|
49
|
+
title: String,
|
|
50
|
+
...$(),
|
|
51
|
+
...I(),
|
|
52
|
+
...q(),
|
|
53
|
+
...z(),
|
|
54
|
+
...N({
|
|
55
|
+
tag: "header"
|
|
56
|
+
}),
|
|
57
|
+
...F()
|
|
58
|
+
}, "VToolbar"), C = _()({
|
|
59
|
+
name: "VToolbar",
|
|
60
|
+
props: D(),
|
|
61
|
+
setup(e, r) {
|
|
62
|
+
let {
|
|
63
|
+
slots: t
|
|
64
|
+
} = r;
|
|
65
|
+
const {
|
|
66
|
+
backgroundColorClasses: d,
|
|
67
|
+
backgroundColorStyles: u
|
|
68
|
+
} = K(k(e, "color")), {
|
|
69
|
+
borderClasses: a
|
|
70
|
+
} = O(e), {
|
|
71
|
+
elevationClasses: v
|
|
72
|
+
} = Q(e), {
|
|
73
|
+
roundedClasses: i
|
|
74
|
+
} = Y(e), {
|
|
75
|
+
themeClasses: f
|
|
76
|
+
} = Z(e), {
|
|
77
|
+
rtlClasses: S
|
|
78
|
+
} = G(), c = y(!!(e.extended || t.extension?.())), m = n(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), b = n(() => c.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
|
|
79
|
+
return J({
|
|
80
|
+
VBtn: {
|
|
81
|
+
variant: "text"
|
|
82
|
+
}
|
|
83
|
+
}), p(() => {
|
|
84
|
+
const h = !!(e.title || t.title), s = !!(t.image || e.image), g = t.extension?.();
|
|
85
|
+
return c.value = !!(e.extended || g), o(e.tag, {
|
|
86
|
+
class: ["v-toolbar", {
|
|
87
|
+
"v-toolbar--absolute": e.absolute,
|
|
88
|
+
"v-toolbar--collapse": e.collapse,
|
|
89
|
+
"v-toolbar--flat": e.flat,
|
|
90
|
+
"v-toolbar--floating": e.floating,
|
|
91
|
+
[`v-toolbar--density-${e.density}`]: !0
|
|
92
|
+
}, d.value, a.value, v.value, i.value, f.value, S.value, e.class],
|
|
93
|
+
style: [u.value, e.style]
|
|
94
|
+
}, {
|
|
95
|
+
default: () => [s && o("div", {
|
|
96
|
+
key: "image",
|
|
97
|
+
class: "v-toolbar__image"
|
|
98
|
+
}, [t.image ? o(B, {
|
|
99
|
+
key: "image-defaults",
|
|
100
|
+
disabled: !e.image,
|
|
101
|
+
defaults: {
|
|
102
|
+
VImg: {
|
|
103
|
+
cover: !0,
|
|
104
|
+
src: e.image
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}, t.image) : o(A, {
|
|
108
|
+
key: "image-img",
|
|
109
|
+
cover: !0,
|
|
110
|
+
src: e.image
|
|
111
|
+
}, null)]), o(B, {
|
|
112
|
+
defaults: {
|
|
113
|
+
VTabs: {
|
|
114
|
+
height: x(m.value)
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}, {
|
|
118
|
+
default: () => [o("div", {
|
|
119
|
+
class: "v-toolbar__content",
|
|
120
|
+
style: {
|
|
121
|
+
height: x(m.value)
|
|
122
|
+
}
|
|
123
|
+
}, [t.prepend && o("div", {
|
|
124
|
+
class: "v-toolbar__prepend"
|
|
125
|
+
}, [t.prepend?.()]), h && o(U, {
|
|
126
|
+
key: "title",
|
|
127
|
+
text: e.title
|
|
128
|
+
}, {
|
|
129
|
+
text: t.title
|
|
130
|
+
}), t.default?.(), t.append && o("div", {
|
|
131
|
+
class: "v-toolbar__append"
|
|
132
|
+
}, [t.append?.()])])]
|
|
133
|
+
}), o(B, {
|
|
134
|
+
defaults: {
|
|
135
|
+
VTabs: {
|
|
136
|
+
height: x(b.value)
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}, {
|
|
140
|
+
default: () => [o(fe, null, {
|
|
141
|
+
default: () => [c.value && o("div", {
|
|
142
|
+
class: "v-toolbar__extension",
|
|
143
|
+
style: {
|
|
144
|
+
height: x(b.value)
|
|
145
|
+
}
|
|
146
|
+
}, [g])]
|
|
147
|
+
})]
|
|
148
|
+
})]
|
|
149
|
+
});
|
|
150
|
+
}), {
|
|
151
|
+
contentHeight: m,
|
|
152
|
+
extensionHeight: b
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
}), ye = V({
|
|
156
|
+
scrollTarget: {
|
|
157
|
+
type: String
|
|
158
|
+
},
|
|
159
|
+
scrollThreshold: {
|
|
160
|
+
type: [String, Number],
|
|
161
|
+
default: 300
|
|
162
|
+
}
|
|
163
|
+
}, "scroll");
|
|
164
|
+
function Se(e) {
|
|
165
|
+
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
166
|
+
const {
|
|
167
|
+
canScroll: t
|
|
168
|
+
} = r;
|
|
169
|
+
let d = 0, u = 0;
|
|
170
|
+
const a = R(null), v = y(0), i = y(0), f = y(0), S = y(!1), c = y(!1), m = n(() => Number(e.scrollThreshold)), b = n(() => X((m.value - v.value) / m.value || 0)), h = () => {
|
|
171
|
+
const s = a.value;
|
|
172
|
+
if (!s || t && !t.value) return;
|
|
173
|
+
d = v.value, v.value = "window" in s ? s.pageYOffset : s.scrollTop;
|
|
174
|
+
const g = s instanceof Window ? document.documentElement.scrollHeight : s.scrollHeight;
|
|
175
|
+
if (u !== g) {
|
|
176
|
+
u = g;
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
c.value = v.value < d, f.value = Math.abs(v.value - m.value);
|
|
180
|
+
};
|
|
181
|
+
return T(c, () => {
|
|
182
|
+
i.value = i.value || v.value;
|
|
183
|
+
}), T(S, () => {
|
|
184
|
+
i.value = 0;
|
|
185
|
+
}), ee(() => {
|
|
186
|
+
T(() => e.scrollTarget, (s) => {
|
|
187
|
+
const g = s ? document.querySelector(s) : window;
|
|
188
|
+
if (!g) {
|
|
189
|
+
te(`Unable to locate element with identifier ${s}`);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
g !== a.value && (a.value?.removeEventListener("scroll", h), a.value = g, a.value.addEventListener("scroll", h, {
|
|
193
|
+
passive: !0
|
|
194
|
+
}));
|
|
195
|
+
}, {
|
|
196
|
+
immediate: !0
|
|
197
|
+
});
|
|
198
|
+
}), ae(() => {
|
|
199
|
+
a.value?.removeEventListener("scroll", h);
|
|
200
|
+
}), t && T(t, h, {
|
|
201
|
+
immediate: !0
|
|
202
|
+
}), {
|
|
203
|
+
scrollThreshold: m,
|
|
204
|
+
currentScroll: v,
|
|
205
|
+
currentThreshold: f,
|
|
206
|
+
isScrollActive: S,
|
|
207
|
+
scrollRatio: b,
|
|
208
|
+
// required only for testing
|
|
209
|
+
// probably can be removed
|
|
210
|
+
// later (2 chars chlng)
|
|
211
|
+
isScrollingUp: c,
|
|
212
|
+
savedScroll: i
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
const xe = V({
|
|
216
|
+
scrollBehavior: String,
|
|
217
|
+
modelValue: {
|
|
218
|
+
type: Boolean,
|
|
219
|
+
default: !0
|
|
220
|
+
},
|
|
221
|
+
location: {
|
|
222
|
+
type: String,
|
|
223
|
+
default: "top",
|
|
224
|
+
validator: (e) => ["top", "bottom"].includes(e)
|
|
225
|
+
},
|
|
226
|
+
...D(),
|
|
227
|
+
...le(),
|
|
228
|
+
...ye(),
|
|
229
|
+
height: {
|
|
230
|
+
type: [Number, String],
|
|
231
|
+
default: 64
|
|
232
|
+
}
|
|
233
|
+
}, "VAppBar"), Te = _()({
|
|
234
|
+
name: "VAppBar",
|
|
235
|
+
props: xe(),
|
|
236
|
+
emits: {
|
|
237
|
+
"update:modelValue": (e) => !0
|
|
238
|
+
},
|
|
239
|
+
setup(e, r) {
|
|
240
|
+
let {
|
|
241
|
+
slots: t
|
|
242
|
+
} = r;
|
|
243
|
+
const d = R(), u = oe(e, "modelValue"), a = n(() => {
|
|
244
|
+
const l = new Set(e.scrollBehavior?.split(" ") ?? []);
|
|
245
|
+
return {
|
|
246
|
+
hide: l.has("hide"),
|
|
247
|
+
fullyHide: l.has("fully-hide"),
|
|
248
|
+
inverted: l.has("inverted"),
|
|
249
|
+
collapse: l.has("collapse"),
|
|
250
|
+
elevate: l.has("elevate"),
|
|
251
|
+
fadeImage: l.has("fade-image")
|
|
252
|
+
// shrink: behavior.has('shrink'),
|
|
253
|
+
};
|
|
254
|
+
}), v = n(() => {
|
|
255
|
+
const l = a.value;
|
|
256
|
+
return l.hide || l.fullyHide || l.inverted || l.collapse || l.elevate || l.fadeImage || // behavior.shrink ||
|
|
257
|
+
!u.value;
|
|
258
|
+
}), {
|
|
259
|
+
currentScroll: i,
|
|
260
|
+
scrollThreshold: f,
|
|
261
|
+
isScrollingUp: S,
|
|
262
|
+
scrollRatio: c
|
|
263
|
+
} = Se(e, {
|
|
264
|
+
canScroll: v
|
|
265
|
+
}), m = n(() => a.value.hide || a.value.fullyHide), b = n(() => e.collapse || a.value.collapse && (a.value.inverted ? c.value > 0 : c.value === 0)), h = n(() => e.flat || a.value.fullyHide && !u.value || a.value.elevate && (a.value.inverted ? i.value > 0 : i.value === 0)), s = n(() => a.value.fadeImage ? a.value.inverted ? 1 - c.value : c.value : void 0), g = n(() => {
|
|
266
|
+
const l = Number(d.value?.contentHeight ?? e.height), H = Number(d.value?.extensionHeight ?? 0);
|
|
267
|
+
return m.value ? i.value < f.value || a.value.fullyHide ? l + H : l : l + H;
|
|
268
|
+
});
|
|
269
|
+
se(n(() => !!e.scrollBehavior), () => {
|
|
270
|
+
ne(() => {
|
|
271
|
+
m.value ? a.value.inverted ? u.value = i.value > f.value : u.value = S.value || i.value < f.value : u.value = !0;
|
|
272
|
+
});
|
|
273
|
+
});
|
|
274
|
+
const {
|
|
275
|
+
ssrBootStyles: j
|
|
276
|
+
} = he(), {
|
|
277
|
+
layoutItemStyles: M,
|
|
278
|
+
layoutIsReady: W
|
|
279
|
+
} = re({
|
|
280
|
+
id: e.name,
|
|
281
|
+
order: n(() => parseInt(e.order, 10)),
|
|
282
|
+
position: k(e, "location"),
|
|
283
|
+
layoutSize: g,
|
|
284
|
+
elementSize: y(void 0),
|
|
285
|
+
active: u,
|
|
286
|
+
absolute: k(e, "absolute")
|
|
287
|
+
});
|
|
288
|
+
return p(() => {
|
|
289
|
+
const l = C.filterProps(e);
|
|
290
|
+
return o(C, E({
|
|
291
|
+
ref: d,
|
|
292
|
+
class: ["v-app-bar", {
|
|
293
|
+
"v-app-bar--bottom": e.location === "bottom"
|
|
294
|
+
}, e.class],
|
|
295
|
+
style: [{
|
|
296
|
+
...M.value,
|
|
297
|
+
"--v-toolbar-image-opacity": s.value,
|
|
298
|
+
height: void 0,
|
|
299
|
+
...j.value
|
|
300
|
+
}, e.style]
|
|
301
|
+
}, l, {
|
|
302
|
+
collapse: b.value,
|
|
303
|
+
flat: h.value
|
|
304
|
+
}), t);
|
|
305
|
+
}), W;
|
|
306
|
+
}
|
|
307
|
+
}), Ve = _()({
|
|
308
|
+
name: "VAppBarTitle",
|
|
309
|
+
props: L(),
|
|
310
|
+
setup(e, r) {
|
|
311
|
+
let {
|
|
312
|
+
slots: t
|
|
313
|
+
} = r;
|
|
314
|
+
return p(() => o(U, E(e, {
|
|
315
|
+
class: "v-app-bar-title"
|
|
316
|
+
}), t)), {};
|
|
317
|
+
}
|
|
318
|
+
}), _e = {
|
|
319
|
+
__name: "Header",
|
|
320
|
+
setup(e) {
|
|
321
|
+
const r = (
|
|
322
|
+
/** @type {import("@/types").Eodash} */
|
|
323
|
+
ie(ce)
|
|
324
|
+
), t = r.brand?.name;
|
|
325
|
+
return (d, u) => (de(), ve(Te, { color: "primary" }, {
|
|
326
|
+
default: P(() => [
|
|
327
|
+
o(Ve, null, {
|
|
328
|
+
default: P(() => [
|
|
329
|
+
me(
|
|
330
|
+
ge(w(t)),
|
|
331
|
+
1
|
|
332
|
+
/* TEXT */
|
|
333
|
+
)
|
|
334
|
+
]),
|
|
335
|
+
_: 1
|
|
336
|
+
/* STABLE */
|
|
337
|
+
}),
|
|
338
|
+
o(A, {
|
|
339
|
+
class: "mx-12 logo",
|
|
340
|
+
src: w(r).brand?.logo
|
|
341
|
+
}, null, 8, ["src"])
|
|
342
|
+
]),
|
|
343
|
+
_: 1
|
|
344
|
+
/* STABLE */
|
|
345
|
+
}));
|
|
346
|
+
}
|
|
347
|
+
}, Pe = /* @__PURE__ */ ue(_e, [["__scopeId", "data-v-d3a5e05e"]]);
|
|
348
|
+
export {
|
|
349
|
+
Pe as default
|
|
350
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { k as Ie, p as R, o as Pe, m as Xe, g as
|
|
2
|
-
import { f as ht, a as gt, s as bt, m as yt, u as St, b as wt } from "./forwardRefs-
|
|
3
|
-
import { u as xt } from "./ssrBoot-
|
|
4
|
-
import { M as kt } from "./transition-
|
|
5
|
-
import { V as ke } from "./index-
|
|
6
|
-
import { V as Tt } from "./VMain-
|
|
1
|
+
import { k as Ie, p as R, o as Pe, m as Xe, g as $, u as Ye, r as I, c as y, a as M, V as G, b as v, F as O, d as z, e as ie, f as ue, h as Ge, i as De, j as pe, l as Ue, n as Be, s as E, w as Ee, q as je, t as q, v as Ne, x as re, y as ze, z as qe, A as Ke, B as le, C as ae, D as Qe, I as fe, E as Je, G as Ze, H as et, J as me, K as tt, L as he, M as ge, N as nt, O as ot, P as st, Q as lt, R as W, S as at, T as it, _ as ut, U as rt, W as ct, X as be, Y as dt, Z as vt, $ as C, a0 as A, a1 as F, a2 as ye, a3 as X, a4 as Se, a5 as se, a6 as Y, a7 as we, a8 as xe, a9 as ft, aa as mt } from "./asWebComponent-DeaU3QoK.js";
|
|
2
|
+
import { f as ht, a as gt, s as bt, m as yt, u as St, b as wt } from "./forwardRefs-D0a135Tc.js";
|
|
3
|
+
import { u as xt } from "./ssrBoot-C-inWOiD.js";
|
|
4
|
+
import { M as kt } from "./transition-C8le0YwQ.js";
|
|
5
|
+
import { V as ke } from "./index-CoqcWt6E.js";
|
|
6
|
+
import { V as Tt } from "./VMain-Bu1bPjvK.js";
|
|
7
7
|
const Vt = (e) => {
|
|
8
8
|
const {
|
|
9
9
|
touchstartX: n,
|
|
@@ -63,8 +63,7 @@ function pt(e, n) {
|
|
|
63
63
|
const s = n.value, t = s?.parent ? e.parentElement : e, l = s?.options ?? {
|
|
64
64
|
passive: !0
|
|
65
65
|
}, u = n.instance?.$.uid;
|
|
66
|
-
if (!t || !u)
|
|
67
|
-
return;
|
|
66
|
+
if (!t || !u) return;
|
|
68
67
|
const o = Pt(n.value);
|
|
69
68
|
t._touchHandlers = t._touchHandlers ?? /* @__PURE__ */ Object.create(null), t._touchHandlers[u] = o, Ie(o).forEach((f) => {
|
|
70
69
|
t.addEventListener(f, o[f], l);
|
|
@@ -72,8 +71,7 @@ function pt(e, n) {
|
|
|
72
71
|
}
|
|
73
72
|
function Bt(e, n) {
|
|
74
73
|
const s = n.value?.parent ? e.parentElement : e, t = n.instance?.$.uid;
|
|
75
|
-
if (!s?._touchHandlers || !t)
|
|
76
|
-
return;
|
|
74
|
+
if (!s?._touchHandlers || !t) return;
|
|
77
75
|
const l = s._touchHandlers[t];
|
|
78
76
|
Ie(l).forEach((u) => {
|
|
79
77
|
s.removeEventListener(u, l[u]);
|
|
@@ -94,7 +92,7 @@ const We = {
|
|
|
94
92
|
selectedClass: "v-tab--selected",
|
|
95
93
|
variant: "text"
|
|
96
94
|
}), ["active", "block", "flat", "location", "position", "symbol"])
|
|
97
|
-
}, "VTab"), Re =
|
|
95
|
+
}, "VTab"), Re = $()({
|
|
98
96
|
name: "VTab",
|
|
99
97
|
props: zt(),
|
|
100
98
|
setup(e, n) {
|
|
@@ -112,8 +110,7 @@ const We = {
|
|
|
112
110
|
} = m;
|
|
113
111
|
if (a) {
|
|
114
112
|
const g = o.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), d = f.value;
|
|
115
|
-
if (!g || !d)
|
|
116
|
-
return;
|
|
113
|
+
if (!g || !d) return;
|
|
117
114
|
const _ = getComputedStyle(g).color, T = g.getBoundingClientRect(), V = d.getBoundingClientRect(), P = r.value ? "x" : "y", p = r.value ? "X" : "Y", b = r.value ? "right" : "bottom", S = r.value ? "width" : "height", k = T[P], H = V[P], B = k > H ? T[b] - V[b] : T[P] - V[P], K = Math.sign(B) > 0 ? r.value ? "right" : "bottom" : Math.sign(B) < 0 ? r.value ? "left" : "top" : "center", Q = (Math.abs(B) + (Math.sign(B) < 0 ? T[S] : V[S])) / Math.max(T[S], V[S]) || 0, j = T[S] / V[S] || 0, N = 1.5;
|
|
118
115
|
gt(d, {
|
|
119
116
|
backgroundColor: [_, "currentcolor"],
|
|
@@ -125,7 +122,7 @@ const We = {
|
|
|
125
122
|
});
|
|
126
123
|
}
|
|
127
124
|
}
|
|
128
|
-
return
|
|
125
|
+
return M(() => {
|
|
129
126
|
const m = G.filterProps(e);
|
|
130
127
|
return v(G, z({
|
|
131
128
|
symbol: ce,
|
|
@@ -150,7 +147,7 @@ const We = {
|
|
|
150
147
|
});
|
|
151
148
|
}), ht({}, o);
|
|
152
149
|
}
|
|
153
|
-
}),
|
|
150
|
+
}), $e = Symbol.for("vuetify:v-window"), Me = Symbol.for("vuetify:v-window-group"), He = R({
|
|
154
151
|
continuous: Boolean,
|
|
155
152
|
nextIcon: {
|
|
156
153
|
type: [Boolean, String, Function, Object],
|
|
@@ -187,7 +184,7 @@ const We = {
|
|
|
187
184
|
...ie(),
|
|
188
185
|
...ue(),
|
|
189
186
|
...Ge()
|
|
190
|
-
}, "VWindow"), Te =
|
|
187
|
+
}, "VWindow"), Te = $()({
|
|
191
188
|
name: "VWindow",
|
|
192
189
|
directives: {
|
|
193
190
|
Touch: We
|
|
@@ -206,14 +203,14 @@ const We = {
|
|
|
206
203
|
isRtl: l
|
|
207
204
|
} = pe(), {
|
|
208
205
|
t: u
|
|
209
|
-
} = Ue(), o = Be(e,
|
|
206
|
+
} = Ue(), o = Be(e, Me), f = I(), r = y(() => l.value ? !e.reverse : e.reverse), h = E(!1), x = y(() => {
|
|
210
207
|
const b = e.direction === "vertical" ? "y" : "x", k = (r.value ? !h.value : h.value) ? "-reverse" : "";
|
|
211
208
|
return `v-window-${b}${k}-transition`;
|
|
212
209
|
}), m = E(0), a = I(void 0), g = y(() => o.items.value.findIndex((b) => o.selected.value.includes(b.id)));
|
|
213
210
|
Ee(g, (b, S) => {
|
|
214
211
|
const k = o.items.value.length, H = k - 1;
|
|
215
212
|
k <= 2 ? h.value = b < S : b === H && S === 0 ? h.value = !0 : b === 0 && S === H ? h.value = !1 : h.value = b < S;
|
|
216
|
-
}), je(
|
|
213
|
+
}), je($e, {
|
|
217
214
|
transition: x,
|
|
218
215
|
isReversed: h,
|
|
219
216
|
transitionCount: m,
|
|
@@ -263,7 +260,7 @@ const We = {
|
|
|
263
260
|
},
|
|
264
261
|
...e.touch === !0 ? {} : e.touch
|
|
265
262
|
});
|
|
266
|
-
return
|
|
263
|
+
return M(() => q(v(e.tag, {
|
|
267
264
|
ref: f,
|
|
268
265
|
class: ["v-window", {
|
|
269
266
|
"v-window--show-arrows-on-hover": e.showArrows === "hover"
|
|
@@ -288,7 +285,7 @@ const We = {
|
|
|
288
285
|
}
|
|
289
286
|
}), Wt = R({
|
|
290
287
|
...Pe(He(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
|
|
291
|
-
}, "VTabsWindow"), Rt =
|
|
288
|
+
}, "VTabsWindow"), Rt = $()({
|
|
292
289
|
name: "VTabsWindow",
|
|
293
290
|
props: Wt(),
|
|
294
291
|
emits: {
|
|
@@ -306,7 +303,7 @@ const We = {
|
|
|
306
303
|
l.value = o;
|
|
307
304
|
}
|
|
308
305
|
});
|
|
309
|
-
return
|
|
306
|
+
return M(() => {
|
|
310
307
|
const o = Te.filterProps(e);
|
|
311
308
|
return v(Te, z({
|
|
312
309
|
_as: "VTabsWindow"
|
|
@@ -332,7 +329,7 @@ const We = {
|
|
|
332
329
|
...ie(),
|
|
333
330
|
...qe(),
|
|
334
331
|
...yt()
|
|
335
|
-
}, "VWindowItem"), Ve =
|
|
332
|
+
}, "VWindowItem"), Ve = $()({
|
|
336
333
|
name: "VWindowItem",
|
|
337
334
|
directives: {
|
|
338
335
|
Touch: Et
|
|
@@ -345,11 +342,10 @@ const We = {
|
|
|
345
342
|
let {
|
|
346
343
|
slots: s
|
|
347
344
|
} = n;
|
|
348
|
-
const t = re(
|
|
345
|
+
const t = re($e), l = Ke(e, Me), {
|
|
349
346
|
isBooted: u
|
|
350
347
|
} = xt();
|
|
351
|
-
if (!t || !l)
|
|
352
|
-
throw new Error("[Vuetify] VWindowItem must be used inside VWindow");
|
|
348
|
+
if (!t || !l) throw new Error("[Vuetify] VWindowItem must be used inside VWindow");
|
|
353
349
|
const o = E(!1), f = y(() => u.value && (t.isReversed.value ? e.reverseTransition !== !1 : e.transition !== !1));
|
|
354
350
|
function r() {
|
|
355
351
|
!o.value || !t || (o.value = !1, t.transitionCount.value > 0 && (t.transitionCount.value -= 1, t.transitionCount.value === 0 && (t.transitionHeight.value = void 0)));
|
|
@@ -380,7 +376,7 @@ const We = {
|
|
|
380
376
|
}), {
|
|
381
377
|
hasContent: g
|
|
382
378
|
} = St(e, l.isSelected);
|
|
383
|
-
return
|
|
379
|
+
return M(() => v(kt, {
|
|
384
380
|
transition: a.value,
|
|
385
381
|
disabled: !u.value
|
|
386
382
|
}, {
|
|
@@ -392,16 +388,16 @@ const We = {
|
|
|
392
388
|
groupItem: l
|
|
393
389
|
};
|
|
394
390
|
}
|
|
395
|
-
}),
|
|
391
|
+
}), $t = R({
|
|
396
392
|
...Ae()
|
|
397
|
-
}, "VTabsWindowItem"),
|
|
393
|
+
}, "VTabsWindowItem"), Mt = $()({
|
|
398
394
|
name: "VTabsWindowItem",
|
|
399
|
-
props:
|
|
395
|
+
props: $t(),
|
|
400
396
|
setup(e, n) {
|
|
401
397
|
let {
|
|
402
398
|
slots: s
|
|
403
399
|
} = n;
|
|
404
|
-
return
|
|
400
|
+
return M(() => {
|
|
405
401
|
const t = Ve.filterProps(e);
|
|
406
402
|
return v(Ve, z({
|
|
407
403
|
_as: "VTabsWindowItem"
|
|
@@ -483,7 +479,7 @@ const Ot = Symbol.for("vuetify:v-slide-group"), Le = R({
|
|
|
483
479
|
...Ze({
|
|
484
480
|
selectedClass: "v-slide-group-item--active"
|
|
485
481
|
})
|
|
486
|
-
}, "VSlideGroup"), _e =
|
|
482
|
+
}, "VSlideGroup"), _e = $()({
|
|
487
483
|
name: "VSlideGroup",
|
|
488
484
|
props: Le(),
|
|
489
485
|
emits: {
|
|
@@ -539,8 +535,7 @@ const Ot = Symbol.for("vuetify:v-slide-group"), Le = R({
|
|
|
539
535
|
}), k(w);
|
|
540
536
|
}
|
|
541
537
|
function k(i) {
|
|
542
|
-
if (!he || !a.el)
|
|
543
|
-
return;
|
|
538
|
+
if (!he || !a.el) return;
|
|
544
539
|
const c = D(m.value, a.el), w = Fe(m.value, t.value, a.el);
|
|
545
540
|
if (!(Ce(m.value, a.el) <= c || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
|
|
546
541
|
Math.abs(i - w) < 16)) {
|
|
@@ -582,27 +577,22 @@ const Ot = Symbol.for("vuetify:v-slide-group"), Le = R({
|
|
|
582
577
|
U = !0;
|
|
583
578
|
}
|
|
584
579
|
function N(i) {
|
|
585
|
-
if (!d.el)
|
|
586
|
-
return;
|
|
580
|
+
if (!d.el) return;
|
|
587
581
|
function c(w) {
|
|
588
582
|
i.preventDefault(), L(w);
|
|
589
583
|
}
|
|
590
584
|
m.value ? i.key === "ArrowRight" ? c(t.value ? "prev" : "next") : i.key === "ArrowLeft" && c(t.value ? "next" : "prev") : i.key === "ArrowDown" ? c("next") : i.key === "ArrowUp" && c("prev"), i.key === "Home" ? c("first") : i.key === "End" && c("last");
|
|
591
585
|
}
|
|
592
586
|
function L(i) {
|
|
593
|
-
if (!d.el)
|
|
594
|
-
return;
|
|
587
|
+
if (!d.el) return;
|
|
595
588
|
let c;
|
|
596
589
|
if (!i)
|
|
597
590
|
c = nt(d.el)[0];
|
|
598
591
|
else if (i === "next") {
|
|
599
|
-
if (c = d.el.querySelector(":focus")?.nextElementSibling, !c)
|
|
600
|
-
return L("first");
|
|
592
|
+
if (c = d.el.querySelector(":focus")?.nextElementSibling, !c) return L("first");
|
|
601
593
|
} else if (i === "prev") {
|
|
602
|
-
if (c = d.el.querySelector(":focus")?.previousElementSibling, !c)
|
|
603
|
-
|
|
604
|
-
} else
|
|
605
|
-
i === "first" ? c = d.el.firstElementChild : i === "last" && (c = d.el.lastElementChild);
|
|
594
|
+
if (c = d.el.querySelector(":focus")?.previousElementSibling, !c) return L("last");
|
|
595
|
+
} else i === "first" ? c = d.el.firstElementChild : i === "last" && (c = d.el.lastElementChild);
|
|
606
596
|
c && c.focus({
|
|
607
597
|
preventScroll: !0
|
|
608
598
|
});
|
|
@@ -638,12 +628,11 @@ const Ot = Symbol.for("vuetify:v-slide-group"), Le = R({
|
|
|
638
628
|
return !u.value && (f.value || Math.abs(r.value) > 0);
|
|
639
629
|
}
|
|
640
630
|
}), de = y(() => Math.abs(r.value) > 1), ve = y(() => {
|
|
641
|
-
if (!a.value)
|
|
642
|
-
return !1;
|
|
631
|
+
if (!a.value) return !1;
|
|
643
632
|
const i = Ce(m.value, a.el), c = Ft(m.value, a.el);
|
|
644
633
|
return i - c - Math.abs(r.value) > 1;
|
|
645
634
|
});
|
|
646
|
-
return
|
|
635
|
+
return M(() => v(e.tag, {
|
|
647
636
|
class: ["v-slide-group", {
|
|
648
637
|
"v-slide-group--vertical": !m.value,
|
|
649
638
|
"v-slide-group--has-affixes": ee.value,
|
|
@@ -727,7 +716,7 @@ const Xt = R({
|
|
|
727
716
|
}),
|
|
728
717
|
...ot(),
|
|
729
718
|
...ue()
|
|
730
|
-
}, "VTabs"), Yt =
|
|
719
|
+
}, "VTabs"), Yt = $()({
|
|
731
720
|
name: "VTabs",
|
|
732
721
|
props: Xt(),
|
|
733
722
|
emits: {
|
|
@@ -755,7 +744,7 @@ const Xt = R({
|
|
|
755
744
|
sliderColor: W(e, "sliderColor"),
|
|
756
745
|
hideSlider: W(e, "hideSlider")
|
|
757
746
|
}
|
|
758
|
-
}),
|
|
747
|
+
}), M(() => {
|
|
759
748
|
const x = _e.filterProps(e), m = !!(t.window || e.items.length > 0);
|
|
760
749
|
return v(O, null, [v(_e, z(x, {
|
|
761
750
|
modelValue: l.value,
|
|
@@ -777,9 +766,9 @@ const Xt = R({
|
|
|
777
766
|
key: a.text,
|
|
778
767
|
value: a.value
|
|
779
768
|
}), {
|
|
780
|
-
default: () => t[`tab.${a.value}`]?.({
|
|
769
|
+
default: t[`tab.${a.value}`] ? () => t[`tab.${a.value}`]?.({
|
|
781
770
|
item: a
|
|
782
|
-
})
|
|
771
|
+
}) : void 0
|
|
783
772
|
}))]
|
|
784
773
|
}), m && v(Rt, z({
|
|
785
774
|
modelValue: l.value,
|
|
@@ -788,7 +777,7 @@ const Xt = R({
|
|
|
788
777
|
}, h), {
|
|
789
778
|
default: () => [u.value.map((a) => t.item?.({
|
|
790
779
|
item: a
|
|
791
|
-
}) ?? v(
|
|
780
|
+
}) ?? v(Mt, {
|
|
792
781
|
value: a.value
|
|
793
782
|
}, {
|
|
794
783
|
default: () => t[`item.${a.value}`]?.({
|
|
@@ -806,17 +795,16 @@ const Xt = R({
|
|
|
806
795
|
__name: "MobileLayout",
|
|
807
796
|
setup(e) {
|
|
808
797
|
rt((m) => ({
|
|
809
|
-
|
|
810
|
-
"
|
|
811
|
-
|
|
798
|
+
a5e6ca1c: h.value,
|
|
799
|
+
"369f1584": r.value,
|
|
800
|
+
a7dda310: x.value
|
|
812
801
|
}));
|
|
813
802
|
const n = (
|
|
814
803
|
/** @type {import("@/types").Eodash} */
|
|
815
804
|
re(ct)
|
|
816
805
|
), s = n.template.widgets, t = be(s), [l] = be([n.template?.background]), { mainRect: u } = dt(), o = I(-1), f = I(null), r = I(""), h = I(""), x = I("");
|
|
817
806
|
return vt(() => {
|
|
818
|
-
h.value = u.value.top + "px", x.value = (u.value.bottom || 48) + "px", r.value = u.value.bottom +
|
|
819
|
-
(f.value?.$el?.clientHeight ?? 0) + "px";
|
|
807
|
+
h.value = u.value.top + "px", x.value = (u.value.bottom || 48) + "px", r.value = u.value.bottom + (f.value?.$el?.clientHeight ?? 0) + "px";
|
|
820
808
|
}), (m, a) => (C(), A(Tt, { class: "overflow-hidden main" }, {
|
|
821
809
|
default: F(() => [
|
|
822
810
|
(C(), A(ye, { suspensible: "" }, {
|
|
@@ -951,7 +939,7 @@ const Xt = R({
|
|
|
951
939
|
/* STABLE */
|
|
952
940
|
}));
|
|
953
941
|
}
|
|
954
|
-
}, Zt = /* @__PURE__ */ ut(Ut, [["__scopeId", "data-v-
|
|
942
|
+
}, Zt = /* @__PURE__ */ ut(Ut, [["__scopeId", "data-v-a197a171"]]);
|
|
955
943
|
export {
|
|
956
944
|
Zt as default
|
|
957
945
|
};
|