@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,5 +1,5 @@
|
|
|
1
|
-
import { _ as f, r as p, aU as d, $ as o, a6 as m, a0 as s, a3 as e, V as i, a5 as r, aV as v, aW as c, aX as k, aY as x } from "./asWebComponent-
|
|
2
|
-
import B from "./ExportState-
|
|
1
|
+
import { _ as f, r as p, aU as d, $ as o, a6 as m, a0 as s, a3 as e, V as i, a5 as r, aV as v, aW as c, aX as k, aY as x } from "./asWebComponent-DhR2_xlP.js";
|
|
2
|
+
import B from "./ExportState-Dwv37MRw.js";
|
|
3
3
|
const M = {
|
|
4
4
|
__name: "EodashMapBtns",
|
|
5
5
|
props: {
|
|
@@ -1,58 +1,59 @@
|
|
|
1
|
-
import { aZ as j, g as
|
|
2
|
-
import Ke from "./PopUp-
|
|
3
|
-
import { a as Qe } from "./index-
|
|
4
|
-
import { V as
|
|
5
|
-
const Xe = j("v-spacer", "div", "VSpacer"),
|
|
1
|
+
import { aZ as j, g as y, e as g, S as ge, a as f, b as a, p as h, f as I, I as k, ae as J, O as w, ag as U, a_ as fe, h as L, a$ as W, i as $, ah as q, b0 as H, P as Z, aj as G, b1 as be, M as S, ak as x, b2 as K, F as N, ac as he, af as ke, b3 as Ce, b4 as pe, b5 as Ve, b6 as Se, b7 as xe, ad as _e, ai as Ie, b8 as Ae, b9 as Pe, ba as Te, bb as Be, c as C, t as Ne, v as we, bc as Le, u as $e, R as De, C as z, _ as ze, bd as Ee, be as Fe, r as Re, $ as A, a0 as Oe, a1 as c, bf as Me, a9 as b, aa as E, a3 as P, bg as T, a6 as F, bh as je, a5 as Je, aE as Ue, bi as We, a7 as qe, V as R, bj as He, a8 as _, bk as B, aT as O, at as Ze, au as Ge } from "./asWebComponent-DhR2_xlP.js";
|
|
2
|
+
import Ke from "./PopUp-DBMZX3l3.js";
|
|
3
|
+
import { a as Qe } from "./index-qNWeBhRh.js";
|
|
4
|
+
import { V as Q } from "./VImg-bAMQHnMM.js";
|
|
5
|
+
const Xe = j("v-spacer", "div", "VSpacer"), X = y()({
|
|
6
6
|
name: "VCardActions",
|
|
7
|
-
props:
|
|
7
|
+
props: g(),
|
|
8
8
|
setup(e, l) {
|
|
9
9
|
let {
|
|
10
10
|
slots: n
|
|
11
11
|
} = l;
|
|
12
|
-
return
|
|
12
|
+
return ge({
|
|
13
13
|
VBtn: {
|
|
14
14
|
slim: !0,
|
|
15
15
|
variant: "text"
|
|
16
16
|
}
|
|
17
|
-
}),
|
|
17
|
+
}), f(() => a("div", {
|
|
18
18
|
class: ["v-card-actions", e.class],
|
|
19
19
|
style: e.style
|
|
20
20
|
}, [n.default?.()])), {};
|
|
21
21
|
}
|
|
22
|
-
}), Ye =
|
|
22
|
+
}), Ye = h({
|
|
23
23
|
opacity: [Number, String],
|
|
24
|
-
...
|
|
25
|
-
...
|
|
26
|
-
}, "VCardSubtitle"), ea =
|
|
24
|
+
...g(),
|
|
25
|
+
...I()
|
|
26
|
+
}, "VCardSubtitle"), ea = y()({
|
|
27
27
|
name: "VCardSubtitle",
|
|
28
28
|
props: Ye(),
|
|
29
29
|
setup(e, l) {
|
|
30
30
|
let {
|
|
31
31
|
slots: n
|
|
32
32
|
} = l;
|
|
33
|
-
return
|
|
33
|
+
return f(() => a(e.tag, {
|
|
34
34
|
class: ["v-card-subtitle", e.class],
|
|
35
35
|
style: [{
|
|
36
36
|
"--v-card-subtitle-opacity": e.opacity
|
|
37
37
|
}, e.style]
|
|
38
38
|
}, n)), {};
|
|
39
39
|
}
|
|
40
|
-
}),
|
|
40
|
+
}), Y = j("v-card-title"), aa = h({
|
|
41
41
|
start: Boolean,
|
|
42
42
|
end: Boolean,
|
|
43
|
-
icon:
|
|
43
|
+
icon: k,
|
|
44
44
|
image: String,
|
|
45
45
|
text: String,
|
|
46
|
-
...y(),
|
|
47
|
-
...N(),
|
|
48
46
|
...J(),
|
|
49
|
-
...
|
|
50
|
-
..._(),
|
|
47
|
+
...g(),
|
|
51
48
|
...w(),
|
|
52
|
-
...U(
|
|
49
|
+
...U(),
|
|
50
|
+
...fe(),
|
|
51
|
+
...I(),
|
|
52
|
+
...L(),
|
|
53
|
+
...W({
|
|
53
54
|
variant: "flat"
|
|
54
55
|
})
|
|
55
|
-
}, "VAvatar"), M =
|
|
56
|
+
}, "VAvatar"), M = y()({
|
|
56
57
|
name: "VAvatar",
|
|
57
58
|
props: aa(),
|
|
58
59
|
setup(e, l) {
|
|
@@ -61,24 +62,26 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
61
62
|
} = l;
|
|
62
63
|
const {
|
|
63
64
|
themeClasses: t
|
|
64
|
-
} =
|
|
65
|
-
|
|
66
|
-
colorStyles: o,
|
|
67
|
-
variantClasses: u
|
|
68
|
-
} = W(e), {
|
|
69
|
-
densityClasses: d
|
|
65
|
+
} = $(e), {
|
|
66
|
+
borderClasses: r
|
|
70
67
|
} = q(e), {
|
|
71
|
-
|
|
68
|
+
colorClasses: o,
|
|
69
|
+
colorStyles: u,
|
|
70
|
+
variantClasses: d
|
|
72
71
|
} = H(e), {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
densityClasses: s
|
|
73
|
+
} = Z(e), {
|
|
74
|
+
roundedClasses: i
|
|
75
|
+
} = G(e), {
|
|
76
|
+
sizeClasses: v,
|
|
77
|
+
sizeStyles: m
|
|
78
|
+
} = be(e);
|
|
79
|
+
return f(() => a(e.tag, {
|
|
77
80
|
class: ["v-avatar", {
|
|
78
81
|
"v-avatar--start": e.start,
|
|
79
82
|
"v-avatar--end": e.end
|
|
80
|
-
}, t.value, r.value,
|
|
81
|
-
style: [
|
|
83
|
+
}, t.value, r.value, o.value, s.value, i.value, v.value, d.value, e.class],
|
|
84
|
+
style: [u.value, m.value, e.style]
|
|
82
85
|
}, {
|
|
83
86
|
default: () => [n.default ? a(x, {
|
|
84
87
|
key: "content-defaults",
|
|
@@ -93,7 +96,7 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
93
96
|
}
|
|
94
97
|
}, {
|
|
95
98
|
default: () => [n.default()]
|
|
96
|
-
}) : e.image ? a(
|
|
99
|
+
}) : e.image ? a(Q, {
|
|
97
100
|
key: "image",
|
|
98
101
|
src: e.image,
|
|
99
102
|
alt: "",
|
|
@@ -101,26 +104,26 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
101
104
|
}, null) : e.icon ? a(S, {
|
|
102
105
|
key: "icon",
|
|
103
106
|
icon: e.icon
|
|
104
|
-
}, null) : e.text,
|
|
107
|
+
}, null) : e.text, K(!1, "v-avatar")]
|
|
105
108
|
})), {};
|
|
106
109
|
}
|
|
107
|
-
}), ta =
|
|
110
|
+
}), ta = h({
|
|
108
111
|
appendAvatar: String,
|
|
109
|
-
appendIcon:
|
|
112
|
+
appendIcon: k,
|
|
110
113
|
prependAvatar: String,
|
|
111
|
-
prependIcon:
|
|
114
|
+
prependIcon: k,
|
|
112
115
|
subtitle: [String, Number],
|
|
113
116
|
title: [String, Number],
|
|
114
|
-
...
|
|
115
|
-
...
|
|
116
|
-
}, "VCardItem"), na =
|
|
117
|
+
...g(),
|
|
118
|
+
...w()
|
|
119
|
+
}, "VCardItem"), na = y()({
|
|
117
120
|
name: "VCardItem",
|
|
118
121
|
props: ta(),
|
|
119
122
|
setup(e, l) {
|
|
120
123
|
let {
|
|
121
124
|
slots: n
|
|
122
125
|
} = l;
|
|
123
|
-
return
|
|
126
|
+
return f(() => {
|
|
124
127
|
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
128
|
return a("div", {
|
|
126
129
|
class: ["v-card-item", e.class],
|
|
@@ -141,7 +144,7 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
141
144
|
icon: e.prependIcon
|
|
142
145
|
}
|
|
143
146
|
}
|
|
144
|
-
}, n.prepend) : a(
|
|
147
|
+
}, n.prepend) : a(N, null, [e.prependAvatar && a(M, {
|
|
145
148
|
key: "prepend-avatar",
|
|
146
149
|
density: e.density,
|
|
147
150
|
image: e.prependAvatar
|
|
@@ -151,7 +154,7 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
151
154
|
icon: e.prependIcon
|
|
152
155
|
}, null)])]), a("div", {
|
|
153
156
|
class: "v-card-item__content"
|
|
154
|
-
}, [d && a(
|
|
157
|
+
}, [d && a(Y, {
|
|
155
158
|
key: "title"
|
|
156
159
|
}, {
|
|
157
160
|
default: () => [n.title?.() ?? e.title]
|
|
@@ -175,7 +178,7 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
175
178
|
icon: e.appendIcon
|
|
176
179
|
}
|
|
177
180
|
}
|
|
178
|
-
}, n.append) : a(
|
|
181
|
+
}, n.append) : a(N, null, [e.appendIcon && a(S, {
|
|
179
182
|
key: "append-icon",
|
|
180
183
|
density: e.density,
|
|
181
184
|
icon: e.appendIcon
|
|
@@ -186,27 +189,27 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
186
189
|
}, null)])])]);
|
|
187
190
|
}), {};
|
|
188
191
|
}
|
|
189
|
-
}), sa =
|
|
192
|
+
}), sa = h({
|
|
190
193
|
opacity: [Number, String],
|
|
191
|
-
...
|
|
192
|
-
...
|
|
193
|
-
}, "VCardText"),
|
|
194
|
+
...g(),
|
|
195
|
+
...I()
|
|
196
|
+
}, "VCardText"), ee = y()({
|
|
194
197
|
name: "VCardText",
|
|
195
198
|
props: sa(),
|
|
196
199
|
setup(e, l) {
|
|
197
200
|
let {
|
|
198
201
|
slots: n
|
|
199
202
|
} = l;
|
|
200
|
-
return
|
|
203
|
+
return f(() => a(e.tag, {
|
|
201
204
|
class: ["v-card-text", e.class],
|
|
202
205
|
style: [{
|
|
203
206
|
"--v-card-text-opacity": e.opacity
|
|
204
207
|
}, e.style]
|
|
205
208
|
}, n)), {};
|
|
206
209
|
}
|
|
207
|
-
}), la =
|
|
210
|
+
}), la = h({
|
|
208
211
|
appendAvatar: String,
|
|
209
|
-
appendIcon:
|
|
212
|
+
appendIcon: k,
|
|
210
213
|
disabled: Boolean,
|
|
211
214
|
flat: Boolean,
|
|
212
215
|
hover: Boolean,
|
|
@@ -216,7 +219,7 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
216
219
|
default: void 0
|
|
217
220
|
},
|
|
218
221
|
prependAvatar: String,
|
|
219
|
-
prependIcon:
|
|
222
|
+
prependIcon: k,
|
|
220
223
|
ripple: {
|
|
221
224
|
type: [Boolean, Object],
|
|
222
225
|
default: !0
|
|
@@ -224,25 +227,25 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
224
227
|
subtitle: [String, Number],
|
|
225
228
|
text: [String, Number],
|
|
226
229
|
title: [String, Number],
|
|
227
|
-
...
|
|
228
|
-
...
|
|
229
|
-
...
|
|
230
|
-
...be(),
|
|
230
|
+
...J(),
|
|
231
|
+
...g(),
|
|
232
|
+
...w(),
|
|
231
233
|
...he(),
|
|
232
234
|
...ke(),
|
|
233
235
|
...Ce(),
|
|
234
236
|
...pe(),
|
|
235
|
-
...J(),
|
|
236
237
|
...Ve(),
|
|
237
|
-
...
|
|
238
|
-
...
|
|
239
|
-
...
|
|
238
|
+
...U(),
|
|
239
|
+
...Se(),
|
|
240
|
+
...I(),
|
|
241
|
+
...L(),
|
|
242
|
+
...W({
|
|
240
243
|
variant: "elevated"
|
|
241
244
|
})
|
|
242
|
-
}, "VCard"), ia =
|
|
245
|
+
}, "VCard"), ia = y()({
|
|
243
246
|
name: "VCard",
|
|
244
247
|
directives: {
|
|
245
|
-
Ripple:
|
|
248
|
+
Ripple: xe
|
|
246
249
|
},
|
|
247
250
|
props: la(),
|
|
248
251
|
setup(e, l) {
|
|
@@ -252,42 +255,42 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
252
255
|
} = l;
|
|
253
256
|
const {
|
|
254
257
|
themeClasses: r
|
|
255
|
-
} =
|
|
258
|
+
} = $(e), {
|
|
256
259
|
borderClasses: o
|
|
257
|
-
} =
|
|
260
|
+
} = q(e), {
|
|
258
261
|
colorClasses: u,
|
|
259
262
|
colorStyles: d,
|
|
260
263
|
variantClasses: s
|
|
261
|
-
} =
|
|
264
|
+
} = H(e), {
|
|
262
265
|
densityClasses: i
|
|
263
|
-
} =
|
|
266
|
+
} = Z(e), {
|
|
264
267
|
dimensionStyles: v
|
|
265
268
|
} = _e(e), {
|
|
266
|
-
elevationClasses:
|
|
269
|
+
elevationClasses: m
|
|
267
270
|
} = Ie(e), {
|
|
268
|
-
loaderClasses:
|
|
271
|
+
loaderClasses: ae
|
|
269
272
|
} = Ae(e), {
|
|
270
|
-
locationStyles:
|
|
273
|
+
locationStyles: te
|
|
271
274
|
} = Pe(e), {
|
|
272
|
-
positionClasses:
|
|
275
|
+
positionClasses: ne
|
|
273
276
|
} = Te(e), {
|
|
274
|
-
roundedClasses:
|
|
275
|
-
} =
|
|
276
|
-
return
|
|
277
|
-
const
|
|
278
|
-
return Ne(a(
|
|
277
|
+
roundedClasses: se
|
|
278
|
+
} = G(e), p = Be(e, n), le = C(() => e.link !== !1 && p.isLink.value), V = C(() => !e.disabled && e.link !== !1 && (e.link || p.isClickable.value));
|
|
279
|
+
return f(() => {
|
|
280
|
+
const ie = le.value ? "a" : e.tag, de = !!(t.title || e.title != null), oe = !!(t.subtitle || e.subtitle != null), ce = de || oe, re = !!(t.append || e.appendAvatar || e.appendIcon), ue = !!(t.prepend || e.prependAvatar || e.prependIcon), ve = !!(t.image || e.image), me = ce || ue || re, ye = !!(t.text || e.text != null);
|
|
281
|
+
return Ne(a(ie, {
|
|
279
282
|
class: ["v-card", {
|
|
280
283
|
"v-card--disabled": e.disabled,
|
|
281
284
|
"v-card--flat": e.flat,
|
|
282
285
|
"v-card--hover": e.hover && !(e.disabled || e.flat),
|
|
283
286
|
"v-card--link": V.value
|
|
284
|
-
}, r.value, o.value, u.value, i.value,
|
|
285
|
-
style: [d.value, v.value,
|
|
287
|
+
}, r.value, o.value, u.value, i.value, m.value, ae.value, ne.value, se.value, s.value, e.class],
|
|
288
|
+
style: [d.value, v.value, te.value, e.style],
|
|
286
289
|
href: p.href.value,
|
|
287
290
|
onClick: V.value && p.navigate,
|
|
288
291
|
tabindex: e.disabled ? -1 : void 0
|
|
289
292
|
}, {
|
|
290
|
-
default: () => [
|
|
293
|
+
default: () => [ve && a("div", {
|
|
291
294
|
key: "image",
|
|
292
295
|
class: "v-card__image"
|
|
293
296
|
}, [t.image ? a(x, {
|
|
@@ -299,7 +302,7 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
299
302
|
src: e.image
|
|
300
303
|
}
|
|
301
304
|
}
|
|
302
|
-
}, t.image) : a(
|
|
305
|
+
}, t.image) : a(Q, {
|
|
303
306
|
key: "image-img",
|
|
304
307
|
cover: !0,
|
|
305
308
|
src: e.image
|
|
@@ -309,7 +312,7 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
309
312
|
color: typeof e.loading == "boolean" ? void 0 : e.loading
|
|
310
313
|
}, {
|
|
311
314
|
default: t.loader
|
|
312
|
-
}),
|
|
315
|
+
}), me && a(na, {
|
|
313
316
|
key: "item",
|
|
314
317
|
prependAvatar: e.prependAvatar,
|
|
315
318
|
prependIcon: e.prependIcon,
|
|
@@ -323,26 +326,26 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
323
326
|
title: t.title,
|
|
324
327
|
subtitle: t.subtitle,
|
|
325
328
|
append: t.append
|
|
326
|
-
}),
|
|
329
|
+
}), ye && a(ee, {
|
|
327
330
|
key: "text"
|
|
328
331
|
}, {
|
|
329
332
|
default: () => [t.text?.() ?? e.text]
|
|
330
|
-
}), t.default?.(), t.actions && a(
|
|
333
|
+
}), t.default?.(), t.actions && a(X, null, {
|
|
331
334
|
default: t.actions
|
|
332
|
-
}),
|
|
335
|
+
}), K(V.value, "v-card")]
|
|
333
336
|
}), [[we("ripple"), V.value && e.ripple]]);
|
|
334
337
|
}), {};
|
|
335
338
|
}
|
|
336
|
-
}), da =
|
|
339
|
+
}), da = h({
|
|
337
340
|
color: String,
|
|
338
341
|
inset: Boolean,
|
|
339
342
|
length: [Number, String],
|
|
340
343
|
opacity: [Number, String],
|
|
341
344
|
thickness: [Number, String],
|
|
342
345
|
vertical: Boolean,
|
|
343
|
-
...
|
|
344
|
-
...
|
|
345
|
-
}, "VDivider"), oa =
|
|
346
|
+
...g(),
|
|
347
|
+
...L()
|
|
348
|
+
}, "VDivider"), oa = y()({
|
|
346
349
|
name: "VDivider",
|
|
347
350
|
props: da(),
|
|
348
351
|
setup(e, l) {
|
|
@@ -352,14 +355,14 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
352
355
|
} = l;
|
|
353
356
|
const {
|
|
354
357
|
themeClasses: r
|
|
355
|
-
} =
|
|
358
|
+
} = $(e), {
|
|
356
359
|
textColorClasses: o,
|
|
357
360
|
textColorStyles: u
|
|
358
|
-
} = $e(De(e, "color")), d =
|
|
361
|
+
} = $e(De(e, "color")), d = C(() => {
|
|
359
362
|
const s = {};
|
|
360
|
-
return e.length && (s[e.vertical ? "height" : "width"] =
|
|
363
|
+
return e.length && (s[e.vertical ? "height" : "width"] = z(e.length)), e.thickness && (s[e.vertical ? "borderRightWidth" : "borderTopWidth"] = z(e.thickness)), s;
|
|
361
364
|
});
|
|
362
|
-
return
|
|
365
|
+
return f(() => {
|
|
363
366
|
const s = a("hr", {
|
|
364
367
|
class: [{
|
|
365
368
|
"v-divider": !0,
|
|
@@ -382,22 +385,26 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
382
385
|
}, [t.default()]), s]) : s;
|
|
383
386
|
}), {};
|
|
384
387
|
}
|
|
385
|
-
}),
|
|
388
|
+
}), D = (e) => (Ze("data-v-b8c788e8"), e = e(), Ge(), e), ca = /* @__PURE__ */ D(() => /* @__PURE__ */ b(
|
|
386
389
|
"h5",
|
|
387
390
|
{ class: "text-h5" },
|
|
388
391
|
"Storytelling map configuration",
|
|
389
392
|
-1
|
|
390
393
|
/* HOISTED */
|
|
391
|
-
)), ra = /* @__PURE__ */
|
|
394
|
+
)), ra = /* @__PURE__ */ D(() => /* @__PURE__ */ b(
|
|
392
395
|
"p",
|
|
393
396
|
{ class: "text-body-2" },
|
|
394
|
-
|
|
397
|
+
[
|
|
398
|
+
/* @__PURE__ */ _(" Copy and paste this code into the map "),
|
|
399
|
+
/* @__PURE__ */ b("b", null, "layers field"),
|
|
400
|
+
/* @__PURE__ */ _(" of the storytelling editor: ")
|
|
401
|
+
],
|
|
395
402
|
-1
|
|
396
403
|
/* HOISTED */
|
|
397
404
|
)), ua = { class: "pa-3 code-block" }, va = { style: { position: "absolute", bottom: "15px" } }, ma = {
|
|
398
405
|
key: 0,
|
|
399
406
|
class: "text-success mr-3"
|
|
400
|
-
}, ya = /* @__PURE__ */
|
|
407
|
+
}, ya = /* @__PURE__ */ D(() => /* @__PURE__ */ b(
|
|
401
408
|
"small",
|
|
402
409
|
null,
|
|
403
410
|
"copied!",
|
|
@@ -405,7 +412,7 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
405
412
|
/* HOISTED */
|
|
406
413
|
)), ga = {
|
|
407
414
|
__name: "ExportState",
|
|
408
|
-
props: /* @__PURE__ */
|
|
415
|
+
props: /* @__PURE__ */ Ee({
|
|
409
416
|
getLayers: {
|
|
410
417
|
type: Function,
|
|
411
418
|
default: Me
|
|
@@ -416,40 +423,40 @@ const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
|
416
423
|
}),
|
|
417
424
|
emits: ["update:modelValue"],
|
|
418
425
|
setup(e) {
|
|
419
|
-
const l = Fe(e, "modelValue"), n = e, t =
|
|
426
|
+
const l = Fe(e, "modelValue"), n = e, t = Re(!1), r = [
|
|
420
427
|
{
|
|
421
428
|
id: Symbol(),
|
|
422
|
-
copyFn: async () => await
|
|
429
|
+
copyFn: async () => await B(u.value, t),
|
|
423
430
|
copyAs: "simple map"
|
|
424
431
|
},
|
|
425
432
|
{
|
|
426
433
|
id: Symbol(),
|
|
427
|
-
copyFn: async () => await
|
|
434
|
+
copyFn: async () => await B(JSON.stringify(n.getLayers()), t),
|
|
428
435
|
copyAs: "layers configuration"
|
|
429
436
|
},
|
|
430
437
|
{
|
|
431
438
|
id: Symbol(),
|
|
432
|
-
copyFn: async () => await
|
|
439
|
+
copyFn: async () => await B(o.value, t),
|
|
433
440
|
copyAs: "map tour section"
|
|
434
441
|
}
|
|
435
|
-
], o =
|
|
436
|
-
const [d, s, i] = O.value, v = "### <!--{ layers=",
|
|
442
|
+
], o = C(() => {
|
|
443
|
+
const [d, s, i] = O.value, v = "### <!--{ layers=", m = `zoom="${i}" center=[${[d, s]}] animationOptions={duration:500}}-->
|
|
437
444
|
#### Tour step title
|
|
438
445
|
Text describing the current step of the tour and why it is interesting what the map shows currently
|
|
439
446
|
`;
|
|
440
|
-
return `${v}'${JSON.stringify(
|
|
441
|
-
}), u =
|
|
442
|
-
const [d, s, i] = O.value, v = '## Map Example <!--{as="eox-map" style="width: 100%; height: 500px;" layers=',
|
|
443
|
-
return `${v}'${JSON.stringify(
|
|
447
|
+
return `${v}'${JSON.stringify(T(n.getLayers()))}' ${m}`;
|
|
448
|
+
}), u = C(() => {
|
|
449
|
+
const [d, s, i] = O.value, v = '## Map Example <!--{as="eox-map" style="width: 100%; height: 500px;" layers=', m = `zoom="${i}" center=[${[d, s]}] }-->`;
|
|
450
|
+
return `${v}'${JSON.stringify(T(n.getLayers()))}' ${m}`;
|
|
444
451
|
});
|
|
445
|
-
return (d, s) => (
|
|
452
|
+
return (d, s) => (A(), Oe(Ke, {
|
|
446
453
|
modelValue: l.value,
|
|
447
454
|
"onUpdate:modelValue": s[1] || (s[1] = (i) => l.value = i)
|
|
448
455
|
}, {
|
|
449
456
|
default: c(() => [
|
|
450
457
|
a(ia, { style: { "max-height": "498px" } }, {
|
|
451
458
|
default: c(() => [
|
|
452
|
-
a(
|
|
459
|
+
a(Y, {
|
|
453
460
|
class: "bg-primary",
|
|
454
461
|
style: { "max-height": "49px" }
|
|
455
462
|
}, {
|
|
@@ -459,27 +466,27 @@ Text describing the current step of the tour and why it is interesting what the
|
|
|
459
466
|
_: 1
|
|
460
467
|
/* STABLE */
|
|
461
468
|
}),
|
|
462
|
-
a(
|
|
469
|
+
a(ee, {
|
|
463
470
|
class: "py-5 overflow-auto",
|
|
464
471
|
style: { height: "400px" }
|
|
465
472
|
}, {
|
|
466
473
|
default: c(() => [
|
|
467
474
|
ra,
|
|
468
|
-
|
|
475
|
+
b(
|
|
469
476
|
"div",
|
|
470
477
|
ua,
|
|
471
|
-
|
|
478
|
+
E(P(T)(e.getLayers())),
|
|
472
479
|
1
|
|
473
480
|
/* TEXT */
|
|
474
481
|
),
|
|
475
|
-
|
|
482
|
+
b("div", va, [
|
|
476
483
|
a(Qe, null, {
|
|
477
484
|
default: c(() => [
|
|
478
|
-
t.value ? (
|
|
485
|
+
t.value ? (A(), F("div", ma, [
|
|
479
486
|
a(S, {
|
|
480
487
|
color: "success",
|
|
481
488
|
left: "",
|
|
482
|
-
icon: [
|
|
489
|
+
icon: [P(je)]
|
|
483
490
|
}, null, 8, ["icon"]),
|
|
484
491
|
ya
|
|
485
492
|
])) : Je("v-if", !0)
|
|
@@ -495,20 +502,20 @@ Text describing the current step of the tour and why it is interesting what the
|
|
|
495
502
|
class: "flex-column align-center text-end"
|
|
496
503
|
}, {
|
|
497
504
|
default: c(() => [
|
|
498
|
-
(
|
|
499
|
-
|
|
505
|
+
(A(), F(
|
|
506
|
+
N,
|
|
500
507
|
null,
|
|
501
|
-
qe(r, (i) => a(
|
|
508
|
+
qe(r, (i) => a(R, {
|
|
502
509
|
class: "text-body-2",
|
|
503
510
|
onClick: i.copyFn,
|
|
504
511
|
key: i.id,
|
|
505
512
|
small: "",
|
|
506
513
|
variant: "text",
|
|
507
|
-
"prepend-icon": [
|
|
514
|
+
"prepend-icon": [P(He)]
|
|
508
515
|
}, {
|
|
509
516
|
default: c(() => [
|
|
510
|
-
|
|
511
|
-
" copy as " +
|
|
517
|
+
_(
|
|
518
|
+
" copy as " + E(i.copyAs),
|
|
512
519
|
1
|
|
513
520
|
/* TEXT */
|
|
514
521
|
)
|
|
@@ -532,15 +539,15 @@ Text describing the current step of the tour and why it is interesting what the
|
|
|
532
539
|
/* STABLE */
|
|
533
540
|
}),
|
|
534
541
|
a(oa),
|
|
535
|
-
a(
|
|
542
|
+
a(X, { style: { "max-height": "49px" } }, {
|
|
536
543
|
default: c(() => [
|
|
537
544
|
a(Xe),
|
|
538
|
-
a(
|
|
545
|
+
a(R, {
|
|
539
546
|
variant: "text",
|
|
540
547
|
onClick: s[0] || (s[0] = (i) => l.value = !l.value)
|
|
541
548
|
}, {
|
|
542
549
|
default: c(() => [
|
|
543
|
-
|
|
550
|
+
_(" Close ")
|
|
544
551
|
]),
|
|
545
552
|
_: 1
|
|
546
553
|
/* STABLE */
|
|
@@ -558,7 +565,7 @@ Text describing the current step of the tour and why it is interesting what the
|
|
|
558
565
|
/* STABLE */
|
|
559
566
|
}, 8, ["modelValue"]));
|
|
560
567
|
}
|
|
561
|
-
}, Ca = /* @__PURE__ */
|
|
568
|
+
}, Ca = /* @__PURE__ */ ze(ga, [["__scopeId", "data-v-b8c788e8"]]);
|
|
562
569
|
export {
|
|
563
570
|
Ca as default
|
|
564
571
|
};
|