@eodash/eodash 5.0.0-alpha.2.14 → 5.0.0-alpha.2.16
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 +1 -1
- package/core/client/composables/EodashMap.js +245 -0
- package/core/client/composables/index.js +2 -2
- package/core/client/eodash.js +1 -2
- package/core/client/store/Actions.js +30 -10
- package/core/client/store/States.js +4 -1
- package/core/client/store/stac.js +52 -2
- package/core/client/types.d.ts +6 -2
- package/core/client/utils/createLayers.js +147 -40
- package/core/client/utils/eodashSTAC.js +94 -19
- package/core/client/utils/helpers.js +189 -11
- package/core/client/utils/states.js +17 -0
- package/dist/client/{DashboardLayout-ulCTLwXv.js → DashboardLayout-CCtyOil0.js} +2 -2
- package/dist/client/{DynamicWebComponent-CZJjeckP.js → DynamicWebComponent-But2r1Sj.js} +2 -2
- package/dist/client/EodashDatePicker-jeYiWflv.js +247 -0
- package/dist/client/{EodashItemFilter-9hK-3-7Y.js → EodashItemFilter-BFlfWeE_.js} +2028 -2024
- package/dist/client/EodashLayerControl-BhZL4pYM.js +24358 -0
- package/dist/client/{EodashMap-jqF-NaSp.js → EodashMap-C5tOgVOv.js} +22268 -24006
- package/dist/client/{EodashMapBtns-F7rE6A-2.js → EodashMapBtns-CdDfVQj0.js} +2 -2
- package/dist/client/{ExportState-CHU5c0uO.js → ExportState-CKCCN_VI.js} +142 -136
- package/dist/client/{Footer-DjkwaDHV.js → Footer-B9yVgyzx.js} +67 -65
- package/dist/client/{Header-V8pZw2HR.js → Header-CPIlUEOq.js} +4 -4
- package/dist/client/{IframeWrapper-C8EZZnHk.js → IframeWrapper-DRw1kHJm.js} +1 -1
- package/dist/client/{MobileLayout-zOO_ZJVe.js → MobileLayout-CPxVee5U.js} +6 -6
- package/dist/client/{PopUp-BNnXTHYD.js → PopUp-Dca-gx9a.js} +5 -5
- package/dist/client/{VImg-Cj6-XkWV.js → VImg-PHLA1nP1.js} +2 -2
- package/dist/client/{VMain-BXL9EwGV.js → VMain-Ck81LJfb.js} +2 -2
- package/dist/client/{VOverlay-C9MeDzGb.js → VOverlay-CL4hiJB8.js} +92 -92
- package/dist/client/{WidgetsContainer-Cw4LFyGR.js → WidgetsContainer-jxk3kw-d.js} +1 -1
- package/dist/client/asWebComponent-3OsFQJVx.js +23633 -0
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-DF-jCteQ.js → forwardRefs-BxZaq9ml.js} +1 -1
- package/dist/client/{index-BfF7LPVL.js → index-Vul961Xy.js} +23 -23
- package/dist/client/{lerc-B4lXefGh-WUagmXWl.js → lerc-B4lXefGh-BESXOHWk.js} +1 -1
- package/dist/client/{ssrBoot-DNvPtEea.js → ssrBoot-BFMBrCqY.js} +1 -1
- package/dist/client/style.css +2 -2
- package/dist/client/{transition-Dc2dpya2.js → transition-U5aFjJtV.js} +1 -1
- package/dist/client/{webfontloader-qotgY98I.js → webfontloader-D_JbBwHu.js} +1 -1
- package/package.json +5 -3
- package/widgets/EodashDatePicker.vue +32 -40
- package/widgets/EodashItemFilter.vue +2 -0
- package/widgets/EodashLayerControl.vue +69 -7
- package/widgets/EodashMap.vue +35 -208
- package/widgets/ExportState.vue +8 -7
- package/dist/client/EodashDatePicker-BClSZg9g.js +0 -252
- package/dist/client/EodashLayerControl-p5FdBiiJ.js +0 -20969
- package/dist/client/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/client/asWebComponent-GN3G-Gdj.js +0 -20451
- package/dist/client/helpers-XtsCspQr.js +0 -1390
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as f, r as p,
|
|
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-3OsFQJVx.js";
|
|
2
|
+
import B from "./ExportState-CKCCN_VI.js";
|
|
3
3
|
const M = {
|
|
4
4
|
__name: "EodashMapBtns",
|
|
5
5
|
props: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { a as
|
|
4
|
-
import { V as
|
|
5
|
-
const
|
|
1
|
+
import { aZ as j, g as m, e as y, S as me, a as g, b as a, p as f, f as _, I as h, O as N, ag as J, a_ as ye, h as w, a$ as U, i as L, b0 as W, P as q, aj as H, b1 as ge, M as S, ak as x, b2 as Z, F as B, ae as fe, ac as be, af as he, b3 as ke, b4 as Ce, b5 as pe, b6 as Ve, b7 as Se, ah as xe, ad as _e, ai as Ie, b8 as Ae, b9 as Pe, ba as Te, bb as Be, c as k, t as Ne, v as we, bc as Le, u as $e, R as De, C as D, _ as Re, bd as ze, be as Fe, r as Ee, $ as I, a0 as Oe, a1 as c, bf as Me, a9 as C, aa as R, a3 as A, bg as P, a6 as z, bh as je, a5 as Je, aD as Ue, bi as We, a7 as qe, V as F, bj as He, a8 as E, bk as T, aR as O, at as Ze, au as Ge } from "./asWebComponent-3OsFQJVx.js";
|
|
2
|
+
import Ke from "./PopUp-Dca-gx9a.js";
|
|
3
|
+
import { a as Qe } from "./index-Vul961Xy.js";
|
|
4
|
+
import { V as G } from "./VImg-PHLA1nP1.js";
|
|
5
|
+
const Xe = j("v-spacer", "div", "VSpacer"), K = m()({
|
|
6
6
|
name: "VCardActions",
|
|
7
7
|
props: y(),
|
|
8
8
|
setup(e, l) {
|
|
9
9
|
let {
|
|
10
10
|
slots: n
|
|
11
11
|
} = l;
|
|
12
|
-
return
|
|
12
|
+
return me({
|
|
13
13
|
VBtn: {
|
|
14
14
|
slim: !0,
|
|
15
15
|
variant: "text"
|
|
@@ -19,13 +19,13 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
19
19
|
style: e.style
|
|
20
20
|
}, [n.default?.()])), {};
|
|
21
21
|
}
|
|
22
|
-
}),
|
|
22
|
+
}), Ye = f({
|
|
23
23
|
opacity: [Number, String],
|
|
24
24
|
...y(),
|
|
25
|
-
...
|
|
26
|
-
}, "VCardSubtitle"),
|
|
25
|
+
..._()
|
|
26
|
+
}, "VCardSubtitle"), ea = m()({
|
|
27
27
|
name: "VCardSubtitle",
|
|
28
|
-
props:
|
|
28
|
+
props: Ye(),
|
|
29
29
|
setup(e, l) {
|
|
30
30
|
let {
|
|
31
31
|
slots: n
|
|
@@ -37,42 +37,42 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
37
37
|
}, e.style]
|
|
38
38
|
}, n)), {};
|
|
39
39
|
}
|
|
40
|
-
}),
|
|
40
|
+
}), Q = j("v-card-title"), aa = f({
|
|
41
41
|
start: Boolean,
|
|
42
42
|
end: Boolean,
|
|
43
|
-
icon:
|
|
43
|
+
icon: h,
|
|
44
44
|
image: String,
|
|
45
45
|
text: String,
|
|
46
46
|
...y(),
|
|
47
|
-
...
|
|
48
|
-
...
|
|
49
|
-
...
|
|
50
|
-
...
|
|
51
|
-
...
|
|
52
|
-
...
|
|
47
|
+
...N(),
|
|
48
|
+
...J(),
|
|
49
|
+
...ye(),
|
|
50
|
+
..._(),
|
|
51
|
+
...w(),
|
|
52
|
+
...U({
|
|
53
53
|
variant: "flat"
|
|
54
54
|
})
|
|
55
|
-
}, "VAvatar"),
|
|
55
|
+
}, "VAvatar"), M = m()({
|
|
56
56
|
name: "VAvatar",
|
|
57
|
-
props:
|
|
57
|
+
props: aa(),
|
|
58
58
|
setup(e, l) {
|
|
59
59
|
let {
|
|
60
60
|
slots: n
|
|
61
61
|
} = l;
|
|
62
62
|
const {
|
|
63
63
|
themeClasses: t
|
|
64
|
-
} =
|
|
64
|
+
} = L(e), {
|
|
65
65
|
colorClasses: r,
|
|
66
66
|
colorStyles: o,
|
|
67
67
|
variantClasses: u
|
|
68
|
-
} = U(e), {
|
|
69
|
-
densityClasses: d
|
|
70
68
|
} = W(e), {
|
|
71
|
-
|
|
69
|
+
densityClasses: d
|
|
72
70
|
} = q(e), {
|
|
71
|
+
roundedClasses: s
|
|
72
|
+
} = H(e), {
|
|
73
73
|
sizeClasses: i,
|
|
74
74
|
sizeStyles: v
|
|
75
|
-
} =
|
|
75
|
+
} = ge(e);
|
|
76
76
|
return g(() => a(e.tag, {
|
|
77
77
|
class: ["v-avatar", {
|
|
78
78
|
"v-avatar--start": e.start,
|
|
@@ -80,12 +80,12 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
80
80
|
}, t.value, r.value, d.value, s.value, i.value, u.value, e.class],
|
|
81
81
|
style: [o.value, v.value, e.style]
|
|
82
82
|
}, {
|
|
83
|
-
default: () => [n.default ? a(
|
|
83
|
+
default: () => [n.default ? a(x, {
|
|
84
84
|
key: "content-defaults",
|
|
85
85
|
defaults: {
|
|
86
86
|
VImg: {
|
|
87
87
|
cover: !0,
|
|
88
|
-
|
|
88
|
+
src: e.image
|
|
89
89
|
},
|
|
90
90
|
VIcon: {
|
|
91
91
|
icon: e.icon
|
|
@@ -93,7 +93,7 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
93
93
|
}
|
|
94
94
|
}, {
|
|
95
95
|
default: () => [n.default()]
|
|
96
|
-
}) : e.image ? a(
|
|
96
|
+
}) : e.image ? a(G, {
|
|
97
97
|
key: "image",
|
|
98
98
|
src: e.image,
|
|
99
99
|
alt: "",
|
|
@@ -101,21 +101,21 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
101
101
|
}, null) : e.icon ? a(S, {
|
|
102
102
|
key: "icon",
|
|
103
103
|
icon: e.icon
|
|
104
|
-
}, null) : e.text,
|
|
104
|
+
}, null) : e.text, Z(!1, "v-avatar")]
|
|
105
105
|
})), {};
|
|
106
106
|
}
|
|
107
|
-
}),
|
|
107
|
+
}), ta = f({
|
|
108
108
|
appendAvatar: String,
|
|
109
|
-
appendIcon:
|
|
109
|
+
appendIcon: h,
|
|
110
110
|
prependAvatar: String,
|
|
111
|
-
prependIcon:
|
|
111
|
+
prependIcon: h,
|
|
112
112
|
subtitle: [String, Number],
|
|
113
113
|
title: [String, Number],
|
|
114
114
|
...y(),
|
|
115
|
-
...
|
|
116
|
-
}, "VCardItem"),
|
|
115
|
+
...N()
|
|
116
|
+
}, "VCardItem"), na = m()({
|
|
117
117
|
name: "VCardItem",
|
|
118
|
-
props:
|
|
118
|
+
props: ta(),
|
|
119
119
|
setup(e, l) {
|
|
120
120
|
let {
|
|
121
121
|
slots: n
|
|
@@ -128,7 +128,7 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
128
128
|
}, [r && a("div", {
|
|
129
129
|
key: "prepend",
|
|
130
130
|
class: "v-card-item__prepend"
|
|
131
|
-
}, [n.prepend ? a(
|
|
131
|
+
}, [n.prepend ? a(x, {
|
|
132
132
|
key: "prepend-defaults",
|
|
133
133
|
disabled: !t,
|
|
134
134
|
defaults: {
|
|
@@ -141,7 +141,7 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
141
141
|
icon: e.prependIcon
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
}, n.prepend) : a(
|
|
144
|
+
}, n.prepend) : a(B, null, [e.prependAvatar && a(M, {
|
|
145
145
|
key: "prepend-avatar",
|
|
146
146
|
density: e.density,
|
|
147
147
|
image: e.prependAvatar
|
|
@@ -151,18 +151,18 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
151
151
|
icon: e.prependIcon
|
|
152
152
|
}, null)])]), a("div", {
|
|
153
153
|
class: "v-card-item__content"
|
|
154
|
-
}, [d && a(
|
|
154
|
+
}, [d && a(Q, {
|
|
155
155
|
key: "title"
|
|
156
156
|
}, {
|
|
157
157
|
default: () => [n.title?.() ?? e.title]
|
|
158
|
-
}), s && a(
|
|
158
|
+
}), s && a(ea, {
|
|
159
159
|
key: "subtitle"
|
|
160
160
|
}, {
|
|
161
161
|
default: () => [n.subtitle?.() ?? e.subtitle]
|
|
162
162
|
}), n.default?.()]), u && a("div", {
|
|
163
163
|
key: "append",
|
|
164
164
|
class: "v-card-item__append"
|
|
165
|
-
}, [n.append ? a(
|
|
165
|
+
}, [n.append ? a(x, {
|
|
166
166
|
key: "append-defaults",
|
|
167
167
|
disabled: !o,
|
|
168
168
|
defaults: {
|
|
@@ -175,24 +175,24 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
175
175
|
icon: e.appendIcon
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
}, n.append) : a(
|
|
178
|
+
}, n.append) : a(B, null, [e.appendIcon && a(S, {
|
|
179
179
|
key: "append-icon",
|
|
180
180
|
density: e.density,
|
|
181
181
|
icon: e.appendIcon
|
|
182
|
-
}, null), e.appendAvatar && a(
|
|
182
|
+
}, null), e.appendAvatar && a(M, {
|
|
183
183
|
key: "append-avatar",
|
|
184
184
|
density: e.density,
|
|
185
185
|
image: e.appendAvatar
|
|
186
186
|
}, null)])])]);
|
|
187
187
|
}), {};
|
|
188
188
|
}
|
|
189
|
-
}),
|
|
189
|
+
}), sa = f({
|
|
190
190
|
opacity: [Number, String],
|
|
191
191
|
...y(),
|
|
192
|
-
...
|
|
193
|
-
}, "VCardText"),
|
|
192
|
+
..._()
|
|
193
|
+
}, "VCardText"), X = m()({
|
|
194
194
|
name: "VCardText",
|
|
195
|
-
props:
|
|
195
|
+
props: sa(),
|
|
196
196
|
setup(e, l) {
|
|
197
197
|
let {
|
|
198
198
|
slots: n
|
|
@@ -204,9 +204,9 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
204
204
|
}, e.style]
|
|
205
205
|
}, n)), {};
|
|
206
206
|
}
|
|
207
|
-
}),
|
|
207
|
+
}), la = f({
|
|
208
208
|
appendAvatar: String,
|
|
209
|
-
appendIcon:
|
|
209
|
+
appendIcon: h,
|
|
210
210
|
disabled: Boolean,
|
|
211
211
|
flat: Boolean,
|
|
212
212
|
hover: Boolean,
|
|
@@ -216,7 +216,7 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
216
216
|
default: void 0
|
|
217
217
|
},
|
|
218
218
|
prependAvatar: String,
|
|
219
|
-
prependIcon:
|
|
219
|
+
prependIcon: h,
|
|
220
220
|
ripple: {
|
|
221
221
|
type: [Boolean, Object],
|
|
222
222
|
default: !0
|
|
@@ -224,27 +224,27 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
224
224
|
subtitle: [String, Number],
|
|
225
225
|
text: [String, Number],
|
|
226
226
|
title: [String, Number],
|
|
227
|
-
...ge(),
|
|
228
|
-
...y(),
|
|
229
|
-
...T(),
|
|
230
227
|
...fe(),
|
|
228
|
+
...y(),
|
|
229
|
+
...N(),
|
|
231
230
|
...be(),
|
|
232
|
-
...ke(),
|
|
233
231
|
...he(),
|
|
232
|
+
...ke(),
|
|
234
233
|
...Ce(),
|
|
235
|
-
...
|
|
234
|
+
...pe(),
|
|
235
|
+
...J(),
|
|
236
236
|
...Ve(),
|
|
237
|
-
...
|
|
238
|
-
...
|
|
239
|
-
...
|
|
237
|
+
..._(),
|
|
238
|
+
...w(),
|
|
239
|
+
...U({
|
|
240
240
|
variant: "elevated"
|
|
241
241
|
})
|
|
242
|
-
}, "VCard"),
|
|
242
|
+
}, "VCard"), ia = m()({
|
|
243
243
|
name: "VCard",
|
|
244
244
|
directives: {
|
|
245
|
-
Ripple:
|
|
245
|
+
Ripple: Se
|
|
246
246
|
},
|
|
247
|
-
props:
|
|
247
|
+
props: la(),
|
|
248
248
|
setup(e, l) {
|
|
249
249
|
let {
|
|
250
250
|
attrs: n,
|
|
@@ -252,45 +252,45 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
252
252
|
} = l;
|
|
253
253
|
const {
|
|
254
254
|
themeClasses: r
|
|
255
|
-
} =
|
|
255
|
+
} = L(e), {
|
|
256
256
|
borderClasses: o
|
|
257
|
-
} =
|
|
257
|
+
} = xe(e), {
|
|
258
258
|
colorClasses: u,
|
|
259
259
|
colorStyles: d,
|
|
260
260
|
variantClasses: s
|
|
261
|
-
} = U(e), {
|
|
262
|
-
densityClasses: i
|
|
263
261
|
} = W(e), {
|
|
262
|
+
densityClasses: i
|
|
263
|
+
} = q(e), {
|
|
264
264
|
dimensionStyles: v
|
|
265
265
|
} = _e(e), {
|
|
266
266
|
elevationClasses: b
|
|
267
|
-
} = xe(e), {
|
|
268
|
-
loaderClasses: K
|
|
269
267
|
} = Ie(e), {
|
|
270
|
-
|
|
268
|
+
loaderClasses: Y
|
|
271
269
|
} = Ae(e), {
|
|
272
|
-
|
|
270
|
+
locationStyles: ee
|
|
273
271
|
} = Pe(e), {
|
|
274
|
-
|
|
275
|
-
} =
|
|
272
|
+
positionClasses: ae
|
|
273
|
+
} = Te(e), {
|
|
274
|
+
roundedClasses: te
|
|
275
|
+
} = H(e), p = Be(e, n), ne = k(() => e.link !== !1 && p.isLink.value), V = k(() => !e.disabled && e.link !== !1 && (e.link || p.isClickable.value));
|
|
276
276
|
return g(() => {
|
|
277
|
-
const
|
|
278
|
-
return
|
|
277
|
+
const se = ne.value ? "a" : e.tag, le = !!(t.title || e.title != null), ie = !!(t.subtitle || e.subtitle != null), de = le || ie, oe = !!(t.append || e.appendAvatar || e.appendIcon), ce = !!(t.prepend || e.prependAvatar || e.prependIcon), re = !!(t.image || e.image), ue = de || ce || oe, ve = !!(t.text || e.text != null);
|
|
278
|
+
return Ne(a(se, {
|
|
279
279
|
class: ["v-card", {
|
|
280
280
|
"v-card--disabled": e.disabled,
|
|
281
281
|
"v-card--flat": e.flat,
|
|
282
282
|
"v-card--hover": e.hover && !(e.disabled || e.flat),
|
|
283
|
-
"v-card--link":
|
|
284
|
-
}, r.value, o.value, u.value, i.value, b.value,
|
|
285
|
-
style: [d.value, v.value,
|
|
286
|
-
href:
|
|
287
|
-
onClick:
|
|
283
|
+
"v-card--link": V.value
|
|
284
|
+
}, r.value, o.value, u.value, i.value, b.value, Y.value, ae.value, te.value, s.value, e.class],
|
|
285
|
+
style: [d.value, v.value, ee.value, e.style],
|
|
286
|
+
href: p.href.value,
|
|
287
|
+
onClick: V.value && p.navigate,
|
|
288
288
|
tabindex: e.disabled ? -1 : void 0
|
|
289
289
|
}, {
|
|
290
|
-
default: () => [
|
|
290
|
+
default: () => [re && a("div", {
|
|
291
291
|
key: "image",
|
|
292
292
|
class: "v-card__image"
|
|
293
|
-
}, [t.image ? a(
|
|
293
|
+
}, [t.image ? a(x, {
|
|
294
294
|
key: "image-defaults",
|
|
295
295
|
disabled: !e.image,
|
|
296
296
|
defaults: {
|
|
@@ -299,7 +299,7 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
299
299
|
src: e.image
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
-
}, t.image) : a(
|
|
302
|
+
}, t.image) : a(G, {
|
|
303
303
|
key: "image-img",
|
|
304
304
|
cover: !0,
|
|
305
305
|
src: e.image
|
|
@@ -309,7 +309,7 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
309
309
|
color: typeof e.loading == "boolean" ? void 0 : e.loading
|
|
310
310
|
}, {
|
|
311
311
|
default: t.loader
|
|
312
|
-
}),
|
|
312
|
+
}), ue && a(na, {
|
|
313
313
|
key: "item",
|
|
314
314
|
prependAvatar: e.prependAvatar,
|
|
315
315
|
prependIcon: e.prependIcon,
|
|
@@ -323,17 +323,17 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
323
323
|
title: t.title,
|
|
324
324
|
subtitle: t.subtitle,
|
|
325
325
|
append: t.append
|
|
326
|
-
}),
|
|
326
|
+
}), ve && a(X, {
|
|
327
327
|
key: "text"
|
|
328
328
|
}, {
|
|
329
329
|
default: () => [t.text?.() ?? e.text]
|
|
330
|
-
}), t.default?.(), t.actions && a(
|
|
330
|
+
}), t.default?.(), t.actions && a(K, null, {
|
|
331
331
|
default: t.actions
|
|
332
|
-
}),
|
|
333
|
-
}), [[
|
|
332
|
+
}), Z(V.value, "v-card")]
|
|
333
|
+
}), [[we("ripple"), V.value && e.ripple]]);
|
|
334
334
|
}), {};
|
|
335
335
|
}
|
|
336
|
-
}),
|
|
336
|
+
}), da = f({
|
|
337
337
|
color: String,
|
|
338
338
|
inset: Boolean,
|
|
339
339
|
length: [Number, String],
|
|
@@ -341,10 +341,10 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
341
341
|
thickness: [Number, String],
|
|
342
342
|
vertical: Boolean,
|
|
343
343
|
...y(),
|
|
344
|
-
...
|
|
345
|
-
}, "VDivider"),
|
|
344
|
+
...w()
|
|
345
|
+
}, "VDivider"), oa = m()({
|
|
346
346
|
name: "VDivider",
|
|
347
|
-
props:
|
|
347
|
+
props: da(),
|
|
348
348
|
setup(e, l) {
|
|
349
349
|
let {
|
|
350
350
|
attrs: n,
|
|
@@ -352,12 +352,12 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
352
352
|
} = l;
|
|
353
353
|
const {
|
|
354
354
|
themeClasses: r
|
|
355
|
-
} =
|
|
355
|
+
} = L(e), {
|
|
356
356
|
textColorClasses: o,
|
|
357
357
|
textColorStyles: u
|
|
358
|
-
} =
|
|
358
|
+
} = $e(De(e, "color")), d = k(() => {
|
|
359
359
|
const s = {};
|
|
360
|
-
return e.length && (s[e.vertical ? "height" : "width"] =
|
|
360
|
+
return e.length && (s[e.vertical ? "height" : "width"] = D(e.length)), e.thickness && (s[e.vertical ? "borderRightWidth" : "borderTopWidth"] = D(e.thickness)), s;
|
|
361
361
|
});
|
|
362
362
|
return g(() => {
|
|
363
363
|
const s = a("hr", {
|
|
@@ -382,33 +382,33 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
382
382
|
}, [t.default()]), s]) : s;
|
|
383
383
|
}), {};
|
|
384
384
|
}
|
|
385
|
-
}),
|
|
385
|
+
}), $ = (e) => (Ze("data-v-93fc5d47"), e = e(), Ge(), e), ca = /* @__PURE__ */ $(() => /* @__PURE__ */ C(
|
|
386
386
|
"h5",
|
|
387
387
|
{ class: "text-h5" },
|
|
388
388
|
"Storytelling map configuration",
|
|
389
389
|
-1
|
|
390
390
|
/* HOISTED */
|
|
391
|
-
)),
|
|
391
|
+
)), ra = /* @__PURE__ */ $(() => /* @__PURE__ */ C(
|
|
392
392
|
"p",
|
|
393
393
|
{ class: "text-body-2" },
|
|
394
394
|
" Copy and paste this code into the map layers field of the storytelling editor: ",
|
|
395
395
|
-1
|
|
396
396
|
/* HOISTED */
|
|
397
|
-
)),
|
|
397
|
+
)), ua = { class: "pa-3 code-block" }, va = { style: { position: "absolute", bottom: "15px" } }, ma = {
|
|
398
398
|
key: 0,
|
|
399
399
|
class: "text-success mr-3"
|
|
400
|
-
},
|
|
400
|
+
}, ya = /* @__PURE__ */ $(() => /* @__PURE__ */ C(
|
|
401
401
|
"small",
|
|
402
402
|
null,
|
|
403
403
|
"copied!",
|
|
404
404
|
-1
|
|
405
405
|
/* HOISTED */
|
|
406
|
-
)),
|
|
406
|
+
)), ga = {
|
|
407
407
|
__name: "ExportState",
|
|
408
408
|
props: /* @__PURE__ */ ze({
|
|
409
409
|
getLayers: {
|
|
410
410
|
type: Function,
|
|
411
|
-
default:
|
|
411
|
+
default: Me
|
|
412
412
|
}
|
|
413
413
|
}, {
|
|
414
414
|
modelValue: { type: Boolean, required: !0, default: !1 },
|
|
@@ -416,93 +416,99 @@ const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
416
416
|
}),
|
|
417
417
|
emits: ["update:modelValue"],
|
|
418
418
|
setup(e) {
|
|
419
|
-
const l = Fe(e, "modelValue"), n = e, t =
|
|
419
|
+
const l = Fe(e, "modelValue"), n = e, t = Ee(!1), r = [
|
|
420
420
|
{
|
|
421
421
|
id: Symbol(),
|
|
422
|
-
copyFn: async () => await
|
|
422
|
+
copyFn: async () => await T(u.value, t),
|
|
423
423
|
copyAs: "simple map"
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
426
|
id: Symbol(),
|
|
427
|
-
copyFn: async () => await
|
|
427
|
+
copyFn: async () => await T(JSON.stringify(n.getLayers()), t),
|
|
428
428
|
copyAs: "layers configuration"
|
|
429
429
|
},
|
|
430
430
|
{
|
|
431
431
|
id: Symbol(),
|
|
432
|
-
copyFn: async () => await
|
|
432
|
+
copyFn: async () => await T(o.value, t),
|
|
433
433
|
copyAs: "map tour section"
|
|
434
434
|
}
|
|
435
|
-
], o =
|
|
436
|
-
const [d, s, i] =
|
|
435
|
+
], o = k(() => {
|
|
436
|
+
const [d, s, i] = O.value, v = "### <!--{ layers=", b = `zoom="${i}" center=[${[d, s]}] animationOptions={duration:500}}-->
|
|
437
437
|
#### Tour step title
|
|
438
438
|
Text describing the current step of the tour and why it is interesting what the map shows currently
|
|
439
439
|
`;
|
|
440
|
-
return `${v}'${JSON.stringify(n.getLayers())}' ${b}`;
|
|
441
|
-
}), u =
|
|
442
|
-
const [d, s, i] =
|
|
443
|
-
return `${v}'${JSON.stringify(n.getLayers())}' ${b}`;
|
|
440
|
+
return `${v}'${JSON.stringify(P(n.getLayers()))}' ${b}`;
|
|
441
|
+
}), u = k(() => {
|
|
442
|
+
const [d, s, i] = O.value, v = '## Map Example <!--{as="eox-map" style="width: 100%; height: 500px;" layers=', b = `zoom="${i}" center=[${[d, s]}] }-->`;
|
|
443
|
+
return `${v}'${JSON.stringify(P(n.getLayers()))}' ${b}`;
|
|
444
444
|
});
|
|
445
|
-
return (d, s) => (I(),
|
|
445
|
+
return (d, s) => (I(), Oe(Ke, {
|
|
446
446
|
modelValue: l.value,
|
|
447
447
|
"onUpdate:modelValue": s[1] || (s[1] = (i) => l.value = i)
|
|
448
448
|
}, {
|
|
449
449
|
default: c(() => [
|
|
450
|
-
a(
|
|
450
|
+
a(ia, { style: { "max-height": "498px" } }, {
|
|
451
451
|
default: c(() => [
|
|
452
|
-
a(
|
|
452
|
+
a(Q, {
|
|
453
|
+
class: "bg-primary",
|
|
454
|
+
style: { "max-height": "49px" }
|
|
455
|
+
}, {
|
|
453
456
|
default: c(() => [
|
|
454
|
-
|
|
457
|
+
ca
|
|
455
458
|
]),
|
|
456
459
|
_: 1
|
|
457
460
|
/* STABLE */
|
|
458
461
|
}),
|
|
459
|
-
a(
|
|
462
|
+
a(X, {
|
|
463
|
+
class: "py-5 overflow-auto",
|
|
464
|
+
style: { height: "400px" }
|
|
465
|
+
}, {
|
|
460
466
|
default: c(() => [
|
|
461
|
-
|
|
467
|
+
ra,
|
|
462
468
|
C(
|
|
463
469
|
"div",
|
|
464
|
-
|
|
465
|
-
|
|
470
|
+
ua,
|
|
471
|
+
R(A(P)(e.getLayers())),
|
|
466
472
|
1
|
|
467
473
|
/* TEXT */
|
|
468
474
|
),
|
|
469
|
-
C("div",
|
|
470
|
-
a(
|
|
475
|
+
C("div", va, [
|
|
476
|
+
a(Qe, null, {
|
|
471
477
|
default: c(() => [
|
|
472
|
-
t.value ? (I(),
|
|
478
|
+
t.value ? (I(), z("div", ma, [
|
|
473
479
|
a(S, {
|
|
474
480
|
color: "success",
|
|
475
481
|
left: "",
|
|
476
|
-
icon: [
|
|
482
|
+
icon: [A(je)]
|
|
477
483
|
}, null, 8, ["icon"]),
|
|
478
|
-
|
|
479
|
-
])) :
|
|
484
|
+
ya
|
|
485
|
+
])) : Je("v-if", !0)
|
|
480
486
|
]),
|
|
481
487
|
_: 1
|
|
482
488
|
/* STABLE */
|
|
483
489
|
})
|
|
484
490
|
]),
|
|
485
|
-
a(
|
|
491
|
+
a(Ue, { class: "d-flex pt-3 justify-end" }, {
|
|
486
492
|
default: c(() => [
|
|
487
|
-
a(
|
|
493
|
+
a(We, {
|
|
488
494
|
cols: "6",
|
|
489
495
|
class: "flex-column align-center text-end"
|
|
490
496
|
}, {
|
|
491
497
|
default: c(() => [
|
|
492
|
-
(I(),
|
|
493
|
-
|
|
498
|
+
(I(), z(
|
|
499
|
+
B,
|
|
494
500
|
null,
|
|
495
|
-
|
|
501
|
+
qe(r, (i) => a(F, {
|
|
496
502
|
class: "text-body-2",
|
|
497
503
|
onClick: i.copyFn,
|
|
498
504
|
key: i.id,
|
|
499
505
|
small: "",
|
|
500
506
|
variant: "text",
|
|
501
|
-
"prepend-icon": [
|
|
507
|
+
"prepend-icon": [A(He)]
|
|
502
508
|
}, {
|
|
503
509
|
default: c(() => [
|
|
504
|
-
|
|
505
|
-
" copy as " +
|
|
510
|
+
E(
|
|
511
|
+
" copy as " + R(i.copyAs),
|
|
506
512
|
1
|
|
507
513
|
/* TEXT */
|
|
508
514
|
)
|
|
@@ -525,16 +531,16 @@ Text describing the current step of the tour and why it is interesting what the
|
|
|
525
531
|
_: 1
|
|
526
532
|
/* STABLE */
|
|
527
533
|
}),
|
|
528
|
-
a(
|
|
529
|
-
a(
|
|
534
|
+
a(oa),
|
|
535
|
+
a(K, { style: { "max-height": "49px" } }, {
|
|
530
536
|
default: c(() => [
|
|
531
|
-
a(
|
|
537
|
+
a(Xe),
|
|
532
538
|
a(F, {
|
|
533
539
|
variant: "text",
|
|
534
540
|
onClick: s[0] || (s[0] = (i) => l.value = !l.value)
|
|
535
541
|
}, {
|
|
536
542
|
default: c(() => [
|
|
537
|
-
|
|
543
|
+
E(" Close ")
|
|
538
544
|
]),
|
|
539
545
|
_: 1
|
|
540
546
|
/* STABLE */
|
|
@@ -552,7 +558,7 @@ Text describing the current step of the tour and why it is interesting what the
|
|
|
552
558
|
/* STABLE */
|
|
553
559
|
}, 8, ["modelValue"]));
|
|
554
560
|
}
|
|
555
|
-
},
|
|
561
|
+
}, Ca = /* @__PURE__ */ Re(ga, [["__scopeId", "data-v-93fc5d47"]]);
|
|
556
562
|
export {
|
|
557
|
-
|
|
563
|
+
Ca as default
|
|
558
564
|
};
|