@eodash/eodash 5.0.0-rc.3 → 5.1.0

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 (155) hide show
  1. package/README.md +1 -0
  2. package/core/client/App.vue +8 -2
  3. package/core/client/asWebComponent.js +5 -5
  4. package/core/client/components/DashboardLayout.vue +42 -25
  5. package/core/client/components/EodashOverlay.vue +1 -1
  6. package/core/client/components/ErrorAlert.vue +2 -2
  7. package/core/client/components/Footer.vue +4 -4
  8. package/core/client/components/Header.vue +3 -3
  9. package/core/client/components/MobileLayout.vue +9 -10
  10. package/core/client/composables/DefineEodash.js +38 -43
  11. package/core/client/composables/DefineTemplate.js +4 -2
  12. package/core/client/composables/DefineWidgets.js +14 -8
  13. package/core/client/composables/index.js +273 -23
  14. package/core/client/eodashSTAC/EodashCollection.js +80 -47
  15. package/core/client/eodashSTAC/helpers.js +136 -27
  16. package/core/client/eodashSTAC/parquet.js +145 -0
  17. package/core/client/eodashSTAC/triggers.js +6 -3
  18. package/core/client/plugins/index.js +4 -3
  19. package/core/client/plugins/vuetify.js +3 -0
  20. package/core/client/store/actions.js +21 -4
  21. package/core/client/store/stac.js +93 -56
  22. package/core/client/store/states.js +15 -5
  23. package/core/client/types.ts +59 -43
  24. package/core/client/utils/index.js +79 -0
  25. package/core/client/utils/keys.js +2 -2
  26. package/core/client/utils/states.js +30 -5
  27. package/core/client/views/Dashboard.vue +36 -32
  28. package/core/client/vite-env.d.ts +7 -0
  29. package/dist/client/{DashboardLayout-t_PavJPO.js → DashboardLayout-ByVs1DrY.js} +23 -12
  30. package/dist/client/{DynamicWebComponent-y07rVJch.js → DynamicWebComponent-C3W7HSQm.js} +1 -1
  31. package/dist/client/{EodashDatePicker-CcOfyzGD.js → EodashDatePicker-BIAf1sMT.js} +59 -32
  32. package/dist/client/{EodashItemFilter-B9HCvIMi.js → EodashItemFilter-DPznh8UB.js} +20 -10
  33. package/dist/client/{EodashLayerControl-KStn7Nb_.js → EodashLayerControl-Bhxjw4V2.js} +29 -16
  34. package/dist/client/EodashLayoutSwitcher-C5qTEffW.js +61 -0
  35. package/dist/client/EodashMapBtns-WoGq8MuV.js +173 -0
  36. package/dist/client/{EodashStacInfo-C_hDy6Pd.js → EodashStacInfo-CSvvF2jI.js} +3 -18
  37. package/dist/client/{EodashTools-BXflvRf8.js → EodashTools-Cv1SXQ5y.js} +13 -13
  38. package/dist/client/{ExportState-C0QRemK1.js → ExportState-D-iuwaad.js} +58 -52
  39. package/dist/client/{Footer-7VGyGUAs.js → Footer-CyF0zRAk.js} +15 -13
  40. package/dist/client/{Header-BQJnXHYq.js → Header-CgD8jDKU.js} +33 -28
  41. package/dist/client/{MobileLayout-b8nQ-Vyl.js → MobileLayout-EKQ_kpSh.js} +69 -60
  42. package/dist/client/{PopUp-DgNrh9Df.js → PopUp-BsYLvWch.js} +19 -10
  43. package/dist/client/ProcessList-C2xsLU2_.js +191 -0
  44. package/dist/client/{VImg-D4eT3IQ1.js → VImg-OHe8YTs2.js} +24 -24
  45. package/dist/client/{VMain-C3hN2-H3.js → VMain-PryTLU4a.js} +7 -7
  46. package/dist/client/{VOverlay-tAeNygaA.js → VOverlay-yUn7p-Uf.js} +64 -27
  47. package/dist/client/{VTooltip-B0Q3iHMZ.js → VTooltip-DZ0fjpB3.js} +13 -10
  48. package/dist/client/{WidgetsContainer-CtDHfCYf.js → WidgetsContainer-B9LBadcC.js} +1 -1
  49. package/dist/client/asWebComponent-By_7_JjS.js +19193 -0
  50. package/dist/client/async-DkSu_u2K.js +740 -0
  51. package/dist/client/eo-dash.js +1 -1
  52. package/dist/client/{forwardRefs-CIFAqXaZ.js → forwardRefs-BXxrv98s.js} +31 -4
  53. package/dist/client/handling-CgmFXkW6.js +1212 -0
  54. package/dist/client/helpers-Dy0Q13tP.js +4534 -0
  55. package/dist/client/{index-DvcUndod.js → index-BuhOHXKv.js} +2 -4
  56. package/dist/client/{index-BQ16n4Sk.js → index-Ch_HchK3.js} +39 -32
  57. package/dist/client/{index-Cv7HBz49.js → index-Dqj4tbx2.js} +2 -2
  58. package/dist/client/index-skjhlH8u.js +376 -0
  59. package/dist/client/{ssrBoot-BP7SYRyC.js → ssrBoot-Zgc_Ttvi.js} +2 -2
  60. package/dist/client/templates.js +850 -0
  61. package/dist/client/transition-C98Yn4Vo.js +40 -0
  62. package/dist/node/cli.js +16 -6
  63. package/dist/node/types.d.ts +1 -1
  64. package/dist/types/core/client/App.vue.d.ts +2 -2
  65. package/dist/types/core/client/asWebComponent.d.ts +1 -1
  66. package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +1 -3
  67. package/dist/types/core/client/components/Footer.vue.d.ts +1 -105
  68. package/dist/types/core/client/components/IframeWrapper.vue.d.ts +1 -1
  69. package/dist/types/core/client/components/MobileLayout.vue.d.ts +1 -324
  70. package/dist/types/core/client/composables/DefineEodash.d.ts +2 -2
  71. package/dist/types/core/client/composables/DefineTemplate.d.ts +1 -1
  72. package/dist/types/core/client/composables/DefineWidgets.d.ts +4 -4
  73. package/dist/types/core/client/composables/index.d.ts +24 -2
  74. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +9 -6
  75. package/dist/types/core/client/eodashSTAC/helpers.d.ts +20 -5
  76. package/dist/types/core/client/eodashSTAC/parquet.d.ts +2 -0
  77. package/dist/types/core/client/plugins/vuetify.d.ts +7 -4
  78. package/dist/types/core/client/store/actions.d.ts +3 -2
  79. package/dist/types/core/client/store/stac.d.ts +16 -13
  80. package/dist/types/core/client/store/states.d.ts +14 -4
  81. package/dist/types/core/client/types.d.ts +45 -30
  82. package/dist/types/core/client/utils/index.d.ts +2 -0
  83. package/dist/types/core/client/utils/keys.d.ts +4 -4
  84. package/dist/types/core/client/utils/states.d.ts +59 -47
  85. package/dist/types/core/client/views/Dashboard.vue.d.ts +2 -2
  86. package/dist/types/templates/baseConfig.d.ts +4 -0
  87. package/dist/types/templates/compare.d.ts +210 -0
  88. package/dist/types/templates/expert.d.ts +151 -0
  89. package/dist/types/templates/index.d.ts +6 -0
  90. package/dist/types/templates/light.d.ts +145 -0
  91. package/dist/types/widgets/EodashDatePicker.vue.d.ts +1 -458
  92. package/dist/types/widgets/EodashItemFilter.vue.d.ts +3 -3
  93. package/dist/types/widgets/EodashLayerControl.vue.d.ts +14 -7
  94. package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +1 -3
  95. package/dist/types/widgets/EodashMap/index.vue.d.ts +1 -4
  96. package/dist/types/widgets/EodashMapBtns.vue.d.ts +8 -8
  97. package/dist/types/widgets/EodashProcess/ProcessList.vue.d.ts +8 -1
  98. package/dist/types/widgets/EodashProcess/index.vue.d.ts +8 -4
  99. package/dist/types/widgets/EodashProcess/methods/async.d.ts +18 -18
  100. package/dist/types/widgets/EodashProcess/methods/composables.d.ts +3 -2
  101. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/chart/index.d.ts +1 -0
  102. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/chart/sentinelhub-endpoint.d.ts +6 -0
  103. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.d.ts +4 -0
  104. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/layers/eoxhub-workspaces-endpoint.d.ts +5 -0
  105. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/layers/index.d.ts +1 -0
  106. package/dist/types/widgets/EodashProcess/methods/handling.d.ts +12 -5
  107. package/dist/types/widgets/EodashProcess/methods/outputs.d.ts +72 -41
  108. package/dist/types/widgets/EodashProcess/methods/utils.d.ts +41 -21
  109. package/dist/types/widgets/EodashProcess/states.d.ts +11 -0
  110. package/dist/types/widgets/EodashProcess/types.d.ts +41 -0
  111. package/dist/types/widgets/EodashStacInfo.vue.d.ts +14 -14
  112. package/dist/types/widgets/EodashTools.vue.d.ts +3 -3
  113. package/dist/types/widgets/ExportState.vue.d.ts +1 -1
  114. package/dist/types/widgets/PopUp.vue.d.ts +11 -16
  115. package/dist/types/widgets/WidgetsContainer.vue.d.ts +3 -6
  116. package/package.json +53 -45
  117. package/templates/baseConfig.js +68 -0
  118. package/templates/compare.js +162 -0
  119. package/templates/expert.js +123 -0
  120. package/templates/index.js +8 -0
  121. package/templates/light.js +130 -0
  122. package/widgets/EodashDatePicker.vue +80 -31
  123. package/widgets/EodashItemFilter.vue +26 -11
  124. package/widgets/EodashLayerControl.vue +20 -11
  125. package/widgets/EodashLayoutSwitcher.vue +6 -3
  126. package/widgets/EodashMap/index.vue +3 -8
  127. package/widgets/EodashMap/methods/create-layers-config.js +4 -3
  128. package/widgets/EodashMap/methods/index.js +33 -23
  129. package/widgets/EodashMapBtns.vue +83 -41
  130. package/widgets/EodashProcess/ProcessList.vue +34 -10
  131. package/widgets/EodashProcess/index.vue +55 -20
  132. package/widgets/EodashProcess/methods/async.js +77 -59
  133. package/widgets/EodashProcess/methods/composables.js +21 -14
  134. package/widgets/EodashProcess/methods/custom-endpoints/chart/index.js +35 -0
  135. package/widgets/EodashProcess/methods/custom-endpoints/chart/sentinelhub-endpoint.js +275 -0
  136. package/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.js +116 -0
  137. package/widgets/EodashProcess/methods/custom-endpoints/layers/eoxhub-workspaces-endpoint.js +94 -0
  138. package/widgets/EodashProcess/methods/custom-endpoints/layers/index.js +33 -0
  139. package/widgets/EodashProcess/methods/handling.js +127 -80
  140. package/widgets/EodashProcess/methods/outputs.js +376 -125
  141. package/widgets/EodashProcess/methods/utils.js +398 -10
  142. package/widgets/EodashProcess/states.js +13 -0
  143. package/widgets/EodashProcess/types.ts +46 -0
  144. package/widgets/EodashStacInfo.vue +2 -17
  145. package/widgets/EodashTools.vue +13 -13
  146. package/widgets/WidgetsContainer.vue +1 -1
  147. package/core/client/eodash.js +0 -454
  148. package/dist/client/EodashLayoutSwitcher-DqeFO3RN.js +0 -52
  149. package/dist/client/EodashMapBtns-5BF27qJB.js +0 -131
  150. package/dist/client/ProcessList-C62SOVO6.js +0 -484
  151. package/dist/client/asWebComponent-BJ2NWunV.js +0 -12479
  152. package/dist/client/eo-dash.css +0 -5
  153. package/dist/client/index-Da5xXX6Q.js +0 -780
  154. package/dist/client/transition-Cdb4K27U.js +0 -37
  155. package/dist/types/core/client/eodash.d.ts +0 -8
@@ -0,0 +1,173 @@
1
+ import { computed, ref, createElementBlock, openBlock, withDirectives, createCommentVNode, createBlock, createVNode, unref, withCtx, triggerRef } from 'vue';
2
+ import { _ as _export_sfc, Y as useSTAcStore, r as useDisplay, Z as useTransparentPanel, V as VBtn } from './asWebComponent-By_7_JjS.js';
3
+ import { z as activeTemplate, K as availableMapProjection, L as changeMapProjection, y as poi, D as comparePoi, M as setActiveTemplate } from './helpers-Dy0Q13tP.js';
4
+ import { mdiCompareRemove, mdiCompare, mdiMapPlus, mdiEarthBox, mdiStarFourPointsCircleOutline } from '@mdi/js';
5
+ import ExportState from './ExportState-D-iuwaad.js';
6
+ import _sfc_main$1 from './PopUp-BsYLvWch.js';
7
+ import EodashItemFilter from './EodashItemFilter-DPznh8UB.js';
8
+ import { storeToRefs } from 'pinia';
9
+ import { l as loadPOiIndicator } from './handling-CgmFXkW6.js';
10
+ import { T as Tooltip } from './index-Dqj4tbx2.js';
11
+
12
+ const _style_0 = ".map-btn[data-v-771740c6]{width:36px;height:36px;border-radius:25%;margin:4px}";
13
+
14
+ const _sfc_main = {
15
+ __name: 'EodashMapBtns',
16
+ props: {
17
+ exportMap: {
18
+ type: Boolean,
19
+ default: true,
20
+ },
21
+ changeProjection: {
22
+ type: Boolean,
23
+ default: true,
24
+ },
25
+ compareIndicators: {
26
+ /** @type {import("vue").PropType<boolean | {compareTemplate?:string;fallbackTemplate?:string}> }*/
27
+ type: [Boolean, Object],
28
+ default: true,
29
+ },
30
+ backToPOIs: {
31
+ type: Boolean,
32
+ default: true,
33
+ },
34
+ },
35
+ setup(__props) {
36
+
37
+
38
+ const { selectedStac, selectedCompareStac } = storeToRefs(useSTAcStore());
39
+ const { resetSelectedCompareSTAC } = useSTAcStore();
40
+ const { smAndDown } = useDisplay();
41
+ const popupWidth = computed(() => (smAndDown.value ? "80%" : "70%"));
42
+ const popupHeight = computed(() => (smAndDown.value ? "90%" : "70%"));
43
+
44
+ const showMapState = ref(false);
45
+ const showCompareIndicators = ref(false);
46
+ const compareIcon = computed(() =>
47
+ activeTemplate.value ===
48
+ ((typeof __props.compareIndicators === "object" &&
49
+ __props.compareIndicators?.compareTemplate) ||
50
+ "compare")
51
+ ? mdiCompareRemove
52
+ : mdiCompare,
53
+ );
54
+
55
+ const onCompareClick = () => {
56
+ showCompareIndicators.value = !showCompareIndicators.value;
57
+
58
+ const fallbackTemplate =
59
+ (typeof __props.compareIndicators === "object" &&
60
+ __props.compareIndicators.fallbackTemplate) ||
61
+ "expert";
62
+ selectedCompareStac.value = null;
63
+ resetSelectedCompareSTAC();
64
+ setActiveTemplate(fallbackTemplate);
65
+ triggerRef(selectedStac);
66
+ };
67
+
68
+ /** @type {import("vue").Ref<HTMLDivElement|null>} */
69
+ const rootRef = ref(null);
70
+
71
+ const onSelectCompareIndicator = () => {
72
+ const compareTemplate =
73
+ (typeof __props.compareIndicators === "object" &&
74
+ __props.compareIndicators.compareTemplate) ||
75
+ "compare";
76
+ setActiveTemplate(compareTemplate);
77
+ showCompareIndicators.value = !showCompareIndicators.value;
78
+ };
79
+
80
+ useTransparentPanel(rootRef);
81
+
82
+ return (_ctx, _cache) => {
83
+
84
+
85
+
86
+ return (openBlock(), createElementBlock("div", {
87
+ ref_key: "rootRef",
88
+ ref: rootRef,
89
+ class: "d-flex flex-column align-end"
90
+ }, [
91
+ (__props.exportMap)
92
+ ? withDirectives((openBlock(), createBlock(VBtn, {
93
+ key: 0,
94
+ class: "map-btn",
95
+ icon: [unref(mdiMapPlus)],
96
+ size: "small",
97
+ onClick: _cache[0] || (_cache[0] = $event => (showMapState.value = !showMapState.value))
98
+ }, null, 8 /* PROPS */, ["icon"])), [
99
+ [Tooltip, 'Extract Storytelling configuration', "bottom"]
100
+ ])
101
+ : createCommentVNode("v-if", true),
102
+ (__props.exportMap)
103
+ ? (openBlock(), createBlock(ExportState, {
104
+ key: 1,
105
+ modelValue: showMapState.value,
106
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((showMapState).value = $event))
107
+ }, null, 8 /* PROPS */, ["modelValue"]))
108
+ : createCommentVNode("v-if", true),
109
+ (__props.changeProjection && !!unref(availableMapProjection))
110
+ ? withDirectives((openBlock(), createBlock(VBtn, {
111
+ key: 2,
112
+ class: "map-btn",
113
+ icon: [unref(mdiEarthBox)],
114
+ size: "small",
115
+ onClick: _cache[2] || (_cache[2] = $event => (unref(changeMapProjection)(unref(availableMapProjection))))
116
+ }, null, 8 /* PROPS */, ["icon"])), [
117
+ [Tooltip, 'Change map projection', "bottom"]
118
+ ])
119
+ : createCommentVNode("v-if", true),
120
+ (__props.compareIndicators)
121
+ ? withDirectives((openBlock(), createBlock(VBtn, {
122
+ key: 3,
123
+ class: "map-btn",
124
+ icon: [compareIcon.value],
125
+ size: "small",
126
+ onClick: onCompareClick
127
+ }, null, 8 /* PROPS */, ["icon"])), [
128
+ [Tooltip, 'Compare mode', "bottom"]
129
+ ])
130
+ : createCommentVNode("v-if", true),
131
+ (__props.backToPOIs && (unref(poi) || unref(comparePoi)))
132
+ ? withDirectives((openBlock(), createBlock(VBtn, {
133
+ key: 4,
134
+ class: "map-btn",
135
+ icon: [unref(mdiStarFourPointsCircleOutline)],
136
+ size: "small",
137
+ onClick: _cache[3] || (_cache[3] = $event => (unref(loadPOiIndicator)()))
138
+ }, null, 8 /* PROPS */, ["icon"])), [
139
+ [Tooltip, 'back to POIs', "bottom"]
140
+ ])
141
+ : createCommentVNode("v-if", true),
142
+ createVNode(_sfc_main$1, {
143
+ modelValue: showCompareIndicators.value,
144
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((showCompareIndicators).value = $event)),
145
+ maxWidth: popupWidth.value,
146
+ width: popupWidth.value,
147
+ "max-height": popupHeight.value,
148
+ height: popupHeight.value
149
+ }, {
150
+ default: withCtx(() => [
151
+ createVNode(EodashItemFilter, {
152
+ enableCompare: true,
153
+ enableHighlighting: false,
154
+ resultType: "cards",
155
+ style: {"--select-filter-max-items":"8"},
156
+ "filters-title": "Select an indicator to compare",
157
+ subTitleProperty: "subtitle",
158
+ imageProperty: "thumbnail",
159
+ aggregateResults: "collection_group",
160
+ "results-title": "",
161
+ onSelect: onSelectCompareIndicator
162
+ })
163
+ ]),
164
+ _: 1 /* STABLE */
165
+ }, 8 /* PROPS */, ["modelValue", "maxWidth", "width", "max-height", "height"])
166
+ ], 512 /* NEED_PATCH */))
167
+ }
168
+ }
169
+
170
+ };
171
+ const EodashMapBtns = /*#__PURE__*/_export_sfc(_sfc_main, [['styles',[_style_0]],['__scopeId',"data-v-771740c6"]]);
172
+
173
+ export { EodashMapBtns as default };
@@ -1,8 +1,8 @@
1
1
  import { createElementBlock, openBlock, createElementVNode, unref } from 'vue';
2
2
  import '@eox/stacinfo';
3
- import { ao as currentUrl } from './asWebComponent-BJ2NWunV.js';
3
+ import { w as currentUrl } from './helpers-Dy0Q13tP.js';
4
4
 
5
- const _hoisted_1 = { class: "flex-grow-1 fill-height overflow-auto" };
5
+ const _hoisted_1 = { class: "flex-grow-1" };
6
6
  const _hoisted_2 = [".for", ".allowHtml", ".body", ".featured", ".footer", ".styleOverride", ".header", ".subheader", ".tags"];
7
7
 
8
8
 
@@ -16,22 +16,7 @@ const _sfc_main = {
16
16
 
17
17
  styleOverride: {
18
18
  type: String,
19
- default: `
20
- .single-property {columns: 1!important;}
21
- h1 {margin:0px!important;font-size:16px!important;}
22
- header h1:after {
23
- content:' ';
24
- display:block;
25
- border:1px solid #d0d0d0;
26
- }
27
- h2 {font-size:15px}
28
- h3 {font-size:14px}
29
- summary {cursor: pointer;}
30
- #properties li > .value { font-weight: normal !important;}
31
- main {padding-bottom: 10px;}
32
- .footer-container {line-height:1;}
33
- .footer-container button {margin-top: -10px;}
34
- .footer-container small {font-size:10px;line-height:1;}`,
19
+ default: "",
35
20
  },
36
21
  header: {
37
22
  /** @type {import("vue").PropType<string[]>} */
@@ -1,11 +1,11 @@
1
1
  import { ref, computed, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, unref, withCtx, mergeProps } from 'vue';
2
- import _sfc_main$2 from './PopUp-DgNrh9Df.js';
3
- import _sfc_main$3 from './EodashItemFilter-B9HCvIMi.js';
4
- import _sfc_main$1 from './EodashLayoutSwitcher-DqeFO3RN.js';
5
- import { mdiViewDashboard, mdiPlus } from '@mdi/js';
6
- import { r as useDisplay, a1 as makePanelTransparent, V as VBtn } from './asWebComponent-BJ2NWunV.js';
2
+ import _sfc_main$2 from './PopUp-BsYLvWch.js';
3
+ import EodashItemFilter from './EodashItemFilter-DPznh8UB.js';
4
+ import _sfc_main$1 from './EodashLayoutSwitcher-C5qTEffW.js';
5
+ import { mdiViewDashboard, mdiPlusCircleOutline } from '@mdi/js';
6
+ import { r as useDisplay, Z as useTransparentPanel, V as VBtn } from './asWebComponent-By_7_JjS.js';
7
7
 
8
- const _hoisted_1 = { class: "d-flex flex-row justify-space-between pa-4 align-center" };
8
+ const _hoisted_1 = { class: "d-flex flex-row align-center fill-height justify-space-between pa-2 align-center" };
9
9
 
10
10
 
11
11
  const _sfc_main = {
@@ -43,12 +43,12 @@ const _sfc_main = {
43
43
  const dialog = ref(false);
44
44
 
45
45
  const { smAndDown } = useDisplay();
46
- const popupWidth = computed(() => (smAndDown.value ? "80%" : "1500px"));
47
- const popupHeight = computed(() => (smAndDown.value ? "90%" : "800px"));
46
+ const popupWidth = computed(() => (smAndDown.value ? "90%" : "70%"));
47
+ const popupHeight = computed(() => (smAndDown.value ? "90%" : "70%"));
48
48
 
49
49
  const props = __props;
50
50
  const rootEl = ref(null);
51
- makePanelTransparent(rootEl);
51
+ useTransparentPanel(rootEl);
52
52
 
53
53
  return (_ctx, _cache) => {
54
54
 
@@ -56,15 +56,15 @@ return (_ctx, _cache) => {
56
56
  return (openBlock(), createElementBlock("div", {
57
57
  ref_key: "rootEl",
58
58
  ref: rootEl,
59
- class: "d-flex flex-column fill-height overflow-auto bg-primary"
59
+ class: "d-flex flex-column fill-height bg-primary"
60
60
  }, [
61
61
  createElementVNode("div", _hoisted_1, [
62
62
  (props.showIndicatorsBtn)
63
63
  ? (openBlock(), createBlock(VBtn, {
64
64
  key: 0,
65
65
  color: "secondary",
66
- class: "text-none py-2 px-4",
67
- "append-icon": [unref(mdiPlus)],
66
+ class: "text-none",
67
+ "append-icon": [unref(mdiPlusCircleOutline)],
68
68
  text: __props.indicatorBtnText,
69
69
  onClick: _cache[0] || (_cache[0] = $event => (dialog.value = !dialog.value))
70
70
  }, null, 8 /* PROPS */, ["append-icon", "text"]))
@@ -86,7 +86,7 @@ return (_ctx, _cache) => {
86
86
  height: popupHeight.value
87
87
  }, {
88
88
  default: withCtx(() => [
89
- createVNode(_sfc_main$3, mergeProps({
89
+ createVNode(EodashItemFilter, mergeProps({
90
90
  class: "pa-4",
91
91
  "results-title": ""
92
92
  }, props.itemFilterConfig, {
@@ -1,13 +1,16 @@
1
- import { createVNode, Fragment, toDisplayString, computed, withDirectives, mergeProps, resolveDirective, toRef, mergeModels, useModel, ref, createBlock, openBlock, withCtx, createElementVNode, createTextVNode, unref, createElementBlock, createCommentVNode, renderList } from 'vue';
1
+ import { createElementVNode, normalizeStyle, normalizeClass, createVNode, Fragment, toDisplayString, withDirectives, mergeProps, computed, mergeModels, useModel, ref, createBlock, openBlock, withCtx, createTextVNode, unref, createElementBlock, createCommentVNode, renderList } from 'vue';
2
2
  import { mdiClipboardCheckOutline, mdiContentCopy } from '@mdi/js';
3
- import _sfc_main$1 from './PopUp-DgNrh9Df.js';
4
- import { ar as createSimpleFunctional, g as genericComponent, i as makeComponentProps, C as provideDefaults, a as useRender, p as propsFactory, h as makeTagProps, b as provideTheme, K as useBorder, as as useVariant, A as useDensity, M as useRounded, at as useSize, au as genOverlays, v as VIcon, N as VDefaultsProvider, av as makeVariantProps, f as makeThemeProps, aw as makeSizeProps, O as makeRoundedProps, D as makeDensityProps, Q as makeBorderProps, y as IconValue, ax as Ripple, H as useDimension, L as useElevation, ay as useLoader, az as useLocation, aA as usePosition, aB as useLink, aC as makeRouterProps, aD as makePositionProps, aE as makeLocationProps, aF as makeLoaderProps, P as makeElevationProps, J as makeDimensionProps, aG as LoaderSlot, u as useTextColor, q as convertToUnit, _ as _export_sfc, aH as removeUnneededProperties, aI as VRow, aJ as VCol, aK as copyToClipBoard, V as VBtn, al as getLayers, ad as mapPosition, af as availableMapProjection } from './asWebComponent-BJ2NWunV.js';
5
- import { a as VExpandTransition } from './index-DvcUndod.js';
6
- import { V as VImg } from './VImg-D4eT3IQ1.js';
3
+ import _sfc_main$1 from './PopUp-BsYLvWch.js';
4
+ import { aa as createSimpleFunctional, g as genericComponent, i as makeComponentProps, C as provideDefaults, a as useRender, p as propsFactory, h as makeTagProps, b as provideTheme, K as useBorder, ab as useVariant, A as useDensity, M as useRounded, ac as useSize, ad as genOverlays, v as VIcon, N as VDefaultsProvider, ae as makeVariantProps, f as makeThemeProps, af as makeSizeProps, O as makeRoundedProps, D as makeDensityProps, Q as makeBorderProps, y as IconValue, ag as Ripple, H as useDimension, L as useElevation, ah as useLoader, ai as useLocation, aj as usePosition, ak as useLink, al as makeRouterProps, am as makePositionProps, an as makeLocationProps, ao as makeLoaderProps, P as makeElevationProps, J as makeDimensionProps, ap as LoaderSlot, u as useTextColor, q as convertToUnit, _ as _export_sfc, aq as VRow, ar as VCol, as as copyToClipBoard, V as VBtn } from './asWebComponent-By_7_JjS.js';
5
+ import { O as removeUnneededProperties, l as getLayers, A as mapPosition, K as availableMapProjection } from './helpers-Dy0Q13tP.js';
6
+ import { a as VExpandTransition } from './index-BuhOHXKv.js';
7
+ import { V as VImg } from './VImg-OHe8YTs2.js';
7
8
 
8
9
  // Styles
9
10
  const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer');
10
11
 
12
+ const _style_0 = ".code-block[data-v-a263a06d]{background-color:#ddd;font-family:monospace;font-size:small;max-height:200px;overflow-y:auto}";
13
+
11
14
  const VCardActions = genericComponent()({
12
15
  name: 'VCardActions',
13
16
  props: makeComponentProps(),
@@ -21,9 +24,9 @@ const VCardActions = genericComponent()({
21
24
  variant: 'text'
22
25
  }
23
26
  });
24
- useRender(() => createVNode("div", {
25
- "class": ['v-card-actions', props.class],
26
- "style": props.style
27
+ useRender(() => createElementVNode("div", {
28
+ "class": normalizeClass(['v-card-actions', props.class]),
29
+ "style": normalizeStyle(props.style)
27
30
  }, [slots.default?.()]));
28
31
  return {};
29
32
  }
@@ -42,10 +45,10 @@ const VCardSubtitle = genericComponent()({
42
45
  slots
43
46
  } = _ref;
44
47
  useRender(() => createVNode(props.tag, {
45
- "class": ['v-card-subtitle', props.class],
46
- "style": [{
48
+ "class": normalizeClass(['v-card-subtitle', props.class]),
49
+ "style": normalizeStyle([{
47
50
  '--v-card-subtitle-opacity': props.opacity
48
- }, props.style]
51
+ }, props.style])
49
52
  }, slots));
50
53
  return {};
51
54
  }
@@ -100,11 +103,11 @@ const VAvatar = genericComponent()({
100
103
  sizeStyles
101
104
  } = useSize(props);
102
105
  useRender(() => createVNode(props.tag, {
103
- "class": ['v-avatar', {
106
+ "class": normalizeClass(['v-avatar', {
104
107
  'v-avatar--start': props.start,
105
108
  'v-avatar--end': props.end
106
- }, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
107
- "style": [colorStyles.value, sizeStyles.value, props.style]
109
+ }, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class]),
110
+ "style": normalizeStyle([colorStyles.value, sizeStyles.value, props.style])
108
111
  }, {
109
112
  default: () => [!slots.default ? props.image ? createVNode(VImg, {
110
113
  "key": "image",
@@ -163,13 +166,13 @@ const VCardItem = genericComponent()({
163
166
  const hasAppend = !!(hasAppendMedia || slots.append);
164
167
  const hasTitle = !!(props.title != null || slots.title);
165
168
  const hasSubtitle = !!(props.subtitle != null || slots.subtitle);
166
- return createVNode("div", {
167
- "class": ['v-card-item', props.class],
168
- "style": props.style
169
- }, [hasPrepend && createVNode("div", {
169
+ return createElementVNode("div", {
170
+ "class": normalizeClass(['v-card-item', props.class]),
171
+ "style": normalizeStyle(props.style)
172
+ }, [hasPrepend && createElementVNode("div", {
170
173
  "key": "prepend",
171
174
  "class": "v-card-item__prepend"
172
- }, [!slots.prepend ? createVNode(Fragment, null, [props.prependAvatar && createVNode(VAvatar, {
175
+ }, [!slots.prepend ? createElementVNode(Fragment, null, [props.prependAvatar && createVNode(VAvatar, {
173
176
  "key": "prepend-avatar",
174
177
  "density": props.density,
175
178
  "image": props.prependAvatar
@@ -190,7 +193,7 @@ const VCardItem = genericComponent()({
190
193
  icon: props.prependIcon
191
194
  }
192
195
  }
193
- }, slots.prepend)]), createVNode("div", {
196
+ }, slots.prepend)]), createElementVNode("div", {
194
197
  "class": "v-card-item__content"
195
198
  }, [hasTitle && createVNode(VCardTitle, {
196
199
  "key": "title"
@@ -200,10 +203,10 @@ const VCardItem = genericComponent()({
200
203
  "key": "subtitle"
201
204
  }, {
202
205
  default: () => [slots.subtitle?.() ?? toDisplayString(props.subtitle)]
203
- }), slots.default?.()]), hasAppend && createVNode("div", {
206
+ }), slots.default?.()]), hasAppend && createElementVNode("div", {
204
207
  "key": "append",
205
208
  "class": "v-card-item__append"
206
- }, [!slots.append ? createVNode(Fragment, null, [props.appendIcon && createVNode(VIcon, {
209
+ }, [!slots.append ? createElementVNode(Fragment, null, [props.appendIcon && createVNode(VIcon, {
207
210
  "key": "append-icon",
208
211
  "density": props.density,
209
212
  "icon": props.appendIcon
@@ -243,10 +246,10 @@ const VCardText = genericComponent()({
243
246
  slots
244
247
  } = _ref;
245
248
  useRender(() => createVNode(props.tag, {
246
- "class": ['v-card-text', props.class],
247
- "style": [{
249
+ "class": normalizeClass(['v-card-text', props.class]),
250
+ "style": normalizeStyle([{
248
251
  '--v-card-text-opacity': props.opacity
249
- }, props.style]
252
+ }, props.style])
250
253
  }, slots));
251
254
  return {};
252
255
  }
@@ -300,7 +303,7 @@ const makeVCardProps = propsFactory({
300
303
  const VCard = genericComponent()({
301
304
  name: 'VCard',
302
305
  directives: {
303
- Ripple
306
+ vRipple: Ripple
304
307
  },
305
308
  props: makeVCardProps(),
306
309
  setup(props, _ref) {
@@ -341,10 +344,10 @@ const VCard = genericComponent()({
341
344
  roundedClasses
342
345
  } = useRounded(props);
343
346
  const link = useLink(props, attrs);
344
- const isLink = computed(() => props.link !== false && link.isLink.value);
345
- const isClickable = computed(() => !props.disabled && props.link !== false && (props.link || link.isClickable.value));
346
347
  useRender(() => {
347
- const Tag = isLink.value ? 'a' : props.tag;
348
+ const isLink = props.link !== false && link.isLink.value;
349
+ const isClickable = !props.disabled && props.link !== false && (props.link || link.isClickable.value);
350
+ const Tag = isLink ? 'a' : props.tag;
348
351
  const hasTitle = !!(slots.title || props.title != null);
349
352
  const hasSubtitle = !!(slots.subtitle || props.subtitle != null);
350
353
  const hasHeader = hasTitle || hasSubtitle;
@@ -358,13 +361,13 @@ const VCard = genericComponent()({
358
361
  'v-card--disabled': props.disabled,
359
362
  'v-card--flat': props.flat,
360
363
  'v-card--hover': props.hover && !(props.disabled || props.flat),
361
- 'v-card--link': isClickable.value
364
+ 'v-card--link': isClickable
362
365
  }, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, loaderClasses.value, positionClasses.value, roundedClasses.value, variantClasses.value, props.class],
363
366
  "style": [colorStyles.value, dimensionStyles.value, locationStyles.value, props.style],
364
- "onClick": isClickable.value && link.navigate,
367
+ "onClick": isClickable && link.navigate,
365
368
  "tabindex": props.disabled ? -1 : undefined
366
369
  }, link.linkProps), {
367
- default: () => [hasImage && createVNode("div", {
370
+ default: () => [hasImage && createElementVNode("div", {
368
371
  "key": "image",
369
372
  "class": "v-card__image"
370
373
  }, [!slots.image ? createVNode(VImg, {
@@ -406,8 +409,8 @@ const VCard = genericComponent()({
406
409
  default: () => [slots.text?.() ?? props.text]
407
410
  }), slots.default?.(), slots.actions && createVNode(VCardActions, null, {
408
411
  default: slots.actions
409
- }), genOverlays(isClickable.value, 'v-card')]
410
- }), [[resolveDirective("ripple"), isClickable.value && props.ripple]]);
412
+ }), genOverlays(isClickable, 'v-card')]
413
+ }), [[Ripple, isClickable && props.ripple]]);
411
414
  });
412
415
  return {};
413
416
  }
@@ -437,7 +440,7 @@ const VDivider = genericComponent()({
437
440
  const {
438
441
  textColorClasses,
439
442
  textColorStyles
440
- } = useTextColor(toRef(props, 'color'));
443
+ } = useTextColor(() => props.color);
441
444
  const dividerStyles = computed(() => {
442
445
  const styles = {};
443
446
  if (props.length) {
@@ -449,25 +452,25 @@ const VDivider = genericComponent()({
449
452
  return styles;
450
453
  });
451
454
  useRender(() => {
452
- const divider = createVNode("hr", {
453
- "class": [{
455
+ const divider = createElementVNode("hr", {
456
+ "class": normalizeClass([{
454
457
  'v-divider': true,
455
458
  'v-divider--inset': props.inset,
456
459
  'v-divider--vertical': props.vertical
457
- }, themeClasses.value, textColorClasses.value, props.class],
458
- "style": [dividerStyles.value, textColorStyles.value, {
460
+ }, themeClasses.value, textColorClasses.value, props.class]),
461
+ "style": normalizeStyle([dividerStyles.value, textColorStyles.value, {
459
462
  '--v-border-opacity': props.opacity
460
- }, props.style],
463
+ }, props.style]),
461
464
  "aria-orientation": !attrs.role || attrs.role === 'separator' ? props.vertical ? 'vertical' : 'horizontal' : undefined,
462
465
  "role": `${attrs.role || 'separator'}`
463
466
  }, null);
464
467
  if (!slots.default) return divider;
465
- return createVNode("div", {
466
- "class": ['v-divider__wrapper', {
468
+ return createElementVNode("div", {
469
+ "class": normalizeClass(['v-divider__wrapper', {
467
470
  'v-divider__wrapper--vertical': props.vertical,
468
471
  'v-divider__wrapper--inset': props.inset
469
- }]
470
- }, [divider, createVNode("div", {
472
+ }])
473
+ }, [divider, createElementVNode("div", {
471
474
  "class": "v-divider__content"
472
475
  }, [slots.default()]), divider]);
473
476
  });
@@ -565,9 +568,10 @@ return (_ctx, _cache) => {
565
568
  style: {"max-height":"49px"}
566
569
  }, {
567
570
  default: withCtx(() => _cache[2] || (_cache[2] = [
568
- createElementVNode("h5", { class: "text-h5" }, "Storytelling map configuration", -1 /* HOISTED */)
571
+ createElementVNode("h5", { class: "text-h5" }, "Storytelling map configuration", -1 /* CACHED */)
569
572
  ])),
570
- _: 1 /* STABLE */
573
+ _: 1 /* STABLE */,
574
+ __: [2]
571
575
  }),
572
576
  createVNode(VCardText, {
573
577
  class: "py-5 overflow-auto",
@@ -578,7 +582,7 @@ return (_ctx, _cache) => {
578
582
  createTextVNode(" Copy and paste this code into the map "),
579
583
  createElementVNode("b", null, "layers field"),
580
584
  createTextVNode(" of the storytelling editor: ")
581
- ], -1 /* HOISTED */)),
585
+ ], -1 /* CACHED */)),
582
586
  createElementVNode("div", _hoisted_1, toDisplayString(unref(removeUnneededProperties)(__props.getLayers())), 1 /* TEXT */),
583
587
  createElementVNode("div", _hoisted_2, [
584
588
  createVNode(VExpandTransition, null, {
@@ -590,7 +594,7 @@ return (_ctx, _cache) => {
590
594
  left: "",
591
595
  icon: [unref(mdiClipboardCheckOutline)]
592
596
  }, null, 8 /* PROPS */, ["icon"]),
593
- _cache[3] || (_cache[3] = createElementVNode("small", null, "copied!", -1 /* HOISTED */))
597
+ _cache[3] || (_cache[3] = createElementVNode("small", null, "copied!", -1 /* CACHED */))
594
598
  ]))
595
599
  : createCommentVNode("v-if", true)
596
600
  ]),
@@ -626,7 +630,8 @@ return (_ctx, _cache) => {
626
630
  _: 1 /* STABLE */
627
631
  })
628
632
  ]),
629
- _: 1 /* STABLE */
633
+ _: 1 /* STABLE */,
634
+ __: [4]
630
635
  }),
631
636
  createVNode(VDivider),
632
637
  createVNode(VCardActions, { style: {"max-height":"49px"} }, {
@@ -637,9 +642,10 @@ return (_ctx, _cache) => {
637
642
  onClick: _cache[0] || (_cache[0] = $event => (dialog.value = !dialog.value))
638
643
  }, {
639
644
  default: withCtx(() => _cache[5] || (_cache[5] = [
640
- createTextVNode(" Close ")
645
+ createTextVNode(" Close ", -1 /* CACHED */)
641
646
  ])),
642
- _: 1 /* STABLE */
647
+ _: 1 /* STABLE */,
648
+ __: [5]
643
649
  })
644
650
  ]),
645
651
  _: 1 /* STABLE */
@@ -654,6 +660,6 @@ return (_ctx, _cache) => {
654
660
  }
655
661
 
656
662
  };
657
- const ExportState = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-a263a06d"]]);
663
+ const ExportState = /*#__PURE__*/_export_sfc(_sfc_main, [['styles',[_style_0]],['__scopeId',"data-v-a263a06d"]]);
658
664
 
659
665
  export { ExportState as default };
@@ -1,5 +1,7 @@
1
- import { ref, toRef, shallowRef, computed, watchEffect, createVNode, inject, createBlock, openBlock, unref, withCtx, createElementVNode, toDisplayString } from 'vue';
2
- import { g as genericComponent, p as propsFactory, b as provideTheme, B as useBackgroundColor, K as useBorder, L as useElevation, M as useRounded, s as useResizeObserver, T as useToggleScope, U as useLayoutItem, a as useRender, q as convertToUnit, f as makeThemeProps, h as makeTagProps, O as makeRoundedProps, W as makeLayoutItemProps, P as makeElevationProps, i as makeComponentProps, Q as makeBorderProps, _ as _export_sfc, X as eodashKey, r as useDisplay } from './asWebComponent-BJ2NWunV.js';
1
+ import { ref, shallowRef, computed, toRef, watchEffect, createVNode, normalizeStyle, normalizeClass, inject, createBlock, openBlock, unref, withCtx, createElementVNode, toDisplayString } from 'vue';
2
+ import { g as genericComponent, p as propsFactory, b as provideTheme, B as useBackgroundColor, K as useBorder, L as useElevation, M as useRounded, s as useResizeObserver, T as useToggleScope, U as useLayoutItem, a as useRender, q as convertToUnit, f as makeThemeProps, h as makeTagProps, O as makeRoundedProps, W as makeLayoutItemProps, P as makeElevationProps, i as makeComponentProps, Q as makeBorderProps, _ as _export_sfc, X as eodashKey, r as useDisplay } from './asWebComponent-By_7_JjS.js';
3
+
4
+ const _style_0 = ".footer-text[data-v-f0fd061e]{font-size:.8rem}";
3
5
 
4
6
  const makeVFooterProps = propsFactory({
5
7
  app: Boolean,
@@ -32,7 +34,7 @@ const VFooter = genericComponent()({
32
34
  const {
33
35
  backgroundColorClasses,
34
36
  backgroundColorStyles
35
- } = useBackgroundColor(toRef(props, 'color'));
37
+ } = useBackgroundColor(() => props.color);
36
38
  const {
37
39
  borderClasses
38
40
  } = useBorder(props);
@@ -54,11 +56,11 @@ const VFooter = genericComponent()({
54
56
  const layout = useLayoutItem({
55
57
  id: props.name,
56
58
  order: computed(() => parseInt(props.order, 10)),
57
- position: computed(() => 'bottom'),
59
+ position: toRef(() => 'bottom'),
58
60
  layoutSize: height,
59
61
  elementSize: computed(() => props.height === 'auto' ? undefined : height.value),
60
- active: computed(() => props.app),
61
- absolute: toRef(props, 'absolute')
62
+ active: toRef(() => props.app),
63
+ absolute: toRef(() => props.absolute)
62
64
  });
63
65
  watchEffect(() => {
64
66
  layoutItemStyles.value = layout.layoutItemStyles.value;
@@ -66,10 +68,10 @@ const VFooter = genericComponent()({
66
68
  });
67
69
  useRender(() => createVNode(props.tag, {
68
70
  "ref": resizeRef,
69
- "class": ['v-footer', themeClasses.value, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value, props.class],
70
- "style": [backgroundColorStyles.value, props.app ? layoutItemStyles.value : {
71
+ "class": normalizeClass(['v-footer', themeClasses.value, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value, props.class]),
72
+ "style": normalizeStyle([backgroundColorStyles.value, props.app ? layoutItemStyles.value : {
71
73
  height: convertToUnit(props.height)
72
- }, props.style]
74
+ }, props.style])
73
75
  }, slots));
74
76
  return {};
75
77
  }
@@ -81,7 +83,7 @@ const _hoisted_1 = { class: "pt-0 footer-text" };
81
83
  * Footer template ref
82
84
  *
83
85
  * @type {import("vue").Ref<
84
- * import("vuetify/lib/components/index.mjs").VFooter | null
86
+ * import("vuetify/components").VFooter | null
85
87
  * >}
86
88
  */
87
89
 
@@ -90,7 +92,7 @@ const _sfc_main = {
90
92
  setup(__props) {
91
93
 
92
94
  const footer = ref(null);
93
- const eodash = /** @type {import("@/types").Eodash} */ (inject(eodashKey));
95
+ const eodash = inject(eodashKey);
94
96
 
95
97
  const { mdAndDown } = useDisplay();
96
98
 
@@ -106,7 +108,7 @@ return (_ctx, _cache) => {
106
108
  class: "d-flex justify-end"
107
109
  }, {
108
110
  default: withCtx(() => [
109
- createElementVNode("p", _hoisted_1, toDisplayString(unref(eodash).brand.footerText ?? ""), 1 /* TEXT */)
111
+ createElementVNode("p", _hoisted_1, toDisplayString(unref(eodash)?.brand.footerText ?? ""), 1 /* TEXT */)
110
112
  ]),
111
113
  _: 1 /* STABLE */
112
114
  }, 8 /* PROPS */, ["height"]))
@@ -114,6 +116,6 @@ return (_ctx, _cache) => {
114
116
  }
115
117
 
116
118
  };
117
- const Footer = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-5009d449"]]);
119
+ const Footer = /*#__PURE__*/_export_sfc(_sfc_main, [['styles',[_style_0]],['__scopeId',"data-v-f0fd061e"]]);
118
120
 
119
121
  export { Footer as default };