@eodash/eodash 5.0.0-alpha.2.19 → 5.0.0-alpha.2.21
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/App.vue +11 -1
- package/core/client/asWebComponent.js +9 -2
- package/core/client/utils/createLayers.js +1 -0
- package/core/client/views/Dashboard.vue +17 -46
- package/dist/client/DashboardLayout-DEZe5rZn.js +86 -0
- package/dist/client/DynamicWebComponent-Cp_3d3nd.js +88 -0
- package/dist/client/EodashDatePicker-BwQ9Bw9-.js +393 -0
- package/dist/client/EodashItemFilter-BtihrBap.js +194 -0
- package/dist/client/EodashLayerControl-BuZgXYop.js +111 -0
- package/dist/client/EodashMap-C9hvsdhf.js +472 -0
- package/dist/client/EodashMapBtns-BTG6oYL5.js +66 -0
- package/dist/client/ExportState-GDJ8YxS9.js +644 -0
- package/dist/client/Footer-Cul4HvW4.js +141 -0
- package/dist/client/Header-BikVMROv.js +437 -0
- package/dist/client/IframeWrapper-BgM9aU8f.js +28 -0
- package/dist/client/MobileLayout-ByPGOgnO.js +1210 -0
- package/dist/client/PopUp-AJqPEHmR.js +382 -0
- package/dist/client/VImg-CY7ndzv2.js +384 -0
- package/dist/client/VMain-BlIaUbM6.js +43 -0
- package/dist/client/VOverlay-CiMWDe2b.js +1453 -0
- package/dist/client/WidgetsContainer-DG9sQaF0.js +83 -0
- package/dist/client/asWebComponent-6g8pz2_C.js +11557 -0
- package/dist/client/eo-dash.js +2 -6
- package/dist/client/forwardRefs-DnXzPqIo.js +245 -0
- package/dist/client/index-14PHPf-A.js +199 -0
- package/dist/client/ssrBoot-BP7SYRyC.js +22 -0
- package/dist/client/style.css +2 -2
- package/dist/client/transition-CGVKXZbS.js +37 -0
- package/dist/node/cli.js +5 -5
- package/dist/node/types.d.ts +2 -0
- package/package.json +21 -19
- package/widgets/EodashDatePicker.vue +20 -9
- package/core/client/SuspensedDashboard.ce.vue +0 -105
- package/dist/client/DashboardLayout-CU4js3lr.js +0 -156
- package/dist/client/DynamicWebComponent-BsYZdIEB.js +0 -57
- package/dist/client/EodashDatePicker-DZoH_gRX.js +0 -276
- package/dist/client/EodashItemFilter-CHBfsFSm.js +0 -7666
- package/dist/client/EodashLayerControl-CuY-cAx8.js +0 -24665
- package/dist/client/EodashMap-Ch43fWNv.js +0 -88369
- package/dist/client/EodashMapBtns-CFA2uti4.js +0 -50
- package/dist/client/ExportState-C6raDjTt.js +0 -570
- package/dist/client/Footer-D8T5ROhF.js +0 -117
- package/dist/client/Header-B8B4Z5R9.js +0 -350
- package/dist/client/IframeWrapper-BK2JxzSJ.js +0 -19
- package/dist/client/MobileLayout-aZaYvF8V.js +0 -947
- package/dist/client/PopUp-DdHXoNOP.js +0 -300
- package/dist/client/VImg-yb8O1cb8.js +0 -293
- package/dist/client/VMain-Dknnyxts.js +0 -38
- package/dist/client/VOverlay-BCOn3hd6.js +0 -973
- package/dist/client/WidgetsContainer-BixUyr1e.js +0 -129
- package/dist/client/asWebComponent-CHqY8A1z.js +0 -24636
- package/dist/client/basedecoder-DHcBySSe-BmCFNFnw.js +0 -88
- package/dist/client/decoder-DJlmx386-DJlmx386.js +0 -8
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +0 -10
- package/dist/client/eox-stacinfo-l7ALSV90.js +0 -13969
- package/dist/client/forwardRefs-dcYA2XVU.js +0 -185
- package/dist/client/index-BVuSHaVu.js +0 -153
- package/dist/client/jpeg-BAgeD1d3-oeHbFPUL.js +0 -514
- package/dist/client/lerc-BPVtQnt3-08GHszVp.js +0 -1027
- package/dist/client/lzw-LAGDNbSC-DkP96qO9.js +0 -84
- package/dist/client/packbits-BlDR4Kj5-C66n1-zr.js +0 -24
- package/dist/client/pako.esm-CB1uQYY0-DB0PYm1P.js +0 -1081
- package/dist/client/raw-CMGvRjfu-BRi6E4i1.js +0 -9
- package/dist/client/ssrBoot-DU2S_nLc.js +0 -17
- package/dist/client/transition-C_fi1aa6.js +0 -34
- package/dist/client/webfontloader-Ofarvipf.js +0 -435
- package/dist/client/webimage-BM_pbLN3-L2cGWK5l.js +0 -19
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { _ as f, r as p, aV as d, a6 as m, a0 as s, a3 as e, V as i, a5 as r, $ as o, aW as v, aX as c, aY as k, aZ as x } from "./asWebComponent-CHqY8A1z.js";
|
|
2
|
-
import B from "./ExportState-C6raDjTt.js";
|
|
3
|
-
const M = {
|
|
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(B, {
|
|
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(M, [["__scopeId", "data-v-d7a01370"]]);
|
|
48
|
-
export {
|
|
49
|
-
j as default
|
|
50
|
-
};
|
|
@@ -1,570 +0,0 @@
|
|
|
1
|
-
import { a_ 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 U, O as w, ag as J, a$ as fe, h as L, b0 as W, i as $, ah as q, b1 as H, P as G, aj as K, b2 as be, M as S, ak as x, b3 as Q, F as N, ac as he, af as ke, b4 as Ce, b5 as pe, b6 as Ve, b7 as Se, b8 as xe, ad as _e, ai as Ie, b9 as Ae, ba as Pe, bb as Te, bc as Be, c as C, t as Ne, v as we, bd as Le, d as $e, u as De, R as ze, C as z, _ as Ee, be as Fe, bf as Re, r as Oe, a0 as Me, a1 as c, bg as je, $ as A, a9 as b, aa as E, a3 as P, bh as T, a6 as F, bi as Ue, a5 as Je, aE as We, bj as qe, a7 as He, V as R, bk as Ge, a8 as _, bl as B, aU as O, at as Ke, au as Qe } from "./asWebComponent-CHqY8A1z.js";
|
|
2
|
-
import Xe from "./PopUp-DdHXoNOP.js";
|
|
3
|
-
import { a as Ye } from "./index-BVuSHaVu.js";
|
|
4
|
-
import { V as X } from "./VImg-yb8O1cb8.js";
|
|
5
|
-
const Ze = j("v-spacer", "div", "VSpacer"), Y = y()({
|
|
6
|
-
name: "VCardActions",
|
|
7
|
-
props: g(),
|
|
8
|
-
setup(e, l) {
|
|
9
|
-
let {
|
|
10
|
-
slots: n
|
|
11
|
-
} = l;
|
|
12
|
-
return ge({
|
|
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
|
-
}, [n.default?.()])), {};
|
|
21
|
-
}
|
|
22
|
-
}), ea = h({
|
|
23
|
-
opacity: [Number, String],
|
|
24
|
-
...g(),
|
|
25
|
-
...I()
|
|
26
|
-
}, "VCardSubtitle"), aa = y()({
|
|
27
|
-
name: "VCardSubtitle",
|
|
28
|
-
props: ea(),
|
|
29
|
-
setup(e, l) {
|
|
30
|
-
let {
|
|
31
|
-
slots: n
|
|
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
|
-
}, n)), {};
|
|
39
|
-
}
|
|
40
|
-
}), Z = j("v-card-title"), ta = h({
|
|
41
|
-
start: Boolean,
|
|
42
|
-
end: Boolean,
|
|
43
|
-
icon: k,
|
|
44
|
-
image: String,
|
|
45
|
-
text: String,
|
|
46
|
-
...U(),
|
|
47
|
-
...g(),
|
|
48
|
-
...w(),
|
|
49
|
-
...J(),
|
|
50
|
-
...fe(),
|
|
51
|
-
...I(),
|
|
52
|
-
...L(),
|
|
53
|
-
...W({
|
|
54
|
-
variant: "flat"
|
|
55
|
-
})
|
|
56
|
-
}, "VAvatar"), M = y()({
|
|
57
|
-
name: "VAvatar",
|
|
58
|
-
props: ta(),
|
|
59
|
-
setup(e, l) {
|
|
60
|
-
let {
|
|
61
|
-
slots: n
|
|
62
|
-
} = l;
|
|
63
|
-
const {
|
|
64
|
-
themeClasses: t
|
|
65
|
-
} = $(e), {
|
|
66
|
-
borderClasses: r
|
|
67
|
-
} = q(e), {
|
|
68
|
-
colorClasses: o,
|
|
69
|
-
colorStyles: u,
|
|
70
|
-
variantClasses: d
|
|
71
|
-
} = H(e), {
|
|
72
|
-
densityClasses: s
|
|
73
|
-
} = G(e), {
|
|
74
|
-
roundedClasses: i
|
|
75
|
-
} = K(e), {
|
|
76
|
-
sizeClasses: v,
|
|
77
|
-
sizeStyles: m
|
|
78
|
-
} = be(e);
|
|
79
|
-
return f(() => a(e.tag, {
|
|
80
|
-
class: ["v-avatar", {
|
|
81
|
-
"v-avatar--start": e.start,
|
|
82
|
-
"v-avatar--end": e.end
|
|
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]
|
|
85
|
-
}, {
|
|
86
|
-
default: () => [n.default ? a(x, {
|
|
87
|
-
key: "content-defaults",
|
|
88
|
-
defaults: {
|
|
89
|
-
VImg: {
|
|
90
|
-
cover: !0,
|
|
91
|
-
src: e.image
|
|
92
|
-
},
|
|
93
|
-
VIcon: {
|
|
94
|
-
icon: e.icon
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}, {
|
|
98
|
-
default: () => [n.default()]
|
|
99
|
-
}) : e.image ? a(X, {
|
|
100
|
-
key: "image",
|
|
101
|
-
src: e.image,
|
|
102
|
-
alt: "",
|
|
103
|
-
cover: !0
|
|
104
|
-
}, null) : e.icon ? a(S, {
|
|
105
|
-
key: "icon",
|
|
106
|
-
icon: e.icon
|
|
107
|
-
}, null) : e.text, Q(!1, "v-avatar")]
|
|
108
|
-
})), {};
|
|
109
|
-
}
|
|
110
|
-
}), na = h({
|
|
111
|
-
appendAvatar: String,
|
|
112
|
-
appendIcon: k,
|
|
113
|
-
prependAvatar: String,
|
|
114
|
-
prependIcon: k,
|
|
115
|
-
subtitle: [String, Number],
|
|
116
|
-
title: [String, Number],
|
|
117
|
-
...g(),
|
|
118
|
-
...w()
|
|
119
|
-
}, "VCardItem"), sa = y()({
|
|
120
|
-
name: "VCardItem",
|
|
121
|
-
props: na(),
|
|
122
|
-
setup(e, l) {
|
|
123
|
-
let {
|
|
124
|
-
slots: n
|
|
125
|
-
} = l;
|
|
126
|
-
return f(() => {
|
|
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);
|
|
128
|
-
return a("div", {
|
|
129
|
-
class: ["v-card-item", e.class],
|
|
130
|
-
style: e.style
|
|
131
|
-
}, [r && a("div", {
|
|
132
|
-
key: "prepend",
|
|
133
|
-
class: "v-card-item__prepend"
|
|
134
|
-
}, [n.prepend ? a(x, {
|
|
135
|
-
key: "prepend-defaults",
|
|
136
|
-
disabled: !t,
|
|
137
|
-
defaults: {
|
|
138
|
-
VAvatar: {
|
|
139
|
-
density: e.density,
|
|
140
|
-
image: e.prependAvatar
|
|
141
|
-
},
|
|
142
|
-
VIcon: {
|
|
143
|
-
density: e.density,
|
|
144
|
-
icon: e.prependIcon
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}, n.prepend) : a(N, null, [e.prependAvatar && a(M, {
|
|
148
|
-
key: "prepend-avatar",
|
|
149
|
-
density: e.density,
|
|
150
|
-
image: e.prependAvatar
|
|
151
|
-
}, null), e.prependIcon && a(S, {
|
|
152
|
-
key: "prepend-icon",
|
|
153
|
-
density: e.density,
|
|
154
|
-
icon: e.prependIcon
|
|
155
|
-
}, null)])]), a("div", {
|
|
156
|
-
class: "v-card-item__content"
|
|
157
|
-
}, [d && a(Z, {
|
|
158
|
-
key: "title"
|
|
159
|
-
}, {
|
|
160
|
-
default: () => [n.title?.() ?? e.title]
|
|
161
|
-
}), s && a(aa, {
|
|
162
|
-
key: "subtitle"
|
|
163
|
-
}, {
|
|
164
|
-
default: () => [n.subtitle?.() ?? e.subtitle]
|
|
165
|
-
}), n.default?.()]), u && a("div", {
|
|
166
|
-
key: "append",
|
|
167
|
-
class: "v-card-item__append"
|
|
168
|
-
}, [n.append ? a(x, {
|
|
169
|
-
key: "append-defaults",
|
|
170
|
-
disabled: !o,
|
|
171
|
-
defaults: {
|
|
172
|
-
VAvatar: {
|
|
173
|
-
density: e.density,
|
|
174
|
-
image: e.appendAvatar
|
|
175
|
-
},
|
|
176
|
-
VIcon: {
|
|
177
|
-
density: e.density,
|
|
178
|
-
icon: e.appendIcon
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}, n.append) : a(N, null, [e.appendIcon && a(S, {
|
|
182
|
-
key: "append-icon",
|
|
183
|
-
density: e.density,
|
|
184
|
-
icon: e.appendIcon
|
|
185
|
-
}, null), e.appendAvatar && a(M, {
|
|
186
|
-
key: "append-avatar",
|
|
187
|
-
density: e.density,
|
|
188
|
-
image: e.appendAvatar
|
|
189
|
-
}, null)])])]);
|
|
190
|
-
}), {};
|
|
191
|
-
}
|
|
192
|
-
}), la = h({
|
|
193
|
-
opacity: [Number, String],
|
|
194
|
-
...g(),
|
|
195
|
-
...I()
|
|
196
|
-
}, "VCardText"), ee = y()({
|
|
197
|
-
name: "VCardText",
|
|
198
|
-
props: la(),
|
|
199
|
-
setup(e, l) {
|
|
200
|
-
let {
|
|
201
|
-
slots: n
|
|
202
|
-
} = l;
|
|
203
|
-
return f(() => a(e.tag, {
|
|
204
|
-
class: ["v-card-text", e.class],
|
|
205
|
-
style: [{
|
|
206
|
-
"--v-card-text-opacity": e.opacity
|
|
207
|
-
}, e.style]
|
|
208
|
-
}, n)), {};
|
|
209
|
-
}
|
|
210
|
-
}), ia = h({
|
|
211
|
-
appendAvatar: String,
|
|
212
|
-
appendIcon: k,
|
|
213
|
-
disabled: Boolean,
|
|
214
|
-
flat: Boolean,
|
|
215
|
-
hover: Boolean,
|
|
216
|
-
image: String,
|
|
217
|
-
link: {
|
|
218
|
-
type: Boolean,
|
|
219
|
-
default: void 0
|
|
220
|
-
},
|
|
221
|
-
prependAvatar: String,
|
|
222
|
-
prependIcon: k,
|
|
223
|
-
ripple: {
|
|
224
|
-
type: [Boolean, Object],
|
|
225
|
-
default: !0
|
|
226
|
-
},
|
|
227
|
-
subtitle: [String, Number],
|
|
228
|
-
text: [String, Number],
|
|
229
|
-
title: [String, Number],
|
|
230
|
-
...U(),
|
|
231
|
-
...g(),
|
|
232
|
-
...w(),
|
|
233
|
-
...he(),
|
|
234
|
-
...ke(),
|
|
235
|
-
...Ce(),
|
|
236
|
-
...pe(),
|
|
237
|
-
...Ve(),
|
|
238
|
-
...J(),
|
|
239
|
-
...Se(),
|
|
240
|
-
...I(),
|
|
241
|
-
...L(),
|
|
242
|
-
...W({
|
|
243
|
-
variant: "elevated"
|
|
244
|
-
})
|
|
245
|
-
}, "VCard"), da = y()({
|
|
246
|
-
name: "VCard",
|
|
247
|
-
directives: {
|
|
248
|
-
Ripple: xe
|
|
249
|
-
},
|
|
250
|
-
props: ia(),
|
|
251
|
-
setup(e, l) {
|
|
252
|
-
let {
|
|
253
|
-
attrs: n,
|
|
254
|
-
slots: t
|
|
255
|
-
} = l;
|
|
256
|
-
const {
|
|
257
|
-
themeClasses: r
|
|
258
|
-
} = $(e), {
|
|
259
|
-
borderClasses: o
|
|
260
|
-
} = q(e), {
|
|
261
|
-
colorClasses: u,
|
|
262
|
-
colorStyles: d,
|
|
263
|
-
variantClasses: s
|
|
264
|
-
} = H(e), {
|
|
265
|
-
densityClasses: i
|
|
266
|
-
} = G(e), {
|
|
267
|
-
dimensionStyles: v
|
|
268
|
-
} = _e(e), {
|
|
269
|
-
elevationClasses: m
|
|
270
|
-
} = Ie(e), {
|
|
271
|
-
loaderClasses: ae
|
|
272
|
-
} = Ae(e), {
|
|
273
|
-
locationStyles: te
|
|
274
|
-
} = Pe(e), {
|
|
275
|
-
positionClasses: ne
|
|
276
|
-
} = Te(e), {
|
|
277
|
-
roundedClasses: se
|
|
278
|
-
} = K(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, $e({
|
|
282
|
-
class: ["v-card", {
|
|
283
|
-
"v-card--disabled": e.disabled,
|
|
284
|
-
"v-card--flat": e.flat,
|
|
285
|
-
"v-card--hover": e.hover && !(e.disabled || e.flat),
|
|
286
|
-
"v-card--link": 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],
|
|
289
|
-
onClick: V.value && p.navigate,
|
|
290
|
-
tabindex: e.disabled ? -1 : void 0
|
|
291
|
-
}, p.linkProps), {
|
|
292
|
-
default: () => [ve && a("div", {
|
|
293
|
-
key: "image",
|
|
294
|
-
class: "v-card__image"
|
|
295
|
-
}, [t.image ? a(x, {
|
|
296
|
-
key: "image-defaults",
|
|
297
|
-
disabled: !e.image,
|
|
298
|
-
defaults: {
|
|
299
|
-
VImg: {
|
|
300
|
-
cover: !0,
|
|
301
|
-
src: e.image
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}, t.image) : a(X, {
|
|
305
|
-
key: "image-img",
|
|
306
|
-
cover: !0,
|
|
307
|
-
src: e.image
|
|
308
|
-
}, null)]), a(Le, {
|
|
309
|
-
name: "v-card",
|
|
310
|
-
active: !!e.loading,
|
|
311
|
-
color: typeof e.loading == "boolean" ? void 0 : e.loading
|
|
312
|
-
}, {
|
|
313
|
-
default: t.loader
|
|
314
|
-
}), me && a(sa, {
|
|
315
|
-
key: "item",
|
|
316
|
-
prependAvatar: e.prependAvatar,
|
|
317
|
-
prependIcon: e.prependIcon,
|
|
318
|
-
title: e.title,
|
|
319
|
-
subtitle: e.subtitle,
|
|
320
|
-
appendAvatar: e.appendAvatar,
|
|
321
|
-
appendIcon: e.appendIcon
|
|
322
|
-
}, {
|
|
323
|
-
default: t.item,
|
|
324
|
-
prepend: t.prepend,
|
|
325
|
-
title: t.title,
|
|
326
|
-
subtitle: t.subtitle,
|
|
327
|
-
append: t.append
|
|
328
|
-
}), ye && a(ee, {
|
|
329
|
-
key: "text"
|
|
330
|
-
}, {
|
|
331
|
-
default: () => [t.text?.() ?? e.text]
|
|
332
|
-
}), t.default?.(), t.actions && a(Y, null, {
|
|
333
|
-
default: t.actions
|
|
334
|
-
}), Q(V.value, "v-card")]
|
|
335
|
-
}), [[we("ripple"), V.value && e.ripple]]);
|
|
336
|
-
}), {};
|
|
337
|
-
}
|
|
338
|
-
}), oa = h({
|
|
339
|
-
color: String,
|
|
340
|
-
inset: Boolean,
|
|
341
|
-
length: [Number, String],
|
|
342
|
-
opacity: [Number, String],
|
|
343
|
-
thickness: [Number, String],
|
|
344
|
-
vertical: Boolean,
|
|
345
|
-
...g(),
|
|
346
|
-
...L()
|
|
347
|
-
}, "VDivider"), ca = y()({
|
|
348
|
-
name: "VDivider",
|
|
349
|
-
props: oa(),
|
|
350
|
-
setup(e, l) {
|
|
351
|
-
let {
|
|
352
|
-
attrs: n,
|
|
353
|
-
slots: t
|
|
354
|
-
} = l;
|
|
355
|
-
const {
|
|
356
|
-
themeClasses: r
|
|
357
|
-
} = $(e), {
|
|
358
|
-
textColorClasses: o,
|
|
359
|
-
textColorStyles: u
|
|
360
|
-
} = De(ze(e, "color")), d = C(() => {
|
|
361
|
-
const s = {};
|
|
362
|
-
return e.length && (s[e.vertical ? "height" : "width"] = z(e.length)), e.thickness && (s[e.vertical ? "borderRightWidth" : "borderTopWidth"] = z(e.thickness)), s;
|
|
363
|
-
});
|
|
364
|
-
return f(() => {
|
|
365
|
-
const s = a("hr", {
|
|
366
|
-
class: [{
|
|
367
|
-
"v-divider": !0,
|
|
368
|
-
"v-divider--inset": e.inset,
|
|
369
|
-
"v-divider--vertical": e.vertical
|
|
370
|
-
}, r.value, o.value, e.class],
|
|
371
|
-
style: [d.value, u.value, {
|
|
372
|
-
"--v-border-opacity": e.opacity
|
|
373
|
-
}, e.style],
|
|
374
|
-
"aria-orientation": !n.role || n.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
|
|
375
|
-
role: `${n.role || "separator"}`
|
|
376
|
-
}, null);
|
|
377
|
-
return t.default ? a("div", {
|
|
378
|
-
class: ["v-divider__wrapper", {
|
|
379
|
-
"v-divider__wrapper--vertical": e.vertical,
|
|
380
|
-
"v-divider__wrapper--inset": e.inset
|
|
381
|
-
}]
|
|
382
|
-
}, [s, a("div", {
|
|
383
|
-
class: "v-divider__content"
|
|
384
|
-
}, [t.default()]), s]) : s;
|
|
385
|
-
}), {};
|
|
386
|
-
}
|
|
387
|
-
}), D = (e) => (Ke("data-v-b8c788e8"), e = e(), Qe(), e), ra = /* @__PURE__ */ D(() => /* @__PURE__ */ b(
|
|
388
|
-
"h5",
|
|
389
|
-
{ class: "text-h5" },
|
|
390
|
-
"Storytelling map configuration",
|
|
391
|
-
-1
|
|
392
|
-
/* HOISTED */
|
|
393
|
-
)), ua = /* @__PURE__ */ D(() => /* @__PURE__ */ b(
|
|
394
|
-
"p",
|
|
395
|
-
{ class: "text-body-2" },
|
|
396
|
-
[
|
|
397
|
-
/* @__PURE__ */ _(" Copy and paste this code into the map "),
|
|
398
|
-
/* @__PURE__ */ b("b", null, "layers field"),
|
|
399
|
-
/* @__PURE__ */ _(" of the storytelling editor: ")
|
|
400
|
-
],
|
|
401
|
-
-1
|
|
402
|
-
/* HOISTED */
|
|
403
|
-
)), va = { class: "pa-3 code-block" }, ma = { style: { position: "absolute", bottom: "15px" } }, ya = {
|
|
404
|
-
key: 0,
|
|
405
|
-
class: "text-success mr-3"
|
|
406
|
-
}, ga = /* @__PURE__ */ D(() => /* @__PURE__ */ b(
|
|
407
|
-
"small",
|
|
408
|
-
null,
|
|
409
|
-
"copied!",
|
|
410
|
-
-1
|
|
411
|
-
/* HOISTED */
|
|
412
|
-
)), fa = {
|
|
413
|
-
__name: "ExportState",
|
|
414
|
-
props: /* @__PURE__ */ Fe({
|
|
415
|
-
getLayers: {
|
|
416
|
-
type: Function,
|
|
417
|
-
default: je
|
|
418
|
-
}
|
|
419
|
-
}, {
|
|
420
|
-
modelValue: { type: Boolean, required: !0, default: !1 },
|
|
421
|
-
modelModifiers: {}
|
|
422
|
-
}),
|
|
423
|
-
emits: ["update:modelValue"],
|
|
424
|
-
setup(e) {
|
|
425
|
-
const l = Re(e, "modelValue"), n = e, t = Oe(!1), r = [
|
|
426
|
-
{
|
|
427
|
-
id: Symbol(),
|
|
428
|
-
copyFn: async () => await B(u.value, t),
|
|
429
|
-
copyAs: "simple map"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
id: Symbol(),
|
|
433
|
-
copyFn: async () => await B(JSON.stringify(n.getLayers()), t),
|
|
434
|
-
copyAs: "layers configuration"
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
id: Symbol(),
|
|
438
|
-
copyFn: async () => await B(o.value, t),
|
|
439
|
-
copyAs: "map tour section"
|
|
440
|
-
}
|
|
441
|
-
], o = C(() => {
|
|
442
|
-
const [d, s, i] = O.value, v = "### <!--{ layers=", m = `zoom="${i}" center=[${[d, s]}] animationOptions={duration:500}}-->
|
|
443
|
-
#### Tour step title
|
|
444
|
-
Text describing the current step of the tour and why it is interesting what the map shows currently
|
|
445
|
-
`;
|
|
446
|
-
return `${v}'${JSON.stringify(T(n.getLayers()))}' ${m}`;
|
|
447
|
-
}), u = C(() => {
|
|
448
|
-
const [d, s, i] = O.value, v = '## Map Example <!--{as="eox-map" style="width: 100%; height: 500px;" layers=', m = `zoom="${i}" center=[${[d, s]}] }-->`;
|
|
449
|
-
return `${v}'${JSON.stringify(T(n.getLayers()))}' ${m}`;
|
|
450
|
-
});
|
|
451
|
-
return (d, s) => (A(), Me(Xe, {
|
|
452
|
-
modelValue: l.value,
|
|
453
|
-
"onUpdate:modelValue": s[1] || (s[1] = (i) => l.value = i)
|
|
454
|
-
}, {
|
|
455
|
-
default: c(() => [
|
|
456
|
-
a(da, { style: { "max-height": "498px" } }, {
|
|
457
|
-
default: c(() => [
|
|
458
|
-
a(Z, {
|
|
459
|
-
class: "bg-primary",
|
|
460
|
-
style: { "max-height": "49px" }
|
|
461
|
-
}, {
|
|
462
|
-
default: c(() => [
|
|
463
|
-
ra
|
|
464
|
-
]),
|
|
465
|
-
_: 1
|
|
466
|
-
/* STABLE */
|
|
467
|
-
}),
|
|
468
|
-
a(ee, {
|
|
469
|
-
class: "py-5 overflow-auto",
|
|
470
|
-
style: { height: "400px" }
|
|
471
|
-
}, {
|
|
472
|
-
default: c(() => [
|
|
473
|
-
ua,
|
|
474
|
-
b(
|
|
475
|
-
"div",
|
|
476
|
-
va,
|
|
477
|
-
E(P(T)(e.getLayers())),
|
|
478
|
-
1
|
|
479
|
-
/* TEXT */
|
|
480
|
-
),
|
|
481
|
-
b("div", ma, [
|
|
482
|
-
a(Ye, null, {
|
|
483
|
-
default: c(() => [
|
|
484
|
-
t.value ? (A(), F("div", ya, [
|
|
485
|
-
a(S, {
|
|
486
|
-
color: "success",
|
|
487
|
-
left: "",
|
|
488
|
-
icon: [P(Ue)]
|
|
489
|
-
}, null, 8, ["icon"]),
|
|
490
|
-
ga
|
|
491
|
-
])) : Je("v-if", !0)
|
|
492
|
-
]),
|
|
493
|
-
_: 1
|
|
494
|
-
/* STABLE */
|
|
495
|
-
})
|
|
496
|
-
]),
|
|
497
|
-
a(We, { class: "d-flex pt-3 justify-end" }, {
|
|
498
|
-
default: c(() => [
|
|
499
|
-
a(qe, {
|
|
500
|
-
cols: "6",
|
|
501
|
-
class: "flex-column align-center text-end"
|
|
502
|
-
}, {
|
|
503
|
-
default: c(() => [
|
|
504
|
-
(A(), F(
|
|
505
|
-
N,
|
|
506
|
-
null,
|
|
507
|
-
He(r, (i) => a(R, {
|
|
508
|
-
class: "text-body-2",
|
|
509
|
-
onClick: i.copyFn,
|
|
510
|
-
key: i.id,
|
|
511
|
-
small: "",
|
|
512
|
-
variant: "text",
|
|
513
|
-
"prepend-icon": [P(Ge)]
|
|
514
|
-
}, {
|
|
515
|
-
default: c(() => [
|
|
516
|
-
_(
|
|
517
|
-
" copy as " + E(i.copyAs),
|
|
518
|
-
1
|
|
519
|
-
/* TEXT */
|
|
520
|
-
)
|
|
521
|
-
]),
|
|
522
|
-
_: 2
|
|
523
|
-
/* DYNAMIC */
|
|
524
|
-
}, 1032, ["onClick", "prepend-icon"])),
|
|
525
|
-
64
|
|
526
|
-
/* STABLE_FRAGMENT */
|
|
527
|
-
))
|
|
528
|
-
]),
|
|
529
|
-
_: 1
|
|
530
|
-
/* STABLE */
|
|
531
|
-
})
|
|
532
|
-
]),
|
|
533
|
-
_: 1
|
|
534
|
-
/* STABLE */
|
|
535
|
-
})
|
|
536
|
-
]),
|
|
537
|
-
_: 1
|
|
538
|
-
/* STABLE */
|
|
539
|
-
}),
|
|
540
|
-
a(ca),
|
|
541
|
-
a(Y, { style: { "max-height": "49px" } }, {
|
|
542
|
-
default: c(() => [
|
|
543
|
-
a(Ze),
|
|
544
|
-
a(R, {
|
|
545
|
-
variant: "text",
|
|
546
|
-
onClick: s[0] || (s[0] = (i) => l.value = !l.value)
|
|
547
|
-
}, {
|
|
548
|
-
default: c(() => [
|
|
549
|
-
_(" Close ")
|
|
550
|
-
]),
|
|
551
|
-
_: 1
|
|
552
|
-
/* STABLE */
|
|
553
|
-
})
|
|
554
|
-
]),
|
|
555
|
-
_: 1
|
|
556
|
-
/* STABLE */
|
|
557
|
-
})
|
|
558
|
-
]),
|
|
559
|
-
_: 1
|
|
560
|
-
/* STABLE */
|
|
561
|
-
})
|
|
562
|
-
]),
|
|
563
|
-
_: 1
|
|
564
|
-
/* STABLE */
|
|
565
|
-
}, 8, ["modelValue"]));
|
|
566
|
-
}
|
|
567
|
-
}, pa = /* @__PURE__ */ Ee(fa, [["__scopeId", "data-v-b8c788e8"]]);
|
|
568
|
-
export {
|
|
569
|
-
pa as default
|
|
570
|
-
};
|