@eodash/eodash 5.6.1 → 5.7.1
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.
- package/core/client/components/DashboardLayout.vue +1 -1
- package/core/client/components/EodashOverlay.vue +27 -4
- package/core/client/composables/DefineEodash.js +0 -1
- package/core/client/composables/DefineWidgets.js +3 -1
- package/core/client/composables/index.js +6 -2
- package/core/client/eodashSTAC/EodashCollection.js +79 -45
- package/core/client/eodashSTAC/cql.js +64 -0
- package/core/client/eodashSTAC/createLayers.js +192 -125
- package/core/client/eodashSTAC/helpers.js +423 -97
- package/core/client/eodashSTAC/mosaic.js +416 -0
- package/core/client/plugins/axios.js +31 -1
- package/core/client/store/actions.js +1 -1
- package/core/client/store/stac.js +25 -4
- package/core/client/store/states.js +20 -2
- package/core/client/types.ts +155 -29
- package/core/client/utils/bands-editor/exampleSchema.json +50 -50
- package/core/client/utils/index.js +4 -0
- package/core/client/utils/states.js +10 -0
- package/dist/client/{DashboardLayout-CqMb7OXc.js → DashboardLayout-ePbdvUTE.js} +5 -5
- package/dist/client/{DynamicWebComponent-DqKqTf7l.js → DynamicWebComponent-g5SdRbjY.js} +1 -1
- package/dist/client/{EodashChart-PkUQfH0k.js → EodashChart-ChrkA5oS.js} +7 -6
- package/dist/client/{EodashDatePicker-DLJGdTtX.js → EodashDatePicker-CY1TrsDo.js} +3 -3
- package/dist/client/{EodashItemFilter-Dk8KjFcX.js → EodashItemFilter-DzshHDlS.js} +2 -1
- package/dist/client/{EodashLayerControl-CC1Cogrn.js → EodashLayerControl-DMCeMkSd.js} +70 -22
- package/dist/client/{EodashLayoutSwitcher-5WZYd6rr.js → EodashLayoutSwitcher-iJ8mX1rF.js} +3 -3
- package/dist/client/EodashMapBtns-C7Cr7q5Y.js +592 -0
- package/dist/client/EodashStacInfo-K7-iuXa7.js +169 -0
- package/dist/client/{EodashTools-CGZtTh45.js → EodashTools-BEK7e7JM.js} +4 -4
- package/dist/client/{ExportState-Ce0ZnrX_.js → ExportState-CqIzfMYQ.js} +6 -168
- package/dist/client/{Footer-CnZqEiop.js → Footer-1P0cmBOZ.js} +1 -1
- package/dist/client/{Header-Dr5PBIm8.js → Header-CkkBaBNh.js} +2 -2
- package/dist/client/MobileLayout-BPf49kDU.js +118 -0
- package/dist/client/{PopUp-DjvE_71e.js → PopUp-DPZq5SWI.js} +4 -168
- package/dist/client/{ProcessList-kf3olI7W.js → ProcessList-DuI6WpS1.js} +5 -5
- package/dist/client/VDivider-Bj9LG_JV.js +168 -0
- package/dist/client/{VImg-Bj6uWt6j.js → VImg-Ddv5OyMz.js} +2 -2
- package/dist/client/{VMain-Cm0UmKGi.js → VMain-7yqk_qC3.js} +1 -1
- package/dist/client/{VTooltip-DbBu-ky3.js → VTooltip-2hAJyEoa.js} +2 -2
- package/dist/client/{WidgetsContainer-CfLnd44U.js → WidgetsContainer-2DOrlwCB.js} +1 -1
- package/dist/client/{asWebComponent-DfULAbpq.js → asWebComponent-BlFN2lkB.js} +493 -335
- package/dist/client/{async-CIbKXEEe.js → async-B2H8ZwUK.js} +21 -10
- package/dist/client/create-layers-config-u_vn5hPk.js +182 -0
- package/dist/client/dialog-transition-BrMkMiNa.js +170 -0
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-yj3VWOK5.js → forwardRefs-DAlror6d.js} +8 -87
- package/dist/client/{handling-s8xt2JwF.js → handling-B6I1V5eG.js} +123 -85
- package/dist/client/{helpers-DAVGYl_f.js → helpers-CBqIUSXJ.js} +3034 -1649
- package/dist/client/index-BWq1ZKaV.js +3168 -0
- package/dist/client/{index-CYz6dT7K.js → index-CJ9UI3ln.js} +2 -2
- package/dist/client/index-DXLz4sFR.js +442 -0
- package/dist/client/{index-4TrjfJ32.js → index-DhKU6KqM.js} +230 -231
- package/dist/client/{index-Bu8BMA9q.js → index-DjQlbWbJ.js} +70 -83
- package/dist/client/material-symbols-outlined.woff2 +0 -0
- package/dist/client/material-symbols-rounded.woff2 +0 -0
- package/dist/client/material-symbols-sharp.woff2 +0 -0
- package/dist/client/material-symbols-subset.woff2 +0 -0
- package/dist/client/mosaic-BFYLEwyx.js +455 -0
- package/dist/client/templates.js +250 -119
- package/dist/client/{transition-DaOsiD4u.js → transition-D_W6Wn9v.js} +1 -1
- package/dist/node/cli.js +5 -5
- package/dist/node/types.d.ts +4 -0
- package/dist/types/core/client/composables/DefineEodash.d.ts +1 -1
- package/dist/types/core/client/composables/index.d.ts +1 -3
- package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +62 -31
- package/dist/types/core/client/eodashSTAC/cql.d.ts +15 -0
- package/dist/types/core/client/eodashSTAC/createLayers.d.ts +44 -25
- package/dist/types/core/client/eodashSTAC/helpers.d.ts +78 -18
- package/dist/types/core/client/eodashSTAC/mosaic.d.ts +56 -0
- package/dist/types/core/client/store/stac.d.ts +31 -7
- package/dist/types/core/client/store/states.d.ts +24 -2
- package/dist/types/core/client/types.d.ts +131 -25
- package/dist/types/core/client/utils/states.d.ts +12 -0
- package/dist/types/templates/baseConfig.d.ts +1 -88
- package/dist/types/templates/compare.d.ts +32 -3
- package/dist/types/templates/expert.d.ts +18 -0
- package/dist/types/templates/explore.d.ts +9 -1
- package/dist/types/templates/lite.d.ts +11 -0
- package/dist/types/widgets/EodashChart.vue.d.ts +5 -3
- package/dist/types/widgets/EodashItemCatalog/index.vue.d.ts +129 -2
- package/dist/types/widgets/EodashItemCatalog/methods/filters.d.ts +28 -6
- package/dist/types/widgets/EodashItemCatalog/methods/handlers.d.ts +17 -4
- package/dist/types/widgets/EodashItemCatalog/methods/map.d.ts +16 -4
- package/dist/types/widgets/EodashLayerControl.vue.d.ts +36 -17
- package/dist/types/widgets/EodashMap/EodashMapBtns.vue.d.ts +23 -10
- package/dist/types/widgets/EodashMap/index.vue.d.ts +91 -35
- package/dist/types/widgets/EodashMap/methods/create-layers-config.d.ts +1 -8
- package/dist/types/widgets/EodashMap/methods/index.d.ts +5 -1
- package/dist/types/widgets/EodashMap/methods/use-map-loading.d.ts +1 -0
- package/dist/types/widgets/EodashProcess/index.vue.d.ts +5 -3
- package/dist/types/widgets/EodashProcess/methods/composables.d.ts +1 -1
- package/dist/types/widgets/EodashProcess/methods/handling.d.ts +13 -8
- package/dist/types/widgets/EodashProcess/states.d.ts +1 -1
- package/dist/types/widgets/EodashStacInfo.vue.d.ts +20 -0
- package/dist/types/widgets/EodashTimeSlider/index.vue.d.ts +54 -0
- package/dist/types/widgets/EodashTimeSlider/methods/index.d.ts +34 -0
- package/dist/types/widgets/EodashTimeSlider/types.d.ts +52 -0
- package/dist/types/widgets/EodashTools.vue.d.ts +5 -5
- package/package.json +46 -46
- package/templates/baseConfig.js +36 -6
- package/templates/compare.js +62 -7
- package/templates/expert.js +23 -0
- package/templates/explore.js +11 -5
- package/templates/lite.js +14 -0
- package/widgets/EodashChart.vue +1 -0
- package/widgets/EodashItemCatalog/index.vue +363 -35
- package/widgets/EodashItemCatalog/methods/filters.js +134 -70
- package/widgets/EodashItemCatalog/methods/handlers.js +113 -19
- package/widgets/EodashItemCatalog/methods/map.js +142 -28
- package/widgets/EodashLayerControl.vue +64 -14
- package/widgets/EodashMap/EodashMapBtns.vue +153 -47
- package/widgets/EodashMap/index.vue +101 -105
- package/widgets/EodashMap/methods/btns.js +37 -5
- package/widgets/EodashMap/methods/create-layers-config.js +18 -16
- package/widgets/EodashMap/methods/index.js +89 -8
- package/widgets/EodashMap/methods/use-map-loading.js +52 -0
- package/widgets/EodashProcess/index.vue +2 -1
- package/widgets/EodashProcess/methods/async.js +19 -8
- package/widgets/EodashProcess/methods/composables.js +63 -77
- package/widgets/EodashProcess/methods/custom-endpoints/chart/sentinelhub-endpoint.js +9 -5
- package/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.js +7 -4
- package/widgets/EodashProcess/methods/handling.js +105 -72
- package/widgets/EodashProcess/states.js +1 -1
- package/widgets/EodashStacInfo.vue +64 -2
- package/widgets/EodashTimeSlider/index.vue +208 -0
- package/widgets/EodashTimeSlider/methods/index.js +236 -0
- package/widgets/EodashTimeSlider/types.ts +54 -0
- package/dist/client/EodashMapBtns-BHrSDNoC.js +0 -435
- package/dist/client/EodashStacInfo-B90wobPc.js +0 -107
- package/dist/client/EodashTimeSlider-5vm7F3ju.js +0 -53
- package/dist/client/MobileLayout-DyMjaeif.js +0 -118
- package/dist/client/index-CugS__t5.js +0 -570
- package/dist/types/widgets/EodashTimeSlider.vue.d.ts +0 -15
- package/widgets/EodashTimeSlider.vue +0 -40
|
@@ -1,51 +1,71 @@
|
|
|
1
1
|
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
baseLayers: {
|
|
5
|
+
/** @type {import("vue").PropType<import("@eox/map").EoxLayer[]>} */
|
|
6
|
+
type: import("vue").PropType<import("@eox/map").EoxLayer[]>;
|
|
7
|
+
default: () => {
|
|
8
|
+
type: string;
|
|
9
|
+
source: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
properties: {
|
|
13
|
+
id: string;
|
|
14
|
+
title: string;
|
|
15
|
+
layerControlExclusive: boolean;
|
|
16
|
+
};
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
4
19
|
enableCompare: {
|
|
5
20
|
type: BooleanConstructor;
|
|
6
21
|
default: boolean;
|
|
7
22
|
};
|
|
8
|
-
/**
|
|
9
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Initial map center as [lon, lat]; falls back to the last stored map position.
|
|
25
|
+
* @default [15, 48]
|
|
26
|
+
*/
|
|
27
|
+
center: {
|
|
28
|
+
type: import("vue").PropType<[number, number]>;
|
|
29
|
+
default: () => number[];
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Initial zoom level; falls back to the last stored map position.
|
|
33
|
+
* @default 4
|
|
34
|
+
*/
|
|
10
35
|
zoom: {
|
|
11
36
|
type: NumberConstructor;
|
|
12
37
|
default: number;
|
|
13
38
|
};
|
|
39
|
+
/** Fly to the selected collection's spatial extent on selection. */
|
|
14
40
|
zoomToExtent: {
|
|
15
41
|
type: BooleanConstructor;
|
|
16
42
|
default: boolean;
|
|
17
43
|
};
|
|
44
|
+
/** Show live cursor coordinates as a fixed overlay at the bottom-left of the map. */
|
|
18
45
|
enableCursorCoordinates: {
|
|
19
46
|
type: BooleanConstructor;
|
|
20
47
|
default: boolean;
|
|
21
48
|
};
|
|
49
|
+
/** Show an OpenLayers scale-line control at the bottom-left of the map. */
|
|
22
50
|
enableScaleLine: {
|
|
23
51
|
type: BooleanConstructor;
|
|
24
52
|
default: boolean;
|
|
25
53
|
};
|
|
54
|
+
/** Grid position of the floating button toolbar. `x` accepts responsive `"mobile/tablet/desktop"` column notation. */
|
|
26
55
|
btnsPosition: {
|
|
27
|
-
type:
|
|
56
|
+
type: import("vue").PropType<{
|
|
57
|
+
x: string | number;
|
|
58
|
+
y: number;
|
|
59
|
+
gap: number;
|
|
60
|
+
}>;
|
|
28
61
|
default: () => {
|
|
29
62
|
x: string;
|
|
30
63
|
y: number;
|
|
31
64
|
gap: number;
|
|
32
65
|
};
|
|
33
66
|
};
|
|
67
|
+
/** Toolbar feature flags; set any flag to `false` to hide the corresponding button. */
|
|
34
68
|
btns: {
|
|
35
|
-
/** @type {import("vue").PropType<{
|
|
36
|
-
* enableExportMap?: boolean;
|
|
37
|
-
* enableChangeProjection?: boolean;
|
|
38
|
-
* enableBackToPOIs?: boolean;
|
|
39
|
-
* enableSearch?: boolean;
|
|
40
|
-
* searchParams?: object;
|
|
41
|
-
* enableZoom?: boolean;
|
|
42
|
-
* enableGlobe?: boolean;
|
|
43
|
-
* enableCompareIndicators?: boolean | {
|
|
44
|
-
* compareTemplate?:string;
|
|
45
|
-
* fallbackTemplate?:string;
|
|
46
|
-
* itemFilterConfig?:InstanceType<import("../EodashItemFilter.vue").default>["$props"]
|
|
47
|
-
* };
|
|
48
|
-
* }> }*/
|
|
49
69
|
type: import("vue").PropType<{
|
|
50
70
|
enableExportMap?: boolean;
|
|
51
71
|
enableChangeProjection?: boolean;
|
|
@@ -54,6 +74,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
54
74
|
searchParams?: object;
|
|
55
75
|
enableZoom?: boolean;
|
|
56
76
|
enableGlobe?: boolean;
|
|
77
|
+
enableMosaic?: boolean;
|
|
78
|
+
enableFeedback?: boolean;
|
|
57
79
|
enableCompareIndicators?: boolean | {
|
|
58
80
|
compareTemplate?: string;
|
|
59
81
|
fallbackTemplate?: string;
|
|
@@ -240,55 +262,77 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
240
262
|
enableSearch: boolean;
|
|
241
263
|
enableZoom: boolean;
|
|
242
264
|
enableGlobe: boolean;
|
|
265
|
+
enableMosaic: boolean;
|
|
266
|
+
enableFeedback: boolean;
|
|
243
267
|
searchParams: {};
|
|
244
268
|
};
|
|
245
269
|
};
|
|
246
270
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
271
|
+
baseLayers: {
|
|
272
|
+
/** @type {import("vue").PropType<import("@eox/map").EoxLayer[]>} */
|
|
273
|
+
type: import("vue").PropType<import("@eox/map").EoxLayer[]>;
|
|
274
|
+
default: () => {
|
|
275
|
+
type: string;
|
|
276
|
+
source: {
|
|
277
|
+
type: string;
|
|
278
|
+
};
|
|
279
|
+
properties: {
|
|
280
|
+
id: string;
|
|
281
|
+
title: string;
|
|
282
|
+
layerControlExclusive: boolean;
|
|
283
|
+
};
|
|
284
|
+
}[];
|
|
285
|
+
};
|
|
247
286
|
enableCompare: {
|
|
248
287
|
type: BooleanConstructor;
|
|
249
288
|
default: boolean;
|
|
250
289
|
};
|
|
251
|
-
/**
|
|
252
|
-
|
|
290
|
+
/**
|
|
291
|
+
* Initial map center as [lon, lat]; falls back to the last stored map position.
|
|
292
|
+
* @default [15, 48]
|
|
293
|
+
*/
|
|
294
|
+
center: {
|
|
295
|
+
type: import("vue").PropType<[number, number]>;
|
|
296
|
+
default: () => number[];
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* Initial zoom level; falls back to the last stored map position.
|
|
300
|
+
* @default 4
|
|
301
|
+
*/
|
|
253
302
|
zoom: {
|
|
254
303
|
type: NumberConstructor;
|
|
255
304
|
default: number;
|
|
256
305
|
};
|
|
306
|
+
/** Fly to the selected collection's spatial extent on selection. */
|
|
257
307
|
zoomToExtent: {
|
|
258
308
|
type: BooleanConstructor;
|
|
259
309
|
default: boolean;
|
|
260
310
|
};
|
|
311
|
+
/** Show live cursor coordinates as a fixed overlay at the bottom-left of the map. */
|
|
261
312
|
enableCursorCoordinates: {
|
|
262
313
|
type: BooleanConstructor;
|
|
263
314
|
default: boolean;
|
|
264
315
|
};
|
|
316
|
+
/** Show an OpenLayers scale-line control at the bottom-left of the map. */
|
|
265
317
|
enableScaleLine: {
|
|
266
318
|
type: BooleanConstructor;
|
|
267
319
|
default: boolean;
|
|
268
320
|
};
|
|
321
|
+
/** Grid position of the floating button toolbar. `x` accepts responsive `"mobile/tablet/desktop"` column notation. */
|
|
269
322
|
btnsPosition: {
|
|
270
|
-
type:
|
|
323
|
+
type: import("vue").PropType<{
|
|
324
|
+
x: string | number;
|
|
325
|
+
y: number;
|
|
326
|
+
gap: number;
|
|
327
|
+
}>;
|
|
271
328
|
default: () => {
|
|
272
329
|
x: string;
|
|
273
330
|
y: number;
|
|
274
331
|
gap: number;
|
|
275
332
|
};
|
|
276
333
|
};
|
|
334
|
+
/** Toolbar feature flags; set any flag to `false` to hide the corresponding button. */
|
|
277
335
|
btns: {
|
|
278
|
-
/** @type {import("vue").PropType<{
|
|
279
|
-
* enableExportMap?: boolean;
|
|
280
|
-
* enableChangeProjection?: boolean;
|
|
281
|
-
* enableBackToPOIs?: boolean;
|
|
282
|
-
* enableSearch?: boolean;
|
|
283
|
-
* searchParams?: object;
|
|
284
|
-
* enableZoom?: boolean;
|
|
285
|
-
* enableGlobe?: boolean;
|
|
286
|
-
* enableCompareIndicators?: boolean | {
|
|
287
|
-
* compareTemplate?:string;
|
|
288
|
-
* fallbackTemplate?:string;
|
|
289
|
-
* itemFilterConfig?:InstanceType<import("../EodashItemFilter.vue").default>["$props"]
|
|
290
|
-
* };
|
|
291
|
-
* }> }*/
|
|
292
336
|
type: import("vue").PropType<{
|
|
293
337
|
enableExportMap?: boolean;
|
|
294
338
|
enableChangeProjection?: boolean;
|
|
@@ -297,6 +341,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
297
341
|
searchParams?: object;
|
|
298
342
|
enableZoom?: boolean;
|
|
299
343
|
enableGlobe?: boolean;
|
|
344
|
+
enableMosaic?: boolean;
|
|
345
|
+
enableFeedback?: boolean;
|
|
300
346
|
enableCompareIndicators?: boolean | {
|
|
301
347
|
compareTemplate?: string;
|
|
302
348
|
fallbackTemplate?: string;
|
|
@@ -483,16 +529,24 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
483
529
|
enableSearch: boolean;
|
|
484
530
|
enableZoom: boolean;
|
|
485
531
|
enableGlobe: boolean;
|
|
532
|
+
enableMosaic: boolean;
|
|
533
|
+
enableFeedback: boolean;
|
|
486
534
|
searchParams: {};
|
|
487
535
|
};
|
|
488
536
|
};
|
|
489
537
|
}>> & Readonly<{}>, {
|
|
538
|
+
center: [number, number];
|
|
539
|
+
baseLayers: import("@eox/map/src/layers.js").EoxLayer[];
|
|
490
540
|
enableCompare: boolean;
|
|
491
541
|
zoom: number;
|
|
492
542
|
zoomToExtent: boolean;
|
|
493
543
|
enableCursorCoordinates: boolean;
|
|
494
544
|
enableScaleLine: boolean;
|
|
495
|
-
btnsPosition:
|
|
545
|
+
btnsPosition: {
|
|
546
|
+
x: string | number;
|
|
547
|
+
y: number;
|
|
548
|
+
gap: number;
|
|
549
|
+
};
|
|
496
550
|
btns: {
|
|
497
551
|
enableExportMap?: boolean;
|
|
498
552
|
enableChangeProjection?: boolean;
|
|
@@ -501,6 +555,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
501
555
|
searchParams?: object;
|
|
502
556
|
enableZoom?: boolean;
|
|
503
557
|
enableGlobe?: boolean;
|
|
558
|
+
enableMosaic?: boolean;
|
|
559
|
+
enableFeedback?: boolean;
|
|
504
560
|
enableCompareIndicators?: boolean | {
|
|
505
561
|
compareTemplate?: string;
|
|
506
562
|
fallbackTemplate?: string;
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
export function createLayersConfig(selectedIndicator: import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, eodashCols: EodashCollection[], timeOrItem?: string | import("stac-ts").StacItem | null): Promise<
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
id: string;
|
|
5
|
-
title: string;
|
|
6
|
-
};
|
|
7
|
-
layers: Record<string, any>[];
|
|
8
|
-
}[]>;
|
|
1
|
+
export function createLayersConfig(selectedIndicator: import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, eodashCols: EodashCollection[], timeOrItem?: string | import("stac-ts").StacItem | null, defaultBaseLayers?: Record<string, any>[]): Promise<Record<string, any>[]>;
|
|
9
2
|
import { EodashCollection } from "../../../core/client/eodashSTAC/EodashCollection";
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export { useMapLoading } from "./use-map-loading";
|
|
1
2
|
export function useHandleMapMoveEnd(mapElement: import("vue").Ref<(HTMLElement & Record<string, any> & {
|
|
2
3
|
map: import("ol").Map;
|
|
3
4
|
}) | null>, mapPosition: import("vue").Ref<(number | undefined)[]>): void;
|
|
4
|
-
export function useInitMap(mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>, selectedIndicator: import("vue").Ref<import("stac-ts").StacCollection | null>, eodashCols: import("../../../core/client/eodashSTAC/EodashCollection").EodashCollection[], datetime: import("vue").Ref<string>, mapLayers: import("vue").Ref<Record<string, any>[]>, partnerMap: import("vue").Ref<import("@eox/map").EOxMap | null>, zoomToExtent: boolean, selectedItem?: import("vue").Ref<import("stac-ts").StacItem | import("stac-ts").StacLink | null>): void;
|
|
5
|
+
export function useInitMap(mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>, selectedIndicator: import("vue").Ref<import("stac-ts").StacCollection | null>, eodashCols: import("../../../core/client/eodashSTAC/EodashCollection").EodashCollection[], datetime: import("vue").Ref<string>, mapLayers: import("vue").Ref<Record<string, any>[]>, partnerMap: import("vue").Ref<import("@eox/map").EOxMap | null>, zoomToExtent: boolean, selectedItem?: import("vue").Ref<import("stac-ts").StacItem | import("stac-ts").StacLink | null>, defaultBaseLayers?: Record<string, any>[]): void;
|
|
5
6
|
export function useUpdateTooltipProperties(eodashCols: import("../../../core/client/eodashSTAC/EodashCollection").EodashCollection[], tooltipProperties: import("vue").Ref<Exclude<import("../../../core/client/types").EodashStyleJson["tooltip"], undefined>>, enableCompare?: boolean): void;
|
|
7
|
+
import { useEmitLayersUpdate } from "../../../core/client/composables";
|
|
8
|
+
import { useOnLayersUpdate } from "../../../core/client/composables";
|
|
9
|
+
export { useEmitLayersUpdate, useOnLayersUpdate };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function useMapLoading(mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>, compareMapElement: import("vue").Ref<import("@eox/map").EOxMap | null>): void;
|
|
@@ -6,7 +6,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
6
6
|
default: boolean;
|
|
7
7
|
};
|
|
8
8
|
vegaEmbedOptions: {
|
|
9
|
-
type
|
|
9
|
+
/** @type {import("vue").PropType<import("vega-embed").EmbedOptions>} */
|
|
10
|
+
type: import("vue").PropType<import("vega-embed").EmbedOptions>;
|
|
10
11
|
default(): {
|
|
11
12
|
actions: boolean;
|
|
12
13
|
};
|
|
@@ -17,12 +18,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
17
18
|
default: boolean;
|
|
18
19
|
};
|
|
19
20
|
vegaEmbedOptions: {
|
|
20
|
-
type
|
|
21
|
+
/** @type {import("vue").PropType<import("vega-embed").EmbedOptions>} */
|
|
22
|
+
type: import("vue").PropType<import("vega-embed").EmbedOptions>;
|
|
21
23
|
default(): {
|
|
22
24
|
actions: boolean;
|
|
23
25
|
};
|
|
24
26
|
};
|
|
25
27
|
}>> & Readonly<{}>, {
|
|
26
28
|
enableCompare: boolean;
|
|
27
|
-
vegaEmbedOptions:
|
|
29
|
+
vegaEmbedOptions: import("vega-embed").EmbedOptions<string, import("vega-typings").Renderers>;
|
|
28
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -14,5 +14,5 @@ export function useInitProcess({ selectedStac, jsonformSchema, isProcessed, proc
|
|
|
14
14
|
isProcessed: import("vue").Ref<boolean>;
|
|
15
15
|
loading: import("vue").Ref<boolean>;
|
|
16
16
|
isPolling: import("vue").Ref<boolean>;
|
|
17
|
-
mapElement: import("@eox/map").EOxMap | null
|
|
17
|
+
mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>;
|
|
18
18
|
}): void;
|
|
@@ -10,32 +10,37 @@
|
|
|
10
10
|
* @param {import("vue").Ref<boolean>} params.isProcessed
|
|
11
11
|
* @param {import("vue").Ref<boolean>} params.loading
|
|
12
12
|
* @param {import("vue").Ref<boolean>} params.isPolling
|
|
13
|
+
* @param {import("@eox/map").EOxMap | null} params.mapElement
|
|
13
14
|
* @param {boolean} params.enableCompare
|
|
14
15
|
*/
|
|
15
|
-
export function initProcess({ selectedStac, jsonformSchema, isProcessed, processResults, loading, isPolling, enableCompare, }: {
|
|
16
|
+
export function initProcess({ selectedStac, jsonformSchema, isProcessed, processResults, loading, isPolling, enableCompare, mapElement, }: {
|
|
16
17
|
selectedStac: import("vue").Ref<import("stac-ts").StacCollection | null>;
|
|
17
18
|
jsonformSchema: import("vue").Ref<Record<string, any> | null>;
|
|
18
19
|
processResults: import("vue").Ref<any[]>;
|
|
19
20
|
isProcessed: import("vue").Ref<boolean>;
|
|
20
21
|
loading: import("vue").Ref<boolean>;
|
|
21
22
|
isPolling: import("vue").Ref<boolean>;
|
|
23
|
+
mapElement: import("@eox/map").EOxMap | null;
|
|
22
24
|
enableCompare: boolean;
|
|
23
25
|
}): Promise<void>;
|
|
24
26
|
/**
|
|
25
|
-
* Update the jsonform schema to have the correct layer id from the map
|
|
27
|
+
* Update the jsonform schema to have the correct layer id from the map.
|
|
28
|
+
* Returns null if any required layerId cannot be resolved (layer not yet in map).
|
|
29
|
+
* Callers should treat null as "retry when layers:updated fires".
|
|
26
30
|
*
|
|
27
31
|
* @export
|
|
28
|
-
* @async
|
|
29
32
|
* @param {Object} params
|
|
30
|
-
* @param {Record<string,any> | null} params.jsonformSchema
|
|
31
|
-
* @param {Record<string, any>[] | undefined} params.newLayers
|
|
32
|
-
* @param {
|
|
33
|
-
* @
|
|
33
|
+
* @param {Record<string,any> | null} params.jsonformSchema
|
|
34
|
+
* @param {Record<string, any>[] | undefined} params.newLayers
|
|
35
|
+
* @param {boolean} params.enableCompare
|
|
36
|
+
* @param {import("@eox/map").EOxMap | null | undefined} params.mapElement
|
|
37
|
+
* @returns {Promise<Record<string,any> | null>} updated schema, or null if a layerId could not be resolved
|
|
34
38
|
*/
|
|
35
|
-
export function updateJsonformIdentifier({ jsonformSchema, newLayers, enableCompare, }: {
|
|
39
|
+
export function updateJsonformIdentifier({ jsonformSchema, newLayers, enableCompare, mapElement, }: {
|
|
36
40
|
jsonformSchema: Record<string, any> | null;
|
|
37
41
|
newLayers: Record<string, any>[] | undefined;
|
|
38
42
|
enableCompare: boolean;
|
|
43
|
+
mapElement: import("@eox/map").EOxMap | null | undefined;
|
|
39
44
|
}): Promise<Record<string, any> | null>;
|
|
40
45
|
/**
|
|
41
46
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The list of job result from the server
|
|
3
3
|
* {job_start_datetime: string, job_end_datetime: string,status: string}
|
|
4
4
|
* @type {import("vue").Ref<import("./types").AsyncJob[]>}
|
|
5
|
-
|
|
5
|
+
*/
|
|
6
6
|
export const jobs: import("vue").Ref<import("./types").AsyncJob[]>;
|
|
7
7
|
/**
|
|
8
8
|
* The list of jobs results from the server for the compare map
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
level: {
|
|
5
|
+
type: import("vue").PropType<"item" | "collection">;
|
|
6
|
+
default: string;
|
|
7
|
+
validator: (v: string) => boolean;
|
|
8
|
+
};
|
|
9
|
+
styleOverride: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
4
13
|
allowHtml: {
|
|
5
14
|
type: BooleanConstructor;
|
|
6
15
|
default: boolean;
|
|
@@ -81,6 +90,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
81
90
|
default: () => string[];
|
|
82
91
|
};
|
|
83
92
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
+
level: {
|
|
94
|
+
type: import("vue").PropType<"item" | "collection">;
|
|
95
|
+
default: string;
|
|
96
|
+
validator: (v: string) => boolean;
|
|
97
|
+
};
|
|
98
|
+
styleOverride: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
84
102
|
allowHtml: {
|
|
85
103
|
type: BooleanConstructor;
|
|
86
104
|
default: boolean;
|
|
@@ -173,6 +191,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
173
191
|
key: string;
|
|
174
192
|
filter?: (item: any) => boolean;
|
|
175
193
|
})[];
|
|
194
|
+
styleOverride: string;
|
|
195
|
+
level: "collection" | "item";
|
|
176
196
|
allowHtml: boolean;
|
|
177
197
|
tags: (string | {
|
|
178
198
|
key: string;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
filters: {
|
|
5
|
+
/** @type {import("vue").PropType<import("@eox/itemfilter").EOxItemFilter["filterProperties"]>} */
|
|
6
|
+
type: import("vue").PropType<import("@eox/itemfilter").EOxItemFilter["filterProperties"]>;
|
|
7
|
+
default: () => never[];
|
|
8
|
+
};
|
|
9
|
+
animate: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
useMosaic: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
mosaicIndicators: {
|
|
18
|
+
/** @type {import("vue").PropType<string[]>} */
|
|
19
|
+
type: import("vue").PropType<string[]>;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
filters: {
|
|
24
|
+
/** @type {import("vue").PropType<import("@eox/itemfilter").EOxItemFilter["filterProperties"]>} */
|
|
25
|
+
type: import("vue").PropType<import("@eox/itemfilter").EOxItemFilter["filterProperties"]>;
|
|
26
|
+
default: () => never[];
|
|
27
|
+
};
|
|
28
|
+
animate: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
useMosaic: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
mosaicIndicators: {
|
|
37
|
+
/** @type {import("vue").PropType<string[]>} */
|
|
38
|
+
type: import("vue").PropType<string[]>;
|
|
39
|
+
default: () => never[];
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{}>, {
|
|
42
|
+
animate: boolean;
|
|
43
|
+
filters: {
|
|
44
|
+
key?: string;
|
|
45
|
+
keys?: Array<string>;
|
|
46
|
+
title: string;
|
|
47
|
+
type: string;
|
|
48
|
+
placeholder?: string;
|
|
49
|
+
format?: string;
|
|
50
|
+
state?: any;
|
|
51
|
+
}[];
|
|
52
|
+
useMosaic: boolean;
|
|
53
|
+
mosaicIndicators: string[];
|
|
54
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {string} stacEndpoint
|
|
3
|
+
* @param {[string, string]} selectedRange
|
|
4
|
+
* @param {import("../types").TimelineExportEventDetail["selectedRangeItems"]} selectedRangeItems
|
|
5
|
+
* @param {import("vue").Ref<import("stac-ts").StacCollection|null>} selectedStac
|
|
6
|
+
* @param {import("../../../core/client/types").ItemFilterFilters} filters
|
|
7
|
+
*/
|
|
8
|
+
export function createAnimationLayers(stacEndpoint: string, selectedRange: [string, string], selectedRangeItems: import("../types").TimelineExportEventDetail["selectedRangeItems"], selectedStac: import("vue").Ref<import("stac-ts").StacCollection | null>, filters: import("../../../core/client/types").ItemFilterFilters): Promise<{
|
|
9
|
+
layers: Record<string, any>[];
|
|
10
|
+
date: string;
|
|
11
|
+
}[]>;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @param {Record<string, any>[]} layers
|
|
15
|
+
* @returns {Record<string, any>[]}
|
|
16
|
+
*/
|
|
17
|
+
export function anonimizeLayersCORS(layers: Record<string, any>[]): Record<string, any>[];
|
|
18
|
+
/**
|
|
19
|
+
* returns the list of layers that has visibility hidden
|
|
20
|
+
* @param {import("@eox/map").EoxLayer[]} layers
|
|
21
|
+
* @returns {{ collections: string[]; layers: string[] }}
|
|
22
|
+
*/
|
|
23
|
+
export function getHiddenLayers(layers: import("@eox/map").EoxLayer[]): {
|
|
24
|
+
collections: string[];
|
|
25
|
+
layers: string[];
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Iterates through a list of layers and updates layer.properties.visible to true
|
|
29
|
+
* if it is set to false
|
|
30
|
+
* @param {import("@eox/map").EoxLayer[]} layers
|
|
31
|
+
* @returns {import("@eox/map").EoxLayer[]}
|
|
32
|
+
*/
|
|
33
|
+
export function restoreLayersVisibility(layers: import("@eox/map").EoxLayer[]): import("@eox/map").EoxLayer[];
|
|
34
|
+
export { useScheduleMosaicUpdate } from "../../../core/client/eodashSTAC/mosaic";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { ItemFilterFilters } from "../../core/client/types";
|
|
2
|
+
export interface TimelineSelectionEventDetail {
|
|
3
|
+
date: [string, string];
|
|
4
|
+
instances: {
|
|
5
|
+
layer: import("ol/layer/Layer").default;
|
|
6
|
+
source: import("ol/source/Source").default;
|
|
7
|
+
};
|
|
8
|
+
filters: ItemFilterFilters;
|
|
9
|
+
selectedItems: {
|
|
10
|
+
[layerId: string]: SelectedItem[];
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface SelectedItem {
|
|
14
|
+
className: string;
|
|
15
|
+
date: string;
|
|
16
|
+
group: string;
|
|
17
|
+
id: string;
|
|
18
|
+
itemId: string;
|
|
19
|
+
local: string;
|
|
20
|
+
originalDate: string;
|
|
21
|
+
property: string;
|
|
22
|
+
start: string;
|
|
23
|
+
type: string;
|
|
24
|
+
utc: string;
|
|
25
|
+
}
|
|
26
|
+
export interface TimelineExportEventDetail {
|
|
27
|
+
eoxMapConfig: {
|
|
28
|
+
layers: Record<string, any>[];
|
|
29
|
+
zoom: number;
|
|
30
|
+
center: [number, number];
|
|
31
|
+
};
|
|
32
|
+
filters: ItemFilterFilters;
|
|
33
|
+
instances: {
|
|
34
|
+
layer: import("ol/layer/Layer").default;
|
|
35
|
+
source: import("ol/source/Source").default;
|
|
36
|
+
};
|
|
37
|
+
selectedRangeItems: {
|
|
38
|
+
[layerId: string]: SelectedItem[];
|
|
39
|
+
};
|
|
40
|
+
generate: (args: {
|
|
41
|
+
mapLayers: Array<{
|
|
42
|
+
layers: Record<string, any>[];
|
|
43
|
+
date: string;
|
|
44
|
+
}>;
|
|
45
|
+
center?: [number, number];
|
|
46
|
+
zoom?: number;
|
|
47
|
+
}) => Promise<void>;
|
|
48
|
+
}
|
|
49
|
+
export interface ItemFilterEventDetail {
|
|
50
|
+
result: Record<string, any>;
|
|
51
|
+
filters: ItemFilterFilters;
|
|
52
|
+
}
|
|
@@ -397,6 +397,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
397
397
|
default: () => void;
|
|
398
398
|
};
|
|
399
399
|
}>> & Readonly<{}>, {
|
|
400
|
+
layoutIcon: string;
|
|
401
|
+
layoutTarget: string;
|
|
402
|
+
showIndicatorsBtn: boolean;
|
|
403
|
+
showLayoutSwitcher: boolean;
|
|
404
|
+
indicatorBtnText: string;
|
|
400
405
|
itemFilterConfig: Partial<{
|
|
401
406
|
enableCompare: boolean;
|
|
402
407
|
filtersTitle: string;
|
|
@@ -439,9 +444,4 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
439
444
|
readonly aggregateResults?: string | undefined;
|
|
440
445
|
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
441
446
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "enableCompare" | "filtersTitle" | "resultsTitle" | "titleProperty" | "aggregateResults" | "imageProperty" | "subTitleProperty" | "resultType" | "cssVars" | "enableHighlighting" | "expandMultipleFilters" | "expandMultipleResults" | "styleOverride" | "filterProperties">;
|
|
442
|
-
showIndicatorsBtn: boolean;
|
|
443
|
-
showLayoutSwitcher: boolean;
|
|
444
|
-
layoutTarget: string;
|
|
445
|
-
layoutIcon: string;
|
|
446
|
-
indicatorBtnText: string;
|
|
447
447
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|