@eodash/eodash 5.0.0-alpha.2.7 → 5.0.0-alpha.2.8
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/components/DashboardLayout.vue +1 -2
- package/core/client/components/MobileLayout.vue +1 -2
- package/core/client/composables/index.js +1 -0
- package/core/client/store/Actions.js +8 -2
- package/core/client/types.d.ts +1 -1
- package/dist/client/{DashboardLayout-Cbci3g7o.js → DashboardLayout-CKOExc7r.js} +4 -4
- package/dist/client/{DynamicWebComponent-DzmQ3Fr3.js → DynamicWebComponent-m1Zbbw6n.js} +4 -4
- package/dist/client/{EodashDatePicker-SP5bYISd.js → EodashDatePicker-CGdJRGZJ.js} +4 -4
- package/dist/client/{EodashItemFilter-B9Tf2TBw.js → EodashItemFilter-BjM_LHaE.js} +2 -2
- package/dist/client/EodashMap-61UMC8sv.js +86917 -0
- package/dist/client/{EodashMapBtns-BOKugQ88.js → EodashMapBtns-DVITfAFx.js} +7 -8
- package/dist/client/{ExportState-D7m9s4T8.js → ExportState-DhpK09GR.js} +143 -143
- package/dist/client/{Footer-C2uV1-zu.js → Footer-CIwjaddz.js} +1 -1
- package/dist/client/{Header-C2ROtxo_.js → Header-BcM-pZFi.js} +4 -4
- package/dist/client/{IframeWrapper-Wwou4pwf.js → IframeWrapper-CAe6HPqe.js} +1 -1
- package/dist/client/{MobileLayout-DR27Ctiz.js → MobileLayout-DcZOQX8r.js} +11 -11
- package/dist/client/{PopUp-bPGAY43o.js → PopUp-DCaITceG.js} +25 -25
- package/dist/client/{VImg-swqiqth2.js → VImg-C-I_7puM.js} +2 -2
- package/dist/client/{VMain-Bu1bPjvK.js → VMain-Cd3P0YTG.js} +2 -2
- package/dist/client/{VOverlay-D_MKJ4vQ.js → VOverlay-AcvFgk39.js} +3 -3
- package/dist/client/{WidgetsContainer-CpxYT8YI.js → WidgetsContainer-B0-q0EMO.js} +1 -1
- package/dist/client/{asWebComponent-DeaU3QoK.js → asWebComponent-zuKR9I1w.js} +65 -65
- package/dist/client/{decoder-CP4lv0Kb-nokx54iM.js → decoder-CP4lv0Kb-DdKalImK.js} +1 -1
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{eodashSTAC-CFQuZ_cI.js → eodashSTAC-DGB50vNk.js} +1 -1
- package/dist/client/{forwardRefs-D0a135Tc.js → forwardRefs-BnxE4iKQ.js} +1 -1
- package/dist/client/{index-CoqcWt6E.js → index-hSIi5Ygk.js} +5 -5
- package/dist/client/{lerc-DzVumYtB-B3rx9xzz.js → lerc-DzVumYtB-cTUap6k_.js} +1 -1
- package/dist/client/{ssrBoot-C-inWOiD.js → ssrBoot-D3KF5Thc.js} +1 -1
- package/dist/client/style.css +1 -1
- package/dist/client/{transition-C8le0YwQ.js → transition-D3a4tiJv.js} +5 -5
- package/dist/node/cli.js +2 -2
- package/package.json +1 -1
- package/widgets/EodashMap.vue +33 -29
- package/widgets/EodashMapBtns.vue +0 -1
- package/widgets/ExportState.vue +8 -8
- package/dist/client/EodashMap-D_znzmX7.js +0 -50707
- package/dist/client/eox-map-L7abwKTR.js +0 -36260
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as l, r as s,
|
|
2
|
-
import
|
|
1
|
+
import { _ as l, r as s, aL as r, $ as d, a6 as p, b as n, a3 as c, V as u, aM as f } from "./asWebComponent-zuKR9I1w.js";
|
|
2
|
+
import m from "./ExportState-DhpK09GR.js";
|
|
3
3
|
const i = "Export Map", _ = `<h2>
|
|
4
4
|
code example
|
|
5
5
|
</h2>`, v = {
|
|
6
6
|
__name: "EodashMapBtns",
|
|
7
7
|
setup(x) {
|
|
8
8
|
const e = s(!1), o = s(null);
|
|
9
|
-
return r(o), (
|
|
9
|
+
return r(o), (M, a) => (d(), p(
|
|
10
10
|
"div",
|
|
11
11
|
{
|
|
12
12
|
ref_key: "rootRef",
|
|
@@ -16,11 +16,10 @@ const i = "Export Map", _ = `<h2>
|
|
|
16
16
|
[
|
|
17
17
|
n(u, {
|
|
18
18
|
class: "map-btn",
|
|
19
|
-
|
|
20
|
-
icon: [c(m)],
|
|
19
|
+
icon: [c(f)],
|
|
21
20
|
onClick: a[0] || (a[0] = (t) => e.value = !e.value)
|
|
22
21
|
}, null, 8, ["icon"]),
|
|
23
|
-
n(
|
|
22
|
+
n(m, {
|
|
24
23
|
header: i,
|
|
25
24
|
code: _,
|
|
26
25
|
modelValue: e.value,
|
|
@@ -31,7 +30,7 @@ const i = "Export Map", _ = `<h2>
|
|
|
31
30
|
/* NEED_PATCH */
|
|
32
31
|
));
|
|
33
32
|
}
|
|
34
|
-
},
|
|
33
|
+
}, B = /* @__PURE__ */ l(v, [["__scopeId", "data-v-bd1fc195"]]);
|
|
35
34
|
export {
|
|
36
|
-
|
|
35
|
+
B as default
|
|
37
36
|
};
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import Xe from "./PopUp-
|
|
3
|
-
import { a as Ye } from "./index-
|
|
4
|
-
import { V as
|
|
5
|
-
const Ze =
|
|
1
|
+
import { aN as M, g as m, e as y, S as ve, a as g, b as a, p as f, f as x, I as k, O as T, ag as j, aO as me, h as B, aP as J, i as N, aQ as U, P as W, aj as q, aR as ye, M as S, ak as _, aS as H, F as P, ae as ge, ac as fe, af as be, aT as ke, aU as he, aV as Ce, aW as Ve, aX as pe, ah as Se, ad as _e, ai as xe, aY as Ie, aZ as Ae, a_ as Pe, a$ as Te, c as h, t as Be, v as Ne, b0 as we, u as Le, R as $e, C as L, _ as De, b1 as Re, b2 as ze, r as Fe, $ as I, a0 as Oe, a1 as c, b3 as Ee, a9 as C, aa as $, a6 as D, a3 as R, b4 as Me, a5 as je, aB as Je, b5 as Ue, a7 as We, V as z, b6 as qe, a8 as F, b7 as A, aI as O, at as He, au as Qe } from "./asWebComponent-zuKR9I1w.js";
|
|
2
|
+
import Xe from "./PopUp-DCaITceG.js";
|
|
3
|
+
import { a as Ye } from "./index-hSIi5Ygk.js";
|
|
4
|
+
import { V as Q } from "./VImg-C-I_7puM.js";
|
|
5
|
+
const Ze = M("v-spacer", "div", "VSpacer"), X = m()({
|
|
6
6
|
name: "VCardActions",
|
|
7
7
|
props: y(),
|
|
8
8
|
setup(e, l) {
|
|
9
9
|
let {
|
|
10
|
-
slots:
|
|
10
|
+
slots: n
|
|
11
11
|
} = l;
|
|
12
|
-
return
|
|
12
|
+
return ve({
|
|
13
13
|
VBtn: {
|
|
14
14
|
slim: !0,
|
|
15
15
|
variant: "text"
|
|
16
16
|
}
|
|
17
|
-
}),
|
|
17
|
+
}), g(() => a("div", {
|
|
18
18
|
class: ["v-card-actions", e.class],
|
|
19
19
|
style: e.style
|
|
20
|
-
}, [
|
|
20
|
+
}, [n.default?.()])), {};
|
|
21
21
|
}
|
|
22
|
-
}), Ge =
|
|
22
|
+
}), Ge = f({
|
|
23
23
|
opacity: [Number, String],
|
|
24
24
|
...y(),
|
|
25
|
-
...
|
|
25
|
+
...x()
|
|
26
26
|
}, "VCardSubtitle"), Ke = m()({
|
|
27
27
|
name: "VCardSubtitle",
|
|
28
28
|
props: Ge(),
|
|
29
29
|
setup(e, l) {
|
|
30
30
|
let {
|
|
31
|
-
slots:
|
|
31
|
+
slots: n
|
|
32
32
|
} = l;
|
|
33
|
-
return
|
|
33
|
+
return g(() => 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 = M("v-card-title"), ea = f({
|
|
41
41
|
start: Boolean,
|
|
42
42
|
end: Boolean,
|
|
43
43
|
icon: k,
|
|
44
44
|
image: String,
|
|
45
45
|
text: String,
|
|
46
46
|
...y(),
|
|
47
|
-
...
|
|
48
|
-
...
|
|
49
|
-
...
|
|
50
|
-
...
|
|
51
|
-
...
|
|
52
|
-
...
|
|
47
|
+
...T(),
|
|
48
|
+
...j(),
|
|
49
|
+
...me(),
|
|
50
|
+
...x(),
|
|
51
|
+
...B(),
|
|
52
|
+
...J({
|
|
53
53
|
variant: "flat"
|
|
54
54
|
})
|
|
55
|
-
}, "VAvatar"),
|
|
55
|
+
}, "VAvatar"), E = m()({
|
|
56
56
|
name: "VAvatar",
|
|
57
57
|
props: ea(),
|
|
58
58
|
setup(e, l) {
|
|
59
59
|
let {
|
|
60
|
-
slots:
|
|
60
|
+
slots: n
|
|
61
61
|
} = l;
|
|
62
62
|
const {
|
|
63
|
-
themeClasses:
|
|
64
|
-
} =
|
|
63
|
+
themeClasses: t
|
|
64
|
+
} = N(e), {
|
|
65
65
|
colorClasses: r,
|
|
66
66
|
colorStyles: o,
|
|
67
67
|
variantClasses: u
|
|
68
|
-
} =
|
|
68
|
+
} = U(e), {
|
|
69
69
|
densityClasses: d
|
|
70
|
-
} =
|
|
70
|
+
} = W(e), {
|
|
71
71
|
roundedClasses: s
|
|
72
72
|
} = q(e), {
|
|
73
73
|
sizeClasses: i,
|
|
74
74
|
sizeStyles: v
|
|
75
|
-
} =
|
|
76
|
-
return
|
|
75
|
+
} = ye(e);
|
|
76
|
+
return g(() => a(e.tag, {
|
|
77
77
|
class: ["v-avatar", {
|
|
78
78
|
"v-avatar--start": e.start,
|
|
79
79
|
"v-avatar--end": e.end
|
|
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: () => [
|
|
83
|
+
default: () => [n.default ? a(_, {
|
|
84
84
|
key: "content-defaults",
|
|
85
85
|
defaults: {
|
|
86
86
|
VImg: {
|
|
@@ -92,19 +92,19 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}, {
|
|
95
|
-
default: () => [
|
|
96
|
-
}) : e.image ? a(
|
|
95
|
+
default: () => [n.default()]
|
|
96
|
+
}) : e.image ? a(Q, {
|
|
97
97
|
key: "image",
|
|
98
98
|
src: e.image,
|
|
99
99
|
alt: "",
|
|
100
100
|
cover: !0
|
|
101
|
-
}, null) : e.icon ? a(
|
|
101
|
+
}, null) : e.icon ? a(S, {
|
|
102
102
|
key: "icon",
|
|
103
103
|
icon: e.icon
|
|
104
|
-
}, null) : e.text,
|
|
104
|
+
}, null) : e.text, H(!1, "v-avatar")]
|
|
105
105
|
})), {};
|
|
106
106
|
}
|
|
107
|
-
}), aa =
|
|
107
|
+
}), aa = f({
|
|
108
108
|
appendAvatar: String,
|
|
109
109
|
appendIcon: k,
|
|
110
110
|
prependAvatar: String,
|
|
@@ -112,25 +112,25 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
112
112
|
subtitle: [String, Number],
|
|
113
113
|
title: [String, Number],
|
|
114
114
|
...y(),
|
|
115
|
-
...
|
|
115
|
+
...T()
|
|
116
116
|
}, "VCardItem"), ta = m()({
|
|
117
117
|
name: "VCardItem",
|
|
118
118
|
props: aa(),
|
|
119
119
|
setup(e, l) {
|
|
120
120
|
let {
|
|
121
|
-
slots:
|
|
121
|
+
slots: n
|
|
122
122
|
} = l;
|
|
123
|
-
return
|
|
124
|
-
const
|
|
123
|
+
return g(() => {
|
|
124
|
+
const t = !!(e.prependAvatar || e.prependIcon), r = !!(t || n.prepend), o = !!(e.appendAvatar || e.appendIcon), u = !!(o || n.append), d = !!(e.title != null || n.title), s = !!(e.subtitle != null || n.subtitle);
|
|
125
125
|
return a("div", {
|
|
126
126
|
class: ["v-card-item", e.class],
|
|
127
127
|
style: e.style
|
|
128
128
|
}, [r && a("div", {
|
|
129
129
|
key: "prepend",
|
|
130
130
|
class: "v-card-item__prepend"
|
|
131
|
-
}, [
|
|
131
|
+
}, [n.prepend ? a(_, {
|
|
132
132
|
key: "prepend-defaults",
|
|
133
|
-
disabled: !
|
|
133
|
+
disabled: !t,
|
|
134
134
|
defaults: {
|
|
135
135
|
VAvatar: {
|
|
136
136
|
density: e.density,
|
|
@@ -141,28 +141,28 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
141
141
|
icon: e.prependIcon
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
},
|
|
144
|
+
}, n.prepend) : a(P, null, [e.prependAvatar && a(E, {
|
|
145
145
|
key: "prepend-avatar",
|
|
146
146
|
density: e.density,
|
|
147
147
|
image: e.prependAvatar
|
|
148
|
-
}, null), e.prependIcon && a(
|
|
148
|
+
}, null), e.prependIcon && a(S, {
|
|
149
149
|
key: "prepend-icon",
|
|
150
150
|
density: e.density,
|
|
151
151
|
icon: e.prependIcon
|
|
152
152
|
}, null)])]), a("div", {
|
|
153
153
|
class: "v-card-item__content"
|
|
154
|
-
}, [d && a(
|
|
154
|
+
}, [d && a(Y, {
|
|
155
155
|
key: "title"
|
|
156
156
|
}, {
|
|
157
|
-
default: () => [
|
|
157
|
+
default: () => [n.title?.() ?? e.title]
|
|
158
158
|
}), s && a(Ke, {
|
|
159
159
|
key: "subtitle"
|
|
160
160
|
}, {
|
|
161
|
-
default: () => [
|
|
162
|
-
}),
|
|
161
|
+
default: () => [n.subtitle?.() ?? e.subtitle]
|
|
162
|
+
}), n.default?.()]), u && a("div", {
|
|
163
163
|
key: "append",
|
|
164
164
|
class: "v-card-item__append"
|
|
165
|
-
}, [
|
|
165
|
+
}, [n.append ? a(_, {
|
|
166
166
|
key: "append-defaults",
|
|
167
167
|
disabled: !o,
|
|
168
168
|
defaults: {
|
|
@@ -175,36 +175,36 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
175
175
|
icon: e.appendIcon
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
},
|
|
178
|
+
}, n.append) : a(P, 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(E, {
|
|
183
183
|
key: "append-avatar",
|
|
184
184
|
density: e.density,
|
|
185
185
|
image: e.appendAvatar
|
|
186
186
|
}, null)])])]);
|
|
187
187
|
}), {};
|
|
188
188
|
}
|
|
189
|
-
}), na =
|
|
189
|
+
}), na = f({
|
|
190
190
|
opacity: [Number, String],
|
|
191
191
|
...y(),
|
|
192
|
-
...
|
|
193
|
-
}, "VCardText"),
|
|
192
|
+
...x()
|
|
193
|
+
}, "VCardText"), Z = m()({
|
|
194
194
|
name: "VCardText",
|
|
195
195
|
props: na(),
|
|
196
196
|
setup(e, l) {
|
|
197
197
|
let {
|
|
198
|
-
slots:
|
|
198
|
+
slots: n
|
|
199
199
|
} = l;
|
|
200
|
-
return
|
|
200
|
+
return g(() => a(e.tag, {
|
|
201
201
|
class: ["v-card-text", e.class],
|
|
202
202
|
style: [{
|
|
203
203
|
"--v-card-text-opacity": e.opacity
|
|
204
204
|
}, e.style]
|
|
205
|
-
},
|
|
205
|
+
}, n)), {};
|
|
206
206
|
}
|
|
207
|
-
}), sa =
|
|
207
|
+
}), sa = f({
|
|
208
208
|
appendAvatar: String,
|
|
209
209
|
appendIcon: k,
|
|
210
210
|
disabled: Boolean,
|
|
@@ -226,71 +226,71 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
226
226
|
title: [String, Number],
|
|
227
227
|
...ge(),
|
|
228
228
|
...y(),
|
|
229
|
-
...
|
|
229
|
+
...T(),
|
|
230
|
+
...fe(),
|
|
230
231
|
...be(),
|
|
231
232
|
...ke(),
|
|
232
233
|
...he(),
|
|
233
234
|
...Ce(),
|
|
235
|
+
...j(),
|
|
234
236
|
...Ve(),
|
|
235
|
-
...
|
|
236
|
-
...
|
|
237
|
-
...
|
|
238
|
-
...w(),
|
|
239
|
-
...U({
|
|
237
|
+
...x(),
|
|
238
|
+
...B(),
|
|
239
|
+
...J({
|
|
240
240
|
variant: "elevated"
|
|
241
241
|
})
|
|
242
242
|
}, "VCard"), la = m()({
|
|
243
243
|
name: "VCard",
|
|
244
244
|
directives: {
|
|
245
|
-
Ripple:
|
|
245
|
+
Ripple: pe
|
|
246
246
|
},
|
|
247
247
|
props: sa(),
|
|
248
248
|
setup(e, l) {
|
|
249
249
|
let {
|
|
250
|
-
attrs:
|
|
251
|
-
slots:
|
|
250
|
+
attrs: n,
|
|
251
|
+
slots: t
|
|
252
252
|
} = l;
|
|
253
253
|
const {
|
|
254
254
|
themeClasses: r
|
|
255
|
-
} =
|
|
255
|
+
} = N(e), {
|
|
256
256
|
borderClasses: o
|
|
257
|
-
} =
|
|
257
|
+
} = Se(e), {
|
|
258
258
|
colorClasses: u,
|
|
259
259
|
colorStyles: d,
|
|
260
260
|
variantClasses: s
|
|
261
|
-
} =
|
|
261
|
+
} = U(e), {
|
|
262
262
|
densityClasses: i
|
|
263
|
-
} =
|
|
263
|
+
} = W(e), {
|
|
264
264
|
dimensionStyles: v
|
|
265
|
-
} =
|
|
265
|
+
} = _e(e), {
|
|
266
266
|
elevationClasses: b
|
|
267
|
+
} = xe(e), {
|
|
268
|
+
loaderClasses: G
|
|
267
269
|
} = Ie(e), {
|
|
268
|
-
|
|
270
|
+
locationStyles: K
|
|
269
271
|
} = Ae(e), {
|
|
270
|
-
|
|
272
|
+
positionClasses: ee
|
|
271
273
|
} = Pe(e), {
|
|
272
|
-
|
|
273
|
-
} = Te(e),
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
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, {
|
|
274
|
+
roundedClasses: ae
|
|
275
|
+
} = q(e), V = Te(e, n), te = h(() => e.link !== !1 && V.isLink.value), p = h(() => !e.disabled && e.link !== !1 && (e.link || V.isClickable.value));
|
|
276
|
+
return g(() => {
|
|
277
|
+
const ne = te.value ? "a" : e.tag, se = !!(t.title || e.title != null), le = !!(t.subtitle || e.subtitle != null), ie = se || le, de = !!(t.append || e.appendAvatar || e.appendIcon), oe = !!(t.prepend || e.prependAvatar || e.prependIcon), ce = !!(t.image || e.image), re = ie || oe || de, ue = !!(t.text || e.text != null);
|
|
278
|
+
return Be(a(ne, {
|
|
279
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
283
|
"v-card--link": p.value
|
|
284
|
-
}, r.value, o.value, u.value, i.value, b.value,
|
|
285
|
-
style: [d.value, v.value,
|
|
284
|
+
}, r.value, o.value, u.value, i.value, b.value, G.value, ee.value, ae.value, s.value, e.class],
|
|
285
|
+
style: [d.value, v.value, K.value, e.style],
|
|
286
286
|
href: V.href.value,
|
|
287
287
|
onClick: p.value && V.navigate,
|
|
288
288
|
tabindex: e.disabled ? -1 : void 0
|
|
289
289
|
}, {
|
|
290
|
-
default: () => [
|
|
290
|
+
default: () => [ce && a("div", {
|
|
291
291
|
key: "image",
|
|
292
292
|
class: "v-card__image"
|
|
293
|
-
}, [
|
|
293
|
+
}, [t.image ? a(_, {
|
|
294
294
|
key: "image-defaults",
|
|
295
295
|
disabled: !e.image,
|
|
296
296
|
defaults: {
|
|
@@ -299,17 +299,17 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
299
299
|
src: e.image
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
-
},
|
|
302
|
+
}, t.image) : a(Q, {
|
|
303
303
|
key: "image-img",
|
|
304
304
|
cover: !0,
|
|
305
305
|
src: e.image
|
|
306
|
-
}, null)]), a(
|
|
306
|
+
}, null)]), a(we, {
|
|
307
307
|
name: "v-card",
|
|
308
308
|
active: !!e.loading,
|
|
309
309
|
color: typeof e.loading == "boolean" ? void 0 : e.loading
|
|
310
310
|
}, {
|
|
311
|
-
default:
|
|
312
|
-
}),
|
|
311
|
+
default: t.loader
|
|
312
|
+
}), re && a(ta, {
|
|
313
313
|
key: "item",
|
|
314
314
|
prependAvatar: e.prependAvatar,
|
|
315
315
|
prependIcon: e.prependIcon,
|
|
@@ -318,22 +318,22 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
318
318
|
appendAvatar: e.appendAvatar,
|
|
319
319
|
appendIcon: e.appendIcon
|
|
320
320
|
}, {
|
|
321
|
-
default:
|
|
322
|
-
prepend:
|
|
323
|
-
title:
|
|
324
|
-
subtitle:
|
|
325
|
-
append:
|
|
326
|
-
}),
|
|
321
|
+
default: t.item,
|
|
322
|
+
prepend: t.prepend,
|
|
323
|
+
title: t.title,
|
|
324
|
+
subtitle: t.subtitle,
|
|
325
|
+
append: t.append
|
|
326
|
+
}), ue && a(Z, {
|
|
327
327
|
key: "text"
|
|
328
328
|
}, {
|
|
329
|
-
default: () => [
|
|
330
|
-
}),
|
|
331
|
-
default:
|
|
332
|
-
}),
|
|
333
|
-
}), [[
|
|
329
|
+
default: () => [t.text?.() ?? e.text]
|
|
330
|
+
}), t.default?.(), t.actions && a(X, null, {
|
|
331
|
+
default: t.actions
|
|
332
|
+
}), H(p.value, "v-card")]
|
|
333
|
+
}), [[Ne("ripple"), p.value && e.ripple]]);
|
|
334
334
|
}), {};
|
|
335
335
|
}
|
|
336
|
-
}), ia =
|
|
336
|
+
}), ia = f({
|
|
337
337
|
color: String,
|
|
338
338
|
inset: Boolean,
|
|
339
339
|
length: [Number, String],
|
|
@@ -341,25 +341,25 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
341
341
|
thickness: [Number, String],
|
|
342
342
|
vertical: Boolean,
|
|
343
343
|
...y(),
|
|
344
|
-
...
|
|
344
|
+
...B()
|
|
345
345
|
}, "VDivider"), da = m()({
|
|
346
346
|
name: "VDivider",
|
|
347
347
|
props: ia(),
|
|
348
348
|
setup(e, l) {
|
|
349
349
|
let {
|
|
350
|
-
attrs:
|
|
351
|
-
slots:
|
|
350
|
+
attrs: n,
|
|
351
|
+
slots: t
|
|
352
352
|
} = l;
|
|
353
353
|
const {
|
|
354
354
|
themeClasses: r
|
|
355
|
-
} =
|
|
355
|
+
} = N(e), {
|
|
356
356
|
textColorClasses: o,
|
|
357
357
|
textColorStyles: u
|
|
358
|
-
} =
|
|
358
|
+
} = Le($e(e, "color")), d = h(() => {
|
|
359
359
|
const s = {};
|
|
360
360
|
return e.length && (s[e.vertical ? "height" : "width"] = L(e.length)), e.thickness && (s[e.vertical ? "borderRightWidth" : "borderTopWidth"] = L(e.thickness)), s;
|
|
361
361
|
});
|
|
362
|
-
return
|
|
362
|
+
return g(() => {
|
|
363
363
|
const s = a("hr", {
|
|
364
364
|
class: [{
|
|
365
365
|
"v-divider": !0,
|
|
@@ -369,26 +369,26 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
369
369
|
style: [d.value, u.value, {
|
|
370
370
|
"--v-border-opacity": e.opacity
|
|
371
371
|
}, e.style],
|
|
372
|
-
"aria-orientation": !
|
|
373
|
-
role: `${
|
|
372
|
+
"aria-orientation": !n.role || n.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
|
|
373
|
+
role: `${n.role || "separator"}`
|
|
374
374
|
}, null);
|
|
375
|
-
return
|
|
375
|
+
return t.default ? a("div", {
|
|
376
376
|
class: ["v-divider__wrapper", {
|
|
377
377
|
"v-divider__wrapper--vertical": e.vertical,
|
|
378
378
|
"v-divider__wrapper--inset": e.inset
|
|
379
379
|
}]
|
|
380
380
|
}, [s, a("div", {
|
|
381
381
|
class: "v-divider__content"
|
|
382
|
-
}, [
|
|
382
|
+
}, [t.default()]), s]) : s;
|
|
383
383
|
}), {};
|
|
384
384
|
}
|
|
385
|
-
}),
|
|
385
|
+
}), w = (e) => (He("data-v-adee4f49"), e = e(), Qe(), e), oa = /* @__PURE__ */ w(() => /* @__PURE__ */ C(
|
|
386
386
|
"h5",
|
|
387
387
|
{ class: "text-h5" },
|
|
388
388
|
"Storytelling map configuration",
|
|
389
389
|
-1
|
|
390
390
|
/* HOISTED */
|
|
391
|
-
)), ca = /* @__PURE__ */
|
|
391
|
+
)), ca = /* @__PURE__ */ w(() => /* @__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: ",
|
|
@@ -397,7 +397,7 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
397
397
|
)), ra = { class: "pa-3 code-block" }, ua = { style: { position: "absolute", bottom: "15px" } }, va = {
|
|
398
398
|
key: 0,
|
|
399
399
|
class: "text-success mr-3"
|
|
400
|
-
}, ma = /* @__PURE__ */
|
|
400
|
+
}, ma = /* @__PURE__ */ w(() => /* @__PURE__ */ C(
|
|
401
401
|
"small",
|
|
402
402
|
null,
|
|
403
403
|
"copied!",
|
|
@@ -405,10 +405,10 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
405
405
|
/* HOISTED */
|
|
406
406
|
)), ya = {
|
|
407
407
|
__name: "ExportState",
|
|
408
|
-
props: /* @__PURE__ */
|
|
409
|
-
|
|
410
|
-
type:
|
|
411
|
-
default:
|
|
408
|
+
props: /* @__PURE__ */ Re({
|
|
409
|
+
getLayers: {
|
|
410
|
+
type: Function,
|
|
411
|
+
default: Ee
|
|
412
412
|
}
|
|
413
413
|
}, {
|
|
414
414
|
modelValue: { type: Boolean, required: !0, default: !1 },
|
|
@@ -416,64 +416,64 @@ const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
|
|
|
416
416
|
}),
|
|
417
417
|
emits: ["update:modelValue"],
|
|
418
418
|
setup(e) {
|
|
419
|
-
const l =
|
|
419
|
+
const l = ze(e, "modelValue"), n = e, t = Fe(!1), r = [
|
|
420
420
|
{
|
|
421
421
|
id: Symbol(),
|
|
422
|
-
copyFn: async () => await
|
|
422
|
+
copyFn: async () => await A(u.value, t),
|
|
423
423
|
copyAs: "simple map"
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
426
|
id: Symbol(),
|
|
427
|
-
copyFn: async () => await
|
|
427
|
+
copyFn: async () => await A(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 A(o.value, t),
|
|
433
433
|
copyAs: "map tour section"
|
|
434
434
|
}
|
|
435
435
|
], o = h(() => {
|
|
436
|
-
const [d, s, i] =
|
|
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(
|
|
440
|
+
return `${v}'${JSON.stringify(n.getLayers())}' ${b}`;
|
|
441
441
|
}), u = h(() => {
|
|
442
|
-
const [d, s, i] =
|
|
443
|
-
return `${v}'${JSON.stringify(
|
|
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(n.getLayers())}' ${b}`;
|
|
444
444
|
});
|
|
445
|
-
return (d, s) => (
|
|
445
|
+
return (d, s) => (I(), Oe(Xe, {
|
|
446
446
|
modelValue: l.value,
|
|
447
447
|
"onUpdate:modelValue": s[1] || (s[1] = (i) => l.value = i)
|
|
448
448
|
}, {
|
|
449
449
|
default: c(() => [
|
|
450
450
|
a(la, null, {
|
|
451
451
|
default: c(() => [
|
|
452
|
-
a(
|
|
452
|
+
a(Y, { class: "bg-primary" }, {
|
|
453
453
|
default: c(() => [
|
|
454
454
|
oa
|
|
455
455
|
]),
|
|
456
456
|
_: 1
|
|
457
457
|
/* STABLE */
|
|
458
458
|
}),
|
|
459
|
-
a(
|
|
459
|
+
a(Z, { class: "py-5" }, {
|
|
460
460
|
default: c(() => [
|
|
461
461
|
ca,
|
|
462
462
|
C(
|
|
463
463
|
"div",
|
|
464
464
|
ra,
|
|
465
|
-
|
|
465
|
+
$(e.getLayers()),
|
|
466
466
|
1
|
|
467
467
|
/* TEXT */
|
|
468
468
|
),
|
|
469
469
|
C("div", ua, [
|
|
470
470
|
a(Ye, null, {
|
|
471
471
|
default: c(() => [
|
|
472
|
-
|
|
473
|
-
a(
|
|
472
|
+
t.value ? (I(), D("div", va, [
|
|
473
|
+
a(S, {
|
|
474
474
|
color: "success",
|
|
475
475
|
left: "",
|
|
476
|
-
icon: [
|
|
476
|
+
icon: [R(Me)]
|
|
477
477
|
}, null, 8, ["icon"]),
|
|
478
478
|
ma
|
|
479
479
|
])) : je("v-if", !0)
|
|
@@ -489,20 +489,20 @@ Text describing the current step of the tour and why it is interesting what the
|
|
|
489
489
|
class: "flex-column align-center text-end"
|
|
490
490
|
}, {
|
|
491
491
|
default: c(() => [
|
|
492
|
-
(
|
|
493
|
-
|
|
492
|
+
(I(), D(
|
|
493
|
+
P,
|
|
494
494
|
null,
|
|
495
|
-
We(r, (i) => a(
|
|
495
|
+
We(r, (i) => a(z, {
|
|
496
496
|
class: "text-body-2",
|
|
497
497
|
onClick: i.copyFn,
|
|
498
498
|
key: i.id,
|
|
499
499
|
small: "",
|
|
500
500
|
variant: "text",
|
|
501
|
-
"prepend-icon": [
|
|
501
|
+
"prepend-icon": [R(qe)]
|
|
502
502
|
}, {
|
|
503
503
|
default: c(() => [
|
|
504
|
-
|
|
505
|
-
" copy as " +
|
|
504
|
+
F(
|
|
505
|
+
" copy as " + $(i.copyAs),
|
|
506
506
|
1
|
|
507
507
|
/* TEXT */
|
|
508
508
|
)
|
|
@@ -526,15 +526,15 @@ Text describing the current step of the tour and why it is interesting what the
|
|
|
526
526
|
/* STABLE */
|
|
527
527
|
}),
|
|
528
528
|
a(da),
|
|
529
|
-
a(
|
|
529
|
+
a(X, null, {
|
|
530
530
|
default: c(() => [
|
|
531
531
|
a(Ze),
|
|
532
|
-
a(
|
|
532
|
+
a(z, {
|
|
533
533
|
variant: "text",
|
|
534
534
|
onClick: s[0] || (s[0] = (i) => l.value = !l.value)
|
|
535
535
|
}, {
|
|
536
536
|
default: c(() => [
|
|
537
|
-
|
|
537
|
+
F(" Close ")
|
|
538
538
|
]),
|
|
539
539
|
_: 1
|
|
540
540
|
/* STABLE */
|
|
@@ -552,7 +552,7 @@ Text describing the current step of the tour and why it is interesting what the
|
|
|
552
552
|
/* STABLE */
|
|
553
553
|
}, 8, ["modelValue"]));
|
|
554
554
|
}
|
|
555
|
-
}, ha = /* @__PURE__ */
|
|
555
|
+
}, ha = /* @__PURE__ */ De(ya, [["__scopeId", "data-v-adee4f49"]]);
|
|
556
556
|
export {
|
|
557
557
|
ha as default
|
|
558
558
|
};
|