@eodash/eodash 5.0.0-alpha.2.6 → 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/core/client/composables/DefineWidgets.js +1 -1
- package/core/client/composables/index.js +11 -0
- package/core/client/eodash.js +15 -2
- package/core/client/store/Actions.js +8 -0
- package/core/client/types.d.ts +6 -1
- package/core/client/utils/index.js +12 -0
- package/dist/client/{DashboardLayout-BuDcv6LM.js → DashboardLayout-Cbci3g7o.js} +2 -2
- package/dist/client/{DynamicWebComponent-BEP4rVce.js → DynamicWebComponent-DzmQ3Fr3.js} +2 -2
- package/dist/client/EodashDatePicker-SP5bYISd.js +252 -0
- package/dist/client/{EodashItemFilter-BElmgrST.js → EodashItemFilter-B9Tf2TBw.js} +2 -2
- package/dist/client/{EodashMap-DXyOgcEd.js → EodashMap-D_znzmX7.js} +5 -5
- package/dist/client/EodashMapBtns-BOKugQ88.js +37 -0
- package/dist/client/ExportState-D7m9s4T8.js +558 -0
- package/dist/client/{Footer-CoPx6UXQ.js → Footer-C2uV1-zu.js} +11 -11
- package/dist/client/Header-C2ROtxo_.js +350 -0
- package/dist/client/{IframeWrapper-2w2ye0zM.js → IframeWrapper-Wwou4pwf.js} +1 -1
- package/dist/client/{MobileLayout-C9OVcP12.js → MobileLayout-DR27Ctiz.js} +6 -6
- package/dist/client/PopUp-bPGAY43o.js +300 -0
- package/dist/client/VImg-swqiqth2.js +291 -0
- package/dist/client/{VMain-Dm43jd43.js → VMain-Bu1bPjvK.js} +2 -2
- package/dist/client/VOverlay-D_MKJ4vQ.js +967 -0
- package/dist/client/{WidgetsContainer-BS87sLqk.js → WidgetsContainer-CpxYT8YI.js} +1 -1
- package/dist/client/{asWebComponent-CpQUVi2N.js → asWebComponent-DeaU3QoK.js} +5939 -5713
- package/dist/client/{decoder-CP4lv0Kb-BHrv68IA.js → decoder-CP4lv0Kb-nokx54iM.js} +1 -1
- package/dist/client/eo-dash.js +4 -4
- package/dist/client/{eodashSTAC-Q7kbX1Gy.js → eodashSTAC-CFQuZ_cI.js} +1 -1
- package/dist/client/{forwardRefs-BVFQ82G4.js → forwardRefs-D0a135Tc.js} +35 -33
- package/dist/client/{index-dOzyv_xR.js → index-CoqcWt6E.js} +4 -4
- package/dist/client/{lerc-DzVumYtB-rm1Xco54.js → lerc-DzVumYtB-B3rx9xzz.js} +1 -1
- package/dist/client/{ssrBoot-L9KejErM.js → ssrBoot-C-inWOiD.js} +1 -1
- package/dist/client/style.css +2 -2
- package/dist/client/{transition-DCePIwYR.js → transition-C8le0YwQ.js} +3 -3
- package/package.json +2 -2
- package/widgets/EodashMapBtns.vue +34 -0
- package/widgets/ExportState.vue +112 -0
- package/widgets/PopUp.vue +40 -0
- package/dist/client/EodashDatePicker-oFb1zt5E.js +0 -1211
- package/dist/client/Header-C-zX31Ys.js +0 -635
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
import { aL as j, g as m, e as y, S as me, a as f, b as a, p as g, f as I, I as k, O as N, ag as J, aM as ye, h as w, aN as U, i as $, aO as W, P as H, aj as q, aP as fe, M as _, ak as x, aQ as Q, F as B, ae as ge, ac as be, af as ke, aR as he, aS as Ce, aT as Ve, aU as pe, aV as Se, ah as _e, ad as xe, ai as Ie, aW as Ae, aX as Pe, aY as Te, aZ as Be, c as h, t as Ne, v as we, a_ as $e, u as De, R as Le, C as L, _ as Re, a$ as ze, b0 as Oe, r as Ee, $ as A, a0 as Fe, a1 as c, a9 as C, aa as R, a3 as P, b1 as S, a6 as z, b2 as Me, a5 as je, aB as Je, b3 as Ue, a7 as We, V as O, b4 as He, a8 as E, b5 as T, aH as F, at as qe, au as Qe } from "./asWebComponent-DeaU3QoK.js";
|
|
2
|
+
import Xe from "./PopUp-bPGAY43o.js";
|
|
3
|
+
import { a as Ye } from "./index-CoqcWt6E.js";
|
|
4
|
+
import { V as X } from "./VImg-swqiqth2.js";
|
|
5
|
+
const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
6
|
+
name: "VCardActions",
|
|
7
|
+
props: y(),
|
|
8
|
+
setup(e, l) {
|
|
9
|
+
let {
|
|
10
|
+
slots: t
|
|
11
|
+
} = l;
|
|
12
|
+
return me({
|
|
13
|
+
VBtn: {
|
|
14
|
+
slim: !0,
|
|
15
|
+
variant: "text"
|
|
16
|
+
}
|
|
17
|
+
}), f(() => a("div", {
|
|
18
|
+
class: ["v-card-actions", e.class],
|
|
19
|
+
style: e.style
|
|
20
|
+
}, [t.default?.()])), {};
|
|
21
|
+
}
|
|
22
|
+
}), Ge = g({
|
|
23
|
+
opacity: [Number, String],
|
|
24
|
+
...y(),
|
|
25
|
+
...I()
|
|
26
|
+
}, "VCardSubtitle"), Ke = m()({
|
|
27
|
+
name: "VCardSubtitle",
|
|
28
|
+
props: Ge(),
|
|
29
|
+
setup(e, l) {
|
|
30
|
+
let {
|
|
31
|
+
slots: t
|
|
32
|
+
} = l;
|
|
33
|
+
return f(() => a(e.tag, {
|
|
34
|
+
class: ["v-card-subtitle", e.class],
|
|
35
|
+
style: [{
|
|
36
|
+
"--v-card-subtitle-opacity": e.opacity
|
|
37
|
+
}, e.style]
|
|
38
|
+
}, t)), {};
|
|
39
|
+
}
|
|
40
|
+
}), Z = j("v-card-title"), ea = g({
|
|
41
|
+
start: Boolean,
|
|
42
|
+
end: Boolean,
|
|
43
|
+
icon: k,
|
|
44
|
+
image: String,
|
|
45
|
+
text: String,
|
|
46
|
+
...y(),
|
|
47
|
+
...N(),
|
|
48
|
+
...J(),
|
|
49
|
+
...ye(),
|
|
50
|
+
...I(),
|
|
51
|
+
...w(),
|
|
52
|
+
...U({
|
|
53
|
+
variant: "flat"
|
|
54
|
+
})
|
|
55
|
+
}, "VAvatar"), M = m()({
|
|
56
|
+
name: "VAvatar",
|
|
57
|
+
props: ea(),
|
|
58
|
+
setup(e, l) {
|
|
59
|
+
let {
|
|
60
|
+
slots: t
|
|
61
|
+
} = l;
|
|
62
|
+
const {
|
|
63
|
+
themeClasses: n
|
|
64
|
+
} = $(e), {
|
|
65
|
+
colorClasses: r,
|
|
66
|
+
colorStyles: o,
|
|
67
|
+
variantClasses: u
|
|
68
|
+
} = W(e), {
|
|
69
|
+
densityClasses: d
|
|
70
|
+
} = H(e), {
|
|
71
|
+
roundedClasses: s
|
|
72
|
+
} = q(e), {
|
|
73
|
+
sizeClasses: i,
|
|
74
|
+
sizeStyles: v
|
|
75
|
+
} = fe(e);
|
|
76
|
+
return f(() => a(e.tag, {
|
|
77
|
+
class: ["v-avatar", {
|
|
78
|
+
"v-avatar--start": e.start,
|
|
79
|
+
"v-avatar--end": e.end
|
|
80
|
+
}, n.value, r.value, d.value, s.value, i.value, u.value, e.class],
|
|
81
|
+
style: [o.value, v.value, e.style]
|
|
82
|
+
}, {
|
|
83
|
+
default: () => [t.default ? a(x, {
|
|
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: () => [t.default()]
|
|
96
|
+
}) : e.image ? a(X, {
|
|
97
|
+
key: "image",
|
|
98
|
+
src: e.image,
|
|
99
|
+
alt: "",
|
|
100
|
+
cover: !0
|
|
101
|
+
}, null) : e.icon ? a(_, {
|
|
102
|
+
key: "icon",
|
|
103
|
+
icon: e.icon
|
|
104
|
+
}, null) : e.text, Q(!1, "v-avatar")]
|
|
105
|
+
})), {};
|
|
106
|
+
}
|
|
107
|
+
}), aa = g({
|
|
108
|
+
appendAvatar: String,
|
|
109
|
+
appendIcon: k,
|
|
110
|
+
prependAvatar: String,
|
|
111
|
+
prependIcon: k,
|
|
112
|
+
subtitle: [String, Number],
|
|
113
|
+
title: [String, Number],
|
|
114
|
+
...y(),
|
|
115
|
+
...N()
|
|
116
|
+
}, "VCardItem"), ta = m()({
|
|
117
|
+
name: "VCardItem",
|
|
118
|
+
props: aa(),
|
|
119
|
+
setup(e, l) {
|
|
120
|
+
let {
|
|
121
|
+
slots: t
|
|
122
|
+
} = l;
|
|
123
|
+
return f(() => {
|
|
124
|
+
const n = !!(e.prependAvatar || e.prependIcon), r = !!(n || t.prepend), o = !!(e.appendAvatar || e.appendIcon), u = !!(o || t.append), d = !!(e.title != null || t.title), s = !!(e.subtitle != null || t.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
|
+
}, [t.prepend ? a(x, {
|
|
132
|
+
key: "prepend-defaults",
|
|
133
|
+
disabled: !n,
|
|
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
|
+
}, t.prepend) : a(B, null, [e.prependAvatar && a(M, {
|
|
145
|
+
key: "prepend-avatar",
|
|
146
|
+
density: e.density,
|
|
147
|
+
image: e.prependAvatar
|
|
148
|
+
}, null), e.prependIcon && a(_, {
|
|
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(Z, {
|
|
155
|
+
key: "title"
|
|
156
|
+
}, {
|
|
157
|
+
default: () => [t.title?.() ?? e.title]
|
|
158
|
+
}), s && a(Ke, {
|
|
159
|
+
key: "subtitle"
|
|
160
|
+
}, {
|
|
161
|
+
default: () => [t.subtitle?.() ?? e.subtitle]
|
|
162
|
+
}), t.default?.()]), u && a("div", {
|
|
163
|
+
key: "append",
|
|
164
|
+
class: "v-card-item__append"
|
|
165
|
+
}, [t.append ? a(x, {
|
|
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
|
+
}, t.append) : a(B, null, [e.appendIcon && a(_, {
|
|
179
|
+
key: "append-icon",
|
|
180
|
+
density: e.density,
|
|
181
|
+
icon: e.appendIcon
|
|
182
|
+
}, null), e.appendAvatar && a(M, {
|
|
183
|
+
key: "append-avatar",
|
|
184
|
+
density: e.density,
|
|
185
|
+
image: e.appendAvatar
|
|
186
|
+
}, null)])])]);
|
|
187
|
+
}), {};
|
|
188
|
+
}
|
|
189
|
+
}), na = g({
|
|
190
|
+
opacity: [Number, String],
|
|
191
|
+
...y(),
|
|
192
|
+
...I()
|
|
193
|
+
}, "VCardText"), G = m()({
|
|
194
|
+
name: "VCardText",
|
|
195
|
+
props: na(),
|
|
196
|
+
setup(e, l) {
|
|
197
|
+
let {
|
|
198
|
+
slots: t
|
|
199
|
+
} = l;
|
|
200
|
+
return f(() => a(e.tag, {
|
|
201
|
+
class: ["v-card-text", e.class],
|
|
202
|
+
style: [{
|
|
203
|
+
"--v-card-text-opacity": e.opacity
|
|
204
|
+
}, e.style]
|
|
205
|
+
}, t)), {};
|
|
206
|
+
}
|
|
207
|
+
}), sa = g({
|
|
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
|
+
...N(),
|
|
230
|
+
...be(),
|
|
231
|
+
...ke(),
|
|
232
|
+
...he(),
|
|
233
|
+
...Ce(),
|
|
234
|
+
...Ve(),
|
|
235
|
+
...J(),
|
|
236
|
+
...pe(),
|
|
237
|
+
...I(),
|
|
238
|
+
...w(),
|
|
239
|
+
...U({
|
|
240
|
+
variant: "elevated"
|
|
241
|
+
})
|
|
242
|
+
}, "VCard"), la = m()({
|
|
243
|
+
name: "VCard",
|
|
244
|
+
directives: {
|
|
245
|
+
Ripple: Se
|
|
246
|
+
},
|
|
247
|
+
props: sa(),
|
|
248
|
+
setup(e, l) {
|
|
249
|
+
let {
|
|
250
|
+
attrs: t,
|
|
251
|
+
slots: n
|
|
252
|
+
} = l;
|
|
253
|
+
const {
|
|
254
|
+
themeClasses: r
|
|
255
|
+
} = $(e), {
|
|
256
|
+
borderClasses: o
|
|
257
|
+
} = _e(e), {
|
|
258
|
+
colorClasses: u,
|
|
259
|
+
colorStyles: d,
|
|
260
|
+
variantClasses: s
|
|
261
|
+
} = W(e), {
|
|
262
|
+
densityClasses: i
|
|
263
|
+
} = H(e), {
|
|
264
|
+
dimensionStyles: v
|
|
265
|
+
} = xe(e), {
|
|
266
|
+
elevationClasses: b
|
|
267
|
+
} = Ie(e), {
|
|
268
|
+
loaderClasses: K
|
|
269
|
+
} = Ae(e), {
|
|
270
|
+
locationStyles: ee
|
|
271
|
+
} = Pe(e), {
|
|
272
|
+
positionClasses: ae
|
|
273
|
+
} = Te(e), {
|
|
274
|
+
roundedClasses: te
|
|
275
|
+
} = q(e), V = Be(e, t), ne = h(() => e.link !== !1 && V.isLink.value), p = h(() => !e.disabled && e.link !== !1 && (e.link || V.isClickable.value));
|
|
276
|
+
return f(() => {
|
|
277
|
+
const se = ne.value ? "a" : e.tag, le = !!(n.title || e.title != null), ie = !!(n.subtitle || e.subtitle != null), de = le || ie, oe = !!(n.append || e.appendAvatar || e.appendIcon), ce = !!(n.prepend || e.prependAvatar || e.prependIcon), re = !!(n.image || e.image), ue = de || ce || oe, ve = !!(n.text || e.text != null);
|
|
278
|
+
return Ne(a(se, {
|
|
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, K.value, ae.value, te.value, s.value, e.class],
|
|
285
|
+
style: [d.value, v.value, ee.value, e.style],
|
|
286
|
+
href: V.href.value,
|
|
287
|
+
onClick: p.value && V.navigate,
|
|
288
|
+
tabindex: e.disabled ? -1 : void 0
|
|
289
|
+
}, {
|
|
290
|
+
default: () => [re && a("div", {
|
|
291
|
+
key: "image",
|
|
292
|
+
class: "v-card__image"
|
|
293
|
+
}, [n.image ? a(x, {
|
|
294
|
+
key: "image-defaults",
|
|
295
|
+
disabled: !e.image,
|
|
296
|
+
defaults: {
|
|
297
|
+
VImg: {
|
|
298
|
+
cover: !0,
|
|
299
|
+
src: e.image
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}, n.image) : a(X, {
|
|
303
|
+
key: "image-img",
|
|
304
|
+
cover: !0,
|
|
305
|
+
src: e.image
|
|
306
|
+
}, null)]), a($e, {
|
|
307
|
+
name: "v-card",
|
|
308
|
+
active: !!e.loading,
|
|
309
|
+
color: typeof e.loading == "boolean" ? void 0 : e.loading
|
|
310
|
+
}, {
|
|
311
|
+
default: n.loader
|
|
312
|
+
}), ue && 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: n.item,
|
|
322
|
+
prepend: n.prepend,
|
|
323
|
+
title: n.title,
|
|
324
|
+
subtitle: n.subtitle,
|
|
325
|
+
append: n.append
|
|
326
|
+
}), ve && a(G, {
|
|
327
|
+
key: "text"
|
|
328
|
+
}, {
|
|
329
|
+
default: () => [n.text?.() ?? e.text]
|
|
330
|
+
}), n.default?.(), n.actions && a(Y, null, {
|
|
331
|
+
default: n.actions
|
|
332
|
+
}), Q(p.value, "v-card")]
|
|
333
|
+
}), [[we("ripple"), p.value && e.ripple]]);
|
|
334
|
+
}), {};
|
|
335
|
+
}
|
|
336
|
+
}), ia = g({
|
|
337
|
+
color: String,
|
|
338
|
+
inset: Boolean,
|
|
339
|
+
length: [Number, String],
|
|
340
|
+
opacity: [Number, String],
|
|
341
|
+
thickness: [Number, String],
|
|
342
|
+
vertical: Boolean,
|
|
343
|
+
...y(),
|
|
344
|
+
...w()
|
|
345
|
+
}, "VDivider"), da = m()({
|
|
346
|
+
name: "VDivider",
|
|
347
|
+
props: ia(),
|
|
348
|
+
setup(e, l) {
|
|
349
|
+
let {
|
|
350
|
+
attrs: t,
|
|
351
|
+
slots: n
|
|
352
|
+
} = l;
|
|
353
|
+
const {
|
|
354
|
+
themeClasses: r
|
|
355
|
+
} = $(e), {
|
|
356
|
+
textColorClasses: o,
|
|
357
|
+
textColorStyles: u
|
|
358
|
+
} = De(Le(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 f(() => {
|
|
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": !t.role || t.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
|
|
373
|
+
role: `${t.role || "separator"}`
|
|
374
|
+
}, null);
|
|
375
|
+
return n.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
|
+
}, [n.default()]), s]) : s;
|
|
383
|
+
}), {};
|
|
384
|
+
}
|
|
385
|
+
}), D = (e) => (qe("data-v-c9960f42"), e = e(), Qe(), e), oa = /* @__PURE__ */ D(() => /* @__PURE__ */ C(
|
|
386
|
+
"h5",
|
|
387
|
+
{ class: "text-h5" },
|
|
388
|
+
"Storytelling map configuration",
|
|
389
|
+
-1
|
|
390
|
+
/* HOISTED */
|
|
391
|
+
)), ca = /* @__PURE__ */ D(() => /* @__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__ */ D(() => /* @__PURE__ */ C(
|
|
401
|
+
"small",
|
|
402
|
+
null,
|
|
403
|
+
"copied!",
|
|
404
|
+
-1
|
|
405
|
+
/* HOISTED */
|
|
406
|
+
)), ya = {
|
|
407
|
+
__name: "ExportState",
|
|
408
|
+
props: /* @__PURE__ */ ze({
|
|
409
|
+
for: {
|
|
410
|
+
type: String,
|
|
411
|
+
default: "eox-map"
|
|
412
|
+
}
|
|
413
|
+
}, {
|
|
414
|
+
modelValue: { type: Boolean, required: !0, default: !1 },
|
|
415
|
+
modelModifiers: {}
|
|
416
|
+
}),
|
|
417
|
+
emits: ["update:modelValue"],
|
|
418
|
+
setup(e) {
|
|
419
|
+
const l = Oe(e, "modelValue"), t = e, n = Ee(!1), r = [
|
|
420
|
+
{
|
|
421
|
+
id: Symbol(),
|
|
422
|
+
copyFn: async () => await T(u.value, n),
|
|
423
|
+
copyAs: "simple map"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
id: Symbol(),
|
|
427
|
+
copyFn: async () => await T(JSON.stringify(S(t?.for)), n),
|
|
428
|
+
copyAs: "layers configuration"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
id: Symbol(),
|
|
432
|
+
copyFn: async () => await T(o.value, n),
|
|
433
|
+
copyAs: "map tour section"
|
|
434
|
+
}
|
|
435
|
+
], o = h(() => {
|
|
436
|
+
const [d, s, i] = F.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(S(t?.for))}' ${b}`;
|
|
441
|
+
}), u = h(() => {
|
|
442
|
+
const [d, s, i] = F.value, v = '## Map Example <!--{as="eox-map" style="width: 100%; height: 500px;" layers=', b = `zoom="${i}" center=[${[d, s]}] }-->`;
|
|
443
|
+
return `${v}'${JSON.stringify(S(t?.for))}' ${b}`;
|
|
444
|
+
});
|
|
445
|
+
return (d, s) => (A(), Fe(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(Z, { class: "bg-primary" }, {
|
|
453
|
+
default: c(() => [
|
|
454
|
+
oa
|
|
455
|
+
]),
|
|
456
|
+
_: 1
|
|
457
|
+
/* STABLE */
|
|
458
|
+
}),
|
|
459
|
+
a(G, { class: "py-5" }, {
|
|
460
|
+
default: c(() => [
|
|
461
|
+
ca,
|
|
462
|
+
C(
|
|
463
|
+
"div",
|
|
464
|
+
ra,
|
|
465
|
+
R(P(S)(t.for)),
|
|
466
|
+
1
|
|
467
|
+
/* TEXT */
|
|
468
|
+
),
|
|
469
|
+
C("div", ua, [
|
|
470
|
+
a(Ye, null, {
|
|
471
|
+
default: c(() => [
|
|
472
|
+
n.value ? (A(), z("div", va, [
|
|
473
|
+
a(_, {
|
|
474
|
+
color: "success",
|
|
475
|
+
left: "",
|
|
476
|
+
icon: [P(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
|
+
(A(), z(
|
|
493
|
+
B,
|
|
494
|
+
null,
|
|
495
|
+
We(r, (i) => a(O, {
|
|
496
|
+
class: "text-body-2",
|
|
497
|
+
onClick: i.copyFn,
|
|
498
|
+
key: i.id,
|
|
499
|
+
small: "",
|
|
500
|
+
variant: "text",
|
|
501
|
+
"prepend-icon": [P(He)]
|
|
502
|
+
}, {
|
|
503
|
+
default: c(() => [
|
|
504
|
+
E(
|
|
505
|
+
" copy as " + R(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(Y, null, {
|
|
530
|
+
default: c(() => [
|
|
531
|
+
a(Ze),
|
|
532
|
+
a(O, {
|
|
533
|
+
variant: "text",
|
|
534
|
+
onClick: s[0] || (s[0] = (i) => l.value = !l.value)
|
|
535
|
+
}, {
|
|
536
|
+
default: c(() => [
|
|
537
|
+
E(" 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__ */ Re(ya, [["__scopeId", "data-v-c9960f42"]]);
|
|
556
|
+
export {
|
|
557
|
+
ha as default
|
|
558
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as y,
|
|
1
|
+
import { p as y, ae as x, e as w, af as k, ao as b, ag as C, f as I, h as S, g as R, i as B, Q as P, R as f, ah as z, ai as F, aj as M, s as V, J as T, c as e, ar as X, a as Z, b as j, C as L, _ as N, r as D, x as H, W as E, H as $, $ as A, a0 as J, a1 as K, a9 as t, aa as O, a3 as n, a8 as Q, at as U, au as W } from "./asWebComponent-DeaU3QoK.js";
|
|
2
2
|
const q = y({
|
|
3
3
|
app: Boolean,
|
|
4
4
|
color: String,
|
|
@@ -7,8 +7,8 @@ const q = y({
|
|
|
7
7
|
default: "auto"
|
|
8
8
|
},
|
|
9
9
|
...x(),
|
|
10
|
-
...k(),
|
|
11
10
|
...w(),
|
|
11
|
+
...k(),
|
|
12
12
|
...b(),
|
|
13
13
|
...C(),
|
|
14
14
|
...I({
|
|
@@ -24,12 +24,12 @@ const q = y({
|
|
|
24
24
|
} = a;
|
|
25
25
|
const {
|
|
26
26
|
themeClasses: s
|
|
27
|
-
} =
|
|
27
|
+
} = B(l), {
|
|
28
28
|
backgroundColorClasses: c,
|
|
29
29
|
backgroundColorStyles: r
|
|
30
|
-
} =
|
|
30
|
+
} = P(f(l, "color")), {
|
|
31
31
|
borderClasses: i
|
|
32
|
-
} =
|
|
32
|
+
} = z(l), {
|
|
33
33
|
elevationClasses: g
|
|
34
34
|
} = F(l), {
|
|
35
35
|
roundedClasses: p
|
|
@@ -49,11 +49,11 @@ const q = y({
|
|
|
49
49
|
active: e(() => l.app),
|
|
50
50
|
absolute: f(l, "absolute")
|
|
51
51
|
});
|
|
52
|
-
return Z(() =>
|
|
52
|
+
return Z(() => j(l.tag, {
|
|
53
53
|
ref: m,
|
|
54
54
|
class: ["v-footer", s.value, c.value, i.value, g.value, p.value, l.class],
|
|
55
55
|
style: [r.value, l.app ? v.value : {
|
|
56
|
-
height:
|
|
56
|
+
height: L(l.height)
|
|
57
57
|
}, l.style]
|
|
58
58
|
}, o)), l.app ? _ : {};
|
|
59
59
|
}
|
|
@@ -76,9 +76,9 @@ const q = y({
|
|
|
76
76
|
setup(l) {
|
|
77
77
|
const a = D(null), o = (
|
|
78
78
|
/** @type {import("@/types").Eodash} */
|
|
79
|
-
H(
|
|
80
|
-
), { mdAndDown: s } =
|
|
81
|
-
return (r, i) => (
|
|
79
|
+
H(E)
|
|
80
|
+
), { mdAndDown: s } = $(), c = window.btoa(o0);
|
|
81
|
+
return (r, i) => (A(), J(G, {
|
|
82
82
|
ref_key: "footer",
|
|
83
83
|
ref: a,
|
|
84
84
|
height: n(s) ? "48px" : "auto",
|
|
@@ -109,7 +109,7 @@ const q = y({
|
|
|
109
109
|
/* STABLE */
|
|
110
110
|
}, 8, ["height"]));
|
|
111
111
|
}
|
|
112
|
-
}, n0 = /* @__PURE__ */
|
|
112
|
+
}, n0 = /* @__PURE__ */ N(s0, [["__scopeId", "data-v-7ea19f1b"]]);
|
|
113
113
|
export {
|
|
114
114
|
n0 as default
|
|
115
115
|
};
|