@eodash/eodash 5.0.0-rc.1 → 5.0.0-rc.1.6
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/README.md +1 -1
- package/core/client/composables/EodashMap.js +19 -5
- package/core/client/composables/EodashProcess.js +51 -5
- package/core/client/eodash.js +8 -7
- package/core/client/eodashSTAC/EodashCollection.js +16 -0
- package/core/client/eodashSTAC/createLayers.js +61 -4
- package/core/client/eodashSTAC/helpers.js +39 -4
- package/core/client/types.ts +7 -0
- package/core/client/utils/states.js +3 -0
- package/dist/client/{DashboardLayout-FS5inBIm.js → DashboardLayout-SZfMDUoR.js} +2 -2
- package/dist/client/{DynamicWebComponent-CBSgT677.js → DynamicWebComponent-I9gzMY0L.js} +1 -1
- package/dist/client/EodashDatePicker-B9_u6TTm.js +405 -0
- package/dist/client/{EodashItemFilter-CFNKjm_Z.js → EodashItemFilter-G7YsYO3B.js} +1 -1
- package/dist/client/{EodashLayerControl-CzffoPUs.js → EodashLayerControl-CJ94ul63.js} +10 -2
- package/dist/client/{EodashLayoutSwitcher-DM0zDhvI.js → EodashLayoutSwitcher-DRKm8A8U.js} +2 -2
- package/dist/client/{EodashMap-BdFZ657e.js → EodashMap-Dp44Ajbi.js} +60 -10
- package/dist/client/{EodashMapBtns-rC_IPD-Z.js → EodashMapBtns-BlPFwhPc.js} +4 -4
- package/dist/client/{EodashProcess-SLsTISKV.js → EodashProcess-BLmIgUGT.js} +158 -25
- package/dist/client/{EodashStacInfo-DFD0gtWm.js → EodashStacInfo-BIRcfcMo.js} +1 -1
- package/dist/client/{EodashTools-ImohD2ys.js → EodashTools-PNfJ-Cw3.js} +4 -4
- package/dist/client/{ExportState-LNZAovzM.js → ExportState-5JyTshJH.js} +4 -4
- package/dist/client/{Footer-c19dV1ZR.js → Footer-CM9hgdQP.js} +1 -1
- package/dist/client/{Header-CcvXFqqt.js → Header-BTq4DW1x.js} +3 -3
- package/dist/client/{MobileLayout-OM6Wc-vj.js → MobileLayout-Atfoxf8d.js} +5 -5
- package/dist/client/{PopUp-B0_c0207.js → PopUp-Bmfn3N_4.js} +3 -3
- package/dist/client/{VImg-BpDhCbL0.js → VImg-CUF4S39i.js} +2 -2
- package/dist/client/{VMain-DC05bDwX.js → VMain-CQpXnzDR.js} +1 -1
- package/dist/client/{VOverlay-C7EUyVe_.js → VOverlay-DUnITwM1.js} +3 -3
- package/dist/client/{VTooltip-C78suika.js → VTooltip-BYTlbKer.js} +3 -3
- package/dist/client/{WidgetsContainer-sD1vDnhF.js → WidgetsContainer-BPbgxdb0.js} +1 -1
- package/dist/client/{asWebComponent-D8bMMCEr.js → asWebComponent-DW1XzZkL.js} +138 -27
- package/dist/client/eo-dash.css +1 -1
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-yw6tFXER.js → forwardRefs-gx1Fzngc.js} +1 -1
- package/dist/client/{index-CpK_Yaom.js → index-DvFppNyk.js} +1 -1
- package/dist/client/{transition-B2YwqAYJ.js → transition-j2eWJYMg.js} +1 -1
- package/dist/types/core/client/App.vue.d.ts +7 -0
- package/dist/types/core/client/asWebComponent.d.ts +9 -0
- package/dist/types/core/client/components/DashboardLayout.vue.d.ts +2 -0
- package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +20 -0
- package/dist/types/core/client/components/ErrorAlert.vue.d.ts +2 -0
- package/dist/types/core/client/components/Footer.vue.d.ts +106 -0
- package/dist/types/core/client/components/Header.vue.d.ts +2 -0
- package/dist/types/core/client/components/IframeWrapper.vue.d.ts +7 -0
- package/dist/types/core/client/components/Loading.vue.d.ts +2 -0
- package/dist/types/core/client/components/MobileLayout.vue.d.ts +312 -0
- package/dist/types/core/client/composables/DefineEodash.d.ts +2 -0
- package/dist/types/core/client/composables/DefineTemplate.d.ts +15 -0
- package/dist/types/core/client/composables/DefineWidgets.d.ts +14 -0
- package/dist/types/core/client/composables/EodashMap.d.ts +6 -0
- package/dist/types/core/client/composables/EodashProcess.d.ts +162 -0
- package/dist/types/core/client/composables/index.d.ts +9 -0
- package/dist/types/core/client/eodash.d.ts +8 -0
- package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +113 -0
- package/dist/types/core/client/eodashSTAC/createLayers.d.ts +45 -0
- package/dist/types/core/client/eodashSTAC/helpers.d.ts +135 -0
- package/dist/types/core/client/eodashSTAC/triggers.d.ts +1 -0
- package/dist/types/core/client/main.d.ts +2 -0
- package/dist/types/core/client/plugins/axios.d.ts +2 -0
- package/dist/types/core/client/plugins/index.d.ts +3 -0
- package/dist/types/core/client/plugins/vuetify.d.ts +82 -0
- package/dist/types/core/client/render.d.ts +1 -0
- package/dist/types/core/client/store/actions.d.ts +12 -0
- package/dist/types/core/client/store/index.d.ts +11 -0
- package/dist/types/core/client/store/stac.d.ts +25 -0
- package/dist/types/core/client/store/states.d.ts +22 -0
- package/dist/types/core/client/types.d.ts +279 -0
- package/dist/types/core/client/utils/index.d.ts +2 -0
- package/dist/types/core/client/utils/keys.d.ts +8 -0
- package/dist/types/core/client/utils/states.d.ts +20 -0
- package/dist/types/core/client/views/Dashboard.vue.d.ts +9 -0
- package/dist/types/widgets/EodashDatePicker.vue.d.ts +15 -0
- package/dist/types/widgets/EodashItemFilter.vue.d.ts +44 -0
- package/dist/types/widgets/EodashLayerControl.vue.d.ts +13 -0
- package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +11 -0
- package/dist/types/widgets/EodashMap.vue.d.ts +14 -0
- package/dist/types/widgets/EodashMapBtns.vue.d.ts +13 -0
- package/dist/types/widgets/EodashProcess.vue.d.ts +4 -0
- package/dist/types/widgets/EodashStacInfo.vue.d.ts +21 -0
- package/dist/types/widgets/EodashTools.vue.d.ts +19 -0
- package/dist/types/widgets/ExportState.vue.d.ts +7 -0
- package/dist/types/widgets/PopUp.vue.d.ts +27 -0
- package/dist/types/widgets/WidgetsContainer.vue.d.ts +10 -0
- package/package.json +11 -11
- package/widgets/EodashDatePicker.vue +89 -6
- package/widgets/EodashLayerControl.vue +13 -1
- package/widgets/EodashMap.vue +51 -5
- package/widgets/EodashProcess.vue +57 -11
- package/dist/client/EodashDatePicker-BGSS2ZYK.js +0 -306
|
@@ -0,0 +1,162 @@
|
|
|
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("@eox/chart").EOxChart["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("@eox/chart").EOxChart["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"] | null>} params.chartSpec
|
|
106
|
+
* @param {import("vue").Ref<Record<string, any> | null>} params.chartData
|
|
107
|
+
* @param {import("vue").Ref<boolean>} params.isPolling
|
|
108
|
+
* @param {import("vue").Ref<any[]>} params.processResults
|
|
109
|
+
*/
|
|
110
|
+
export function handleProcesses({ loading, selectedStac, jsonformEl, jsonformSchema, chartSpec, chartData, isPolling, processResults, }: {
|
|
111
|
+
loading: import("vue").Ref<boolean>;
|
|
112
|
+
selectedStac: import("vue").Ref<import("stac-ts").StacCollection | null>;
|
|
113
|
+
jsonformEl: import("vue").Ref<import("@eox/jsonform").EOxJSONForm | null>;
|
|
114
|
+
jsonformSchema: import("vue").Ref<Record<string, any> | null>;
|
|
115
|
+
chartSpec: import("vue").Ref<import("@eox/chart").EOxChart["spec"] | null>;
|
|
116
|
+
chartData: import("vue").Ref<Record<string, any> | null>;
|
|
117
|
+
isPolling: import("vue").Ref<boolean>;
|
|
118
|
+
processResults: import("vue").Ref<any[]>;
|
|
119
|
+
}): Promise<void>;
|
|
120
|
+
/**
|
|
121
|
+
* Reset the process state
|
|
122
|
+
* @param {Object} params
|
|
123
|
+
* @param {import("vue").Ref<boolean>} params.loading
|
|
124
|
+
* @param {import("vue").Ref<boolean>} params.isProcessed
|
|
125
|
+
* @param {import("vue").Ref<import("@eox/chart").EOxChart["spec"] | null>} params.chartSpec
|
|
126
|
+
* @param {import("vue").Ref<boolean>} params.isPolling
|
|
127
|
+
* @param {import("vue").Ref<any[]>} params.processResults
|
|
128
|
+
* @param {import("vue").Ref<Record<string,any>|null>} params.jsonformSchema
|
|
129
|
+
*/
|
|
130
|
+
export function resetProcess({ loading, isProcessed, chartSpec, jsonformSchema, processResults, isPolling, }: {
|
|
131
|
+
loading: import("vue").Ref<boolean>;
|
|
132
|
+
isProcessed: import("vue").Ref<boolean>;
|
|
133
|
+
chartSpec: import("vue").Ref<import("@eox/chart").EOxChart["spec"] | null>;
|
|
134
|
+
isPolling: import("vue").Ref<boolean>;
|
|
135
|
+
processResults: import("vue").Ref<any[]>;
|
|
136
|
+
jsonformSchema: import("vue").Ref<Record<string, any> | null>;
|
|
137
|
+
}): void;
|
|
138
|
+
/**
|
|
139
|
+
* Description placeholder
|
|
140
|
+
*
|
|
141
|
+
* @export
|
|
142
|
+
* @async
|
|
143
|
+
* @param {Object} params
|
|
144
|
+
* @param {import("vue").Ref<import("stac-ts").StacCollection>} params.selectedStac
|
|
145
|
+
* @param {import("vue").Ref<import("@eox/jsonform").EOxJSONForm | null>} params.jsonformEl
|
|
146
|
+
* @param {import("vue").Ref<Record<string,any> | null>} params.jsonformSchema
|
|
147
|
+
* @param {import("vue").Ref<import("@eox/chart").EOxChart["spec"] | null>} params.chartSpec
|
|
148
|
+
* @param {import("vue").Ref<any[]>} params.processResults
|
|
149
|
+
* @param {import("vue").Ref<boolean>} params.isProcessed
|
|
150
|
+
* @param {import("vue").Ref<boolean>} params.loading
|
|
151
|
+
* @param {import("vue").Ref<boolean>} params.isPolling
|
|
152
|
+
*/
|
|
153
|
+
export function initProcess({ selectedStac, jsonformEl, jsonformSchema, chartSpec, isProcessed, processResults, loading, isPolling, }: {
|
|
154
|
+
selectedStac: import("vue").Ref<import("stac-ts").StacCollection>;
|
|
155
|
+
jsonformEl: import("vue").Ref<import("@eox/jsonform").EOxJSONForm | null>;
|
|
156
|
+
jsonformSchema: import("vue").Ref<Record<string, any> | null>;
|
|
157
|
+
chartSpec: import("vue").Ref<import("@eox/chart").EOxChart["spec"] | null>;
|
|
158
|
+
processResults: import("vue").Ref<any[]>;
|
|
159
|
+
isProcessed: import("vue").Ref<boolean>;
|
|
160
|
+
loading: import("vue").Ref<boolean>;
|
|
161
|
+
isPolling: import("vue").Ref<boolean>;
|
|
162
|
+
}): 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,113 @@
|
|
|
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("../types").EodashStyleJson | undefined;
|
|
8
|
+
type: string;
|
|
9
|
+
source: {
|
|
10
|
+
type: string;
|
|
11
|
+
url: string | undefined;
|
|
12
|
+
format: string;
|
|
13
|
+
};
|
|
14
|
+
properties: {
|
|
15
|
+
layerConfig?: {
|
|
16
|
+
style: import("../types").EodashStyleJson | 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("../types").EodashStyleJson | 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
|
+
getToolTipProperties(): Promise<{
|
|
101
|
+
id: string;
|
|
102
|
+
title?: string;
|
|
103
|
+
appendix?: string;
|
|
104
|
+
}[]>;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @param {string} datetime
|
|
108
|
+
* @param {string} layer
|
|
109
|
+
* @param {string} map
|
|
110
|
+
*/
|
|
111
|
+
updateLayerJson(datetime: string, layer: string, map: string): Promise<Record<string, any>[] | undefined>;
|
|
112
|
+
#private;
|
|
113
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {string} collectionId
|
|
3
|
+
* @param {string} title
|
|
4
|
+
* @param {Record<string,import("stac-ts").StacAsset>} assets
|
|
5
|
+
* @param {import("stac-ts").StacItem } item
|
|
6
|
+
* @param {import("../types").EodashStyleJson} [style]
|
|
7
|
+
* @param {Record<string, unknown>} [layerConfig]
|
|
8
|
+
* @param {Record<string, unknown>} [layerDatetime]
|
|
9
|
+
* @param {object | null} [extraProperties]
|
|
10
|
+
**/
|
|
11
|
+
export function createLayersFromAssets(collectionId: string, title: string, assets: Record<string, import("stac-ts").StacAsset>, item: import("stac-ts").StacItem, style?: import("../types").EodashStyleJson, layerConfig?: Record<string, unknown>, layerDatetime?: Record<string, unknown>, extraProperties?: object | null): Promise<({
|
|
12
|
+
style?: import("../types").EodashStyleJson | undefined;
|
|
13
|
+
type: string;
|
|
14
|
+
source: {
|
|
15
|
+
type: string;
|
|
16
|
+
url: string | undefined;
|
|
17
|
+
format: string;
|
|
18
|
+
};
|
|
19
|
+
properties: {
|
|
20
|
+
layerConfig?: {
|
|
21
|
+
style: import("../types").EodashStyleJson | undefined;
|
|
22
|
+
} | undefined;
|
|
23
|
+
id: string;
|
|
24
|
+
title: string;
|
|
25
|
+
layerDatetime: Record<string, unknown> | undefined;
|
|
26
|
+
};
|
|
27
|
+
} | {
|
|
28
|
+
type: string;
|
|
29
|
+
source: {
|
|
30
|
+
type: string;
|
|
31
|
+
normalize: boolean;
|
|
32
|
+
interpolate: boolean;
|
|
33
|
+
sources: {
|
|
34
|
+
url: string;
|
|
35
|
+
}[];
|
|
36
|
+
};
|
|
37
|
+
properties: {
|
|
38
|
+
id: string;
|
|
39
|
+
title: string;
|
|
40
|
+
layerConfig: Record<string, unknown> | undefined;
|
|
41
|
+
layerDatetime: Record<string, unknown> | undefined;
|
|
42
|
+
};
|
|
43
|
+
style: import("../types").EodashStyleJson | undefined;
|
|
44
|
+
})[]>;
|
|
45
|
+
export function createLayersFromLinks(collectionId: string, title: string, item: import("stac-ts").StacItem, layerDatetime?: Record<string, any>, extraProperties?: object | null): Promise<Record<string, any>[]>;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/** @param {import("stac-ts").StacLink[]} [links] */
|
|
2
|
+
export function generateFeatures(links?: import("stac-ts").StacLink[]): {
|
|
3
|
+
type: string;
|
|
4
|
+
crs: {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
features: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>[];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Sperates and extracts layerConfig (jsonform schema & legend) from a style json
|
|
14
|
+
*
|
|
15
|
+
* @param { import("../types").EodashStyleJson} [style] */
|
|
16
|
+
export function extractLayerConfig(style?: import("../types").EodashStyleJson): {
|
|
17
|
+
layerConfig: undefined;
|
|
18
|
+
style: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
layerConfig: Record<string, unknown> | undefined;
|
|
21
|
+
style: import("../types").EodashStyleJson;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Function to extract collection urls from an indicator
|
|
25
|
+
* @param {import("stac-ts").StacCatalog
|
|
26
|
+
* | import("stac-ts").StacCollection
|
|
27
|
+
* | import("stac-ts").StacItem
|
|
28
|
+
* | null
|
|
29
|
+
* } stacObject
|
|
30
|
+
* @param {string} basepath
|
|
31
|
+
*/
|
|
32
|
+
export function extractCollectionUrls(stacObject: import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, basepath: string): string[];
|
|
33
|
+
/**
|
|
34
|
+
* Assigns projection code to the layer ID
|
|
35
|
+
* @param {import("stac-ts").StacItem} item
|
|
36
|
+
* @param {import("stac-ts").StacLink | import("stac-ts").StacAsset} linkOrAsset
|
|
37
|
+
* @param {string} id - {@link createLayerID} & {@link extractRoles}
|
|
38
|
+
* @param {{ properties:{id:string} & Record<string, any> }& Record<string,any>} layer
|
|
39
|
+
* @returns
|
|
40
|
+
*/
|
|
41
|
+
export function assignProjID(item: import("stac-ts").StacItem, linkOrAsset: import("stac-ts").StacLink | import("stac-ts").StacAsset, id: string, layer: {
|
|
42
|
+
properties: {
|
|
43
|
+
id: string;
|
|
44
|
+
} & Record<string, any>;
|
|
45
|
+
} & Record<string, any>): string;
|
|
46
|
+
/**
|
|
47
|
+
* @param {string[]} geojsonUrls
|
|
48
|
+
*/
|
|
49
|
+
export function mergeGeojsons(geojsonUrls: string[]): Promise<string | undefined>;
|
|
50
|
+
export function extractRoles(properties: Record<string, any>, linkOrAsset: import("stac-ts").StacLink | import("stac-ts").StacAsset): void;
|
|
51
|
+
export function fetchStyle(item: import("stac-ts").StacItem, itemUrl: string): Promise<{
|
|
52
|
+
filter?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
53
|
+
"icon-src"?: string | undefined;
|
|
54
|
+
"icon-anchor"?: number[] | import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
55
|
+
"icon-anchor-origin"?: import("ol/style/Icon.js").IconOrigin | undefined;
|
|
56
|
+
"icon-anchor-x-units"?: import("ol/style/Icon.js").IconAnchorUnits | undefined;
|
|
57
|
+
"icon-anchor-y-units"?: import("ol/style/Icon.js").IconAnchorUnits | undefined;
|
|
58
|
+
"icon-color"?: import("ol/style/webgl.js").ColorExpression | undefined;
|
|
59
|
+
"icon-opacity"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
60
|
+
"icon-cross-origin"?: string | null | undefined;
|
|
61
|
+
"icon-displacement"?: number[] | import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
62
|
+
"icon-scale"?: import("ol/size.js").Size | import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
63
|
+
"icon-width"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
64
|
+
"icon-height"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
65
|
+
"icon-rotation"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
66
|
+
"icon-rotate-with-view"?: boolean | undefined;
|
|
67
|
+
"icon-offset"?: number[] | import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
68
|
+
"icon-offset-origin"?: import("ol/style/Icon.js").IconOrigin | undefined;
|
|
69
|
+
"icon-size"?: import("ol/size.js").Size | import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
70
|
+
"stroke-color"?: import("ol/style/webgl.js").ColorExpression | undefined;
|
|
71
|
+
"stroke-width"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
72
|
+
"stroke-offset"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
73
|
+
"stroke-line-cap"?: string | number | boolean | any[] | import("ol/color.js").Color | undefined;
|
|
74
|
+
"stroke-line-join"?: string | number | boolean | any[] | import("ol/color.js").Color | undefined;
|
|
75
|
+
"stroke-line-dash"?: number[] | import("ol/expr/expression.js").ExpressionValue[] | undefined;
|
|
76
|
+
"stroke-line-dash-offset"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
77
|
+
"stroke-miter-limit"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
78
|
+
"stroke-pattern-src"?: string | undefined;
|
|
79
|
+
"stroke-pattern-offset"?: number[] | import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
80
|
+
"stroke-pattern-offset-origin"?: import("ol/style/Icon.js").IconOrigin | undefined;
|
|
81
|
+
"stroke-pattern-size"?: import("ol/size.js").Size | import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
82
|
+
"stroke-pattern-spacing"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
83
|
+
"fill-color"?: import("ol/style/webgl.js").ColorExpression | undefined;
|
|
84
|
+
"fill-pattern-src"?: string | undefined;
|
|
85
|
+
"fill-pattern-offset"?: number[] | import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
86
|
+
"fill-pattern-offset-origin"?: import("ol/style/Icon.js").IconOrigin | undefined;
|
|
87
|
+
"fill-pattern-size"?: import("ol/size.js").Size | import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
88
|
+
"circle-radius"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
89
|
+
"circle-fill-color"?: import("ol/style/webgl.js").ColorExpression | undefined;
|
|
90
|
+
"circle-stroke-color"?: import("ol/style/webgl.js").ColorExpression | undefined;
|
|
91
|
+
"circle-stroke-width"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
92
|
+
"circle-opacity"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
93
|
+
"circle-displacement"?: number[] | import("ol/expr/expression.js").ExpressionValue[] | undefined;
|
|
94
|
+
"circle-scale"?: import("ol/size.js").Size | import("ol/expr/expression.js").ExpressionValue | import("ol/expr/expression.js").ExpressionValue[] | undefined;
|
|
95
|
+
"circle-rotation"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
96
|
+
"circle-rotate-with-view"?: boolean | undefined;
|
|
97
|
+
"shape-points"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
98
|
+
"shape-fill-color"?: import("ol/style/webgl.js").ColorExpression | undefined;
|
|
99
|
+
"shape-stroke-color"?: import("ol/style/webgl.js").ColorExpression | undefined;
|
|
100
|
+
"shape-stroke-width"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
101
|
+
"shape-opacity"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
102
|
+
"shape-radius"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
103
|
+
"shape-radius2"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
104
|
+
"shape-angle"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
105
|
+
"shape-displacement"?: number[] | import("ol/expr/expression.js").ExpressionValue[] | undefined;
|
|
106
|
+
"shape-rotation"?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
107
|
+
"shape-rotate-with-view"?: boolean | undefined;
|
|
108
|
+
"shape-scale"?: import("ol/size.js").Size | import("ol/expr/expression.js").ExpressionValue | import("ol/expr/expression.js").ExpressionValue[] | undefined;
|
|
109
|
+
variables?: Record<string, any>;
|
|
110
|
+
legend?: Record<string, any>;
|
|
111
|
+
jsonform?: Record<string, any>;
|
|
112
|
+
tooltip?: {
|
|
113
|
+
id: string;
|
|
114
|
+
title?: string;
|
|
115
|
+
appendix?: string;
|
|
116
|
+
}[];
|
|
117
|
+
} | undefined>;
|
|
118
|
+
export function getProjectionCode(projection?: string | number | {
|
|
119
|
+
name: string;
|
|
120
|
+
def: string;
|
|
121
|
+
}): string;
|
|
122
|
+
export function extractLayerDatetime(links?: import("stac-ts").StacLink[], currentStep?: string | null): {
|
|
123
|
+
controlValues: string[];
|
|
124
|
+
currentStep: string;
|
|
125
|
+
slider: boolean;
|
|
126
|
+
navigation: boolean;
|
|
127
|
+
play: boolean;
|
|
128
|
+
displayFormat: string;
|
|
129
|
+
} | undefined;
|
|
130
|
+
export function findLayer(layers: Record<string, any>[], layer: string): Record<string, any> | undefined;
|
|
131
|
+
export function replaceLayer(currentLayers: Record<string, any>[], oldLayer: string, newLayers: Record<string, any>[]): Record<string, any>[] | undefined;
|
|
132
|
+
export function getColFromLayer(indicators: import("../eodashSTAC/EodashCollection.js").EodashCollection[], layer: import("ol/layer").Layer): Promise<import("../eodashSTAC/EodashCollection.js").EodashCollection | undefined>;
|
|
133
|
+
export function createLayerID(collectionId: string, itemId: string, link: import("stac-ts").StacLink, projectionCode: string): string;
|
|
134
|
+
export function createAssetID(collectionId: string, itemId: string, index: number): string;
|
|
135
|
+
export function removeUnneededProperties(layers: Record<string, any>[]): Record<string, any>[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function setMapProjFromCol(STAcCollection?: import("stac-ts").StacCollection): Promise<void>;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export default vuetify;
|
|
2
|
+
declare const vuetify: {
|
|
3
|
+
install: (app: import("vue").App) => void;
|
|
4
|
+
defaults: import("vue").Ref<import("vuetify").DefaultsInstance>;
|
|
5
|
+
display: import("vuetify").DisplayInstance;
|
|
6
|
+
theme: import("vuetify").ThemeInstance & {
|
|
7
|
+
install: (app: import("vue").App) => void;
|
|
8
|
+
};
|
|
9
|
+
icons: {
|
|
10
|
+
defaultSet: string;
|
|
11
|
+
aliases: Partial<import("vuetify").IconAliases>;
|
|
12
|
+
sets: Record<string, import("vuetify").IconSet>;
|
|
13
|
+
};
|
|
14
|
+
locale: {
|
|
15
|
+
isRtl: import("vue").Ref<boolean>;
|
|
16
|
+
rtl: import("vue").Ref<Record<string, boolean>>;
|
|
17
|
+
rtlClasses: import("vue").Ref<string>;
|
|
18
|
+
name: string;
|
|
19
|
+
messages: import("vue").Ref<import("vuetify").LocaleMessages>;
|
|
20
|
+
current: import("vue").Ref<string>;
|
|
21
|
+
fallback: import("vue").Ref<string>;
|
|
22
|
+
t: (key: string, ...params: unknown[]) => string;
|
|
23
|
+
n: (value: number) => string;
|
|
24
|
+
provide: (props: import("vuetify").LocaleOptions) => import("vuetify").LocaleInstance;
|
|
25
|
+
};
|
|
26
|
+
date: {
|
|
27
|
+
options: {
|
|
28
|
+
adapter: (new (options: {
|
|
29
|
+
locale: any;
|
|
30
|
+
formats?: any;
|
|
31
|
+
}) => import("vuetify").DateInstance) | import("vuetify").DateInstance;
|
|
32
|
+
formats?: Record<string, any>;
|
|
33
|
+
locale: Record<string, any>;
|
|
34
|
+
};
|
|
35
|
+
instance: {
|
|
36
|
+
locale?: any;
|
|
37
|
+
date: (value?: any) => unknown;
|
|
38
|
+
format: (date: unknown, formatString: string) => string;
|
|
39
|
+
toJsDate: (value: unknown) => Date;
|
|
40
|
+
parseISO: (date: string) => unknown;
|
|
41
|
+
toISO: (date: unknown) => string;
|
|
42
|
+
startOfDay: (date: unknown) => unknown;
|
|
43
|
+
endOfDay: (date: unknown) => unknown;
|
|
44
|
+
startOfWeek: (date: unknown, firstDayOfWeek?: number | string) => unknown;
|
|
45
|
+
endOfWeek: (date: unknown) => unknown;
|
|
46
|
+
startOfMonth: (date: unknown) => unknown;
|
|
47
|
+
endOfMonth: (date: unknown) => unknown;
|
|
48
|
+
startOfYear: (date: unknown) => unknown;
|
|
49
|
+
endOfYear: (date: unknown) => unknown;
|
|
50
|
+
isAfter: (date: unknown, comparing: unknown) => boolean;
|
|
51
|
+
isAfterDay: (value: unknown, comparing: unknown) => boolean;
|
|
52
|
+
isSameDay: (date: unknown, comparing: unknown) => boolean;
|
|
53
|
+
isSameMonth: (date: unknown, comparing: unknown) => boolean;
|
|
54
|
+
isSameYear: (value: unknown, comparing: unknown) => boolean;
|
|
55
|
+
isBefore: (date: unknown, comparing: unknown) => boolean;
|
|
56
|
+
isEqual: (date: unknown, comparing: unknown) => boolean;
|
|
57
|
+
isValid: (date: any) => boolean;
|
|
58
|
+
isWithinRange: (date: unknown, range: [unknown, unknown]) => boolean;
|
|
59
|
+
addMinutes: (date: unknown, amount: number) => unknown;
|
|
60
|
+
addHours: (date: unknown, amount: number) => unknown;
|
|
61
|
+
addDays: (date: unknown, amount: number) => unknown;
|
|
62
|
+
addWeeks: (date: unknown, amount: number) => unknown;
|
|
63
|
+
addMonths: (date: unknown, amount: number) => unknown;
|
|
64
|
+
getYear: (date: unknown) => number;
|
|
65
|
+
setYear: (date: unknown, year: number) => unknown;
|
|
66
|
+
getDiff: (date: unknown, comparing: unknown, unit?: string) => number;
|
|
67
|
+
getWeekArray: (date: unknown, firstDayOfWeek?: number | string) => unknown[][];
|
|
68
|
+
getWeekdays: (firstDayOfWeek?: number | string) => string[];
|
|
69
|
+
getMonth: (date: unknown) => number;
|
|
70
|
+
setMonth: (date: unknown, month: number) => unknown;
|
|
71
|
+
getDate: (date: unknown) => number;
|
|
72
|
+
setDate: (date: unknown, day: number) => unknown;
|
|
73
|
+
getNextMonth: (date: unknown) => unknown;
|
|
74
|
+
getPreviousMonth: (date: unknown) => unknown;
|
|
75
|
+
getHours: (date: unknown) => number;
|
|
76
|
+
setHours: (date: unknown, hours: number) => unknown;
|
|
77
|
+
getMinutes: (date: unknown) => number;
|
|
78
|
+
setMinutes: (date: unknown, minutes: number) => unknown;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
goTo: import("vuetify").GoToInstance;
|
|
82
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export function getLayers(): Record<string, any>[];
|
|
2
|
+
export function getCompareLayers(): Record<string, any>[];
|
|
3
|
+
export function registerProjection(projection?: string | number | {
|
|
4
|
+
name: string;
|
|
5
|
+
def: string;
|
|
6
|
+
extent?: number[];
|
|
7
|
+
}): Promise<void>;
|
|
8
|
+
export function changeMapProjection(projection?: string | number | {
|
|
9
|
+
name: string;
|
|
10
|
+
def: string;
|
|
11
|
+
}): Promise<void>;
|
|
12
|
+
export function setActiveTemplate(template: string): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export namespace stac {
|
|
3
|
+
export { useSTAcStore };
|
|
4
|
+
}
|
|
5
|
+
export { actions };
|
|
6
|
+
export { states };
|
|
7
|
+
}
|
|
8
|
+
export default _default;
|
|
9
|
+
import { useSTAcStore } from "./stac";
|
|
10
|
+
import * as actions from "./actions";
|
|
11
|
+
import * as states from "./states";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const useSTAcStore: import("pinia").StoreDefinition<"stac", Pick<{
|
|
2
|
+
stac: import("vue").Ref<import("stac-ts").StacLink[] | null, import("stac-ts").StacLink[] | null>;
|
|
3
|
+
loadSTAC: (url?: import("../types").StacEndpoint) => Promise<void>;
|
|
4
|
+
loadSelectedSTAC: (relativePath?: string) => Promise<void>;
|
|
5
|
+
loadSelectedCompareSTAC: (relativePath?: string) => Promise<void>;
|
|
6
|
+
resetSelectedCompareSTAC: () => Promise<void>;
|
|
7
|
+
selectedStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
|
|
8
|
+
selectedCompareStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
|
|
9
|
+
}, "stac" | "selectedStac" | "selectedCompareStac">, Pick<{
|
|
10
|
+
stac: import("vue").Ref<import("stac-ts").StacLink[] | null, import("stac-ts").StacLink[] | null>;
|
|
11
|
+
loadSTAC: (url?: import("../types").StacEndpoint) => Promise<void>;
|
|
12
|
+
loadSelectedSTAC: (relativePath?: string) => Promise<void>;
|
|
13
|
+
loadSelectedCompareSTAC: (relativePath?: string) => Promise<void>;
|
|
14
|
+
resetSelectedCompareSTAC: () => Promise<void>;
|
|
15
|
+
selectedStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
|
|
16
|
+
selectedCompareStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
|
|
17
|
+
}, never>, Pick<{
|
|
18
|
+
stac: import("vue").Ref<import("stac-ts").StacLink[] | null, import("stac-ts").StacLink[] | null>;
|
|
19
|
+
loadSTAC: (url?: import("../types").StacEndpoint) => Promise<void>;
|
|
20
|
+
loadSelectedSTAC: (relativePath?: string) => Promise<void>;
|
|
21
|
+
loadSelectedCompareSTAC: (relativePath?: string) => Promise<void>;
|
|
22
|
+
resetSelectedCompareSTAC: () => Promise<void>;
|
|
23
|
+
selectedStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
|
|
24
|
+
selectedCompareStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
|
|
25
|
+
}, "loadSTAC" | "loadSelectedSTAC" | "loadSelectedCompareSTAC" | "resetSelectedCompareSTAC">>;
|