@eodash/eodash 5.0.0-alpha.2 → 5.0.0-alpha.2.10
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/LICENSE +21 -0
- package/README.md +36 -3
- package/core/client/App.vue +26 -0
- package/core/client/SuspensedDashboard.ce.vue +105 -0
- package/core/client/asWebComponent.d.ts +23 -0
- package/core/client/asWebComponent.js +12 -0
- package/core/client/components/DashboardLayout.vue +77 -0
- package/core/client/components/DynamicWebComponent.vue +68 -0
- package/core/client/components/ErrorAlert.vue +36 -0
- package/core/{components → client/components}/Footer.vue +34 -15
- package/core/client/components/Header.vue +19 -0
- package/core/client/components/IframeWrapper.vue +11 -0
- package/core/client/components/Loading.vue +37 -0
- package/core/client/components/MobileLayout.vue +109 -0
- package/core/client/composables/DefineEodash.js +67 -0
- package/core/client/composables/DefineWidgets.js +161 -0
- package/core/client/composables/index.js +136 -0
- package/core/client/eodash.js +136 -0
- package/core/client/main.js +2 -0
- package/core/client/plugins/index.js +20 -0
- package/core/client/plugins/vuetify.js +35 -0
- package/core/client/render.js +12 -0
- package/core/client/store/Actions.js +62 -0
- package/core/client/store/States.js +21 -0
- package/core/client/store/index.js +20 -0
- package/core/client/store/stac.js +81 -0
- package/core/client/types.d.ts +287 -0
- package/core/client/utils/eodashSTAC.js +337 -0
- package/core/client/utils/helpers.js +172 -0
- package/core/client/utils/index.js +51 -0
- package/core/{utils → client/utils}/keys.js +2 -2
- package/core/client/views/Dashboard.vue +116 -0
- package/core/client/vite-env.d.ts +39 -0
- package/dist/client/DashboardLayout-C_3q8Y10.js +156 -0
- package/dist/{DynamicWebComponent-BDOQsEcj.js → client/DynamicWebComponent-IiTTLBt-.js} +11 -11
- package/dist/client/EodashDatePicker-DgC1lccp.js +252 -0
- package/dist/{eox-itemfilter-DcQkRD2l.js → client/EodashItemFilter-DoWZGe6r.js} +1515 -1381
- package/dist/client/EodashMap-C96D3LLv.js +114352 -0
- package/dist/client/EodashMapBtns-DDtzV94u.js +50 -0
- package/dist/client/ExportState-CduS2mFs.js +558 -0
- package/dist/client/Footer-DHQcutCv.js +115 -0
- package/dist/client/Header-DC0y7rLK.js +350 -0
- package/dist/{IframeWrapper-DYHQQRUh.js → client/IframeWrapper-BK-10FbS.js} +4 -4
- package/dist/client/MobileLayout-BpLoMY4i.js +945 -0
- package/dist/client/PopUp-CNMCWL0z.js +300 -0
- package/dist/client/VImg-DT7eb8V-.js +291 -0
- package/dist/client/VMain-OenWyy46.js +39 -0
- package/dist/client/VOverlay-x3UXpKhr.js +972 -0
- package/dist/{WidgetsContainer-D_PLP1qf.js → client/WidgetsContainer-qMUwtN0W.js} +26 -19
- package/dist/client/asWebComponent-DQrnLsI2.js +20404 -0
- package/dist/{basedecoder-Qm25PwVp-CHo5Pomv.js → client/basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
- package/dist/{decoder-kAoyGIq9-HAkjSTCt.js → client/decoder-Cth6J7EK-CtUoHA6r.js} +1 -1
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
- package/dist/client/eo-dash.js +6 -0
- package/dist/client/eox-jsonform-DCErgjhw.js +17515 -0
- package/dist/client/eox-layercontrol-D0Ht7Mag.js +21298 -0
- package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
- package/dist/client/forwardRefs-CpNjL95t.js +185 -0
- package/dist/client/helpers-KCSgmfim.js +1417 -0
- package/dist/{index-8ch8xKfa.js → client/index-DopVrUzM.js} +21 -20
- package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
- package/dist/{lerc-C9VL9kri-DyVxBvsf.js → client/lerc-BgbQqdFI-D986ErVw.js} +37 -39
- package/dist/{lzw-BOMhmEDy-Dboc93VO.js → client/lzw-LAGDNbSC-DkP96qO9.js} +1 -1
- package/dist/{packbits-DaUD6MLm-Bu1PoTGa.js → client/packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
- package/dist/{pako.esm-C3kYPGGQ-BMki8cQY.js → client/pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
- package/dist/{raw-CcGKjn8q-DFOt-i8n.js → client/raw-CMGvRjfu-BRi6E4i1.js} +1 -1
- package/dist/{ssrBoot-Cm5pWM14.js → client/ssrBoot-DkjdOWvj.js} +1 -1
- package/dist/client/style.css +5 -0
- package/dist/client/transition-BtJHh7JK.js +34 -0
- package/dist/{webfontloader-CyOFAuFB.js → client/webfontloader-qotgY98I.js} +56 -92
- package/dist/{webimage-D2c098k3-DLj1LQxB.js → client/webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
- package/dist/node/cli.js +20 -0
- package/dist/node/main.js +2 -0
- package/dist/node/types.d.ts +47 -0
- package/package.json +54 -51
- package/widgets/EodashDatePicker.vue +145 -40
- package/widgets/EodashItemFilter.vue +73 -38
- package/widgets/EodashMap.vue +210 -37
- package/widgets/EodashMapBtns.vue +50 -0
- package/widgets/ExportState.vue +112 -0
- package/widgets/PopUp.vue +40 -0
- package/widgets/WidgetsContainer.vue +47 -27
- package/bin/app.js +0 -22
- package/bin/cli.js +0 -62
- package/bin/main.js +0 -9
- package/bin/serverConfig.js +0 -165
- package/bin/types.d.ts +0 -52
- package/bin/utils.js +0 -103
- package/core/App.vue +0 -19
- package/core/SuspensedDashboard.ce.vue +0 -59
- package/core/asWebComponent.d.ts +0 -18
- package/core/asWebComponent.js +0 -12
- package/core/components/DashboardLayout.vue +0 -54
- package/core/components/DynamicWebComponent.vue +0 -68
- package/core/components/Header.vue +0 -14
- package/core/components/IframeWrapper.vue +0 -11
- package/core/components/Loading.vue +0 -27
- package/core/components/MobileLayout.vue +0 -49
- package/core/composables/DefineEodash.js +0 -57
- package/core/composables/DefineWidgets.js +0 -129
- package/core/composables/index.js +0 -219
- package/core/eodash.js +0 -100
- package/core/main.js +0 -2
- package/core/plugins/index.js +0 -18
- package/core/plugins/vuetify.js +0 -30
- package/core/render.js +0 -13
- package/core/store/Actions.js +0 -0
- package/core/store/States.js +0 -21
- package/core/store/index.js +0 -17
- package/core/store/stac.js +0 -63
- package/core/types.d.ts +0 -355
- package/core/utils/eodashSTAC.js +0 -164
- package/core/utils/helpers.js +0 -40
- package/core/utils/index.js +0 -28
- package/core/views/Dashboard.vue +0 -59
- package/core/vite-env.d.ts +0 -31
- package/dist/DashboardLayout-YLfAa8wH.js +0 -168
- package/dist/EodashDatePicker-DlehqSgz.js +0 -1645
- package/dist/EodashItemFilter-TSp7XRGy.js +0 -51
- package/dist/EodashMap-DInb9cfS.js +0 -53405
- package/dist/Footer-CIzHgJbK.js +0 -118
- package/dist/Header-C5PSB8Uc.js +0 -609
- package/dist/MobileLayout-DZmqrpub.js +0 -523
- package/dist/VBtn-CFPhsIX8.js +0 -1106
- package/dist/VMain-deI9jyIf.js +0 -35
- package/dist/asWebComponent-BKe6Spni.js +0 -11323
- package/dist/color-D72nEBIR.js +0 -115
- package/dist/deflate-Be2Arps5-hDqMz3RA.js +0 -10
- package/dist/dimensions-BZkmIizV.js +0 -53
- package/dist/eo-dash.js +0 -6
- package/dist/eox-map-BJ9SIixs.js +0 -36205
- package/dist/eox-stacinfo-B-YrT7Ug.js +0 -13698
- package/dist/forwardRefs-Bxeu9Obx.js +0 -142
- package/dist/index-DIt8GjSR.js +0 -65
- package/dist/style.css +0 -5
- /package/dist/{.gitkeep → client/.gitkeep} +0 -0
- /package/dist/{_commonjsHelpers-DaMA6jEr.js → client/_commonjsHelpers-DaMA6jEr.js} +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { _ as f, r as p, aO as d, $ as o, a6 as m, a0 as s, a3 as e, V as i, a5 as r, aP as v, aM as c, aQ as k, aN as x } from "./asWebComponent-DQrnLsI2.js";
|
|
2
|
+
import M from "./ExportState-CduS2mFs.js";
|
|
3
|
+
const B = {
|
|
4
|
+
__name: "EodashMapBtns",
|
|
5
|
+
props: {
|
|
6
|
+
exportMap: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !0
|
|
9
|
+
},
|
|
10
|
+
changeProjection: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !0
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(n) {
|
|
16
|
+
const t = p(!1), u = p(null);
|
|
17
|
+
return d(u), (y, a) => (o(), m(
|
|
18
|
+
"div",
|
|
19
|
+
{
|
|
20
|
+
ref_key: "rootRef",
|
|
21
|
+
ref: u,
|
|
22
|
+
class: "d-flex flex-column align-end justify-end my-3 pa-2"
|
|
23
|
+
},
|
|
24
|
+
[
|
|
25
|
+
n.exportMap ? (o(), s(i, {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "map-btn",
|
|
28
|
+
icon: [e(v)],
|
|
29
|
+
onClick: a[0] || (a[0] = (l) => t.value = !t.value)
|
|
30
|
+
}, null, 8, ["icon"])) : r("v-if", !0),
|
|
31
|
+
n.exportMap ? (o(), s(M, {
|
|
32
|
+
key: 1,
|
|
33
|
+
modelValue: t.value,
|
|
34
|
+
"onUpdate:modelValue": a[1] || (a[1] = (l) => t.value = l)
|
|
35
|
+
}, null, 8, ["modelValue"])) : r("v-if", !0),
|
|
36
|
+
n.changeProjection && e(c) ? (o(), s(i, {
|
|
37
|
+
key: 2,
|
|
38
|
+
class: "map-btn",
|
|
39
|
+
icon: [e(k)],
|
|
40
|
+
onClick: a[2] || (a[2] = (l) => e(x)(e(c)))
|
|
41
|
+
}, null, 8, ["icon"])) : r("v-if", !0)
|
|
42
|
+
],
|
|
43
|
+
512
|
|
44
|
+
/* NEED_PATCH */
|
|
45
|
+
));
|
|
46
|
+
}
|
|
47
|
+
}, j = /* @__PURE__ */ f(B, [["__scopeId", "data-v-d7a01370"]]);
|
|
48
|
+
export {
|
|
49
|
+
j as default
|
|
50
|
+
};
|
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
import { aR as M, g as m, e as y, S as ve, a as g, b as a, p as f, f as x, I as k, O as T, ag as j, aS as me, h as B, aT as J, i as N, aU as U, P as W, aj as q, aV as ye, M as S, ak as _, aW as H, F as P, ae as ge, ac as fe, af as be, aX as ke, aY as he, aZ as Ce, a_ as Ve, a$ as pe, ah as Se, ad as _e, ai as xe, b0 as Ie, b1 as Ae, b2 as Pe, b3 as Te, c as h, t as Be, v as Ne, b4 as we, u as Le, R as $e, C as L, _ as De, b5 as Re, b6 as ze, r as Fe, $ as I, a0 as Ee, a1 as c, b7 as Oe, a9 as C, aa as $, a6 as D, a3 as R, b8 as Me, a5 as je, aB as Je, b9 as Ue, a7 as We, V as z, ba as qe, a8 as F, bb as A, aK as E, at as He, au as Ke } from "./asWebComponent-DQrnLsI2.js";
|
|
2
|
+
import Xe from "./PopUp-CNMCWL0z.js";
|
|
3
|
+
import { a as Ye } from "./index-DopVrUzM.js";
|
|
4
|
+
import { V as K } from "./VImg-DT7eb8V-.js";
|
|
5
|
+
const Ze = M("v-spacer", "div", "VSpacer"), X = m()({
|
|
6
|
+
name: "VCardActions",
|
|
7
|
+
props: y(),
|
|
8
|
+
setup(e, l) {
|
|
9
|
+
let {
|
|
10
|
+
slots: n
|
|
11
|
+
} = l;
|
|
12
|
+
return ve({
|
|
13
|
+
VBtn: {
|
|
14
|
+
slim: !0,
|
|
15
|
+
variant: "text"
|
|
16
|
+
}
|
|
17
|
+
}), g(() => a("div", {
|
|
18
|
+
class: ["v-card-actions", e.class],
|
|
19
|
+
style: e.style
|
|
20
|
+
}, [n.default?.()])), {};
|
|
21
|
+
}
|
|
22
|
+
}), Ge = f({
|
|
23
|
+
opacity: [Number, String],
|
|
24
|
+
...y(),
|
|
25
|
+
...x()
|
|
26
|
+
}, "VCardSubtitle"), Qe = m()({
|
|
27
|
+
name: "VCardSubtitle",
|
|
28
|
+
props: Ge(),
|
|
29
|
+
setup(e, l) {
|
|
30
|
+
let {
|
|
31
|
+
slots: n
|
|
32
|
+
} = l;
|
|
33
|
+
return g(() => a(e.tag, {
|
|
34
|
+
class: ["v-card-subtitle", e.class],
|
|
35
|
+
style: [{
|
|
36
|
+
"--v-card-subtitle-opacity": e.opacity
|
|
37
|
+
}, e.style]
|
|
38
|
+
}, n)), {};
|
|
39
|
+
}
|
|
40
|
+
}), Y = M("v-card-title"), ea = f({
|
|
41
|
+
start: Boolean,
|
|
42
|
+
end: Boolean,
|
|
43
|
+
icon: k,
|
|
44
|
+
image: String,
|
|
45
|
+
text: String,
|
|
46
|
+
...y(),
|
|
47
|
+
...T(),
|
|
48
|
+
...j(),
|
|
49
|
+
...me(),
|
|
50
|
+
...x(),
|
|
51
|
+
...B(),
|
|
52
|
+
...J({
|
|
53
|
+
variant: "flat"
|
|
54
|
+
})
|
|
55
|
+
}, "VAvatar"), O = m()({
|
|
56
|
+
name: "VAvatar",
|
|
57
|
+
props: ea(),
|
|
58
|
+
setup(e, l) {
|
|
59
|
+
let {
|
|
60
|
+
slots: n
|
|
61
|
+
} = l;
|
|
62
|
+
const {
|
|
63
|
+
themeClasses: t
|
|
64
|
+
} = N(e), {
|
|
65
|
+
colorClasses: r,
|
|
66
|
+
colorStyles: o,
|
|
67
|
+
variantClasses: u
|
|
68
|
+
} = U(e), {
|
|
69
|
+
densityClasses: d
|
|
70
|
+
} = W(e), {
|
|
71
|
+
roundedClasses: s
|
|
72
|
+
} = q(e), {
|
|
73
|
+
sizeClasses: i,
|
|
74
|
+
sizeStyles: v
|
|
75
|
+
} = ye(e);
|
|
76
|
+
return g(() => a(e.tag, {
|
|
77
|
+
class: ["v-avatar", {
|
|
78
|
+
"v-avatar--start": e.start,
|
|
79
|
+
"v-avatar--end": e.end
|
|
80
|
+
}, t.value, r.value, d.value, s.value, i.value, u.value, e.class],
|
|
81
|
+
style: [o.value, v.value, e.style]
|
|
82
|
+
}, {
|
|
83
|
+
default: () => [n.default ? a(_, {
|
|
84
|
+
key: "content-defaults",
|
|
85
|
+
defaults: {
|
|
86
|
+
VImg: {
|
|
87
|
+
cover: !0,
|
|
88
|
+
image: e.image
|
|
89
|
+
},
|
|
90
|
+
VIcon: {
|
|
91
|
+
icon: e.icon
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}, {
|
|
95
|
+
default: () => [n.default()]
|
|
96
|
+
}) : e.image ? a(K, {
|
|
97
|
+
key: "image",
|
|
98
|
+
src: e.image,
|
|
99
|
+
alt: "",
|
|
100
|
+
cover: !0
|
|
101
|
+
}, null) : e.icon ? a(S, {
|
|
102
|
+
key: "icon",
|
|
103
|
+
icon: e.icon
|
|
104
|
+
}, null) : e.text, H(!1, "v-avatar")]
|
|
105
|
+
})), {};
|
|
106
|
+
}
|
|
107
|
+
}), aa = f({
|
|
108
|
+
appendAvatar: String,
|
|
109
|
+
appendIcon: k,
|
|
110
|
+
prependAvatar: String,
|
|
111
|
+
prependIcon: k,
|
|
112
|
+
subtitle: [String, Number],
|
|
113
|
+
title: [String, Number],
|
|
114
|
+
...y(),
|
|
115
|
+
...T()
|
|
116
|
+
}, "VCardItem"), ta = m()({
|
|
117
|
+
name: "VCardItem",
|
|
118
|
+
props: aa(),
|
|
119
|
+
setup(e, l) {
|
|
120
|
+
let {
|
|
121
|
+
slots: n
|
|
122
|
+
} = l;
|
|
123
|
+
return g(() => {
|
|
124
|
+
const t = !!(e.prependAvatar || e.prependIcon), r = !!(t || n.prepend), o = !!(e.appendAvatar || e.appendIcon), u = !!(o || n.append), d = !!(e.title != null || n.title), s = !!(e.subtitle != null || n.subtitle);
|
|
125
|
+
return a("div", {
|
|
126
|
+
class: ["v-card-item", e.class],
|
|
127
|
+
style: e.style
|
|
128
|
+
}, [r && a("div", {
|
|
129
|
+
key: "prepend",
|
|
130
|
+
class: "v-card-item__prepend"
|
|
131
|
+
}, [n.prepend ? a(_, {
|
|
132
|
+
key: "prepend-defaults",
|
|
133
|
+
disabled: !t,
|
|
134
|
+
defaults: {
|
|
135
|
+
VAvatar: {
|
|
136
|
+
density: e.density,
|
|
137
|
+
image: e.prependAvatar
|
|
138
|
+
},
|
|
139
|
+
VIcon: {
|
|
140
|
+
density: e.density,
|
|
141
|
+
icon: e.prependIcon
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}, n.prepend) : a(P, null, [e.prependAvatar && a(O, {
|
|
145
|
+
key: "prepend-avatar",
|
|
146
|
+
density: e.density,
|
|
147
|
+
image: e.prependAvatar
|
|
148
|
+
}, null), e.prependIcon && a(S, {
|
|
149
|
+
key: "prepend-icon",
|
|
150
|
+
density: e.density,
|
|
151
|
+
icon: e.prependIcon
|
|
152
|
+
}, null)])]), a("div", {
|
|
153
|
+
class: "v-card-item__content"
|
|
154
|
+
}, [d && a(Y, {
|
|
155
|
+
key: "title"
|
|
156
|
+
}, {
|
|
157
|
+
default: () => [n.title?.() ?? e.title]
|
|
158
|
+
}), s && a(Qe, {
|
|
159
|
+
key: "subtitle"
|
|
160
|
+
}, {
|
|
161
|
+
default: () => [n.subtitle?.() ?? e.subtitle]
|
|
162
|
+
}), n.default?.()]), u && a("div", {
|
|
163
|
+
key: "append",
|
|
164
|
+
class: "v-card-item__append"
|
|
165
|
+
}, [n.append ? a(_, {
|
|
166
|
+
key: "append-defaults",
|
|
167
|
+
disabled: !o,
|
|
168
|
+
defaults: {
|
|
169
|
+
VAvatar: {
|
|
170
|
+
density: e.density,
|
|
171
|
+
image: e.appendAvatar
|
|
172
|
+
},
|
|
173
|
+
VIcon: {
|
|
174
|
+
density: e.density,
|
|
175
|
+
icon: e.appendIcon
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}, n.append) : a(P, null, [e.appendIcon && a(S, {
|
|
179
|
+
key: "append-icon",
|
|
180
|
+
density: e.density,
|
|
181
|
+
icon: e.appendIcon
|
|
182
|
+
}, null), e.appendAvatar && a(O, {
|
|
183
|
+
key: "append-avatar",
|
|
184
|
+
density: e.density,
|
|
185
|
+
image: e.appendAvatar
|
|
186
|
+
}, null)])])]);
|
|
187
|
+
}), {};
|
|
188
|
+
}
|
|
189
|
+
}), na = f({
|
|
190
|
+
opacity: [Number, String],
|
|
191
|
+
...y(),
|
|
192
|
+
...x()
|
|
193
|
+
}, "VCardText"), Z = m()({
|
|
194
|
+
name: "VCardText",
|
|
195
|
+
props: na(),
|
|
196
|
+
setup(e, l) {
|
|
197
|
+
let {
|
|
198
|
+
slots: n
|
|
199
|
+
} = l;
|
|
200
|
+
return g(() => a(e.tag, {
|
|
201
|
+
class: ["v-card-text", e.class],
|
|
202
|
+
style: [{
|
|
203
|
+
"--v-card-text-opacity": e.opacity
|
|
204
|
+
}, e.style]
|
|
205
|
+
}, n)), {};
|
|
206
|
+
}
|
|
207
|
+
}), sa = f({
|
|
208
|
+
appendAvatar: String,
|
|
209
|
+
appendIcon: k,
|
|
210
|
+
disabled: Boolean,
|
|
211
|
+
flat: Boolean,
|
|
212
|
+
hover: Boolean,
|
|
213
|
+
image: String,
|
|
214
|
+
link: {
|
|
215
|
+
type: Boolean,
|
|
216
|
+
default: void 0
|
|
217
|
+
},
|
|
218
|
+
prependAvatar: String,
|
|
219
|
+
prependIcon: k,
|
|
220
|
+
ripple: {
|
|
221
|
+
type: [Boolean, Object],
|
|
222
|
+
default: !0
|
|
223
|
+
},
|
|
224
|
+
subtitle: [String, Number],
|
|
225
|
+
text: [String, Number],
|
|
226
|
+
title: [String, Number],
|
|
227
|
+
...ge(),
|
|
228
|
+
...y(),
|
|
229
|
+
...T(),
|
|
230
|
+
...fe(),
|
|
231
|
+
...be(),
|
|
232
|
+
...ke(),
|
|
233
|
+
...he(),
|
|
234
|
+
...Ce(),
|
|
235
|
+
...j(),
|
|
236
|
+
...Ve(),
|
|
237
|
+
...x(),
|
|
238
|
+
...B(),
|
|
239
|
+
...J({
|
|
240
|
+
variant: "elevated"
|
|
241
|
+
})
|
|
242
|
+
}, "VCard"), la = m()({
|
|
243
|
+
name: "VCard",
|
|
244
|
+
directives: {
|
|
245
|
+
Ripple: pe
|
|
246
|
+
},
|
|
247
|
+
props: sa(),
|
|
248
|
+
setup(e, l) {
|
|
249
|
+
let {
|
|
250
|
+
attrs: n,
|
|
251
|
+
slots: t
|
|
252
|
+
} = l;
|
|
253
|
+
const {
|
|
254
|
+
themeClasses: r
|
|
255
|
+
} = N(e), {
|
|
256
|
+
borderClasses: o
|
|
257
|
+
} = Se(e), {
|
|
258
|
+
colorClasses: u,
|
|
259
|
+
colorStyles: d,
|
|
260
|
+
variantClasses: s
|
|
261
|
+
} = U(e), {
|
|
262
|
+
densityClasses: i
|
|
263
|
+
} = W(e), {
|
|
264
|
+
dimensionStyles: v
|
|
265
|
+
} = _e(e), {
|
|
266
|
+
elevationClasses: b
|
|
267
|
+
} = xe(e), {
|
|
268
|
+
loaderClasses: G
|
|
269
|
+
} = Ie(e), {
|
|
270
|
+
locationStyles: Q
|
|
271
|
+
} = Ae(e), {
|
|
272
|
+
positionClasses: ee
|
|
273
|
+
} = Pe(e), {
|
|
274
|
+
roundedClasses: ae
|
|
275
|
+
} = q(e), V = Te(e, n), te = h(() => e.link !== !1 && V.isLink.value), p = h(() => !e.disabled && e.link !== !1 && (e.link || V.isClickable.value));
|
|
276
|
+
return g(() => {
|
|
277
|
+
const ne = te.value ? "a" : e.tag, se = !!(t.title || e.title != null), le = !!(t.subtitle || e.subtitle != null), ie = se || le, de = !!(t.append || e.appendAvatar || e.appendIcon), oe = !!(t.prepend || e.prependAvatar || e.prependIcon), ce = !!(t.image || e.image), re = ie || oe || de, ue = !!(t.text || e.text != null);
|
|
278
|
+
return Be(a(ne, {
|
|
279
|
+
class: ["v-card", {
|
|
280
|
+
"v-card--disabled": e.disabled,
|
|
281
|
+
"v-card--flat": e.flat,
|
|
282
|
+
"v-card--hover": e.hover && !(e.disabled || e.flat),
|
|
283
|
+
"v-card--link": p.value
|
|
284
|
+
}, r.value, o.value, u.value, i.value, b.value, G.value, ee.value, ae.value, s.value, e.class],
|
|
285
|
+
style: [d.value, v.value, Q.value, e.style],
|
|
286
|
+
href: V.href.value,
|
|
287
|
+
onClick: p.value && V.navigate,
|
|
288
|
+
tabindex: e.disabled ? -1 : void 0
|
|
289
|
+
}, {
|
|
290
|
+
default: () => [ce && a("div", {
|
|
291
|
+
key: "image",
|
|
292
|
+
class: "v-card__image"
|
|
293
|
+
}, [t.image ? a(_, {
|
|
294
|
+
key: "image-defaults",
|
|
295
|
+
disabled: !e.image,
|
|
296
|
+
defaults: {
|
|
297
|
+
VImg: {
|
|
298
|
+
cover: !0,
|
|
299
|
+
src: e.image
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}, t.image) : a(K, {
|
|
303
|
+
key: "image-img",
|
|
304
|
+
cover: !0,
|
|
305
|
+
src: e.image
|
|
306
|
+
}, null)]), a(we, {
|
|
307
|
+
name: "v-card",
|
|
308
|
+
active: !!e.loading,
|
|
309
|
+
color: typeof e.loading == "boolean" ? void 0 : e.loading
|
|
310
|
+
}, {
|
|
311
|
+
default: t.loader
|
|
312
|
+
}), re && a(ta, {
|
|
313
|
+
key: "item",
|
|
314
|
+
prependAvatar: e.prependAvatar,
|
|
315
|
+
prependIcon: e.prependIcon,
|
|
316
|
+
title: e.title,
|
|
317
|
+
subtitle: e.subtitle,
|
|
318
|
+
appendAvatar: e.appendAvatar,
|
|
319
|
+
appendIcon: e.appendIcon
|
|
320
|
+
}, {
|
|
321
|
+
default: t.item,
|
|
322
|
+
prepend: t.prepend,
|
|
323
|
+
title: t.title,
|
|
324
|
+
subtitle: t.subtitle,
|
|
325
|
+
append: t.append
|
|
326
|
+
}), ue && a(Z, {
|
|
327
|
+
key: "text"
|
|
328
|
+
}, {
|
|
329
|
+
default: () => [t.text?.() ?? e.text]
|
|
330
|
+
}), t.default?.(), t.actions && a(X, null, {
|
|
331
|
+
default: t.actions
|
|
332
|
+
}), H(p.value, "v-card")]
|
|
333
|
+
}), [[Ne("ripple"), p.value && e.ripple]]);
|
|
334
|
+
}), {};
|
|
335
|
+
}
|
|
336
|
+
}), ia = f({
|
|
337
|
+
color: String,
|
|
338
|
+
inset: Boolean,
|
|
339
|
+
length: [Number, String],
|
|
340
|
+
opacity: [Number, String],
|
|
341
|
+
thickness: [Number, String],
|
|
342
|
+
vertical: Boolean,
|
|
343
|
+
...y(),
|
|
344
|
+
...B()
|
|
345
|
+
}, "VDivider"), da = m()({
|
|
346
|
+
name: "VDivider",
|
|
347
|
+
props: ia(),
|
|
348
|
+
setup(e, l) {
|
|
349
|
+
let {
|
|
350
|
+
attrs: n,
|
|
351
|
+
slots: t
|
|
352
|
+
} = l;
|
|
353
|
+
const {
|
|
354
|
+
themeClasses: r
|
|
355
|
+
} = N(e), {
|
|
356
|
+
textColorClasses: o,
|
|
357
|
+
textColorStyles: u
|
|
358
|
+
} = Le($e(e, "color")), d = h(() => {
|
|
359
|
+
const s = {};
|
|
360
|
+
return e.length && (s[e.vertical ? "height" : "width"] = L(e.length)), e.thickness && (s[e.vertical ? "borderRightWidth" : "borderTopWidth"] = L(e.thickness)), s;
|
|
361
|
+
});
|
|
362
|
+
return g(() => {
|
|
363
|
+
const s = a("hr", {
|
|
364
|
+
class: [{
|
|
365
|
+
"v-divider": !0,
|
|
366
|
+
"v-divider--inset": e.inset,
|
|
367
|
+
"v-divider--vertical": e.vertical
|
|
368
|
+
}, r.value, o.value, e.class],
|
|
369
|
+
style: [d.value, u.value, {
|
|
370
|
+
"--v-border-opacity": e.opacity
|
|
371
|
+
}, e.style],
|
|
372
|
+
"aria-orientation": !n.role || n.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
|
|
373
|
+
role: `${n.role || "separator"}`
|
|
374
|
+
}, null);
|
|
375
|
+
return t.default ? a("div", {
|
|
376
|
+
class: ["v-divider__wrapper", {
|
|
377
|
+
"v-divider__wrapper--vertical": e.vertical,
|
|
378
|
+
"v-divider__wrapper--inset": e.inset
|
|
379
|
+
}]
|
|
380
|
+
}, [s, a("div", {
|
|
381
|
+
class: "v-divider__content"
|
|
382
|
+
}, [t.default()]), s]) : s;
|
|
383
|
+
}), {};
|
|
384
|
+
}
|
|
385
|
+
}), w = (e) => (He("data-v-adee4f49"), e = e(), Ke(), e), oa = /* @__PURE__ */ w(() => /* @__PURE__ */ C(
|
|
386
|
+
"h5",
|
|
387
|
+
{ class: "text-h5" },
|
|
388
|
+
"Storytelling map configuration",
|
|
389
|
+
-1
|
|
390
|
+
/* HOISTED */
|
|
391
|
+
)), ca = /* @__PURE__ */ w(() => /* @__PURE__ */ C(
|
|
392
|
+
"p",
|
|
393
|
+
{ class: "text-body-2" },
|
|
394
|
+
" Copy and paste this code into the map layers field of the storytelling editor: ",
|
|
395
|
+
-1
|
|
396
|
+
/* HOISTED */
|
|
397
|
+
)), ra = { class: "pa-3 code-block" }, ua = { style: { position: "absolute", bottom: "15px" } }, va = {
|
|
398
|
+
key: 0,
|
|
399
|
+
class: "text-success mr-3"
|
|
400
|
+
}, ma = /* @__PURE__ */ w(() => /* @__PURE__ */ C(
|
|
401
|
+
"small",
|
|
402
|
+
null,
|
|
403
|
+
"copied!",
|
|
404
|
+
-1
|
|
405
|
+
/* HOISTED */
|
|
406
|
+
)), ya = {
|
|
407
|
+
__name: "ExportState",
|
|
408
|
+
props: /* @__PURE__ */ Re({
|
|
409
|
+
getLayers: {
|
|
410
|
+
type: Function,
|
|
411
|
+
default: Oe
|
|
412
|
+
}
|
|
413
|
+
}, {
|
|
414
|
+
modelValue: { type: Boolean, required: !0, default: !1 },
|
|
415
|
+
modelModifiers: {}
|
|
416
|
+
}),
|
|
417
|
+
emits: ["update:modelValue"],
|
|
418
|
+
setup(e) {
|
|
419
|
+
const l = ze(e, "modelValue"), n = e, t = Fe(!1), r = [
|
|
420
|
+
{
|
|
421
|
+
id: Symbol(),
|
|
422
|
+
copyFn: async () => await A(u.value, t),
|
|
423
|
+
copyAs: "simple map"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
id: Symbol(),
|
|
427
|
+
copyFn: async () => await A(JSON.stringify(n.getLayers()), t),
|
|
428
|
+
copyAs: "layers configuration"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
id: Symbol(),
|
|
432
|
+
copyFn: async () => await A(o.value, t),
|
|
433
|
+
copyAs: "map tour section"
|
|
434
|
+
}
|
|
435
|
+
], o = h(() => {
|
|
436
|
+
const [d, s, i] = E.value, v = "### <!--{ layers=", b = `zoom="${i}" center=[${[d, s]}] animationOptions={duration:500}}-->
|
|
437
|
+
#### Tour step title
|
|
438
|
+
Text describing the current step of the tour and why it is interesting what the map shows currently
|
|
439
|
+
`;
|
|
440
|
+
return `${v}'${JSON.stringify(n.getLayers())}' ${b}`;
|
|
441
|
+
}), u = h(() => {
|
|
442
|
+
const [d, s, i] = E.value, v = '## Map Example <!--{as="eox-map" style="width: 100%; height: 500px;" layers=', b = `zoom="${i}" center=[${[d, s]}] }-->`;
|
|
443
|
+
return `${v}'${JSON.stringify(n.getLayers())}' ${b}`;
|
|
444
|
+
});
|
|
445
|
+
return (d, s) => (I(), Ee(Xe, {
|
|
446
|
+
modelValue: l.value,
|
|
447
|
+
"onUpdate:modelValue": s[1] || (s[1] = (i) => l.value = i)
|
|
448
|
+
}, {
|
|
449
|
+
default: c(() => [
|
|
450
|
+
a(la, null, {
|
|
451
|
+
default: c(() => [
|
|
452
|
+
a(Y, { class: "bg-primary" }, {
|
|
453
|
+
default: c(() => [
|
|
454
|
+
oa
|
|
455
|
+
]),
|
|
456
|
+
_: 1
|
|
457
|
+
/* STABLE */
|
|
458
|
+
}),
|
|
459
|
+
a(Z, { class: "py-5" }, {
|
|
460
|
+
default: c(() => [
|
|
461
|
+
ca,
|
|
462
|
+
C(
|
|
463
|
+
"div",
|
|
464
|
+
ra,
|
|
465
|
+
$(e.getLayers()),
|
|
466
|
+
1
|
|
467
|
+
/* TEXT */
|
|
468
|
+
),
|
|
469
|
+
C("div", ua, [
|
|
470
|
+
a(Ye, null, {
|
|
471
|
+
default: c(() => [
|
|
472
|
+
t.value ? (I(), D("div", va, [
|
|
473
|
+
a(S, {
|
|
474
|
+
color: "success",
|
|
475
|
+
left: "",
|
|
476
|
+
icon: [R(Me)]
|
|
477
|
+
}, null, 8, ["icon"]),
|
|
478
|
+
ma
|
|
479
|
+
])) : je("v-if", !0)
|
|
480
|
+
]),
|
|
481
|
+
_: 1
|
|
482
|
+
/* STABLE */
|
|
483
|
+
})
|
|
484
|
+
]),
|
|
485
|
+
a(Je, { class: "d-flex pt-3 justify-end" }, {
|
|
486
|
+
default: c(() => [
|
|
487
|
+
a(Ue, {
|
|
488
|
+
cols: "6",
|
|
489
|
+
class: "flex-column align-center text-end"
|
|
490
|
+
}, {
|
|
491
|
+
default: c(() => [
|
|
492
|
+
(I(), D(
|
|
493
|
+
P,
|
|
494
|
+
null,
|
|
495
|
+
We(r, (i) => a(z, {
|
|
496
|
+
class: "text-body-2",
|
|
497
|
+
onClick: i.copyFn,
|
|
498
|
+
key: i.id,
|
|
499
|
+
small: "",
|
|
500
|
+
variant: "text",
|
|
501
|
+
"prepend-icon": [R(qe)]
|
|
502
|
+
}, {
|
|
503
|
+
default: c(() => [
|
|
504
|
+
F(
|
|
505
|
+
" copy as " + $(i.copyAs),
|
|
506
|
+
1
|
|
507
|
+
/* TEXT */
|
|
508
|
+
)
|
|
509
|
+
]),
|
|
510
|
+
_: 2
|
|
511
|
+
/* DYNAMIC */
|
|
512
|
+
}, 1032, ["onClick", "prepend-icon"])),
|
|
513
|
+
64
|
|
514
|
+
/* STABLE_FRAGMENT */
|
|
515
|
+
))
|
|
516
|
+
]),
|
|
517
|
+
_: 1
|
|
518
|
+
/* STABLE */
|
|
519
|
+
})
|
|
520
|
+
]),
|
|
521
|
+
_: 1
|
|
522
|
+
/* STABLE */
|
|
523
|
+
})
|
|
524
|
+
]),
|
|
525
|
+
_: 1
|
|
526
|
+
/* STABLE */
|
|
527
|
+
}),
|
|
528
|
+
a(da),
|
|
529
|
+
a(X, null, {
|
|
530
|
+
default: c(() => [
|
|
531
|
+
a(Ze),
|
|
532
|
+
a(z, {
|
|
533
|
+
variant: "text",
|
|
534
|
+
onClick: s[0] || (s[0] = (i) => l.value = !l.value)
|
|
535
|
+
}, {
|
|
536
|
+
default: c(() => [
|
|
537
|
+
F(" Close ")
|
|
538
|
+
]),
|
|
539
|
+
_: 1
|
|
540
|
+
/* STABLE */
|
|
541
|
+
})
|
|
542
|
+
]),
|
|
543
|
+
_: 1
|
|
544
|
+
/* STABLE */
|
|
545
|
+
})
|
|
546
|
+
]),
|
|
547
|
+
_: 1
|
|
548
|
+
/* STABLE */
|
|
549
|
+
})
|
|
550
|
+
]),
|
|
551
|
+
_: 1
|
|
552
|
+
/* STABLE */
|
|
553
|
+
}, 8, ["modelValue"]));
|
|
554
|
+
}
|
|
555
|
+
}, ha = /* @__PURE__ */ De(ya, [["__scopeId", "data-v-adee4f49"]]);
|
|
556
|
+
export {
|
|
557
|
+
ha as default
|
|
558
|
+
};
|