@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.
Files changed (38) hide show
  1. package/core/client/components/DashboardLayout.vue +1 -2
  2. package/core/client/components/MobileLayout.vue +1 -2
  3. package/core/client/composables/index.js +1 -0
  4. package/core/client/store/Actions.js +8 -2
  5. package/core/client/types.d.ts +1 -1
  6. package/dist/client/{DashboardLayout-Cbci3g7o.js → DashboardLayout-CKOExc7r.js} +4 -4
  7. package/dist/client/{DynamicWebComponent-DzmQ3Fr3.js → DynamicWebComponent-m1Zbbw6n.js} +4 -4
  8. package/dist/client/{EodashDatePicker-SP5bYISd.js → EodashDatePicker-CGdJRGZJ.js} +4 -4
  9. package/dist/client/{EodashItemFilter-B9Tf2TBw.js → EodashItemFilter-BjM_LHaE.js} +2 -2
  10. package/dist/client/EodashMap-61UMC8sv.js +86917 -0
  11. package/dist/client/{EodashMapBtns-BOKugQ88.js → EodashMapBtns-DVITfAFx.js} +7 -8
  12. package/dist/client/{ExportState-D7m9s4T8.js → ExportState-DhpK09GR.js} +143 -143
  13. package/dist/client/{Footer-C2uV1-zu.js → Footer-CIwjaddz.js} +1 -1
  14. package/dist/client/{Header-C2ROtxo_.js → Header-BcM-pZFi.js} +4 -4
  15. package/dist/client/{IframeWrapper-Wwou4pwf.js → IframeWrapper-CAe6HPqe.js} +1 -1
  16. package/dist/client/{MobileLayout-DR27Ctiz.js → MobileLayout-DcZOQX8r.js} +11 -11
  17. package/dist/client/{PopUp-bPGAY43o.js → PopUp-DCaITceG.js} +25 -25
  18. package/dist/client/{VImg-swqiqth2.js → VImg-C-I_7puM.js} +2 -2
  19. package/dist/client/{VMain-Bu1bPjvK.js → VMain-Cd3P0YTG.js} +2 -2
  20. package/dist/client/{VOverlay-D_MKJ4vQ.js → VOverlay-AcvFgk39.js} +3 -3
  21. package/dist/client/{WidgetsContainer-CpxYT8YI.js → WidgetsContainer-B0-q0EMO.js} +1 -1
  22. package/dist/client/{asWebComponent-DeaU3QoK.js → asWebComponent-zuKR9I1w.js} +65 -65
  23. package/dist/client/{decoder-CP4lv0Kb-nokx54iM.js → decoder-CP4lv0Kb-DdKalImK.js} +1 -1
  24. package/dist/client/eo-dash.js +1 -1
  25. package/dist/client/{eodashSTAC-CFQuZ_cI.js → eodashSTAC-DGB50vNk.js} +1 -1
  26. package/dist/client/{forwardRefs-D0a135Tc.js → forwardRefs-BnxE4iKQ.js} +1 -1
  27. package/dist/client/{index-CoqcWt6E.js → index-hSIi5Ygk.js} +5 -5
  28. package/dist/client/{lerc-DzVumYtB-B3rx9xzz.js → lerc-DzVumYtB-cTUap6k_.js} +1 -1
  29. package/dist/client/{ssrBoot-C-inWOiD.js → ssrBoot-D3KF5Thc.js} +1 -1
  30. package/dist/client/style.css +1 -1
  31. package/dist/client/{transition-C8le0YwQ.js → transition-D3a4tiJv.js} +5 -5
  32. package/dist/node/cli.js +2 -2
  33. package/package.json +1 -1
  34. package/widgets/EodashMap.vue +33 -29
  35. package/widgets/EodashMapBtns.vue +0 -1
  36. package/widgets/ExportState.vue +8 -8
  37. package/dist/client/EodashMap-D_znzmX7.js +0 -50707
  38. package/dist/client/eox-map-L7abwKTR.js +0 -36260
@@ -1,12 +1,12 @@
1
- import { _ as l, r as s, aJ as r, $ as p, a6 as d, b as n, a3 as c, V as u, aK as m } from "./asWebComponent-DeaU3QoK.js";
2
- import f from "./ExportState-D7m9s4T8.js";
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), (V, a) => (p(), d(
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
- color: "primary",
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(f, {
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
- }, E = /* @__PURE__ */ l(v, [["__scopeId", "data-v-c00e4b09"]]);
33
+ }, B = /* @__PURE__ */ l(v, [["__scopeId", "data-v-bd1fc195"]]);
35
34
  export {
36
- E as default
35
+ B as default
37
36
  };
@@ -1,86 +1,86 @@
1
- import { aL as j, g as m, e as y, S as me, a as f, b as a, p as g, f as I, I as k, O as N, ag as J, aM as ye, h as w, aN as U, i as $, aO as W, P as H, aj as q, aP as fe, M as _, ak as x, aQ as Q, F as B, ae as ge, ac as be, af as ke, aR as he, aS as Ce, aT as Ve, aU as pe, aV as Se, ah as _e, ad as xe, ai as Ie, aW as Ae, aX as Pe, aY as Te, aZ as Be, c as h, t as Ne, v as we, a_ as $e, u as De, R as Le, C as L, _ as Re, a$ as ze, b0 as Oe, r as Ee, $ as A, a0 as Fe, a1 as c, a9 as C, aa as R, a3 as P, b1 as S, a6 as z, b2 as Me, a5 as je, aB as Je, b3 as Ue, a7 as We, V as O, b4 as He, a8 as E, b5 as T, aH as F, at as qe, au as Qe } from "./asWebComponent-DeaU3QoK.js";
2
- import Xe from "./PopUp-bPGAY43o.js";
3
- import { a as Ye } from "./index-CoqcWt6E.js";
4
- import { V as X } from "./VImg-swqiqth2.js";
5
- const Ze = j("v-spacer", "div", "VSpacer"), Y = m()({
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: t
10
+ slots: n
11
11
  } = l;
12
- return me({
12
+ return ve({
13
13
  VBtn: {
14
14
  slim: !0,
15
15
  variant: "text"
16
16
  }
17
- }), f(() => a("div", {
17
+ }), g(() => a("div", {
18
18
  class: ["v-card-actions", e.class],
19
19
  style: e.style
20
- }, [t.default?.()])), {};
20
+ }, [n.default?.()])), {};
21
21
  }
22
- }), Ge = g({
22
+ }), Ge = f({
23
23
  opacity: [Number, String],
24
24
  ...y(),
25
- ...I()
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: t
31
+ slots: n
32
32
  } = l;
33
- return f(() => a(e.tag, {
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
- }, t)), {};
38
+ }, n)), {};
39
39
  }
40
- }), Z = j("v-card-title"), ea = g({
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
- ...N(),
48
- ...J(),
49
- ...ye(),
50
- ...I(),
51
- ...w(),
52
- ...U({
47
+ ...T(),
48
+ ...j(),
49
+ ...me(),
50
+ ...x(),
51
+ ...B(),
52
+ ...J({
53
53
  variant: "flat"
54
54
  })
55
- }, "VAvatar"), M = m()({
55
+ }, "VAvatar"), E = m()({
56
56
  name: "VAvatar",
57
57
  props: ea(),
58
58
  setup(e, l) {
59
59
  let {
60
- slots: t
60
+ slots: n
61
61
  } = l;
62
62
  const {
63
- themeClasses: n
64
- } = $(e), {
63
+ themeClasses: t
64
+ } = N(e), {
65
65
  colorClasses: r,
66
66
  colorStyles: o,
67
67
  variantClasses: u
68
- } = W(e), {
68
+ } = U(e), {
69
69
  densityClasses: d
70
- } = H(e), {
70
+ } = W(e), {
71
71
  roundedClasses: s
72
72
  } = q(e), {
73
73
  sizeClasses: i,
74
74
  sizeStyles: v
75
- } = fe(e);
76
- return f(() => a(e.tag, {
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
- }, n.value, r.value, d.value, s.value, i.value, u.value, e.class],
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: () => [t.default ? a(x, {
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: () => [t.default()]
96
- }) : e.image ? a(X, {
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, Q(!1, "v-avatar")]
104
+ }, null) : e.text, H(!1, "v-avatar")]
105
105
  })), {};
106
106
  }
107
- }), aa = g({
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
- ...N()
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: t
121
+ slots: n
122
122
  } = l;
123
- return f(() => {
124
- const n = !!(e.prependAvatar || e.prependIcon), r = !!(n || t.prepend), o = !!(e.appendAvatar || e.appendIcon), u = !!(o || t.append), d = !!(e.title != null || t.title), s = !!(e.subtitle != null || t.subtitle);
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
- }, [t.prepend ? a(x, {
131
+ }, [n.prepend ? a(_, {
132
132
  key: "prepend-defaults",
133
- disabled: !n,
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
- }, t.prepend) : a(B, null, [e.prependAvatar && a(M, {
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(Z, {
154
+ }, [d && a(Y, {
155
155
  key: "title"
156
156
  }, {
157
- default: () => [t.title?.() ?? e.title]
157
+ default: () => [n.title?.() ?? e.title]
158
158
  }), s && a(Ke, {
159
159
  key: "subtitle"
160
160
  }, {
161
- default: () => [t.subtitle?.() ?? e.subtitle]
162
- }), t.default?.()]), u && a("div", {
161
+ default: () => [n.subtitle?.() ?? e.subtitle]
162
+ }), n.default?.()]), u && a("div", {
163
163
  key: "append",
164
164
  class: "v-card-item__append"
165
- }, [t.append ? a(x, {
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
- }, t.append) : a(B, null, [e.appendIcon && a(_, {
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(M, {
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 = g({
189
+ }), na = f({
190
190
  opacity: [Number, String],
191
191
  ...y(),
192
- ...I()
193
- }, "VCardText"), G = m()({
192
+ ...x()
193
+ }, "VCardText"), Z = m()({
194
194
  name: "VCardText",
195
195
  props: na(),
196
196
  setup(e, l) {
197
197
  let {
198
- slots: t
198
+ slots: n
199
199
  } = l;
200
- return f(() => a(e.tag, {
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
- }, t)), {};
205
+ }, n)), {};
206
206
  }
207
- }), sa = g({
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
- ...N(),
229
+ ...T(),
230
+ ...fe(),
230
231
  ...be(),
231
232
  ...ke(),
232
233
  ...he(),
233
234
  ...Ce(),
235
+ ...j(),
234
236
  ...Ve(),
235
- ...J(),
236
- ...pe(),
237
- ...I(),
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: Se
245
+ Ripple: pe
246
246
  },
247
247
  props: sa(),
248
248
  setup(e, l) {
249
249
  let {
250
- attrs: t,
251
- slots: n
250
+ attrs: n,
251
+ slots: t
252
252
  } = l;
253
253
  const {
254
254
  themeClasses: r
255
- } = $(e), {
255
+ } = N(e), {
256
256
  borderClasses: o
257
- } = _e(e), {
257
+ } = Se(e), {
258
258
  colorClasses: u,
259
259
  colorStyles: d,
260
260
  variantClasses: s
261
- } = W(e), {
261
+ } = U(e), {
262
262
  densityClasses: i
263
- } = H(e), {
263
+ } = W(e), {
264
264
  dimensionStyles: v
265
- } = xe(e), {
265
+ } = _e(e), {
266
266
  elevationClasses: b
267
+ } = xe(e), {
268
+ loaderClasses: G
267
269
  } = Ie(e), {
268
- loaderClasses: K
270
+ locationStyles: K
269
271
  } = Ae(e), {
270
- locationStyles: ee
272
+ positionClasses: ee
271
273
  } = Pe(e), {
272
- positionClasses: ae
273
- } = Te(e), {
274
- roundedClasses: te
275
- } = q(e), V = Be(e, t), ne = h(() => e.link !== !1 && V.isLink.value), p = h(() => !e.disabled && e.link !== !1 && (e.link || V.isClickable.value));
276
- return f(() => {
277
- const se = ne.value ? "a" : e.tag, le = !!(n.title || e.title != null), ie = !!(n.subtitle || e.subtitle != null), de = le || ie, oe = !!(n.append || e.appendAvatar || e.appendIcon), ce = !!(n.prepend || e.prependAvatar || e.prependIcon), re = !!(n.image || e.image), ue = de || ce || oe, ve = !!(n.text || e.text != null);
278
- return Ne(a(se, {
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, K.value, ae.value, te.value, s.value, e.class],
285
- style: [d.value, v.value, ee.value, e.style],
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: () => [re && a("div", {
290
+ default: () => [ce && a("div", {
291
291
  key: "image",
292
292
  class: "v-card__image"
293
- }, [n.image ? a(x, {
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
- }, n.image) : a(X, {
302
+ }, t.image) : a(Q, {
303
303
  key: "image-img",
304
304
  cover: !0,
305
305
  src: e.image
306
- }, null)]), a($e, {
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: n.loader
312
- }), ue && a(ta, {
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: n.item,
322
- prepend: n.prepend,
323
- title: n.title,
324
- subtitle: n.subtitle,
325
- append: n.append
326
- }), ve && a(G, {
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: () => [n.text?.() ?? e.text]
330
- }), n.default?.(), n.actions && a(Y, null, {
331
- default: n.actions
332
- }), Q(p.value, "v-card")]
333
- }), [[we("ripple"), p.value && e.ripple]]);
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 = g({
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
- ...w()
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: t,
351
- slots: n
350
+ attrs: n,
351
+ slots: t
352
352
  } = l;
353
353
  const {
354
354
  themeClasses: r
355
- } = $(e), {
355
+ } = N(e), {
356
356
  textColorClasses: o,
357
357
  textColorStyles: u
358
- } = De(Le(e, "color")), d = h(() => {
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 f(() => {
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": !t.role || t.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
373
- role: `${t.role || "separator"}`
372
+ "aria-orientation": !n.role || n.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
373
+ role: `${n.role || "separator"}`
374
374
  }, null);
375
- return n.default ? a("div", {
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
- }, [n.default()]), s]) : s;
382
+ }, [t.default()]), s]) : s;
383
383
  }), {};
384
384
  }
385
- }), D = (e) => (qe("data-v-c9960f42"), e = e(), Qe(), e), oa = /* @__PURE__ */ D(() => /* @__PURE__ */ C(
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__ */ D(() => /* @__PURE__ */ C(
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__ */ D(() => /* @__PURE__ */ C(
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__ */ ze({
409
- for: {
410
- type: String,
411
- default: "eox-map"
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 = Oe(e, "modelValue"), t = e, n = Ee(!1), r = [
419
+ const l = ze(e, "modelValue"), n = e, t = Fe(!1), r = [
420
420
  {
421
421
  id: Symbol(),
422
- copyFn: async () => await T(u.value, n),
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 T(JSON.stringify(S(t?.for)), n),
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 T(o.value, n),
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] = F.value, v = "### <!--{ layers=", b = `zoom="${i}" center=[${[d, s]}] animationOptions={duration:500}}-->
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(S(t?.for))}' ${b}`;
440
+ return `${v}'${JSON.stringify(n.getLayers())}' ${b}`;
441
441
  }), u = h(() => {
442
- const [d, s, i] = F.value, v = '## Map Example <!--{as="eox-map" style="width: 100%; height: 500px;" layers=', b = `zoom="${i}" center=[${[d, s]}] }-->`;
443
- return `${v}'${JSON.stringify(S(t?.for))}' ${b}`;
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) => (A(), Fe(Xe, {
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(Z, { class: "bg-primary" }, {
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(G, { class: "py-5" }, {
459
+ a(Z, { class: "py-5" }, {
460
460
  default: c(() => [
461
461
  ca,
462
462
  C(
463
463
  "div",
464
464
  ra,
465
- R(P(S)(t.for)),
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
- n.value ? (A(), z("div", va, [
473
- a(_, {
472
+ t.value ? (I(), D("div", va, [
473
+ a(S, {
474
474
  color: "success",
475
475
  left: "",
476
- icon: [P(Me)]
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
- (A(), z(
493
- B,
492
+ (I(), D(
493
+ P,
494
494
  null,
495
- We(r, (i) => a(O, {
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": [P(He)]
501
+ "prepend-icon": [R(qe)]
502
502
  }, {
503
503
  default: c(() => [
504
- E(
505
- " copy as " + R(i.copyAs),
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(Y, null, {
529
+ a(X, null, {
530
530
  default: c(() => [
531
531
  a(Ze),
532
- a(O, {
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
- E(" Close ")
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__ */ Re(ya, [["__scopeId", "data-v-c9960f42"]]);
555
+ }, ha = /* @__PURE__ */ De(ya, [["__scopeId", "data-v-adee4f49"]]);
556
556
  export {
557
557
  ha as default
558
558
  };