@eodash/eodash 5.0.0-rc.1 → 5.0.0-rc.1.5

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 (75) hide show
  1. package/core/client/eodashSTAC/createLayers.js +4 -3
  2. package/dist/client/{DashboardLayout-FS5inBIm.js → DashboardLayout-B-4X57-t.js} +2 -2
  3. package/dist/client/{DynamicWebComponent-CBSgT677.js → DynamicWebComponent-Dj3QYwag.js} +1 -1
  4. package/dist/client/{EodashDatePicker-BGSS2ZYK.js → EodashDatePicker-DGRJrJ0s.js} +2 -2
  5. package/dist/client/{EodashItemFilter-CFNKjm_Z.js → EodashItemFilter-DBQwJQPh.js} +1 -1
  6. package/dist/client/{EodashLayerControl-CzffoPUs.js → EodashLayerControl-C5fOCvoI.js} +1 -1
  7. package/dist/client/{EodashLayoutSwitcher-DM0zDhvI.js → EodashLayoutSwitcher-BMO9k_20.js} +2 -2
  8. package/dist/client/{EodashMap-BdFZ657e.js → EodashMap-D2bnMLAC.js} +1 -1
  9. package/dist/client/{EodashMapBtns-rC_IPD-Z.js → EodashMapBtns-l9B977id.js} +4 -4
  10. package/dist/client/{EodashProcess-SLsTISKV.js → EodashProcess-BtIlJvF1.js} +1 -1
  11. package/dist/client/{EodashStacInfo-DFD0gtWm.js → EodashStacInfo-CPVvp_Hm.js} +1 -1
  12. package/dist/client/{EodashTools-ImohD2ys.js → EodashTools-DY2dlNXW.js} +4 -4
  13. package/dist/client/{ExportState-LNZAovzM.js → ExportState-BvD5A0XG.js} +4 -4
  14. package/dist/client/{Footer-c19dV1ZR.js → Footer-w95gBnSH.js} +1 -1
  15. package/dist/client/{Header-CcvXFqqt.js → Header-BpiorKy9.js} +3 -3
  16. package/dist/client/{MobileLayout-OM6Wc-vj.js → MobileLayout-CmVlZe7S.js} +5 -5
  17. package/dist/client/{PopUp-B0_c0207.js → PopUp-CREaSybs.js} +3 -3
  18. package/dist/client/{VImg-BpDhCbL0.js → VImg-DF9esgdd.js} +2 -2
  19. package/dist/client/{VMain-DC05bDwX.js → VMain-BWLMf-rn.js} +1 -1
  20. package/dist/client/{VOverlay-C7EUyVe_.js → VOverlay-DmNfblmy.js} +3 -3
  21. package/dist/client/{VTooltip-C78suika.js → VTooltip-C3PeE7iO.js} +3 -3
  22. package/dist/client/{WidgetsContainer-sD1vDnhF.js → WidgetsContainer-6FHEEXns.js} +1 -1
  23. package/dist/client/{asWebComponent-D8bMMCEr.js → asWebComponent-BnFMd0T6.js} +10 -9
  24. package/dist/client/eo-dash.js +1 -1
  25. package/dist/client/{forwardRefs-yw6tFXER.js → forwardRefs-BF3Me2RX.js} +1 -1
  26. package/dist/client/{index-CpK_Yaom.js → index-CRd5-RSy.js} +1 -1
  27. package/dist/client/{transition-B2YwqAYJ.js → transition-Cpn_g5jE.js} +1 -1
  28. package/dist/types/core/client/App.vue.d.ts +7 -0
  29. package/dist/types/core/client/asWebComponent.d.ts +9 -0
  30. package/dist/types/core/client/components/DashboardLayout.vue.d.ts +2 -0
  31. package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +20 -0
  32. package/dist/types/core/client/components/ErrorAlert.vue.d.ts +2 -0
  33. package/dist/types/core/client/components/Footer.vue.d.ts +106 -0
  34. package/dist/types/core/client/components/Header.vue.d.ts +2 -0
  35. package/dist/types/core/client/components/IframeWrapper.vue.d.ts +7 -0
  36. package/dist/types/core/client/components/Loading.vue.d.ts +2 -0
  37. package/dist/types/core/client/components/MobileLayout.vue.d.ts +312 -0
  38. package/dist/types/core/client/composables/DefineEodash.d.ts +2 -0
  39. package/dist/types/core/client/composables/DefineTemplate.d.ts +15 -0
  40. package/dist/types/core/client/composables/DefineWidgets.d.ts +14 -0
  41. package/dist/types/core/client/composables/EodashMap.d.ts +5 -0
  42. package/dist/types/core/client/composables/EodashProcess.d.ts +156 -0
  43. package/dist/types/core/client/composables/index.d.ts +9 -0
  44. package/dist/types/core/client/eodash.d.ts +8 -0
  45. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +108 -0
  46. package/dist/types/core/client/eodashSTAC/createLayers.d.ts +45 -0
  47. package/dist/types/core/client/eodashSTAC/helpers.d.ts +80 -0
  48. package/dist/types/core/client/eodashSTAC/triggers.d.ts +1 -0
  49. package/dist/types/core/client/main.d.ts +2 -0
  50. package/dist/types/core/client/plugins/axios.d.ts +2 -0
  51. package/dist/types/core/client/plugins/index.d.ts +3 -0
  52. package/dist/types/core/client/plugins/vuetify.d.ts +82 -0
  53. package/dist/types/core/client/render.d.ts +1 -0
  54. package/dist/types/core/client/store/actions.d.ts +12 -0
  55. package/dist/types/core/client/store/index.d.ts +11 -0
  56. package/dist/types/core/client/store/stac.d.ts +25 -0
  57. package/dist/types/core/client/store/states.d.ts +22 -0
  58. package/dist/types/core/client/types.d.ts +269 -0
  59. package/dist/types/core/client/utils/index.d.ts +2 -0
  60. package/dist/types/core/client/utils/keys.d.ts +8 -0
  61. package/dist/types/core/client/utils/states.d.ts +18 -0
  62. package/dist/types/core/client/views/Dashboard.vue.d.ts +9 -0
  63. package/dist/types/widgets/EodashDatePicker.vue.d.ts +13 -0
  64. package/dist/types/widgets/EodashItemFilter.vue.d.ts +44 -0
  65. package/dist/types/widgets/EodashLayerControl.vue.d.ts +13 -0
  66. package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +11 -0
  67. package/dist/types/widgets/EodashMap.vue.d.ts +14 -0
  68. package/dist/types/widgets/EodashMapBtns.vue.d.ts +13 -0
  69. package/dist/types/widgets/EodashProcess.vue.d.ts +4 -0
  70. package/dist/types/widgets/EodashStacInfo.vue.d.ts +21 -0
  71. package/dist/types/widgets/EodashTools.vue.d.ts +19 -0
  72. package/dist/types/widgets/ExportState.vue.d.ts +7 -0
  73. package/dist/types/widgets/PopUp.vue.d.ts +28 -0
  74. package/dist/types/widgets/WidgetsContainer.vue.d.ts +10 -0
  75. package/package.json +4 -4
@@ -0,0 +1,312 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
2
+ tabs: import("vue").CreateComponentPublicInstance<{
3
+ symbol: any;
4
+ direction: "horizontal" | "vertical";
5
+ style: import("vue").StyleValue;
6
+ mobile: boolean | null;
7
+ disabled: boolean;
8
+ multiple: boolean;
9
+ tag: string;
10
+ mandatory: boolean | "force";
11
+ items: readonly (string | number | Record<string, any>)[];
12
+ density: "default" | "comfortable" | "compact" | null;
13
+ selectedClass: string;
14
+ stacked: boolean;
15
+ centerActive: boolean;
16
+ nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
17
+ prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
18
+ grow: boolean;
19
+ hideSlider: boolean;
20
+ alignTabs: "center" | "end" | "start" | "title";
21
+ fixedTabs: boolean;
22
+ } & {
23
+ max?: number | undefined;
24
+ height?: string | number | undefined;
25
+ color?: string | undefined;
26
+ class?: any;
27
+ mobileBreakpoint?: number | ("sm" | "md" | "lg" | "xl" | "xxl" | "xs") | undefined;
28
+ modelValue?: any;
29
+ bgColor?: string | undefined;
30
+ showArrows?: string | boolean | undefined;
31
+ sliderColor?: string | undefined;
32
+ } & {
33
+ $children?: import("vue").VNodeChild | (() => import("vue").VNodeChild) | {
34
+ [x: `tab.${string}`]: ((arg: {
35
+ item: string | number | Record<string, any>;
36
+ }) => import("vue").VNodeChild) | undefined;
37
+ [x: `item.${string}`]: ((arg: {
38
+ item: string | number | Record<string, any>;
39
+ }) => import("vue").VNodeChild) | undefined;
40
+ default?: (() => import("vue").VNodeChild) | undefined;
41
+ tab?: ((arg: {
42
+ item: string | number | Record<string, any>;
43
+ }) => import("vue").VNodeChild) | undefined;
44
+ item?: ((arg: {
45
+ item: string | number | Record<string, any>;
46
+ }) => import("vue").VNodeChild) | undefined;
47
+ window?: (() => import("vue").VNodeChild) | undefined;
48
+ };
49
+ 'v-slots'?: {
50
+ [x: `tab.${string}`]: false | ((arg: {
51
+ item: string | number | Record<string, any>;
52
+ }) => import("vue").VNodeChild) | undefined;
53
+ [x: `item.${string}`]: false | ((arg: {
54
+ item: string | number | Record<string, any>;
55
+ }) => import("vue").VNodeChild) | undefined;
56
+ default?: false | (() => import("vue").VNodeChild) | undefined;
57
+ tab?: false | ((arg: {
58
+ item: string | number | Record<string, any>;
59
+ }) => import("vue").VNodeChild) | undefined;
60
+ item?: false | ((arg: {
61
+ item: string | number | Record<string, any>;
62
+ }) => import("vue").VNodeChild) | undefined;
63
+ window?: false | (() => import("vue").VNodeChild) | undefined;
64
+ } | undefined;
65
+ } & {
66
+ [x: `v-slot:tab.${string}`]: false | ((arg: {
67
+ item: string | number | Record<string, any>;
68
+ }) => import("vue").VNodeChild) | undefined;
69
+ [x: `v-slot:item.${string}`]: false | ((arg: {
70
+ item: string | number | Record<string, any>;
71
+ }) => import("vue").VNodeChild) | undefined;
72
+ "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
73
+ "v-slot:tab"?: false | ((arg: {
74
+ item: string | number | Record<string, any>;
75
+ }) => import("vue").VNodeChild) | undefined;
76
+ "v-slot:item"?: false | ((arg: {
77
+ item: string | number | Record<string, any>;
78
+ }) => import("vue").VNodeChild) | undefined;
79
+ "v-slot:window"?: false | (() => import("vue").VNodeChild) | undefined;
80
+ } & {
81
+ "onUpdate:modelValue"?: ((v: unknown) => any) | undefined;
82
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ 'update:modelValue': (v: unknown) => true;
84
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
85
+ symbol: any;
86
+ direction: "horizontal" | "vertical";
87
+ style: import("vue").StyleValue;
88
+ mobile: boolean | null;
89
+ disabled: boolean;
90
+ multiple: boolean;
91
+ tag: string;
92
+ mandatory: boolean | "force";
93
+ items: readonly (string | number | Record<string, any>)[];
94
+ density: "default" | "comfortable" | "compact" | null;
95
+ selectedClass: string;
96
+ stacked: boolean;
97
+ centerActive: boolean;
98
+ nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
99
+ prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
100
+ grow: boolean;
101
+ hideSlider: boolean;
102
+ alignTabs: "center" | "end" | "start" | "title";
103
+ fixedTabs: boolean;
104
+ } & {
105
+ max?: number | undefined;
106
+ height?: string | number | undefined;
107
+ color?: string | undefined;
108
+ class?: any;
109
+ mobileBreakpoint?: number | ("sm" | "md" | "lg" | "xl" | "xxl" | "xs") | undefined;
110
+ modelValue?: any;
111
+ bgColor?: string | undefined;
112
+ showArrows?: string | boolean | undefined;
113
+ sliderColor?: string | undefined;
114
+ } & {
115
+ $children?: import("vue").VNodeChild | (() => import("vue").VNodeChild) | {
116
+ [x: `tab.${string}`]: ((arg: {
117
+ item: string | number | Record<string, any>;
118
+ }) => import("vue").VNodeChild) | undefined;
119
+ [x: `item.${string}`]: ((arg: {
120
+ item: string | number | Record<string, any>;
121
+ }) => import("vue").VNodeChild) | undefined;
122
+ default?: (() => import("vue").VNodeChild) | undefined;
123
+ tab?: ((arg: {
124
+ item: string | number | Record<string, any>;
125
+ }) => import("vue").VNodeChild) | undefined;
126
+ item?: ((arg: {
127
+ item: string | number | Record<string, any>;
128
+ }) => import("vue").VNodeChild) | undefined;
129
+ window?: (() => import("vue").VNodeChild) | undefined;
130
+ };
131
+ 'v-slots'?: {
132
+ [x: `tab.${string}`]: false | ((arg: {
133
+ item: string | number | Record<string, any>;
134
+ }) => import("vue").VNodeChild) | undefined;
135
+ [x: `item.${string}`]: false | ((arg: {
136
+ item: string | number | Record<string, any>;
137
+ }) => import("vue").VNodeChild) | undefined;
138
+ default?: false | (() => import("vue").VNodeChild) | undefined;
139
+ tab?: false | ((arg: {
140
+ item: string | number | Record<string, any>;
141
+ }) => import("vue").VNodeChild) | undefined;
142
+ item?: false | ((arg: {
143
+ item: string | number | Record<string, any>;
144
+ }) => import("vue").VNodeChild) | undefined;
145
+ window?: false | (() => import("vue").VNodeChild) | undefined;
146
+ } | undefined;
147
+ } & {
148
+ [x: `v-slot:tab.${string}`]: false | ((arg: {
149
+ item: string | number | Record<string, any>;
150
+ }) => import("vue").VNodeChild) | undefined;
151
+ [x: `v-slot:item.${string}`]: false | ((arg: {
152
+ item: string | number | Record<string, any>;
153
+ }) => import("vue").VNodeChild) | undefined;
154
+ "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
155
+ "v-slot:tab"?: false | ((arg: {
156
+ item: string | number | Record<string, any>;
157
+ }) => import("vue").VNodeChild) | undefined;
158
+ "v-slot:item"?: false | ((arg: {
159
+ item: string | number | Record<string, any>;
160
+ }) => import("vue").VNodeChild) | undefined;
161
+ "v-slot:window"?: false | (() => import("vue").VNodeChild) | undefined;
162
+ } & {
163
+ "onUpdate:modelValue"?: ((v: unknown) => any) | undefined;
164
+ }, {
165
+ symbol: any;
166
+ height: string | number;
167
+ direction: "horizontal" | "vertical";
168
+ style: import("vue").StyleValue;
169
+ mobile: boolean | null;
170
+ disabled: boolean;
171
+ multiple: boolean;
172
+ tag: string;
173
+ mandatory: boolean | "force";
174
+ modelValue: any;
175
+ items: readonly (string | number | Record<string, any>)[];
176
+ density: "default" | "comfortable" | "compact" | null;
177
+ selectedClass: string;
178
+ stacked: boolean;
179
+ centerActive: boolean;
180
+ nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
181
+ prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
182
+ grow: boolean;
183
+ hideSlider: boolean;
184
+ alignTabs: "center" | "end" | "start" | "title";
185
+ fixedTabs: boolean;
186
+ }, true, {}, import("vue").SlotsType<Partial<{
187
+ [x: `tab.${string}`]: (arg: {
188
+ item: string | number | Record<string, any>;
189
+ }) => import("vue").VNode[];
190
+ [x: `item.${string}`]: (arg: {
191
+ item: string | number | Record<string, any>;
192
+ }) => import("vue").VNode[];
193
+ default: () => import("vue").VNode[];
194
+ tab: (arg: {
195
+ item: string | number | Record<string, any>;
196
+ }) => import("vue").VNode[];
197
+ item: (arg: {
198
+ item: string | number | Record<string, any>;
199
+ }) => import("vue").VNode[];
200
+ window: () => import("vue").VNode[];
201
+ }>>, {
202
+ P: {};
203
+ B: {};
204
+ D: {};
205
+ C: {};
206
+ M: {};
207
+ Defaults: {};
208
+ }, {
209
+ symbol: any;
210
+ direction: "horizontal" | "vertical";
211
+ style: import("vue").StyleValue;
212
+ mobile: boolean | null;
213
+ disabled: boolean;
214
+ multiple: boolean;
215
+ tag: string;
216
+ mandatory: boolean | "force";
217
+ items: readonly (string | number | Record<string, any>)[];
218
+ density: "default" | "comfortable" | "compact" | null;
219
+ selectedClass: string;
220
+ stacked: boolean;
221
+ centerActive: boolean;
222
+ nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
223
+ prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
224
+ grow: boolean;
225
+ hideSlider: boolean;
226
+ alignTabs: "center" | "end" | "start" | "title";
227
+ fixedTabs: boolean;
228
+ } & {
229
+ max?: number | undefined;
230
+ height?: string | number | undefined;
231
+ color?: string | undefined;
232
+ class?: any;
233
+ mobileBreakpoint?: number | ("sm" | "md" | "lg" | "xl" | "xxl" | "xs") | undefined;
234
+ modelValue?: any;
235
+ bgColor?: string | undefined;
236
+ showArrows?: string | boolean | undefined;
237
+ sliderColor?: string | undefined;
238
+ } & {
239
+ $children?: import("vue").VNodeChild | (() => import("vue").VNodeChild) | {
240
+ [x: `tab.${string}`]: ((arg: {
241
+ item: string | number | Record<string, any>;
242
+ }) => import("vue").VNodeChild) | undefined;
243
+ [x: `item.${string}`]: ((arg: {
244
+ item: string | number | Record<string, any>;
245
+ }) => import("vue").VNodeChild) | undefined;
246
+ default?: (() => import("vue").VNodeChild) | undefined;
247
+ tab?: ((arg: {
248
+ item: string | number | Record<string, any>;
249
+ }) => import("vue").VNodeChild) | undefined;
250
+ item?: ((arg: {
251
+ item: string | number | Record<string, any>;
252
+ }) => import("vue").VNodeChild) | undefined;
253
+ window?: (() => import("vue").VNodeChild) | undefined;
254
+ };
255
+ 'v-slots'?: {
256
+ [x: `tab.${string}`]: false | ((arg: {
257
+ item: string | number | Record<string, any>;
258
+ }) => import("vue").VNodeChild) | undefined;
259
+ [x: `item.${string}`]: false | ((arg: {
260
+ item: string | number | Record<string, any>;
261
+ }) => import("vue").VNodeChild) | undefined;
262
+ default?: false | (() => import("vue").VNodeChild) | undefined;
263
+ tab?: false | ((arg: {
264
+ item: string | number | Record<string, any>;
265
+ }) => import("vue").VNodeChild) | undefined;
266
+ item?: false | ((arg: {
267
+ item: string | number | Record<string, any>;
268
+ }) => import("vue").VNodeChild) | undefined;
269
+ window?: false | (() => import("vue").VNodeChild) | undefined;
270
+ } | undefined;
271
+ } & {
272
+ [x: `v-slot:tab.${string}`]: false | ((arg: {
273
+ item: string | number | Record<string, any>;
274
+ }) => import("vue").VNodeChild) | undefined;
275
+ [x: `v-slot:item.${string}`]: false | ((arg: {
276
+ item: string | number | Record<string, any>;
277
+ }) => import("vue").VNodeChild) | undefined;
278
+ "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
279
+ "v-slot:tab"?: false | ((arg: {
280
+ item: string | number | Record<string, any>;
281
+ }) => import("vue").VNodeChild) | undefined;
282
+ "v-slot:item"?: false | ((arg: {
283
+ item: string | number | Record<string, any>;
284
+ }) => import("vue").VNodeChild) | undefined;
285
+ "v-slot:window"?: false | (() => import("vue").VNodeChild) | undefined;
286
+ } & {
287
+ "onUpdate:modelValue"?: ((v: unknown) => any) | undefined;
288
+ }, {}, {}, {}, {}, {
289
+ symbol: any;
290
+ height: string | number;
291
+ direction: "horizontal" | "vertical";
292
+ style: import("vue").StyleValue;
293
+ mobile: boolean | null;
294
+ disabled: boolean;
295
+ multiple: boolean;
296
+ tag: string;
297
+ mandatory: boolean | "force";
298
+ modelValue: any;
299
+ items: readonly (string | number | Record<string, any>)[];
300
+ density: "default" | "comfortable" | "compact" | null;
301
+ selectedClass: string;
302
+ stacked: boolean;
303
+ centerActive: boolean;
304
+ nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
305
+ prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
306
+ grow: boolean;
307
+ hideSlider: boolean;
308
+ alignTabs: "center" | "end" | "start" | "title";
309
+ fixedTabs: boolean;
310
+ }> | null;
311
+ }, any>;
312
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export function useEodashRuntime(runtimeConfig: string | undefined): Promise<import("../types").Eodash>;
2
+ export function createEodash(config: ((store: typeof import("../store").default) => (Promise<import("../types").Eodash> | import("../types").Eodash)) | import("../types").Eodash): Promise<import("../types").Eodash<"compiletime">>;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @typedef {{
3
+ * bgWidget:ReturnType< typeof import("./DefineWidgets").useDefineWidgets>[number]| import("vue").ShallowRef<null>
4
+ * loading: ReturnType< typeof import("./DefineWidgets").useDefineWidgets>[number]| import("vue").ShallowRef<null>
5
+ * importedWidgets:ReturnType< typeof import("./DefineWidgets").useDefineWidgets>
6
+ * gap: import("vue").Ref<number>
7
+ * }} DefinedTemplate
8
+ **/
9
+ export function useDefineTemplate(): import("vue").ToRefs<DefinedTemplate>;
10
+ export type DefinedTemplate = {
11
+ bgWidget: ReturnType<typeof import("./DefineWidgets").useDefineWidgets>[number] | import("vue").ShallowRef<null>;
12
+ loading: ReturnType<typeof import("./DefineWidgets").useDefineWidgets>[number] | import("vue").ShallowRef<null>;
13
+ importedWidgets: ReturnType<typeof import("./DefineWidgets").useDefineWidgets>;
14
+ gap: import("vue").Ref<number>;
15
+ };
@@ -0,0 +1,14 @@
1
+ export function useDefineWidgets(widgetConfigs: (import("../types").Widget | import("../types").BackgroundWidget | Omit<import("../types").Widget, "layout"> | undefined)[] | undefined): ReactiveDefinedWidget[];
2
+ export type DefinedWidget = {
3
+ component: import("vue").Component | null;
4
+ props: Record<string, unknown>;
5
+ title: string;
6
+ id: string | number | symbol;
7
+ layout: {
8
+ x: number;
9
+ y: number;
10
+ h: number;
11
+ w: number;
12
+ };
13
+ };
14
+ export type ReactiveDefinedWidget = import("vue").ShallowRef<DefinedWidget>;
@@ -0,0 +1,5 @@
1
+ export function useHandleMapMoveEnd(mapElement: import("vue").Ref<(HTMLElement & Record<string, any> & {
2
+ map: import("ol").Map;
3
+ }) | null>, mapPosition: import("vue").Ref<(number | undefined)[]>): void;
4
+ export function useInitMap(mapElement: import("vue").Ref<(HTMLElement & Record<string, any>) | null>, selectedIndicator: import("vue").Ref<import("stac-ts").StacCollection | null>, eodashCols: EodashCollection[], datetime: import("vue").Ref<string>, mapLayers: import("vue").Ref<Record<string, any>[]>, partnerMap: import("vue").Ref<(HTMLElement & Record<string, any>) | null>): void;
5
+ import { EodashCollection } from "../eodashSTAC/EodashCollection";
@@ -0,0 +1,156 @@
1
+ /**
2
+ * Polls the process status and fetches a result item when the process is successful.
3
+ *
4
+ * @param {Object} params - Parameters for polling the process status.
5
+ * @param {string} params.processUrl - The URL of the process JSON report.
6
+ * @param {import("vue").Ref<boolean>} params.isPolling - checks wether the polling should continue
7
+ * @param {number} [params.pollInterval=5000] - The interval (in milliseconds) between polling attempts.
8
+ * @param {number} [params.maxRetries=60] - The maximum number of polling attempts.
9
+ * @returns {Promise<JSON>} The fetched results JSON.
10
+ * @throws {Error} If the process does not complete successfully within the maximum retries.
11
+ */
12
+ export function pollProcessStatus({ processUrl, isPolling, pollInterval, maxRetries, }: {
13
+ processUrl: string;
14
+ isPolling: import("vue").Ref<boolean>;
15
+ pollInterval?: number | undefined;
16
+ maxRetries?: number | undefined;
17
+ }): Promise<JSON>;
18
+ /**
19
+ * Auto execute the process when the jsonform has the execute option
20
+ *
21
+ * @param {import("vue").Ref<boolean>} autoExec
22
+ * @param {import("vue").Ref<import("@eox/jsonform").EOxJSONForm | null>} jsonformEl
23
+ * @param {import("vue").Ref<Record<string,any> | null>} jsonformSchema
24
+ * @param {() => Promise<void>} startProcess
25
+ **/
26
+ export function useAutoExec(autoExec: import("vue").Ref<boolean>, jsonformEl: import("vue").Ref<import("@eox/jsonform").EOxJSONForm | null>, jsonformSchema: import("vue").Ref<Record<string, any> | null>, startProcess: () => Promise<void>): void;
27
+ /**
28
+ * @param {Record<string,any> |null} [jsonformSchema]
29
+ **/
30
+ export function getBboxProperty(jsonformSchema?: Record<string, any> | null): string;
31
+ /**
32
+ * Extracts the keys of type "geojson" from the jsonform schema
33
+ * @param {Record<string,any> |null} [jsonformSchema]
34
+ **/
35
+ export function getGeoJsonProperties(jsonformSchema?: Record<string, any> | null): string[];
36
+ /**
37
+ * Converts jsonform geojson values to stringified geometries
38
+ * @param {Record<string,any> |null} [jsonformSchema]
39
+ * @param {Record<string,any>} jsonformValue
40
+ **/
41
+ export function extractGeometries(jsonformValue: Record<string, any>, jsonformSchema?: Record<string, any> | null): void;
42
+ /**
43
+ * Injects CSS to remove the borders of the jsonform from inside the shadowRoot
44
+ * @param {import("@eox/jsonform").EOxJSONForm | null} jsonFormEl
45
+ **/
46
+ export function injectJsonformCSS(jsonFormEl: import("@eox/jsonform").EOxJSONForm | null): void;
47
+ /**
48
+ * @param {import("stac-ts").StacLink[] | undefined} links
49
+ * @param {Record<string,any>|undefined} jsonformValue
50
+ * @param {number[]} origBbox
51
+ */
52
+ export function processImage(links: import("stac-ts").StacLink[] | undefined, jsonformValue: Record<string, any> | undefined, origBbox: number[]): {
53
+ type: string;
54
+ properties: {
55
+ id: unknown;
56
+ title: string;
57
+ };
58
+ source: {
59
+ type: string;
60
+ imageExtent: number[];
61
+ url: string;
62
+ };
63
+ }[] | undefined;
64
+ /**
65
+ * @param {import("stac-ts").StacLink[] | undefined} links
66
+ * @param {Record<string,any> | undefined} jsonformValue
67
+ * @param {string} layerId
68
+ */
69
+ export function processVector(links: import("stac-ts").StacLink[] | undefined, jsonformValue: Record<string, any> | undefined, layerId: string): Promise<Record<string, any>[] | undefined>;
70
+ /**
71
+ * @param {import("stac-ts").StacLink[] | undefined} links
72
+ * @param {Record<string,any> | undefined} jsonformValue
73
+ * @param {import("vue").Ref<boolean>} isPolling
74
+ * @param {string} layerId
75
+ */
76
+ export function processGeoTiff(links: import("stac-ts").StacLink[] | undefined, jsonformValue: Record<string, any> | undefined, layerId: string, isPolling: import("vue").Ref<boolean>): Promise<{
77
+ style?: Record<string, any> | undefined;
78
+ type: string;
79
+ source: {
80
+ type: string;
81
+ normalize: boolean;
82
+ sources: {
83
+ url: string;
84
+ }[];
85
+ };
86
+ properties: {
87
+ layerConfig?: Record<string, any> | undefined;
88
+ id: string;
89
+ title: string;
90
+ };
91
+ } | undefined>;
92
+ /**
93
+ * @param {import("stac-ts").StacLink[] | undefined} links
94
+ * @param {Record<string,any> | undefined} jsonformValue
95
+ * @param {string} specUrl
96
+ * @returns {Promise<[import("vega").Spec|null,Record<string,any>|null]>}
97
+ **/
98
+ export function getChartValues(links: import("stac-ts").StacLink[] | undefined, jsonformValue: Record<string, any> | undefined, specUrl: string): Promise<[import("vega").Spec | null, Record<string, any> | null]>;
99
+ /**
100
+ * @param {Object} params
101
+ * @param {import("vue").Ref<boolean>} params.loading
102
+ * @param {import("vue").Ref<import("stac-ts").StacCollection | null>} params.selectedStac
103
+ * @param {import("vue").Ref<import("@eox/jsonform").EOxJSONForm | null>} params.jsonformEl
104
+ * @param {import("vue").Ref<Record<string,any>|null>} params.jsonformSchema
105
+ * @param {import("vue").Ref<import("@eox/chart").EOxChart["spec"]>} params.chartSpec
106
+ * @param {import("vue").Ref<Record<string, any> | null>} params.chartData
107
+ * @param {import("vue").Ref<boolean>} params.isPolling
108
+ */
109
+ export function handleProcesses({ loading, selectedStac, jsonformEl, jsonformSchema, chartSpec, chartData, isPolling, }: {
110
+ loading: import("vue").Ref<boolean>;
111
+ selectedStac: import("vue").Ref<import("stac-ts").StacCollection | null>;
112
+ jsonformEl: import("vue").Ref<import("@eox/jsonform").EOxJSONForm | null>;
113
+ jsonformSchema: import("vue").Ref<Record<string, any> | null>;
114
+ chartSpec: import("vue").Ref<import("@eox/chart").EOxChart["spec"]>;
115
+ chartData: import("vue").Ref<Record<string, any> | null>;
116
+ isPolling: import("vue").Ref<boolean>;
117
+ }): Promise<void>;
118
+ /**
119
+ * Reset the process state
120
+ * @param {Object} params
121
+ * @param {import("vue").Ref<boolean>} params.loading
122
+ * @param {import("vue").Ref<boolean>} params.isProcessed
123
+ * @param {import("vue").Ref<import("@eox/chart").EOxChart["spec"]>} params.chartSpec
124
+ * @param {import("vue").Ref<boolean>} params.isPolling
125
+ * @param {import("vue").Ref<Record<string,any>|null>} params.jsonformSchema
126
+ */
127
+ export function resetProcess({ loading, isProcessed, chartSpec, jsonformSchema, isPolling, }: {
128
+ loading: import("vue").Ref<boolean>;
129
+ isProcessed: import("vue").Ref<boolean>;
130
+ chartSpec: import("vue").Ref<import("@eox/chart").EOxChart["spec"]>;
131
+ isPolling: import("vue").Ref<boolean>;
132
+ jsonformSchema: import("vue").Ref<Record<string, any> | null>;
133
+ }): void;
134
+ /**
135
+ * Description placeholder
136
+ *
137
+ * @export
138
+ * @async
139
+ * @param {Object} params
140
+ * @param {import("vue").Ref<import("stac-ts").StacCollection>} params.selectedStac
141
+ * @param {import("vue").Ref<import("@eox/jsonform").EOxJSONForm | null>} params.jsonformEl
142
+ * @param {import("vue").Ref<Record<string,any> | null>} params.jsonformSchema
143
+ * @param {import("vue").Ref<import("@eox/chart").EOxChart["spec"]>} params.chartSpec
144
+ * @param {import("vue").Ref<boolean>} params.isProcessed
145
+ * @param {import("vue").Ref<boolean>} params.loading
146
+ * @param {import("vue").Ref<boolean>} params.isPolling
147
+ */
148
+ export function initProcess({ selectedStac, jsonformEl, jsonformSchema, chartSpec, isProcessed, loading, isPolling, }: {
149
+ selectedStac: import("vue").Ref<import("stac-ts").StacCollection>;
150
+ jsonformEl: import("vue").Ref<import("@eox/jsonform").EOxJSONForm | null>;
151
+ jsonformSchema: import("vue").Ref<Record<string, any> | null>;
152
+ chartSpec: import("vue").Ref<import("@eox/chart").EOxChart["spec"]>;
153
+ isProcessed: import("vue").Ref<boolean>;
154
+ loading: import("vue").Ref<boolean>;
155
+ isPolling: import("vue").Ref<boolean>;
156
+ }): Promise<void>;
@@ -0,0 +1,9 @@
1
+ export function useAbsoluteUrl(rel?: string, base?: string): import("vue").Ref<string>;
2
+ export function useCompareAbsoluteUrl(rel?: string, base?: string): import("vue").Ref<string>;
3
+ export function useUpdateTheme(themeName: string, themeDefinition?: import("vuetify").ThemeDefinition): import("vuetify").ThemeInstance;
4
+ export function useURLSearchParametersSync(): void;
5
+ export function makePanelTransparent(root: import("vue").Ref<HTMLElement | null>): void;
6
+ export function useGetTemplates(): string[];
7
+ export function useOnLayersUpdate(listener: import("@vueuse/core").EventBusListener<"layers:updated" | "time:updated", {
8
+ layers: Record<string, any>[] | undefined;
9
+ }>): void;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Reactive Edoash Instance Object. provided globally in the app, and used as an
3
+ * intermediate object to make user defined instances config reactive.
4
+ *
5
+ * @type {import("./types").Eodash}
6
+ */
7
+ export const eodash: import("./types").Eodash;
8
+ export default eodash;
@@ -0,0 +1,108 @@
1
+ export class EodashCollection {
2
+ /**
3
+ * Returns base layers and overlay layers of a STAC Collection
4
+ *
5
+ * @param {import("stac-ts").StacCollection} indicator */
6
+ static getIndicatorLayers(indicator: import("stac-ts").StacCollection): Promise<(Record<string, any> | {
7
+ style?: import("ol/layer/WebGLTile").Style | undefined;
8
+ type: string;
9
+ source: {
10
+ type: string;
11
+ url: string;
12
+ format: string;
13
+ };
14
+ properties: {
15
+ layerConfig?: {
16
+ style: import("ol/layer/WebGLTile").Style | undefined;
17
+ } | undefined;
18
+ id: string;
19
+ title: string;
20
+ layerDatetime: Record<string, unknown> | undefined;
21
+ };
22
+ } | {
23
+ type: string;
24
+ source: {
25
+ type: string;
26
+ normalize: boolean;
27
+ interpolate: boolean;
28
+ sources: {
29
+ url: string;
30
+ }[];
31
+ };
32
+ properties: {
33
+ id: string;
34
+ title: string;
35
+ layerConfig: Record<string, unknown> | undefined;
36
+ layerDatetime: Record<string, unknown> | undefined;
37
+ };
38
+ style: import("ol/layer/WebGLTile").Style | undefined;
39
+ })[]>;
40
+ /**
41
+ * Returns GeoDB layer from a list of EodashCollections
42
+ *
43
+ * @param {EodashCollection[]} eodashCollections
44
+ *
45
+ **/
46
+ static getGeoDBLayer(eodashCollections: EodashCollection[]): {
47
+ type: string;
48
+ properties: {
49
+ id: string;
50
+ title: string;
51
+ };
52
+ source: {
53
+ type: string;
54
+ url: string;
55
+ format: string;
56
+ };
57
+ style: {
58
+ "circle-radius": number;
59
+ "circle-fill-color": string;
60
+ "circle-stroke-color": string;
61
+ "fill-color": string;
62
+ "stroke-color": string;
63
+ };
64
+ interactions: never[];
65
+ } | null;
66
+ /** @param {string} collectionUrl */
67
+ constructor(collectionUrl: string);
68
+ /**
69
+ * @type {import("stac-ts").StacLink
70
+ * | import("stac-ts").StacItem
71
+ * | undefined}
72
+ */
73
+ selectedItem: import("stac-ts").StacLink | import("stac-ts").StacItem | undefined;
74
+ get collectionStac(): import("stac-ts").StacCollection | undefined;
75
+ /**
76
+ * @async
77
+ * @param {import('stac-ts').StacLink | Date} [linkOrDate]
78
+ * @returns
79
+ */
80
+ createLayersJson: (linkOrDate?: import("stac-ts").StacLink | Date) => Promise<Record<string, any>[]>;
81
+ /**
82
+ * @param {import("stac-ts").StacItem} item
83
+ * @param {string} itemUrl
84
+ * @param {string} title
85
+ * @param {boolean} isGeoDB
86
+ * @param {string} [itemDatetime]
87
+ * @returns {Promise<Record<string,any>[]>} layers
88
+ * */
89
+ buildJsonArray(item: import("stac-ts").StacItem, itemUrl: string, title: string, isGeoDB: boolean, itemDatetime?: string): Promise<Record<string, any>[]>;
90
+ fetchCollection(): Promise<import("stac-ts").StacCollection>;
91
+ getItems(): import("stac-ts").StacLink[] | undefined;
92
+ getDates(): Date[] | undefined;
93
+ getExtent(): Promise<import("stac-ts").Extents | undefined>;
94
+ /**
95
+ * Get closest Item Link from a certain date,
96
+ * get the latest if no date provided
97
+ * @param {Date} [date]
98
+ **/
99
+ getItem(date?: Date): import("stac-ts").StacLink | undefined;
100
+ /**
101
+ *
102
+ * @param {string} datetime
103
+ * @param {string} layer
104
+ * @param {string} map
105
+ */
106
+ updateLayerJson(datetime: string, layer: string, map: string): Promise<Record<string, any>[] | undefined>;
107
+ #private;
108
+ }