@eodash/eodash 5.0.0-alpha.2.16 → 5.0.0-alpha.2.17

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