@eodash/eodash 5.7.0 → 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.
Files changed (113) hide show
  1. package/core/client/components/EodashOverlay.vue +27 -4
  2. package/core/client/composables/DefineEodash.js +0 -1
  3. package/core/client/composables/DefineWidgets.js +3 -1
  4. package/core/client/eodashSTAC/EodashCollection.js +74 -20
  5. package/core/client/eodashSTAC/cql.js +64 -0
  6. package/core/client/eodashSTAC/createLayers.js +169 -116
  7. package/core/client/eodashSTAC/helpers.js +391 -98
  8. package/core/client/eodashSTAC/mosaic.js +416 -0
  9. package/core/client/plugins/axios.js +31 -1
  10. package/core/client/store/actions.js +1 -1
  11. package/core/client/store/stac.js +25 -4
  12. package/core/client/store/states.js +20 -2
  13. package/core/client/types.ts +147 -28
  14. package/core/client/utils/bands-editor/exampleSchema.json +50 -50
  15. package/core/client/utils/states.js +10 -0
  16. package/dist/client/{DashboardLayout-kRsmsNW5.js → DashboardLayout-ePbdvUTE.js} +2 -2
  17. package/dist/client/{DynamicWebComponent-CnKhYo0K.js → DynamicWebComponent-g5SdRbjY.js} +1 -1
  18. package/dist/client/{EodashChart-CLDqE93C.js → EodashChart-ChrkA5oS.js} +7 -6
  19. package/dist/client/{EodashDatePicker-CMPDT-ce.js → EodashDatePicker-CY1TrsDo.js} +3 -3
  20. package/dist/client/{EodashItemFilter-BpdA8QQa.js → EodashItemFilter-DzshHDlS.js} +2 -1
  21. package/dist/client/{EodashLayerControl-BHpDA4_0.js → EodashLayerControl-DMCeMkSd.js} +50 -20
  22. package/dist/client/{EodashLayoutSwitcher-B1fRUt7G.js → EodashLayoutSwitcher-iJ8mX1rF.js} +3 -3
  23. package/dist/client/{EodashMapBtns-Cpned0tc.js → EodashMapBtns-C7Cr7q5Y.js} +200 -86
  24. package/dist/client/EodashStacInfo-K7-iuXa7.js +169 -0
  25. package/dist/client/{EodashTools-1zHz26gv.js → EodashTools-BEK7e7JM.js} +4 -4
  26. package/dist/client/{ExportState-DbOm8hBI.js → ExportState-CqIzfMYQ.js} +6 -168
  27. package/dist/client/{Footer-BKg-VVkj.js → Footer-1P0cmBOZ.js} +1 -1
  28. package/dist/client/{Header-DCrwCvmY.js → Header-CkkBaBNh.js} +2 -2
  29. package/dist/client/{MobileLayout-vWSHpluo.js → MobileLayout-BPf49kDU.js} +2 -2
  30. package/dist/client/{PopUp-9uimfK49.js → PopUp-DPZq5SWI.js} +4 -168
  31. package/dist/client/{ProcessList-CTTIZa06.js → ProcessList-DuI6WpS1.js} +5 -5
  32. package/dist/client/VDivider-Bj9LG_JV.js +168 -0
  33. package/dist/client/{VImg-CrmB76ZY.js → VImg-Ddv5OyMz.js} +2 -2
  34. package/dist/client/{VMain-OKZNpcEG.js → VMain-7yqk_qC3.js} +1 -1
  35. package/dist/client/{VTooltip-CJw2FyWk.js → VTooltip-2hAJyEoa.js} +2 -2
  36. package/dist/client/{WidgetsContainer-BaWOnE5R.js → WidgetsContainer-2DOrlwCB.js} +1 -1
  37. package/dist/client/{asWebComponent-BHWpMuE3.js → asWebComponent-BlFN2lkB.js} +456 -306
  38. package/dist/client/{async-DSKj6g1f.js → async-B2H8ZwUK.js} +2 -2
  39. package/dist/client/{create-layers-config-CBoYedqB.js → create-layers-config-u_vn5hPk.js} +17 -17
  40. package/dist/client/dialog-transition-BrMkMiNa.js +170 -0
  41. package/dist/client/eo-dash.js +1 -1
  42. package/dist/client/{forwardRefs-DH51zPUr.js → forwardRefs-DAlror6d.js} +8 -87
  43. package/dist/client/{handling-BrcDDlgS.js → handling-B6I1V5eG.js} +3 -3
  44. package/dist/client/{helpers-DjZVl_WF.js → helpers-CBqIUSXJ.js} +794 -182
  45. package/dist/client/index-BWq1ZKaV.js +3168 -0
  46. package/dist/client/{index-CUjl-ZsI.js → index-CJ9UI3ln.js} +2 -2
  47. package/dist/client/{index-CSG_JoOA.js → index-DXLz4sFR.js} +62 -56
  48. package/dist/client/{index-1JKE68n3.js → index-DhKU6KqM.js} +211 -67
  49. package/dist/client/{index-Cu3-13Xg.js → index-DjQlbWbJ.js} +7 -6
  50. package/dist/client/mosaic-BFYLEwyx.js +455 -0
  51. package/dist/client/templates.js +250 -119
  52. package/dist/client/{transition-OHcz5Qq1.js → transition-D_W6Wn9v.js} +1 -1
  53. package/dist/node/cli.js +5 -5
  54. package/dist/node/types.d.ts +4 -0
  55. package/dist/types/core/client/composables/DefineEodash.d.ts +1 -1
  56. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +57 -25
  57. package/dist/types/core/client/eodashSTAC/cql.d.ts +15 -0
  58. package/dist/types/core/client/eodashSTAC/createLayers.d.ts +42 -23
  59. package/dist/types/core/client/eodashSTAC/helpers.d.ts +77 -18
  60. package/dist/types/core/client/eodashSTAC/mosaic.d.ts +56 -0
  61. package/dist/types/core/client/store/stac.d.ts +31 -7
  62. package/dist/types/core/client/store/states.d.ts +24 -2
  63. package/dist/types/core/client/types.d.ts +123 -24
  64. package/dist/types/core/client/utils/states.d.ts +12 -0
  65. package/dist/types/templates/baseConfig.d.ts +1 -100
  66. package/dist/types/templates/compare.d.ts +32 -3
  67. package/dist/types/templates/expert.d.ts +18 -0
  68. package/dist/types/templates/explore.d.ts +9 -1
  69. package/dist/types/templates/lite.d.ts +11 -0
  70. package/dist/types/widgets/EodashChart.vue.d.ts +5 -3
  71. package/dist/types/widgets/EodashItemCatalog/index.vue.d.ts +129 -2
  72. package/dist/types/widgets/EodashItemCatalog/methods/filters.d.ts +28 -6
  73. package/dist/types/widgets/EodashItemCatalog/methods/handlers.d.ts +17 -4
  74. package/dist/types/widgets/EodashItemCatalog/methods/map.d.ts +16 -4
  75. package/dist/types/widgets/EodashLayerControl.vue.d.ts +35 -16
  76. package/dist/types/widgets/EodashMap/EodashMapBtns.vue.d.ts +14 -10
  77. package/dist/types/widgets/EodashMap/index.vue.d.ts +86 -37
  78. package/dist/types/widgets/EodashMap/methods/create-layers-config.d.ts +1 -1
  79. package/dist/types/widgets/EodashMap/methods/index.d.ts +5 -1
  80. package/dist/types/widgets/EodashMap/methods/use-map-loading.d.ts +1 -0
  81. package/dist/types/widgets/EodashProcess/index.vue.d.ts +5 -3
  82. package/dist/types/widgets/EodashProcess/states.d.ts +1 -1
  83. package/dist/types/widgets/EodashStacInfo.vue.d.ts +20 -0
  84. package/dist/types/widgets/EodashTimeSlider/index.vue.d.ts +20 -0
  85. package/dist/types/widgets/EodashTimeSlider/methods/index.d.ts +3 -8
  86. package/dist/types/widgets/EodashTimeSlider/types.d.ts +6 -16
  87. package/dist/types/widgets/EodashTools.vue.d.ts +5 -5
  88. package/package.json +33 -33
  89. package/templates/baseConfig.js +36 -6
  90. package/templates/compare.js +62 -7
  91. package/templates/expert.js +23 -0
  92. package/templates/explore.js +11 -5
  93. package/templates/lite.js +14 -0
  94. package/widgets/EodashChart.vue +1 -0
  95. package/widgets/EodashItemCatalog/index.vue +363 -35
  96. package/widgets/EodashItemCatalog/methods/filters.js +134 -70
  97. package/widgets/EodashItemCatalog/methods/handlers.js +113 -19
  98. package/widgets/EodashItemCatalog/methods/map.js +142 -28
  99. package/widgets/EodashLayerControl.vue +42 -11
  100. package/widgets/EodashMap/EodashMapBtns.vue +109 -48
  101. package/widgets/EodashMap/index.vue +89 -105
  102. package/widgets/EodashMap/methods/btns.js +37 -5
  103. package/widgets/EodashMap/methods/create-layers-config.js +16 -16
  104. package/widgets/EodashMap/methods/index.js +71 -8
  105. package/widgets/EodashMap/methods/use-map-loading.js +52 -0
  106. package/widgets/EodashProcess/index.vue +1 -0
  107. package/widgets/EodashProcess/states.js +1 -1
  108. package/widgets/EodashStacInfo.vue +64 -2
  109. package/widgets/EodashTimeSlider/index.vue +58 -2
  110. package/widgets/EodashTimeSlider/methods/index.js +5 -48
  111. package/widgets/EodashTimeSlider/types.ts +7 -17
  112. package/dist/client/EodashStacInfo-BQspAHKH.js +0 -107
  113. package/dist/client/index-5Jhsa8Xe.js +0 -570
@@ -5,6 +5,22 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
5
5
  type: StringConstructor;
6
6
  default: string;
7
7
  };
8
+ hoverProperties: {
9
+ /** @type {import("vue").PropType<string[]>} */
10
+ type: import("vue").PropType<string[]>;
11
+ default: () => string[];
12
+ };
13
+ sortBy: {
14
+ /** @type {import("vue").PropType<{ property: string, label: string }[]>} */
15
+ type: import("vue").PropType<{
16
+ property: string;
17
+ label: string;
18
+ }[]>;
19
+ default: () => {
20
+ property: string;
21
+ label: string;
22
+ }[];
23
+ };
8
24
  layoutTarget: {
9
25
  type: StringConstructor;
10
26
  default: string;
@@ -21,6 +37,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
21
37
  type: StringConstructor;
22
38
  default: string;
23
39
  };
40
+ datetimeFilter: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
24
44
  bboxFilter: {
25
45
  type: BooleanConstructor;
26
46
  default: boolean;
@@ -29,6 +49,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
29
49
  type: StringConstructor;
30
50
  default: string;
31
51
  };
52
+ showTitleBlock: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
32
56
  filters: {
33
57
  /** @type {import("vue").PropType<import("./types").FiltersConfig>} */
34
58
  type: import("vue").PropType<import("./types").FiltersConfig>;
@@ -38,15 +62,65 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
38
62
  title: string;
39
63
  min: number;
40
64
  max: number;
65
+ step: number;
66
+ state: {
67
+ min: number;
68
+ max: number;
69
+ };
41
70
  icon: string;
42
71
  unitLabel: string;
43
72
  }[];
44
73
  };
74
+ enableCompare: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ useMosaic: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ mosaicIndicators: {
83
+ /** @type {import("vue").PropType<string[]>} */
84
+ type: import("vue").PropType<string[]>;
85
+ required: false;
86
+ };
87
+ stacEndpoint: {
88
+ type: StringConstructor;
89
+ default: null;
90
+ };
91
+ searchLimit: {
92
+ type: NumberConstructor;
93
+ default: number;
94
+ };
95
+ stacItemsStyle: {
96
+ type: ObjectConstructor;
97
+ required: false;
98
+ };
99
+ stacItemsInteractionStyle: {
100
+ type: ObjectConstructor;
101
+ required: false;
102
+ };
45
103
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
104
  title: {
47
105
  type: StringConstructor;
48
106
  default: string;
49
107
  };
108
+ hoverProperties: {
109
+ /** @type {import("vue").PropType<string[]>} */
110
+ type: import("vue").PropType<string[]>;
111
+ default: () => string[];
112
+ };
113
+ sortBy: {
114
+ /** @type {import("vue").PropType<{ property: string, label: string }[]>} */
115
+ type: import("vue").PropType<{
116
+ property: string;
117
+ label: string;
118
+ }[]>;
119
+ default: () => {
120
+ property: string;
121
+ label: string;
122
+ }[];
123
+ };
50
124
  layoutTarget: {
51
125
  type: StringConstructor;
52
126
  default: string;
@@ -63,6 +137,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
63
137
  type: StringConstructor;
64
138
  default: string;
65
139
  };
140
+ datetimeFilter: {
141
+ type: BooleanConstructor;
142
+ default: boolean;
143
+ };
66
144
  bboxFilter: {
67
145
  type: BooleanConstructor;
68
146
  default: boolean;
@@ -71,6 +149,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
71
149
  type: StringConstructor;
72
150
  default: string;
73
151
  };
152
+ showTitleBlock: {
153
+ type: BooleanConstructor;
154
+ default: boolean;
155
+ };
74
156
  filters: {
75
157
  /** @type {import("vue").PropType<import("./types").FiltersConfig>} */
76
158
  type: import("vue").PropType<import("./types").FiltersConfig>;
@@ -80,17 +162,62 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
80
162
  title: string;
81
163
  min: number;
82
164
  max: number;
165
+ step: number;
166
+ state: {
167
+ min: number;
168
+ max: number;
169
+ };
83
170
  icon: string;
84
171
  unitLabel: string;
85
172
  }[];
86
173
  };
174
+ enableCompare: {
175
+ type: BooleanConstructor;
176
+ default: boolean;
177
+ };
178
+ useMosaic: {
179
+ type: BooleanConstructor;
180
+ default: boolean;
181
+ };
182
+ mosaicIndicators: {
183
+ /** @type {import("vue").PropType<string[]>} */
184
+ type: import("vue").PropType<string[]>;
185
+ required: false;
186
+ };
187
+ stacEndpoint: {
188
+ type: StringConstructor;
189
+ default: null;
190
+ };
191
+ searchLimit: {
192
+ type: NumberConstructor;
193
+ default: number;
194
+ };
195
+ stacItemsStyle: {
196
+ type: ObjectConstructor;
197
+ required: false;
198
+ };
199
+ stacItemsInteractionStyle: {
200
+ type: ObjectConstructor;
201
+ required: false;
202
+ };
87
203
  }>> & Readonly<{}>, {
88
204
  title: string;
205
+ stacEndpoint: string;
206
+ filters: import("./types").FiltersConfig;
207
+ enableCompare: boolean;
89
208
  filtersTitle: string;
90
209
  resultsTitle: string;
91
210
  imageProperty: string;
92
- layoutTarget: string;
93
211
  layoutIcon: string;
212
+ layoutTarget: string;
213
+ hoverProperties: string[];
214
+ sortBy: {
215
+ property: string;
216
+ label: string;
217
+ }[];
218
+ datetimeFilter: boolean;
94
219
  bboxFilter: boolean;
95
- filters: import("./types").FiltersConfig;
220
+ showTitleBlock: boolean;
221
+ useMosaic: boolean;
222
+ searchLimit: number;
96
223
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -5,10 +5,12 @@ export function createFilterProperties(filtersConfig: Array<{
5
5
  title?: string;
6
6
  min?: number;
7
7
  max?: number;
8
+ step?: number;
8
9
  filterKeys?: string[];
9
10
  state?: Record<string, boolean>;
10
11
  placeholder?: string;
11
- }>): ({
12
+ format?: string;
13
+ }>, datetimeFilter: boolean): ({
12
14
  state?: {
13
15
  [indicator.value]: boolean;
14
16
  } | undefined;
@@ -18,13 +20,29 @@ export function createFilterProperties(filtersConfig: Array<{
18
20
  placeholder: string;
19
21
  inline: boolean;
20
22
  filterKeys: unknown[];
23
+ } | {
24
+ property?: string | undefined;
25
+ type: string;
26
+ title: string;
27
+ min?: number;
28
+ max?: number;
29
+ step?: number;
30
+ filterKeys?: string[];
31
+ state?: Record<string, boolean>;
32
+ placeholder?: string;
33
+ format: string;
34
+ key: string;
21
35
  } | {
22
36
  key: string;
23
37
  title: string;
24
38
  type: string;
25
39
  expanded: boolean;
40
+ min: number | undefined;
41
+ max: number | undefined;
42
+ step: number | undefined;
43
+ format: string | undefined;
26
44
  filterKeys: number[];
27
- state: {
45
+ state: Record<string, boolean> | {
28
46
  min: number;
29
47
  max: number;
30
48
  };
@@ -38,12 +56,16 @@ export function createFilterProperties(filtersConfig: Array<{
38
56
  filterKeys: string[];
39
57
  state: Record<string, boolean> | undefined;
40
58
  expanded?: undefined;
59
+ min?: undefined;
60
+ max?: undefined;
61
+ step?: undefined;
62
+ format?: undefined;
41
63
  inline?: undefined;
42
64
  } | null)[];
43
- export function buildStacFilters(filters: Record<string, any>, propsFilters: import("../types").FiltersConfig): string;
44
- export function buildSearchUrl(filters: Record<string, any>, propsFilters: Array<any>, bboxFilter: boolean): string;
45
- export function createExternalFilter(propsFilters: import("../types").FiltersConfig, bboxFilter: boolean): (_items: Array<any>, filters: Record<string, any>) => {
65
+ export function buildSearchUrl(filters: import("../../../core/client/types").ItemFilterFilters, bboxFilter: boolean, datetimeFilter: boolean, searchLimit: number, sortBy?: string, stacEndpoint?: string | null): string;
66
+ export function createExternalFilter(propsFilters: import("../types").FiltersConfig, bboxFilter: boolean, datetimeFilter: boolean, currentItems: import("vue").Ref<import("../../../core/client/types").GeoJsonFeature[]>, sortBy: import("vue").Ref<string>, searchLimit: number, selectedItemRef?: import("vue").Ref<import("stac-ts").StacItem | null>, stacEndpoint?: import("vue").Ref<string | null> | string | null): (_items: Array<any>, filters: Record<string, any>) => {
46
67
  url: string;
47
- key: string;
68
+ /** @param {string} url */
69
+ fetchFn: (url: string) => Promise<import("../../../core/client/types").GeoJsonFeature<Record<string, any>, import("geojson").Geometry>[] | (import("stac-ts").StacItem | import("../../../core/client/types").GeoJsonFeature<Record<string, any>, import("geojson").Geometry>)[]>;
48
70
  };
49
71
  import { indicator } from "../../../core/client/store/states";
@@ -1,4 +1,17 @@
1
- export function createOnFilterHandler(currentItems: import("vue").Ref<import("../../../core/client/types").GeoJsonFeature[]>): (evt: CustomEvent) => void;
2
- export function createOnSelectHandler(store: ReturnType<typeof import("../../../core/client/store/stac.js").useSTAcStore>): (evt: CustomEvent) => Promise<void>;
3
- export function onMouseEnterResult(evt: CustomEvent): void;
4
- export function onMouseLeaveResult(): void;
1
+ export function createOnFilterHandler({ currentItems, mapElement, hoverProperties, stacItemsStyle, stacItemsInteractionStyle, itemfilterEl, selectedItemRef, mosaicOptions, }: {
2
+ currentItems: import("vue").Ref<import("../../../core/client/types").GeoJsonFeature[]>;
3
+ mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>;
4
+ hoverProperties: string[] | undefined;
5
+ stacItemsStyle?: object;
6
+ stacItemsInteractionStyle?: object;
7
+ itemfilterEl?: import("vue").Ref<any>;
8
+ selectedItemRef?: import("vue").Ref<import("stac-ts").StacItem | null>;
9
+ mosaicOptions?: {
10
+ isMosaicEnabled: import("vue").ComputedRef<boolean>;
11
+ getMosaicEndpoint: () => string | null | undefined;
12
+ scheduleMosaicUpdate: (mosaicEndpoint: string | null | undefined, timeRange?: [string, string], filters?: import("../../../core/client/types").ItemFilterFilters) => void;
13
+ } | null;
14
+ }): (evt: CustomEvent) => void;
15
+ export function createOnSelectHandler(store: ReturnType<typeof import("../../../core/client/store/stac.js").useSTAcStore>, enableCompare: boolean, mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>): (evt: CustomEvent) => Promise<void>;
16
+ export function createOnMouseEnterResult(mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>): (evt: CustomEvent) => void;
17
+ export function createOnMouseLeaveResult(mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>): () => void;
@@ -1,12 +1,24 @@
1
1
  /**
2
2
  *
3
3
  * @param {import("../../../core/client/types").GeoJsonFeature[]} features
4
+ * @param {import("vue").Ref<import("@eox/map").EOxMap | null>} mapElement
5
+ * @param {string[] | undefined} hoverProperties
6
+ * @param {object} [stacItemsStyle]
7
+ * @param {object} [stacItemsInteractionStyle]
4
8
  */
5
- export function renderItemsFeatures(features: import("../../../core/client/types").GeoJsonFeature[]): void;
9
+ export function renderItemsFeatures(features: import("../../../core/client/types").GeoJsonFeature[], mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>, hoverProperties: string[] | undefined, stacItemsStyle?: object, stacItemsInteractionStyle?: object): void;
10
+ /**
11
+ * Registers a tooltip adapter that displays item properties when hovering over map features.
12
+ * @param {string[]} [hoverProperties]
13
+ */
14
+ export function useHoverTooltip(hoverProperties?: string[]): void;
6
15
  /**
7
16
  *
8
17
  * @param {import("vue").Ref<any>} itemfilterEl
18
+ * @param {ReturnType< typeof import("../../../core/client/store/stac").useSTAcStore>} store
19
+ * @param {import("vue").Ref<import("@eox/map").EOxMap | null>} mapElement
20
+ * @param {boolean} enableCompare
9
21
  */
10
- export function useHighlightOnFeatureHover(itemfilterEl: import("vue").Ref<any>): void;
11
- export function useSearchOnMapMove(itemFilter: import("vue").Ref<any>, bboxFilter: boolean): void;
12
- export function useRenderItemsFeatures(currentItems: import("vue").Ref<import("../../../core/client/types").GeoJsonFeature[]>): void;
22
+ export function useRenderOnFeatureClick(itemfilterEl: import("vue").Ref<any>, store: ReturnType<typeof import("../../../core/client/store/stac").useSTAcStore>, mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>, enableCompare: boolean): void;
23
+ export function useSearchOnMapMove(itemFilter: import("vue").Ref<any>, bboxFilter: boolean, mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>): void;
24
+ export function useRenderItemsFeatures(currentItems: import("vue").Ref<import("../../../core/client/types").GeoJsonFeature[]>, mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>, hoverProperties: string[] | undefined, stacItemsStyle?: object, stacItemsInteractionStyle?: object): void;
@@ -1,48 +1,67 @@
1
1
  declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4
- type __VLS_WithSlots<T, S> = T & (new () => {
5
- $slots: S;
6
- });
7
- declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ /** Which map instance this control is bound to. Use `"second"` in a compare-mode layout. */
8
5
  map: {
9
6
  /** @type {import("vue").PropType<"first" | "second">} */
10
7
  type: import("vue").PropType<"first" | "second">;
11
8
  default: string;
12
9
  };
10
+ /** Tool tabs shown inside `eox-layercontrol`. Remove entries to hide individual tabs. */
13
11
  tools: {
14
- type: ArrayConstructor;
12
+ type: import("vue").PropType<string[]>;
15
13
  default: () => string[];
16
14
  };
15
+ /** Heading rendered above the layer list. Set to `false` to hide it. */
17
16
  title: {
18
- type: StringConstructor;
17
+ type: import("vue").PropType<string | false>;
19
18
  default: string;
20
19
  };
20
+ /** CSS custom-property overrides forwarded to the underlying `eox-layercontrol` element via its `style` attribute. */
21
21
  cssVars: {
22
- type: ObjectConstructor;
22
+ type: import("vue").PropType<Record<string, string>>;
23
+ default: {};
24
+ };
25
+ layoutIcon: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ layoutTarget: {
30
+ type: StringConstructor;
23
31
  };
24
32
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ /** Which map instance this control is bound to. Use `"second"` in a compare-mode layout. */
25
34
  map: {
26
35
  /** @type {import("vue").PropType<"first" | "second">} */
27
36
  type: import("vue").PropType<"first" | "second">;
28
37
  default: string;
29
38
  };
39
+ /** Tool tabs shown inside `eox-layercontrol`. Remove entries to hide individual tabs. */
30
40
  tools: {
31
- type: ArrayConstructor;
41
+ type: import("vue").PropType<string[]>;
32
42
  default: () => string[];
33
43
  };
44
+ /** Heading rendered above the layer list. Set to `false` to hide it. */
34
45
  title: {
35
- type: StringConstructor;
46
+ type: import("vue").PropType<string | false>;
36
47
  default: string;
37
48
  };
49
+ /** CSS custom-property overrides forwarded to the underlying `eox-layercontrol` element via its `style` attribute. */
38
50
  cssVars: {
39
- type: ObjectConstructor;
51
+ type: import("vue").PropType<Record<string, string>>;
52
+ default: {};
53
+ };
54
+ layoutIcon: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ layoutTarget: {
59
+ type: StringConstructor;
40
60
  };
41
61
  }>> & Readonly<{}>, {
42
62
  map: "first" | "second";
43
- title: string;
44
- tools: unknown[];
63
+ title: string | false;
64
+ cssVars: Record<string, string>;
65
+ tools: string[];
66
+ layoutIcon: string;
45
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
46
- type __VLS_Slots = {
47
- layerstitle?: ((props: {}) => any) | undefined;
48
- };
@@ -10,11 +10,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
10
10
  default: boolean;
11
11
  };
12
12
  compareIndicators: {
13
- /** @type {import("vue").PropType<boolean | {
14
- compareTemplate?:string;
15
- fallbackTemplate?:string;
16
- itemFilterConfig?:Partial<InstanceType<import("./EodashItemFilter.vue").default>["$props"]>
17
- }> }*/
13
+ /**
14
+ * @type {import("vue").PropType<boolean | {
15
+ * compareTemplate?:string;
16
+ * fallbackTemplate?:string;
17
+ * itemFilterConfig?:Partial<InstanceType<import("./EodashItemFilter.vue").default>["$props"]>
18
+ * }> }
19
+ */
18
20
  type: import("vue").PropType<boolean | {
19
21
  compareTemplate?: string;
20
22
  fallbackTemplate?: string;
@@ -56,11 +58,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
56
58
  default: boolean;
57
59
  };
58
60
  compareIndicators: {
59
- /** @type {import("vue").PropType<boolean | {
60
- compareTemplate?:string;
61
- fallbackTemplate?:string;
62
- itemFilterConfig?:Partial<InstanceType<import("./EodashItemFilter.vue").default>["$props"]>
63
- }> }*/
61
+ /**
62
+ * @type {import("vue").PropType<boolean | {
63
+ * compareTemplate?:string;
64
+ * fallbackTemplate?:string;
65
+ * itemFilterConfig?:Partial<InstanceType<import("./EodashItemFilter.vue").default>["$props"]>
66
+ * }> }
67
+ */
64
68
  type: import("vue").PropType<boolean | {
65
69
  compareTemplate?: string;
66
70
  fallbackTemplate?: string;
@@ -1,52 +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
- /** @type {import("vue").PropType<[number,number]>} */
9
- center: import("vue").PropType<[number, number]>;
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: ObjectConstructor;
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
- * enableFeedback?: boolean;
44
- * enableCompareIndicators?: boolean | {
45
- * compareTemplate?:string;
46
- * fallbackTemplate?:string;
47
- * itemFilterConfig?:InstanceType<import("../EodashItemFilter.vue").default>["$props"]
48
- * };
49
- * }> }*/
50
69
  type: import("vue").PropType<{
51
70
  enableExportMap?: boolean;
52
71
  enableChangeProjection?: boolean;
@@ -55,6 +74,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
55
74
  searchParams?: object;
56
75
  enableZoom?: boolean;
57
76
  enableGlobe?: boolean;
77
+ enableMosaic?: boolean;
58
78
  enableFeedback?: boolean;
59
79
  enableCompareIndicators?: boolean | {
60
80
  compareTemplate?: string;
@@ -242,57 +262,77 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
242
262
  enableSearch: boolean;
243
263
  enableZoom: boolean;
244
264
  enableGlobe: boolean;
265
+ enableMosaic: boolean;
245
266
  enableFeedback: boolean;
246
267
  searchParams: {};
247
268
  };
248
269
  };
249
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
+ };
250
286
  enableCompare: {
251
287
  type: BooleanConstructor;
252
288
  default: boolean;
253
289
  };
254
- /** @type {import("vue").PropType<[number,number]>} */
255
- center: import("vue").PropType<[number, number]>;
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
+ */
256
302
  zoom: {
257
303
  type: NumberConstructor;
258
304
  default: number;
259
305
  };
306
+ /** Fly to the selected collection's spatial extent on selection. */
260
307
  zoomToExtent: {
261
308
  type: BooleanConstructor;
262
309
  default: boolean;
263
310
  };
311
+ /** Show live cursor coordinates as a fixed overlay at the bottom-left of the map. */
264
312
  enableCursorCoordinates: {
265
313
  type: BooleanConstructor;
266
314
  default: boolean;
267
315
  };
316
+ /** Show an OpenLayers scale-line control at the bottom-left of the map. */
268
317
  enableScaleLine: {
269
318
  type: BooleanConstructor;
270
319
  default: boolean;
271
320
  };
321
+ /** Grid position of the floating button toolbar. `x` accepts responsive `"mobile/tablet/desktop"` column notation. */
272
322
  btnsPosition: {
273
- type: ObjectConstructor;
323
+ type: import("vue").PropType<{
324
+ x: string | number;
325
+ y: number;
326
+ gap: number;
327
+ }>;
274
328
  default: () => {
275
329
  x: string;
276
330
  y: number;
277
331
  gap: number;
278
332
  };
279
333
  };
334
+ /** Toolbar feature flags; set any flag to `false` to hide the corresponding button. */
280
335
  btns: {
281
- /** @type {import("vue").PropType<{
282
- * enableExportMap?: boolean;
283
- * enableChangeProjection?: boolean;
284
- * enableBackToPOIs?: boolean;
285
- * enableSearch?: boolean;
286
- * searchParams?: object;
287
- * enableZoom?: boolean;
288
- * enableGlobe?: boolean;
289
- * enableFeedback?: boolean;
290
- * enableCompareIndicators?: boolean | {
291
- * compareTemplate?:string;
292
- * fallbackTemplate?:string;
293
- * itemFilterConfig?:InstanceType<import("../EodashItemFilter.vue").default>["$props"]
294
- * };
295
- * }> }*/
296
336
  type: import("vue").PropType<{
297
337
  enableExportMap?: boolean;
298
338
  enableChangeProjection?: boolean;
@@ -301,6 +341,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
301
341
  searchParams?: object;
302
342
  enableZoom?: boolean;
303
343
  enableGlobe?: boolean;
344
+ enableMosaic?: boolean;
304
345
  enableFeedback?: boolean;
305
346
  enableCompareIndicators?: boolean | {
306
347
  compareTemplate?: string;
@@ -488,17 +529,24 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
488
529
  enableSearch: boolean;
489
530
  enableZoom: boolean;
490
531
  enableGlobe: boolean;
532
+ enableMosaic: boolean;
491
533
  enableFeedback: boolean;
492
534
  searchParams: {};
493
535
  };
494
536
  };
495
537
  }>> & Readonly<{}>, {
538
+ center: [number, number];
539
+ baseLayers: import("@eox/map/src/layers.js").EoxLayer[];
496
540
  enableCompare: boolean;
497
541
  zoom: number;
498
542
  zoomToExtent: boolean;
499
543
  enableCursorCoordinates: boolean;
500
544
  enableScaleLine: boolean;
501
- btnsPosition: Record<string, any>;
545
+ btnsPosition: {
546
+ x: string | number;
547
+ y: number;
548
+ gap: number;
549
+ };
502
550
  btns: {
503
551
  enableExportMap?: boolean;
504
552
  enableChangeProjection?: boolean;
@@ -507,6 +555,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
507
555
  searchParams?: object;
508
556
  enableZoom?: boolean;
509
557
  enableGlobe?: boolean;
558
+ enableMosaic?: boolean;
510
559
  enableFeedback?: boolean;
511
560
  enableCompareIndicators?: boolean | {
512
561
  compareTemplate?: string;
@@ -1,2 +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<Record<string, any>[]>;
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>[]>;
2
2
  import { EodashCollection } from "../../../core/client/eodashSTAC/EodashCollection";