@eodash/eodash 5.0.0-alpha.2.9 → 5.0.0-rc

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 (113) hide show
  1. package/README.md +1 -1
  2. package/core/client/App.vue +13 -1
  3. package/core/client/asWebComponent.js +13 -4
  4. package/core/client/components/DashboardLayout.vue +36 -14
  5. package/core/client/components/Loading.vue +6 -9
  6. package/core/client/components/MobileLayout.vue +16 -14
  7. package/core/client/composables/DefineEodash.js +14 -4
  8. package/core/client/composables/DefineTemplate.js +67 -0
  9. package/core/client/composables/DefineWidgets.js +3 -2
  10. package/core/client/composables/EodashMap.js +360 -0
  11. package/core/client/composables/EodashProcess.js +574 -0
  12. package/core/client/composables/index.js +136 -28
  13. package/core/client/eodash.js +395 -80
  14. package/core/client/eodashSTAC/EodashCollection.js +432 -0
  15. package/core/client/eodashSTAC/createLayers.js +315 -0
  16. package/core/client/eodashSTAC/helpers.js +375 -0
  17. package/core/client/eodashSTAC/triggers.js +43 -0
  18. package/core/client/plugins/axios.js +8 -0
  19. package/core/client/plugins/index.js +2 -1
  20. package/core/client/plugins/vuetify.js +2 -1
  21. package/core/client/store/actions.js +79 -0
  22. package/core/client/store/index.js +4 -18
  23. package/core/client/store/stac.js +99 -9
  24. package/core/client/store/states.js +37 -0
  25. package/core/client/{types.d.ts → types.ts} +66 -20
  26. package/core/client/utils/keys.js +2 -0
  27. package/core/client/utils/states.js +22 -0
  28. package/core/client/views/Dashboard.vue +22 -49
  29. package/core/client/vite-env.d.ts +2 -10
  30. package/dist/client/DashboardLayout-232tRmjz.js +84 -0
  31. package/dist/client/DynamicWebComponent-Cl4LqHU6.js +88 -0
  32. package/dist/client/EodashDatePicker-Pok6bZwU.js +306 -0
  33. package/dist/client/EodashItemFilter-16eMMjTV.js +151 -0
  34. package/dist/client/EodashLayerControl-De7IlCm_.js +120 -0
  35. package/dist/client/EodashLayoutSwitcher-C-3-jjn5.js +52 -0
  36. package/dist/client/EodashMap-CMvbfI6-.js +549 -0
  37. package/dist/client/EodashMapBtns-BeknGDtc.js +107 -0
  38. package/dist/client/EodashProcess-BwKAa9Ee.js +1476 -0
  39. package/dist/client/EodashStacInfo-_BfonNUG.js +85 -0
  40. package/dist/client/EodashTools-PD3XPYuR.js +103 -0
  41. package/dist/client/ExportState-DOrT7M15.js +644 -0
  42. package/dist/client/Footer-CCigxYBo.js +141 -0
  43. package/dist/client/Header-C2cdx4gb.js +437 -0
  44. package/dist/client/IframeWrapper-BgM9aU8f.js +28 -0
  45. package/dist/client/MobileLayout-BdiFjHg7.js +1207 -0
  46. package/dist/client/PopUp--_xn1Cms.js +410 -0
  47. package/dist/client/VImg-9xu2l99m.js +384 -0
  48. package/dist/client/VMain-BUs3kDTd.js +43 -0
  49. package/dist/client/VOverlay-D89omJis.js +1453 -0
  50. package/dist/client/VTooltip-CDu3bErh.js +86 -0
  51. package/dist/client/WidgetsContainer-aFG9yFT6.js +83 -0
  52. package/dist/client/asWebComponent-BRGyP_j5.js +11943 -0
  53. package/dist/client/{style.css → eo-dash.css} +2 -2
  54. package/dist/client/eo-dash.js +2 -6
  55. package/dist/client/forwardRefs-CYrR6bMw.js +245 -0
  56. package/dist/client/index-BZwk0V42.js +199 -0
  57. package/dist/client/ssrBoot-BP7SYRyC.js +22 -0
  58. package/dist/client/transition-DG9nRSW4.js +37 -0
  59. package/dist/node/cli.js +4 -4
  60. package/dist/node/types.d.ts +2 -0
  61. package/package.json +73 -38
  62. package/widgets/EodashDatePicker.vue +176 -134
  63. package/widgets/EodashItemFilter.vue +79 -38
  64. package/widgets/EodashLayerControl.vue +111 -0
  65. package/widgets/EodashLayoutSwitcher.vue +36 -0
  66. package/widgets/EodashMap.vue +108 -133
  67. package/widgets/EodashMapBtns.vue +62 -8
  68. package/widgets/EodashProcess.vue +143 -0
  69. package/widgets/EodashStacInfo.vue +82 -0
  70. package/widgets/EodashTools.vue +83 -0
  71. package/widgets/ExportState.vue +17 -13
  72. package/widgets/PopUp.vue +24 -2
  73. package/core/client/SuspensedDashboard.ce.vue +0 -105
  74. package/core/client/asWebComponent.d.ts +0 -23
  75. package/core/client/store/Actions.js +0 -14
  76. package/core/client/store/States.js +0 -16
  77. package/core/client/utils/eodashSTAC.js +0 -249
  78. package/core/client/utils/helpers.js +0 -38
  79. package/dist/client/DashboardLayout-D0ZF6V2S.js +0 -156
  80. package/dist/client/DynamicWebComponent-CPsMSBHi.js +0 -57
  81. package/dist/client/EodashDatePicker-CBQP7u2X.js +0 -252
  82. package/dist/client/EodashItemFilter-DL2ScI-5.js +0 -7671
  83. package/dist/client/EodashMap-CkKoQlmR.js +0 -86917
  84. package/dist/client/EodashMapBtns-yuO2QmiR.js +0 -36
  85. package/dist/client/ExportState-CCzOhppU.js +0 -558
  86. package/dist/client/Footer-BPAND0yG.js +0 -115
  87. package/dist/client/Header-DLhebNvG.js +0 -350
  88. package/dist/client/IframeWrapper-1GEMHlsW.js +0 -19
  89. package/dist/client/MobileLayout-mGkOYRhu.js +0 -945
  90. package/dist/client/PopUp-1d2bBFjw.js +0 -300
  91. package/dist/client/VImg-DxHcztfM.js +0 -291
  92. package/dist/client/VMain-BLX5vRRn.js +0 -39
  93. package/dist/client/VOverlay-CvrYEmLu.js +0 -967
  94. package/dist/client/WidgetsContainer-CmYjvGm7.js +0 -129
  95. package/dist/client/_commonjsHelpers-DaMA6jEr.js +0 -8
  96. package/dist/client/asWebComponent-B91uK0U7.js +0 -20361
  97. package/dist/client/basedecoder-DHcBySSe-BmCFNFnw.js +0 -88
  98. package/dist/client/decoder-CP4lv0Kb-B6yqkcfC.js +0 -10
  99. package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +0 -10
  100. package/dist/client/eodashSTAC-DBjqe_Ho.js +0 -2788
  101. package/dist/client/eox-stacinfo-l7ALSV90.js +0 -13969
  102. package/dist/client/forwardRefs-BJJiadQP.js +0 -185
  103. package/dist/client/index-Q-bHLjxx.js +0 -153
  104. package/dist/client/jpeg-BAgeD1d3-oeHbFPUL.js +0 -514
  105. package/dist/client/lerc-DzVumYtB-P-KXC0TO.js +0 -1027
  106. package/dist/client/lzw-LAGDNbSC-DkP96qO9.js +0 -84
  107. package/dist/client/packbits-BlDR4Kj5-C66n1-zr.js +0 -24
  108. package/dist/client/pako.esm-CB1uQYY0-DB0PYm1P.js +0 -1081
  109. package/dist/client/raw-CMGvRjfu-BRi6E4i1.js +0 -9
  110. package/dist/client/ssrBoot-yo11mybw.js +0 -17
  111. package/dist/client/transition-CSJhuYGK.js +0 -34
  112. package/dist/client/webfontloader-qotgY98I.js +0 -435
  113. package/dist/client/webimage-BM_pbLN3-L2cGWK5l.js +0 -19
@@ -1,36 +0,0 @@
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-B91uK0U7.js";
2
- import m from "./ExportState-CCzOhppU.js";
3
- const i = "Export Map", _ = `<h2>
4
- code example
5
- </h2>`, v = {
6
- __name: "EodashMapBtns",
7
- setup(x) {
8
- const e = s(!1), o = s(null);
9
- return r(o), (M, a) => (d(), p(
10
- "div",
11
- {
12
- ref_key: "rootRef",
13
- ref: o,
14
- class: "d-flex align-end justify-end my-3 pa-2"
15
- },
16
- [
17
- n(u, {
18
- class: "map-btn",
19
- icon: [c(f)],
20
- onClick: a[0] || (a[0] = (t) => e.value = !e.value)
21
- }, null, 8, ["icon"]),
22
- n(m, {
23
- header: i,
24
- code: _,
25
- modelValue: e.value,
26
- "onUpdate:modelValue": a[1] || (a[1] = (t) => e.value = t)
27
- }, null, 8, ["modelValue"])
28
- ],
29
- 512
30
- /* NEED_PATCH */
31
- ));
32
- }
33
- }, B = /* @__PURE__ */ l(v, [["__scopeId", "data-v-bd1fc195"]]);
34
- export {
35
- B as default
36
- };
@@ -1,558 +0,0 @@
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-B91uK0U7.js";
2
- import Xe from "./PopUp-1d2bBFjw.js";
3
- import { a as Ye } from "./index-Q-bHLjxx.js";
4
- import { V as Q } from "./VImg-DxHcztfM.js";
5
- const Ze = M("v-spacer", "div", "VSpacer"), X = m()({
6
- name: "VCardActions",
7
- props: y(),
8
- setup(e, l) {
9
- let {
10
- slots: n
11
- } = l;
12
- return ve({
13
- VBtn: {
14
- slim: !0,
15
- variant: "text"
16
- }
17
- }), g(() => a("div", {
18
- class: ["v-card-actions", e.class],
19
- style: e.style
20
- }, [n.default?.()])), {};
21
- }
22
- }), Ge = f({
23
- opacity: [Number, String],
24
- ...y(),
25
- ...x()
26
- }, "VCardSubtitle"), Ke = m()({
27
- name: "VCardSubtitle",
28
- props: Ge(),
29
- setup(e, l) {
30
- let {
31
- slots: n
32
- } = l;
33
- return g(() => a(e.tag, {
34
- class: ["v-card-subtitle", e.class],
35
- style: [{
36
- "--v-card-subtitle-opacity": e.opacity
37
- }, e.style]
38
- }, n)), {};
39
- }
40
- }), Y = M("v-card-title"), ea = f({
41
- start: Boolean,
42
- end: Boolean,
43
- icon: k,
44
- image: String,
45
- text: String,
46
- ...y(),
47
- ...T(),
48
- ...j(),
49
- ...me(),
50
- ...x(),
51
- ...B(),
52
- ...J({
53
- variant: "flat"
54
- })
55
- }, "VAvatar"), E = m()({
56
- name: "VAvatar",
57
- props: ea(),
58
- setup(e, l) {
59
- let {
60
- slots: n
61
- } = l;
62
- const {
63
- themeClasses: t
64
- } = N(e), {
65
- colorClasses: r,
66
- colorStyles: o,
67
- variantClasses: u
68
- } = U(e), {
69
- densityClasses: d
70
- } = W(e), {
71
- roundedClasses: s
72
- } = q(e), {
73
- sizeClasses: i,
74
- sizeStyles: v
75
- } = ye(e);
76
- return g(() => a(e.tag, {
77
- class: ["v-avatar", {
78
- "v-avatar--start": e.start,
79
- "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]
82
- }, {
83
- default: () => [n.default ? a(_, {
84
- key: "content-defaults",
85
- defaults: {
86
- VImg: {
87
- cover: !0,
88
- image: e.image
89
- },
90
- VIcon: {
91
- icon: e.icon
92
- }
93
- }
94
- }, {
95
- default: () => [n.default()]
96
- }) : e.image ? a(Q, {
97
- key: "image",
98
- src: e.image,
99
- alt: "",
100
- cover: !0
101
- }, null) : e.icon ? a(S, {
102
- key: "icon",
103
- icon: e.icon
104
- }, null) : e.text, H(!1, "v-avatar")]
105
- })), {};
106
- }
107
- }), aa = f({
108
- appendAvatar: String,
109
- appendIcon: k,
110
- prependAvatar: String,
111
- prependIcon: k,
112
- subtitle: [String, Number],
113
- title: [String, Number],
114
- ...y(),
115
- ...T()
116
- }, "VCardItem"), ta = m()({
117
- name: "VCardItem",
118
- props: aa(),
119
- setup(e, l) {
120
- let {
121
- slots: n
122
- } = l;
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
- return a("div", {
126
- class: ["v-card-item", e.class],
127
- style: e.style
128
- }, [r && a("div", {
129
- key: "prepend",
130
- class: "v-card-item__prepend"
131
- }, [n.prepend ? a(_, {
132
- key: "prepend-defaults",
133
- disabled: !t,
134
- defaults: {
135
- VAvatar: {
136
- density: e.density,
137
- image: e.prependAvatar
138
- },
139
- VIcon: {
140
- density: e.density,
141
- icon: e.prependIcon
142
- }
143
- }
144
- }, n.prepend) : a(P, null, [e.prependAvatar && a(E, {
145
- key: "prepend-avatar",
146
- density: e.density,
147
- image: e.prependAvatar
148
- }, null), e.prependIcon && a(S, {
149
- key: "prepend-icon",
150
- density: e.density,
151
- icon: e.prependIcon
152
- }, null)])]), a("div", {
153
- class: "v-card-item__content"
154
- }, [d && a(Y, {
155
- key: "title"
156
- }, {
157
- default: () => [n.title?.() ?? e.title]
158
- }), s && a(Ke, {
159
- key: "subtitle"
160
- }, {
161
- default: () => [n.subtitle?.() ?? e.subtitle]
162
- }), n.default?.()]), u && a("div", {
163
- key: "append",
164
- class: "v-card-item__append"
165
- }, [n.append ? a(_, {
166
- key: "append-defaults",
167
- disabled: !o,
168
- defaults: {
169
- VAvatar: {
170
- density: e.density,
171
- image: e.appendAvatar
172
- },
173
- VIcon: {
174
- density: e.density,
175
- icon: e.appendIcon
176
- }
177
- }
178
- }, n.append) : a(P, null, [e.appendIcon && a(S, {
179
- key: "append-icon",
180
- density: e.density,
181
- icon: e.appendIcon
182
- }, null), e.appendAvatar && a(E, {
183
- key: "append-avatar",
184
- density: e.density,
185
- image: e.appendAvatar
186
- }, null)])])]);
187
- }), {};
188
- }
189
- }), na = f({
190
- opacity: [Number, String],
191
- ...y(),
192
- ...x()
193
- }, "VCardText"), Z = m()({
194
- name: "VCardText",
195
- props: na(),
196
- setup(e, l) {
197
- let {
198
- slots: n
199
- } = l;
200
- return g(() => a(e.tag, {
201
- class: ["v-card-text", e.class],
202
- style: [{
203
- "--v-card-text-opacity": e.opacity
204
- }, e.style]
205
- }, n)), {};
206
- }
207
- }), sa = f({
208
- appendAvatar: String,
209
- appendIcon: k,
210
- disabled: Boolean,
211
- flat: Boolean,
212
- hover: Boolean,
213
- image: String,
214
- link: {
215
- type: Boolean,
216
- default: void 0
217
- },
218
- prependAvatar: String,
219
- prependIcon: k,
220
- ripple: {
221
- type: [Boolean, Object],
222
- default: !0
223
- },
224
- subtitle: [String, Number],
225
- text: [String, Number],
226
- title: [String, Number],
227
- ...ge(),
228
- ...y(),
229
- ...T(),
230
- ...fe(),
231
- ...be(),
232
- ...ke(),
233
- ...he(),
234
- ...Ce(),
235
- ...j(),
236
- ...Ve(),
237
- ...x(),
238
- ...B(),
239
- ...J({
240
- variant: "elevated"
241
- })
242
- }, "VCard"), la = m()({
243
- name: "VCard",
244
- directives: {
245
- Ripple: pe
246
- },
247
- props: sa(),
248
- setup(e, l) {
249
- let {
250
- attrs: n,
251
- slots: t
252
- } = l;
253
- const {
254
- themeClasses: r
255
- } = N(e), {
256
- borderClasses: o
257
- } = Se(e), {
258
- colorClasses: u,
259
- colorStyles: d,
260
- variantClasses: s
261
- } = U(e), {
262
- densityClasses: i
263
- } = W(e), {
264
- dimensionStyles: v
265
- } = _e(e), {
266
- elevationClasses: b
267
- } = xe(e), {
268
- loaderClasses: G
269
- } = Ie(e), {
270
- locationStyles: K
271
- } = Ae(e), {
272
- positionClasses: ee
273
- } = 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));
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
- class: ["v-card", {
280
- "v-card--disabled": e.disabled,
281
- "v-card--flat": e.flat,
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, G.value, ee.value, ae.value, s.value, e.class],
285
- style: [d.value, v.value, K.value, e.style],
286
- href: V.href.value,
287
- onClick: p.value && V.navigate,
288
- tabindex: e.disabled ? -1 : void 0
289
- }, {
290
- default: () => [ce && a("div", {
291
- key: "image",
292
- class: "v-card__image"
293
- }, [t.image ? a(_, {
294
- key: "image-defaults",
295
- disabled: !e.image,
296
- defaults: {
297
- VImg: {
298
- cover: !0,
299
- src: e.image
300
- }
301
- }
302
- }, t.image) : a(Q, {
303
- key: "image-img",
304
- cover: !0,
305
- src: e.image
306
- }, null)]), a(we, {
307
- name: "v-card",
308
- active: !!e.loading,
309
- color: typeof e.loading == "boolean" ? void 0 : e.loading
310
- }, {
311
- default: t.loader
312
- }), re && a(ta, {
313
- key: "item",
314
- prependAvatar: e.prependAvatar,
315
- prependIcon: e.prependIcon,
316
- title: e.title,
317
- subtitle: e.subtitle,
318
- appendAvatar: e.appendAvatar,
319
- appendIcon: e.appendIcon
320
- }, {
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
- key: "text"
328
- }, {
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
- }), {};
335
- }
336
- }), ia = f({
337
- color: String,
338
- inset: Boolean,
339
- length: [Number, String],
340
- opacity: [Number, String],
341
- thickness: [Number, String],
342
- vertical: Boolean,
343
- ...y(),
344
- ...B()
345
- }, "VDivider"), da = m()({
346
- name: "VDivider",
347
- props: ia(),
348
- setup(e, l) {
349
- let {
350
- attrs: n,
351
- slots: t
352
- } = l;
353
- const {
354
- themeClasses: r
355
- } = N(e), {
356
- textColorClasses: o,
357
- textColorStyles: u
358
- } = Le($e(e, "color")), d = h(() => {
359
- const s = {};
360
- return e.length && (s[e.vertical ? "height" : "width"] = L(e.length)), e.thickness && (s[e.vertical ? "borderRightWidth" : "borderTopWidth"] = L(e.thickness)), s;
361
- });
362
- return g(() => {
363
- const s = a("hr", {
364
- class: [{
365
- "v-divider": !0,
366
- "v-divider--inset": e.inset,
367
- "v-divider--vertical": e.vertical
368
- }, r.value, o.value, e.class],
369
- style: [d.value, u.value, {
370
- "--v-border-opacity": e.opacity
371
- }, e.style],
372
- "aria-orientation": !n.role || n.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
373
- role: `${n.role || "separator"}`
374
- }, null);
375
- return t.default ? a("div", {
376
- class: ["v-divider__wrapper", {
377
- "v-divider__wrapper--vertical": e.vertical,
378
- "v-divider__wrapper--inset": e.inset
379
- }]
380
- }, [s, a("div", {
381
- class: "v-divider__content"
382
- }, [t.default()]), s]) : s;
383
- }), {};
384
- }
385
- }), w = (e) => (He("data-v-adee4f49"), e = e(), Qe(), e), oa = /* @__PURE__ */ w(() => /* @__PURE__ */ C(
386
- "h5",
387
- { class: "text-h5" },
388
- "Storytelling map configuration",
389
- -1
390
- /* HOISTED */
391
- )), ca = /* @__PURE__ */ w(() => /* @__PURE__ */ C(
392
- "p",
393
- { class: "text-body-2" },
394
- " Copy and paste this code into the map layers field of the storytelling editor: ",
395
- -1
396
- /* HOISTED */
397
- )), ra = { class: "pa-3 code-block" }, ua = { style: { position: "absolute", bottom: "15px" } }, va = {
398
- key: 0,
399
- class: "text-success mr-3"
400
- }, ma = /* @__PURE__ */ w(() => /* @__PURE__ */ C(
401
- "small",
402
- null,
403
- "copied!",
404
- -1
405
- /* HOISTED */
406
- )), ya = {
407
- __name: "ExportState",
408
- props: /* @__PURE__ */ Re({
409
- getLayers: {
410
- type: Function,
411
- default: Ee
412
- }
413
- }, {
414
- modelValue: { type: Boolean, required: !0, default: !1 },
415
- modelModifiers: {}
416
- }),
417
- emits: ["update:modelValue"],
418
- setup(e) {
419
- const l = ze(e, "modelValue"), n = e, t = Fe(!1), r = [
420
- {
421
- id: Symbol(),
422
- copyFn: async () => await A(u.value, t),
423
- copyAs: "simple map"
424
- },
425
- {
426
- id: Symbol(),
427
- copyFn: async () => await A(JSON.stringify(n.getLayers()), t),
428
- copyAs: "layers configuration"
429
- },
430
- {
431
- id: Symbol(),
432
- copyFn: async () => await A(o.value, t),
433
- copyAs: "map tour section"
434
- }
435
- ], o = h(() => {
436
- const [d, s, i] = O.value, v = "### <!--{ layers=", b = `zoom="${i}" center=[${[d, s]}] animationOptions={duration:500}}-->
437
- #### Tour step title
438
- Text describing the current step of the tour and why it is interesting what the map shows currently
439
- `;
440
- return `${v}'${JSON.stringify(n.getLayers())}' ${b}`;
441
- }), u = h(() => {
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
- });
445
- return (d, s) => (I(), Oe(Xe, {
446
- modelValue: l.value,
447
- "onUpdate:modelValue": s[1] || (s[1] = (i) => l.value = i)
448
- }, {
449
- default: c(() => [
450
- a(la, null, {
451
- default: c(() => [
452
- a(Y, { class: "bg-primary" }, {
453
- default: c(() => [
454
- oa
455
- ]),
456
- _: 1
457
- /* STABLE */
458
- }),
459
- a(Z, { class: "py-5" }, {
460
- default: c(() => [
461
- ca,
462
- C(
463
- "div",
464
- ra,
465
- $(e.getLayers()),
466
- 1
467
- /* TEXT */
468
- ),
469
- C("div", ua, [
470
- a(Ye, null, {
471
- default: c(() => [
472
- t.value ? (I(), D("div", va, [
473
- a(S, {
474
- color: "success",
475
- left: "",
476
- icon: [R(Me)]
477
- }, null, 8, ["icon"]),
478
- ma
479
- ])) : je("v-if", !0)
480
- ]),
481
- _: 1
482
- /* STABLE */
483
- })
484
- ]),
485
- a(Je, { class: "d-flex pt-3 justify-end" }, {
486
- default: c(() => [
487
- a(Ue, {
488
- cols: "6",
489
- class: "flex-column align-center text-end"
490
- }, {
491
- default: c(() => [
492
- (I(), D(
493
- P,
494
- null,
495
- We(r, (i) => a(z, {
496
- class: "text-body-2",
497
- onClick: i.copyFn,
498
- key: i.id,
499
- small: "",
500
- variant: "text",
501
- "prepend-icon": [R(qe)]
502
- }, {
503
- default: c(() => [
504
- F(
505
- " copy as " + $(i.copyAs),
506
- 1
507
- /* TEXT */
508
- )
509
- ]),
510
- _: 2
511
- /* DYNAMIC */
512
- }, 1032, ["onClick", "prepend-icon"])),
513
- 64
514
- /* STABLE_FRAGMENT */
515
- ))
516
- ]),
517
- _: 1
518
- /* STABLE */
519
- })
520
- ]),
521
- _: 1
522
- /* STABLE */
523
- })
524
- ]),
525
- _: 1
526
- /* STABLE */
527
- }),
528
- a(da),
529
- a(X, null, {
530
- default: c(() => [
531
- a(Ze),
532
- a(z, {
533
- variant: "text",
534
- onClick: s[0] || (s[0] = (i) => l.value = !l.value)
535
- }, {
536
- default: c(() => [
537
- F(" Close ")
538
- ]),
539
- _: 1
540
- /* STABLE */
541
- })
542
- ]),
543
- _: 1
544
- /* STABLE */
545
- })
546
- ]),
547
- _: 1
548
- /* STABLE */
549
- })
550
- ]),
551
- _: 1
552
- /* STABLE */
553
- }, 8, ["modelValue"]));
554
- }
555
- }, ha = /* @__PURE__ */ De(ya, [["__scopeId", "data-v-adee4f49"]]);
556
- export {
557
- ha as default
558
- };
@@ -1,115 +0,0 @@
1
- import { p as y, ae as x, e as w, af as k, ao as b, ag as C, f as I, h as S, g as R, i as B, Q as P, R as f, ah as z, ai as F, aj as M, s as V, J as T, c as e, ar as X, a as Z, b as j, C as L, _ as N, r as D, x as H, W as E, H as $, $ as A, a0 as J, a1 as K, a9 as t, aa as O, a3 as n, a8 as Q, at as U, au as W } from "./asWebComponent-B91uK0U7.js";
2
- const q = y({
3
- app: Boolean,
4
- color: String,
5
- height: {
6
- type: [Number, String],
7
- default: "auto"
8
- },
9
- ...x(),
10
- ...w(),
11
- ...k(),
12
- ...b(),
13
- ...C(),
14
- ...I({
15
- tag: "footer"
16
- }),
17
- ...S()
18
- }, "VFooter"), G = R()({
19
- name: "VFooter",
20
- props: q(),
21
- setup(l, a) {
22
- let {
23
- slots: o
24
- } = a;
25
- const {
26
- themeClasses: s
27
- } = B(l), {
28
- backgroundColorClasses: c,
29
- backgroundColorStyles: r
30
- } = P(f(l, "color")), {
31
- borderClasses: i
32
- } = z(l), {
33
- elevationClasses: g
34
- } = F(l), {
35
- roundedClasses: p
36
- } = M(l), d = V(32), {
37
- resizeRef: m
38
- } = T((u) => {
39
- u.length && (d.value = u[0].target.clientHeight);
40
- }), h = e(() => l.height === "auto" ? d.value : parseInt(l.height, 10)), {
41
- layoutItemStyles: v,
42
- layoutIsReady: _
43
- } = X({
44
- id: l.name,
45
- order: e(() => parseInt(l.order, 10)),
46
- position: e(() => "bottom"),
47
- layoutSize: h,
48
- elementSize: e(() => l.height === "auto" ? void 0 : h.value),
49
- active: e(() => l.app),
50
- absolute: f(l, "absolute")
51
- });
52
- return Z(() => j(l.tag, {
53
- ref: m,
54
- class: ["v-footer", s.value, c.value, i.value, g.value, p.value, l.class],
55
- style: [r.value, l.app ? v.value : {
56
- height: L(l.height)
57
- }, l.style]
58
- }, o)), l.app ? _ : {};
59
- }
60
- }), Y = (l) => (U("data-v-7ea19f1b"), l = l(), W(), l), l0 = { class: "pt-0 footer-text" }, e0 = /* @__PURE__ */ Y(() => /* @__PURE__ */ t(
61
- "a",
62
- {
63
- href: "https://github.com/eodash/eodash",
64
- class: "text-white",
65
- target: "_blank"
66
- },
67
- "eodash",
68
- -1
69
- /* HOISTED */
70
- )), t0 = {
71
- href: "https://eox.at",
72
- target: "_blank",
73
- class: "text-white"
74
- }, a0 = ["src"], o0 = '<svg width="100%" height="100%" viewBox="0 0 355 85" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><g id="ink_ext_XXXXXX"><path id="path5076" d="M152.986,40.52l-0.75,-0.019l-0.737,-0.056l-0.725,-0.093l-0.713,-0.127l-0.7,-0.162l-0.7,-0.196l-0.675,-0.228l-0.65,-0.261l-0.65,-0.292l-0.625,-0.319l-0.612,-0.352l-0.588,-0.377l-0.562,-0.407l-0.55,-0.431l-0.538,-0.457l-0.5,-0.481l-0.487,-0.505l-0.45,-0.528l-0.438,-0.55l-0.4,-0.57l-0.375,-0.59l-0.35,-0.609l-0.325,-0.627l-0.287,-0.645l-0.263,-0.66l-0.225,-0.676l-0.2,-0.69l-0.162,-0.704l-0.125,-0.717l-0.1,-0.728l-0.05,-0.739l-0.025,-0.748c0,-8.023 6.512,-14.532 14.537,-14.532c8.038,0 14.538,6.509 14.538,14.532c0,8.036 -6.5,14.544 -14.538,14.544Z" style="fill:none;"/><path id="path5078" d="M165.748,-0.002c-42.009,0 -76.06,18.985 -76.06,42.402c0,13.268 10.921,25.102 28.021,32.875c-8.081,-5.487 -13.403,-12.973 -14.584,-21.859c-2.685,-20.186 16.83,-40.82 45.148,-49.615c-14.687,6.665 -24.923,21.427 -24.923,38.599c0,23.218 18.648,42.046 41.773,42.383c-0.037,0.005 -0.087,0.015 -0.137,0.02c0.263,0 0.512,0.009 0.762,0.009c42.013,0 76.076,-18.984 76.076,-42.412c0,-13.261 -10.937,-25.097 -28.037,-32.871l0.75,0.522l0.736,0.531l0.713,0.543l0.7,0.555l0.687,0.566l0.664,0.578l0.649,0.588l0.625,0.6l0.613,0.609l0.588,0.621l0.574,0.631l0.562,0.643l0.538,0.652l0.513,0.662l0.5,0.672l0.475,0.684l0.449,0.693l0.438,0.703l0.425,0.713l0.387,0.723l0.375,0.73l0.352,0.74l0.336,0.75l0.3,0.76l0.287,0.77l0.264,0.777l0.25,0.787l0.211,0.795l0.188,0.805l0.175,0.812l0.151,0.82l0.125,0.831c2.675,20.19 -16.838,40.825 -45.151,49.619c14.688,-6.665 24.926,-21.426 24.926,-38.614c0,-23.202 -18.65,-42.026 -41.775,-42.367c0.05,-0.005 0.1,-0.015 0.15,-0.025c-0.262,0 -0.526,-0.01 -0.789,-0.01Zm-13.248,11.314c7.817,0 14.25,6.433 14.25,14.25c0,0.001 0,0.001 0,0.001c0,7.817 -6.433,14.249 -14.25,14.249c-7.817,0 -14.25,-6.432 -14.25,-14.249c0,-0.001 0,-0.001 0,-0.001c0,-7.817 6.433,-14.25 14.25,-14.25Z" style="fill:#fff;fill-rule:nonzero;"/><path id="path5080" d="M213.786,9.529l0.75,0.521l0.738,0.532l0.712,0.544l0.7,0.555l0.688,0.566l0.662,0.577l0.65,0.588l0.625,0.6l0.613,0.61l0.587,0.62l0.575,0.631l0.563,0.643l0.537,0.652l0.513,0.663l0.5,0.672l0.475,0.684l0.45,0.692l0.437,0.703l0.425,0.712l0.388,0.723l0.375,0.731l0.35,0.741l0.337,0.75l0.3,0.76l0.288,0.769l0.262,0.777l0.25,0.786l0.213,0.797l0.187,0.804l0.175,0.812l0.15,0.821l0.125,0.83c2.675,20.19 -16.837,40.825 -45.15,49.619c14.688,-6.665 24.925,-21.426 24.925,-38.614c0,-23.202 -18.65,-42.025 -41.775,-42.367c0.05,-0.005 0.1,-0.015 0.15,-0.025c-0.262,0 -0.525,-0.01 -0.787,-0.01c-42.01,0 -76.062,18.985 -76.062,42.402c0,13.268 10.922,25.103 28.022,32.876c-8.081,-5.487 -13.403,-12.973 -14.584,-21.859c-2.685,-20.187 16.831,-40.82 45.149,-49.615c-14.688,6.665 -24.925,21.426 -24.925,38.598c0,23.218 18.65,42.046 41.775,42.383c-0.038,0.005 -0.088,0.015 -0.138,0.02c0.263,0 0.513,0.01 0.763,0.01c42.012,-0.001 76.075,-18.985 76.075,-42.413c0,-13.261 -10.938,-25.097 -28.038,-32.871Z" style="fill:none;"/><path id="path5082" d="M354.323,82.586l-41.999,-42.002l38.524,-38.515l-29.913,0l-23.562,23.559l-23.563,-23.559l-29.924,0l38.525,38.515l-42,42.002l29.913,0l27.049,-27.046l27.05,27.046l29.9,0" style="fill:#fff;fill-rule:nonzero;"/><path id="path5084" d="M354.323,82.586l-41.999,-42.002l38.524,-38.515l-29.913,0l-23.562,23.559l-23.563,-23.559l-29.924,0l38.525,38.515l-42,42.002l29.913,0l27.049,-27.046l27.05,27.046l29.9,0Z" style="fill:none;"/><path id="path5086" d="M0,2.069l75.033,0l0,16.489l-51.629,0l0,14.931l40.258,0l0,16.495l-40.258,0l0,16.05l53.124,0l0,16.488l-76.528,0l0,-80.453" style="fill:#fff;fill-rule:nonzero;"/><path id="path5088" d="M0,2.069l75.033,0l0,16.489l-51.629,0l0,14.931l40.258,0l0,16.495l-40.258,0l0,16.05l53.124,0l0,16.488l-76.528,0l0,-80.453Z" style="fill:none;"/></g></svg>', s0 = {
75
- __name: "Footer",
76
- setup(l) {
77
- const a = D(null), o = (
78
- /** @type {import("@/types").Eodash} */
79
- H(E)
80
- ), { mdAndDown: s } = $(), c = window.btoa(o0);
81
- return (r, i) => (A(), J(G, {
82
- ref_key: "footer",
83
- ref: a,
84
- height: n(s) ? "48px" : "auto",
85
- color: "secondary",
86
- app: "",
87
- class: "d-flex justify-space-between"
88
- }, {
89
- default: K(() => [
90
- t(
91
- "p",
92
- l0,
93
- O(n(o).brand.footerText ?? ""),
94
- 1
95
- /* TEXT */
96
- ),
97
- t("div", null, [
98
- e0,
99
- Q(" by "),
100
- t("a", t0, [
101
- t("img", {
102
- src: `data:image/svg+xml;base64,${n(c)}`,
103
- height: "11px"
104
- }, null, 8, a0)
105
- ])
106
- ])
107
- ]),
108
- _: 1
109
- /* STABLE */
110
- }, 8, ["height"]));
111
- }
112
- }, n0 = /* @__PURE__ */ N(s0, [["__scopeId", "data-v-7ea19f1b"]]);
113
- export {
114
- n0 as default
115
- };