@eodash/eodash 5.0.0-alpha.2.15 → 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.
Files changed (49) hide show
  1. package/README.md +1 -1
  2. package/core/client/composables/EodashMap.js +245 -0
  3. package/core/client/composables/index.js +2 -2
  4. package/core/client/eodash.js +1 -2
  5. package/core/client/store/Actions.js +30 -10
  6. package/core/client/store/States.js +4 -1
  7. package/core/client/store/stac.js +52 -2
  8. package/core/client/types.d.ts +6 -2
  9. package/core/client/utils/createLayers.js +146 -39
  10. package/core/client/utils/eodashSTAC.js +94 -19
  11. package/core/client/utils/helpers.js +189 -11
  12. package/core/client/utils/states.js +17 -0
  13. package/dist/client/{DashboardLayout-DQE4aB6e.js → DashboardLayout-CCtyOil0.js} +2 -2
  14. package/dist/client/{DynamicWebComponent-TrDsJuF8.js → DynamicWebComponent-But2r1Sj.js} +2 -2
  15. package/dist/client/EodashDatePicker-jeYiWflv.js +247 -0
  16. package/dist/client/{EodashItemFilter-Bp0lcvbI.js → EodashItemFilter-BFlfWeE_.js} +2028 -2024
  17. package/dist/client/EodashLayerControl-BhZL4pYM.js +24358 -0
  18. package/dist/client/{EodashMap--2y6XErO.js → EodashMap-C5tOgVOv.js} +22268 -24006
  19. package/dist/client/{EodashMapBtns-BSf3iUAb.js → EodashMapBtns-CdDfVQj0.js} +2 -2
  20. package/dist/client/{ExportState-BTONkMIz.js → ExportState-CKCCN_VI.js} +142 -136
  21. package/dist/client/{Footer-B7JDXdxT.js → Footer-B9yVgyzx.js} +67 -65
  22. package/dist/client/{Header-Dlumetq0.js → Header-CPIlUEOq.js} +4 -4
  23. package/dist/client/{IframeWrapper-DRjSqhFx.js → IframeWrapper-DRw1kHJm.js} +1 -1
  24. package/dist/client/{MobileLayout-9z2X_rmU.js → MobileLayout-CPxVee5U.js} +6 -6
  25. package/dist/client/{PopUp-CXbMBYGh.js → PopUp-Dca-gx9a.js} +5 -5
  26. package/dist/client/{VImg-Dgk5tryv.js → VImg-PHLA1nP1.js} +2 -2
  27. package/dist/client/{VMain-Ubv9jyyL.js → VMain-Ck81LJfb.js} +2 -2
  28. package/dist/client/{VOverlay-CqZC2CbA.js → VOverlay-CL4hiJB8.js} +92 -92
  29. package/dist/client/{WidgetsContainer-CHK_3dlD.js → WidgetsContainer-jxk3kw-d.js} +1 -1
  30. package/dist/client/asWebComponent-3OsFQJVx.js +23633 -0
  31. package/dist/client/eo-dash.js +1 -1
  32. package/dist/client/{forwardRefs-OX_5lLJW.js → forwardRefs-BxZaq9ml.js} +1 -1
  33. package/dist/client/{index-B_KfD-iF.js → index-Vul961Xy.js} +23 -23
  34. package/dist/client/{lerc-B4lXefGh-CplqAh1B.js → lerc-B4lXefGh-BESXOHWk.js} +1 -1
  35. package/dist/client/{ssrBoot-BZTPJZkq.js → ssrBoot-BFMBrCqY.js} +1 -1
  36. package/dist/client/style.css +2 -2
  37. package/dist/client/{transition-Dq8XIV_D.js → transition-U5aFjJtV.js} +1 -1
  38. package/dist/client/{webfontloader-qotgY98I.js → webfontloader-D_JbBwHu.js} +1 -1
  39. package/package.json +5 -3
  40. package/widgets/EodashDatePicker.vue +32 -40
  41. package/widgets/EodashItemFilter.vue +2 -0
  42. package/widgets/EodashLayerControl.vue +69 -2
  43. package/widgets/EodashMap.vue +35 -208
  44. package/widgets/ExportState.vue +8 -7
  45. package/dist/client/EodashDatePicker-CkA9rHp6.js +0 -252
  46. package/dist/client/EodashLayerControl-lfLYqyeU.js +0 -20963
  47. package/dist/client/_commonjsHelpers-DaMA6jEr.js +0 -8
  48. package/dist/client/asWebComponent-Ddg71BJk.js +0 -20451
  49. package/dist/client/helpers-BCawTwFg.js +0 -1390
@@ -1,5 +1,5 @@
1
- import { _ as f, r as p, aR as d, $ as o, a6 as m, a0 as s, a3 as e, V as i, a5 as r, aS as v, aP as c, aT as k, aQ as x } from "./asWebComponent-Ddg71BJk.js";
2
- import B from "./ExportState-BTONkMIz.js";
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 { aU 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, aV as me, h as B, aW as J, i as N, aX as U, P as W, aj as q, aY as ye, M as S, ak as _, aZ as H, F as P, ae as ge, ac as fe, af as be, a_ as ke, a$ as he, b0 as Ce, b1 as Ve, b2 as pe, ah as Se, ad as _e, ai as xe, b3 as Ie, b4 as Ae, b5 as Pe, b6 as Te, c as h, t as Be, v as Ne, b7 as Le, u as we, R as $e, C as w, _ as De, b8 as ze, b9 as Fe, r as Re, $ as I, a0 as Ee, a1 as c, ba as Oe, a9 as C, aa as $, a6 as D, a3 as z, bb as Me, a5 as je, aB as Je, bc as Ue, a7 as We, V as F, bd as qe, a8 as R, be as A, aL as E, at as He, au as Xe } from "./asWebComponent-Ddg71BJk.js";
2
- import Ye from "./PopUp-CXbMBYGh.js";
3
- import { a as Ze } from "./index-B_KfD-iF.js";
4
- import { V as X } from "./VImg-Dgk5tryv.js";
5
- const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
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 ve({
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
- }), Ke = f({
22
+ }), Ye = f({
23
23
  opacity: [Number, String],
24
24
  ...y(),
25
- ...x()
26
- }, "VCardSubtitle"), Qe = m()({
25
+ ..._()
26
+ }, "VCardSubtitle"), ea = m()({
27
27
  name: "VCardSubtitle",
28
- props: Ke(),
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
- }), Z = M("v-card-title"), ea = f({
40
+ }), Q = j("v-card-title"), aa = f({
41
41
  start: Boolean,
42
42
  end: Boolean,
43
- icon: k,
43
+ icon: h,
44
44
  image: String,
45
45
  text: String,
46
46
  ...y(),
47
- ...T(),
48
- ...j(),
49
- ...me(),
50
- ...x(),
51
- ...B(),
52
- ...J({
47
+ ...N(),
48
+ ...J(),
49
+ ...ye(),
50
+ ..._(),
51
+ ...w(),
52
+ ...U({
53
53
  variant: "flat"
54
54
  })
55
- }, "VAvatar"), O = m()({
55
+ }, "VAvatar"), M = m()({
56
56
  name: "VAvatar",
57
- props: ea(),
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
- } = N(e), {
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
- roundedClasses: s
69
+ densityClasses: d
72
70
  } = q(e), {
71
+ roundedClasses: s
72
+ } = H(e), {
73
73
  sizeClasses: i,
74
74
  sizeStyles: v
75
- } = ye(e);
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
- image: e.image
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(X, {
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, H(!1, "v-avatar")]
104
+ }, null) : e.text, Z(!1, "v-avatar")]
105
105
  })), {};
106
106
  }
107
- }), aa = f({
107
+ }), ta = f({
108
108
  appendAvatar: String,
109
- appendIcon: k,
109
+ appendIcon: h,
110
110
  prependAvatar: String,
111
- prependIcon: k,
111
+ prependIcon: h,
112
112
  subtitle: [String, Number],
113
113
  title: [String, Number],
114
114
  ...y(),
115
- ...T()
116
- }, "VCardItem"), ta = m()({
115
+ ...N()
116
+ }, "VCardItem"), na = m()({
117
117
  name: "VCardItem",
118
- props: aa(),
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(P, null, [e.prependAvatar && a(O, {
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(Z, {
154
+ }, [d && a(Q, {
155
155
  key: "title"
156
156
  }, {
157
157
  default: () => [n.title?.() ?? e.title]
158
- }), s && a(Qe, {
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(P, null, [e.appendIcon && a(S, {
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(O, {
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
- }), na = f({
189
+ }), sa = f({
190
190
  opacity: [Number, String],
191
191
  ...y(),
192
- ...x()
193
- }, "VCardText"), G = m()({
192
+ ..._()
193
+ }, "VCardText"), X = m()({
194
194
  name: "VCardText",
195
- props: na(),
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
- }), sa = f({
207
+ }), la = f({
208
208
  appendAvatar: String,
209
- appendIcon: k,
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: k,
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
- ...j(),
234
+ ...pe(),
235
+ ...J(),
236
236
  ...Ve(),
237
- ...x(),
238
- ...B(),
239
- ...J({
237
+ ..._(),
238
+ ...w(),
239
+ ...U({
240
240
  variant: "elevated"
241
241
  })
242
- }, "VCard"), la = m()({
242
+ }, "VCard"), ia = m()({
243
243
  name: "VCard",
244
244
  directives: {
245
- Ripple: pe
245
+ Ripple: Se
246
246
  },
247
- props: sa(),
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
- } = N(e), {
255
+ } = L(e), {
256
256
  borderClasses: o
257
- } = Se(e), {
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
- locationStyles: Q
268
+ loaderClasses: Y
271
269
  } = Ae(e), {
272
- positionClasses: ee
270
+ locationStyles: ee
273
271
  } = Pe(e), {
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));
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 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, {
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": p.value
284
- }, r.value, o.value, u.value, i.value, b.value, K.value, ee.value, ae.value, s.value, e.class],
285
- style: [d.value, v.value, Q.value, e.style],
286
- href: V.href.value,
287
- onClick: p.value && V.navigate,
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: () => [ce && a("div", {
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(X, {
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
- }), re && a(ta, {
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
- }), ue && a(G, {
326
+ }), ve && a(X, {
327
327
  key: "text"
328
328
  }, {
329
329
  default: () => [t.text?.() ?? e.text]
330
- }), t.default?.(), t.actions && a(Y, null, {
330
+ }), t.default?.(), t.actions && a(K, null, {
331
331
  default: t.actions
332
- }), H(p.value, "v-card")]
333
- }), [[Ne("ripple"), p.value && e.ripple]]);
332
+ }), Z(V.value, "v-card")]
333
+ }), [[we("ripple"), V.value && e.ripple]]);
334
334
  }), {};
335
335
  }
336
- }), ia = f({
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
- ...B()
345
- }, "VDivider"), da = m()({
344
+ ...w()
345
+ }, "VDivider"), oa = m()({
346
346
  name: "VDivider",
347
- props: ia(),
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
- } = N(e), {
355
+ } = L(e), {
356
356
  textColorClasses: o,
357
357
  textColorStyles: u
358
- } = we($e(e, "color")), d = h(() => {
358
+ } = $e(De(e, "color")), d = k(() => {
359
359
  const s = {};
360
- return e.length && (s[e.vertical ? "height" : "width"] = w(e.length)), e.thickness && (s[e.vertical ? "borderRightWidth" : "borderTopWidth"] = w(e.thickness)), s;
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
- }), L = (e) => (He("data-v-98028b8c"), e = e(), Xe(), e), oa = /* @__PURE__ */ L(() => /* @__PURE__ */ C(
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
- )), ca = /* @__PURE__ */ L(() => /* @__PURE__ */ C(
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
- )), ra = { class: "pa-3 code-block" }, ua = { style: { position: "absolute", bottom: "15px" } }, va = {
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
- }, ma = /* @__PURE__ */ L(() => /* @__PURE__ */ C(
400
+ }, ya = /* @__PURE__ */ $(() => /* @__PURE__ */ C(
401
401
  "small",
402
402
  null,
403
403
  "copied!",
404
404
  -1
405
405
  /* HOISTED */
406
- )), ya = {
406
+ )), ga = {
407
407
  __name: "ExportState",
408
408
  props: /* @__PURE__ */ ze({
409
409
  getLayers: {
410
410
  type: Function,
411
- default: Oe
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 = Re(!1), r = [
419
+ const l = Fe(e, "modelValue"), n = e, t = Ee(!1), r = [
420
420
  {
421
421
  id: Symbol(),
422
- copyFn: async () => await A(u.value, t),
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 A(JSON.stringify(n.getLayers()), t),
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 A(o.value, t),
432
+ copyFn: async () => await T(o.value, t),
433
433
  copyAs: "map tour section"
434
434
  }
435
- ], o = h(() => {
436
- const [d, s, i] = E.value, v = "### <!--{ layers=", b = `zoom="${i}" center=[${[d, s]}] animationOptions={duration:500}}-->
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 = h(() => {
442
- const [d, s, i] = E.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}`;
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(), Ee(Ye, {
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(la, null, {
450
+ a(ia, { style: { "max-height": "498px" } }, {
451
451
  default: c(() => [
452
- a(Z, { class: "bg-primary" }, {
452
+ a(Q, {
453
+ class: "bg-primary",
454
+ style: { "max-height": "49px" }
455
+ }, {
453
456
  default: c(() => [
454
- oa
457
+ ca
455
458
  ]),
456
459
  _: 1
457
460
  /* STABLE */
458
461
  }),
459
- a(G, { class: "py-5" }, {
462
+ a(X, {
463
+ class: "py-5 overflow-auto",
464
+ style: { height: "400px" }
465
+ }, {
460
466
  default: c(() => [
461
- ca,
467
+ ra,
462
468
  C(
463
469
  "div",
464
- ra,
465
- $(e.getLayers()),
470
+ ua,
471
+ R(A(P)(e.getLayers())),
466
472
  1
467
473
  /* TEXT */
468
474
  ),
469
- C("div", ua, [
470
- a(Ze, null, {
475
+ C("div", va, [
476
+ a(Qe, null, {
471
477
  default: c(() => [
472
- t.value ? (I(), D("div", va, [
478
+ t.value ? (I(), z("div", ma, [
473
479
  a(S, {
474
480
  color: "success",
475
481
  left: "",
476
- icon: [z(Me)]
482
+ icon: [A(je)]
477
483
  }, null, 8, ["icon"]),
478
- ma
479
- ])) : je("v-if", !0)
484
+ ya
485
+ ])) : Je("v-if", !0)
480
486
  ]),
481
487
  _: 1
482
488
  /* STABLE */
483
489
  })
484
490
  ]),
485
- a(Je, { class: "d-flex pt-3 justify-end" }, {
491
+ a(Ue, { class: "d-flex pt-3 justify-end" }, {
486
492
  default: c(() => [
487
- a(Ue, {
493
+ a(We, {
488
494
  cols: "6",
489
495
  class: "flex-column align-center text-end"
490
496
  }, {
491
497
  default: c(() => [
492
- (I(), D(
493
- P,
498
+ (I(), z(
499
+ B,
494
500
  null,
495
- We(r, (i) => a(F, {
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": [z(qe)]
507
+ "prepend-icon": [A(He)]
502
508
  }, {
503
509
  default: c(() => [
504
- R(
505
- " copy as " + $(i.copyAs),
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(da),
529
- a(Y, null, {
534
+ a(oa),
535
+ a(K, { style: { "max-height": "49px" } }, {
530
536
  default: c(() => [
531
- a(Ge),
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
- R(" Close ")
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
- }, ha = /* @__PURE__ */ De(ya, [["__scopeId", "data-v-98028b8c"]]);
561
+ }, Ca = /* @__PURE__ */ Re(ga, [["__scopeId", "data-v-93fc5d47"]]);
556
562
  export {
557
- ha as default
563
+ Ca as default
558
564
  };