@opengeoweb/core 19.1.0 → 19.1.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 (159) hide show
  1. package/dist/README.md +68 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.esm.js +11827 -0
  4. package/dist/src/index.d.ts +4 -0
  5. package/dist/src/lib/components/ClockConnect/ClockConnect.d.ts +4 -0
  6. package/dist/src/lib/components/ClockConnect/OptionsMenu.d.ts +10 -0
  7. package/dist/src/lib/components/ClockConnect/index.d.ts +1 -0
  8. package/dist/src/lib/components/ComponentsLookUp/componentsLookUp.d.ts +62 -0
  9. package/dist/src/lib/components/ComponentsLookUp/index.d.ts +1 -0
  10. package/dist/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.d.ts +51 -0
  11. package/dist/src/lib/components/ConfigurableMapConnect/index.d.ts +1 -0
  12. package/dist/src/lib/components/LanguageSelect/LanguageSelect.d.ts +14 -0
  13. package/dist/src/lib/components/LanguageSelect/index.d.ts +1 -0
  14. package/dist/src/lib/components/LayerInfoConnect/LayerInfoButtonConnect.d.ts +13 -0
  15. package/dist/src/lib/components/LayerInfoConnect/LayerInfoDialogConnect.d.ts +8 -0
  16. package/dist/src/lib/components/LayerInfoConnect/index.d.ts +2 -0
  17. package/dist/src/lib/components/LayerManager/AddLayersButton/AddLayersButton.d.ts +12 -0
  18. package/dist/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.d.ts +12 -0
  19. package/dist/src/lib/components/LayerManager/AddLayersPopup/WMSLayerTree/WMSLayerTree.d.ts +9 -0
  20. package/dist/src/lib/components/LayerManager/AddLayersPopup/WMSLayerTree/WMSLayerTreeConnect.d.ts +25 -0
  21. package/dist/src/lib/components/LayerManager/AddLayersPopup/WMSLayerTree/WMSLayerTreeHeader.d.ts +7 -0
  22. package/dist/src/lib/components/LayerManager/AddLayersPopup/WMSServerList/WMSServerList.d.ts +9 -0
  23. package/dist/src/lib/components/LayerManager/BaseLayerRow/BaseLayerRow.d.ts +13 -0
  24. package/dist/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayers.d.ts +11 -0
  25. package/dist/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayersConnect.d.ts +22 -0
  26. package/dist/src/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +13 -0
  27. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerContainerRow.d.ts +19 -0
  28. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTime.d.ts +10 -0
  29. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTimeConnect.d.ts +9 -0
  30. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayer.d.ts +14 -0
  31. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayerConnect.d.ts +16 -0
  32. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/CustomDimensionSelect/CustomDimensionSelectConnect.d.ts +9 -0
  33. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.d.ts +18 -0
  34. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +28 -0
  35. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +8 -0
  36. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectName.d.ts +13 -0
  37. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectValue.d.ts +26 -0
  38. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/dimensionSelectHooks.d.ts +15 -0
  39. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DragHandle/DragHandle.d.ts +11 -0
  40. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.d.ts +19 -0
  41. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +67 -0
  42. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +11 -0
  43. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerService/LayerService.d.ts +8 -0
  44. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadDuration.d.ts +18 -0
  45. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadingIndicatorProgressBar.d.ts +9 -0
  46. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.d.ts +16 -0
  47. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.d.ts +9 -0
  48. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingData.d.ts +16 -0
  49. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingDataConnect.d.ts +5 -0
  50. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelect.d.ts +9 -0
  51. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelectConnect.d.ts +16 -0
  52. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderEDRLayers.d.ts +18 -0
  53. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayerName.d.ts +6 -0
  54. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts +14 -0
  55. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayersConnect.d.ts +9 -0
  56. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +14 -0
  57. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +10 -0
  58. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/SelectableFeaturesCheckbox/SelectableFeaturesCheckbox.d.ts +8 -0
  59. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/SelectableFeaturesCheckbox/SelectableFeaturesCheckboxConnect.d.ts +6 -0
  60. package/dist/src/lib/components/LayerManager/LayerManager.d.ts +32 -0
  61. package/dist/src/lib/components/LayerManager/LayerManagerConnect.d.ts +29 -0
  62. package/dist/src/lib/components/LayerManager/LayerManagerHeaderOptions.d.ts +50 -0
  63. package/dist/src/lib/components/LayerManager/LayerManagerHeaderOptionsConnect.d.ts +12 -0
  64. package/dist/src/lib/components/LayerManager/LayerManagerMapButtonConnect.d.ts +9 -0
  65. package/dist/src/lib/components/LayerManager/LayerManagerUtils.d.ts +329 -0
  66. package/dist/src/lib/components/LayerManager/LayerSelect/LayerSelectButton.d.ts +8 -0
  67. package/dist/src/lib/components/LayerManager/OverlayersRow/OverlayersSelect.d.ts +15 -0
  68. package/dist/src/lib/components/LayerManager/OverlayersRow/OverlayersSelectConnect.d.ts +6 -0
  69. package/dist/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelect.d.ts +14 -0
  70. package/dist/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelectConnect.d.ts +6 -0
  71. package/dist/src/lib/components/LayerManager/index.d.ts +9 -0
  72. package/dist/src/lib/components/LayerManager/useFetchServices.d.ts +4 -0
  73. package/dist/src/lib/components/LegendConnect/LegendConnect.d.ts +21 -0
  74. package/dist/src/lib/components/LegendConnect/LegendMapButtonConnect.d.ts +9 -0
  75. package/dist/src/lib/components/LegendConnect/index.d.ts +2 -0
  76. package/dist/src/lib/components/LocationSearch/LocationSearch.d.ts +10 -0
  77. package/dist/src/lib/components/LocationSearch/LocationSearchConnect.d.ts +5 -0
  78. package/dist/src/lib/components/LocationSearch/MyMapLocation.d.ts +9 -0
  79. package/dist/src/lib/components/LocationSearch/SearchControlButtonConnect.d.ts +8 -0
  80. package/dist/src/lib/components/LocationSearch/index.d.ts +5 -0
  81. package/dist/src/lib/components/LocationSearch/types.d.ts +23 -0
  82. package/dist/src/lib/components/LocationSearch/utils.d.ts +8 -0
  83. package/dist/src/lib/components/MapDrawToolRedux/OpenLayersFeatureLayerConnect.d.ts +21 -0
  84. package/dist/src/lib/components/MapOptions/FeatureInfo/GetFeatureInfoButtonConnect.d.ts +8 -0
  85. package/dist/src/lib/components/MapOptions/FeatureInfo/GetFeatureInfoConnect.d.ts +8 -0
  86. package/dist/src/lib/components/MapOptions/FeatureInfo/GetFeatureInfoDialog.d.ts +16 -0
  87. package/dist/src/lib/components/MapOptions/FeatureInfo/index.d.ts +3 -0
  88. package/dist/src/lib/components/MapOptions/FeatureInfo/utils.d.ts +19 -0
  89. package/dist/src/lib/components/MapOptions/MapOptionsButtonConnect.d.ts +8 -0
  90. package/dist/src/lib/components/MapOptions/MeasureTool/MeasureToolButton.d.ts +7 -0
  91. package/dist/src/lib/components/MapOptions/MeasureTool/index.d.ts +2 -0
  92. package/dist/src/lib/components/MapOptions/index.d.ts +4 -0
  93. package/dist/src/lib/components/MapViewConnect/OlMapViewConnect.d.ts +40 -0
  94. package/dist/src/lib/components/MapViewConnect/OlMapViewLayerConnect.d.ts +8 -0
  95. package/dist/src/lib/components/MapViewConnect/index.d.ts +3 -0
  96. package/dist/src/lib/components/MapViewConnect/olMapFeatureSyncUtils.d.ts +14 -0
  97. package/dist/src/lib/components/MapViewConnect/olMapUtils.d.ts +22 -0
  98. package/dist/src/lib/components/MapViewConnect/useGetOpenLayersView.d.ts +9 -0
  99. package/dist/src/lib/components/MapViewConnect/useMapViewLoadingIndicator.d.ts +1 -0
  100. package/dist/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectButtonConnect.d.ts +9 -0
  101. package/dist/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectDialogConnect.d.ts +14 -0
  102. package/dist/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectSliderConnect.d.ts +10 -0
  103. package/dist/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectMapButtonsConnect.d.ts +8 -0
  104. package/dist/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelectConnect.d.ts +9 -0
  105. package/dist/src/lib/components/MultiMapDimensionSelectConnect/MultiMapSingleDimensionSelectConnect.d.ts +8 -0
  106. package/dist/src/lib/components/MultiMapDimensionSelectConnect/index.d.ts +2 -0
  107. package/dist/src/lib/components/MultiMapViewConnect/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +12 -0
  108. package/dist/src/lib/components/MultiMapViewConnect/HarmoniePresets/index.d.ts +1 -0
  109. package/dist/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.d.ts +18 -0
  110. package/dist/src/lib/components/MultiMapViewConnect/ModelRunInterval/index.d.ts +1 -0
  111. package/dist/src/lib/components/MultiMapViewConnect/MultiMapViewConnect.d.ts +29 -0
  112. package/dist/src/lib/components/MultiMapViewConnect/storyUtils/mapPresets.d.ts +177 -0
  113. package/dist/src/lib/components/Providers/Providers.d.ts +39 -0
  114. package/dist/src/lib/components/RouterWrapper/NavigateSetter.d.ts +1 -0
  115. package/dist/src/lib/components/RouterWrapper/RouterWrapperConnect.d.ts +6 -0
  116. package/dist/src/lib/components/RouterWrapper/index.d.ts +1 -0
  117. package/dist/src/lib/components/SelectedFeaturesDialog/SelectedFeature.d.ts +8 -0
  118. package/dist/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialog.d.ts +14 -0
  119. package/dist/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialogConnect.d.ts +2 -0
  120. package/dist/src/lib/components/SelectedFeaturesDialog/storyUtils.d.ts +3 -0
  121. package/dist/src/lib/components/SyncGroups/DraggableThings.d.ts +13 -0
  122. package/dist/src/lib/components/SyncGroups/SimpleTimeSlider.d.ts +8 -0
  123. package/dist/src/lib/components/SyncGroups/SimpleTimeSliderConnect.d.ts +19 -0
  124. package/dist/src/lib/components/SyncGroups/SyncGroupList.d.ts +12 -0
  125. package/dist/src/lib/components/SyncGroups/SyncGroupListItem.d.ts +10 -0
  126. package/dist/src/lib/components/SyncGroups/SyncGroupViewer.d.ts +18 -0
  127. package/dist/src/lib/components/SyncGroups/SyncGroupViewerConnect.d.ts +2 -0
  128. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AnimationLengthButtonConnect.d.ts +5 -0
  129. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.d.ts +21 -0
  130. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/BackwardForwardStepButtonConnect.d.ts +6 -0
  131. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/NowButtonConnect.d.ts +8 -0
  132. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/OptionsMenuButtonConnect.d.ts +15 -0
  133. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.d.ts +17 -0
  134. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/SpeedButtonConnect.d.ts +6 -0
  135. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeSpanButtonConnect.d.ts +5 -0
  136. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeStepButtonConnect.d.ts +6 -0
  137. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect.d.ts +8 -0
  138. package/dist/src/lib/components/TimeSliderConnect/TimeSliderConnect.d.ts +11 -0
  139. package/dist/src/lib/components/TimeSliderConnect/TimeSliderCurrentTimeBoxConnect.d.ts +37 -0
  140. package/dist/src/lib/components/TimeSliderConnect/TimeSliderLegendConnect.d.ts +14 -0
  141. package/dist/src/lib/components/TimeSliderConnect/index.d.ts +1 -0
  142. package/dist/src/lib/components/TimeSliderConnect/timesliderUtils.d.ts +11 -0
  143. package/dist/src/lib/index.d.ts +23 -0
  144. package/dist/src/lib/store/index.d.ts +1 -0
  145. package/dist/src/lib/store/store.d.ts +6 -0
  146. package/dist/src/lib/utils/defaultConfigurations.d.ts +4 -0
  147. package/dist/src/lib/utils/defaultTestSettings.d.ts +29 -0
  148. package/dist/src/lib/utils/i18n.d.ts +7 -0
  149. package/dist/src/lib/utils/jsonPresetFilter.d.ts +30 -0
  150. package/dist/src/lib/utils/location-api/api.d.ts +3 -0
  151. package/dist/src/lib/utils/location-api/fakeApi.d.ts +113 -0
  152. package/dist/src/lib/utils/location-api/hooks.d.ts +4 -0
  153. package/dist/src/lib/utils/sanitizeHTML.d.ts +3 -0
  154. package/dist/src/lib/utils/storyUtils.d.ts +32 -0
  155. package/dist/src/lib/utils/testDimensionData.d.ts +39 -0
  156. package/dist/src/lib/utils/testLayers.d.ts +70 -0
  157. package/dist/src/lib/utils/testUtils.d.ts +3 -0
  158. package/dist/src/lib/utils/verticalLevels.d.ts +4 -0
  159. package/package.json +3 -2
@@ -0,0 +1,329 @@
1
+ import type { mapTypes } from '@opengeoweb/store';
2
+ import type { DimensionTooltipGenerator, SingleValueComponentProps } from './LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect';
3
+ import type { Size, ToolbarButtonSettings } from './LayerManagerHeaderOptions';
4
+ export declare const columnClasses: {
5
+ column1: string;
6
+ columnService: string;
7
+ column2: string;
8
+ column3: string;
9
+ column4: string;
10
+ column5: string;
11
+ column6: string;
12
+ column7: string;
13
+ acceptanceTime: string;
14
+ loadDuration: string;
15
+ columnHeader: string;
16
+ baseLayer: string;
17
+ columnTarget: string;
18
+ };
19
+ export declare const leftButtonsStyle: {
20
+ width: number;
21
+ display: string;
22
+ background: string;
23
+ };
24
+ export declare const layerManagerStyle: {
25
+ '.column-hover-icon': {
26
+ display: string;
27
+ };
28
+ '.columnHeader:hover': {
29
+ backgroundColor: string;
30
+ cursor: string;
31
+ '.column-hover-icon': {
32
+ display: string;
33
+ };
34
+ };
35
+ '.layerManagerContainer': {
36
+ containerType: string;
37
+ };
38
+ '.descriptionRow': {
39
+ height: string;
40
+ marginTop: string;
41
+ marginBottom: string;
42
+ };
43
+ '.is-dragging header+.MuiBox-root': {
44
+ overflow: string;
45
+ };
46
+ '.baseLayer': {
47
+ width: string;
48
+ };
49
+ '.column-service': {
50
+ height: string;
51
+ alignContent: string;
52
+ alignItems: string;
53
+ display: string;
54
+ justifyContent: string;
55
+ whiteSpace: string;
56
+ overflow: string;
57
+ color: string;
58
+ flexGrow: number;
59
+ width: string;
60
+ };
61
+ '.column-2': {
62
+ height: string;
63
+ alignContent: string;
64
+ alignItems: string;
65
+ display: string;
66
+ justifyContent: string;
67
+ whiteSpace: string;
68
+ overflow: string;
69
+ color: string;
70
+ flexGrow: number;
71
+ width: string;
72
+ };
73
+ '.column-3': {
74
+ height: string;
75
+ alignContent: string;
76
+ alignItems: string;
77
+ display: string;
78
+ justifyContent: string;
79
+ whiteSpace: string;
80
+ overflow: string;
81
+ color: string;
82
+ flexGrow: number;
83
+ width: string;
84
+ };
85
+ '.column-4': {
86
+ flexGrow: number;
87
+ height: string;
88
+ alignContent: string;
89
+ alignItems: string;
90
+ display: string;
91
+ justifyContent: string;
92
+ whiteSpace: string;
93
+ overflow: string;
94
+ color: string;
95
+ width: number;
96
+ };
97
+ '.column-5': {
98
+ height: string;
99
+ alignContent: string;
100
+ alignItems: string;
101
+ display: string;
102
+ justifyContent: string;
103
+ whiteSpace: string;
104
+ overflow: string;
105
+ color: string;
106
+ flexGrow: number;
107
+ width: string;
108
+ };
109
+ '.column-acceptanceTime': {
110
+ flexGrow: number;
111
+ height: string;
112
+ alignContent: string;
113
+ alignItems: string;
114
+ display: string;
115
+ justifyContent: string;
116
+ whiteSpace: string;
117
+ overflow: string;
118
+ color: string;
119
+ width: number;
120
+ };
121
+ '.column-loadDuration': {
122
+ width: number;
123
+ paddingLeft: number;
124
+ paddingRight: number;
125
+ };
126
+ '.column-6': {
127
+ width: number;
128
+ display: string;
129
+ marginLeft: string;
130
+ };
131
+ '.column-7': {
132
+ width: string;
133
+ };
134
+ '.enable-btn-mini': {
135
+ display: string;
136
+ };
137
+ '.header-layermanager': {
138
+ containerType: string;
139
+ };
140
+ '.medium-layermanager': {
141
+ display: string;
142
+ };
143
+ '.collapseLarge-btn': {
144
+ display: string;
145
+ };
146
+ '@container (max-width: 320px)': {
147
+ '.layermanager': {
148
+ '.column-1': {
149
+ width: string;
150
+ };
151
+ '.enable-btn-mini': {
152
+ display: string;
153
+ };
154
+ '.activateLayer-btn, .enable-btn, .column-service, .column-2, .column-3, .column-4, .column-5, .column-6, .column-7, .column-acceptanceTime, .column-loadDuration': {
155
+ display: string;
156
+ };
157
+ '.addLayer-column, .setProjection-column, .overlayers-column': {
158
+ display: string;
159
+ };
160
+ '.descriptionRow': {
161
+ height: number;
162
+ '.MuiButtonBase-root': {
163
+ display: string;
164
+ };
165
+ };
166
+ };
167
+ '.header-layermanager': {
168
+ '.header-left': {
169
+ display: string;
170
+ };
171
+ '&>div': {
172
+ justifyContent: string;
173
+ padding: number;
174
+ height: number;
175
+ };
176
+ '.header-right': {
177
+ maxWidth: string;
178
+ flexBasis: string;
179
+ };
180
+ '.collapseSmall-btn': {
181
+ display: string;
182
+ };
183
+ };
184
+ };
185
+ '@container (max-width: 600px)': {
186
+ '.layermanager': {
187
+ '.column-service, .column-2, .column-3, .column-4, .column-5, .column-6, .column-7, .column-acceptanceTime, .column-loadDuration': {
188
+ display: string;
189
+ };
190
+ '.columnLayerName, .baseLayer': {
191
+ width: string;
192
+ };
193
+ };
194
+ '.header-layermanager': {
195
+ '.collapseLarge-btn': {
196
+ display: string;
197
+ };
198
+ };
199
+ };
200
+ '@container (max-width: 600px) and (min-width: 321px)': {
201
+ '.layermanager': {
202
+ '.medium-layermanager': {
203
+ display: string;
204
+ };
205
+ };
206
+ '.deleteBtnMedium': {
207
+ display: string;
208
+ '&+button': {
209
+ display: string;
210
+ };
211
+ };
212
+ '.layerRow': {
213
+ '.column-1': {
214
+ display: string;
215
+ };
216
+ '.column-2': {
217
+ display: string;
218
+ };
219
+ };
220
+ '.header-layermanager': {
221
+ '.collapseMedium-btn': {
222
+ display: string;
223
+ };
224
+ };
225
+ };
226
+ };
227
+ export declare const returnCorrectSize: (sizeResult: mapTypes.DockedLayerManagerSize | undefined) => Size;
228
+ export type DimensionNameMappings = Record<string, string>;
229
+ export type DimensionValueMappings = Record<string, (value: string, latest?: string) => string>;
230
+ export interface LayerManagerCustomSettings {
231
+ toolbar?: {
232
+ dragHandle?: {
233
+ icon?: React.ReactNode;
234
+ };
235
+ controlButtonSettings?: ToolbarButtonSettings;
236
+ closeButton?: {
237
+ icon?: React.ReactNode;
238
+ };
239
+ };
240
+ header?: {
241
+ addLayer?: {
242
+ tooltipTitle?: string;
243
+ icon?: React.ReactNode;
244
+ };
245
+ layerService?: {
246
+ title: string;
247
+ };
248
+ layerName?: {
249
+ title: string;
250
+ };
251
+ layerStyle?: {
252
+ title: string;
253
+ };
254
+ opacity?: {
255
+ title: string;
256
+ };
257
+ dimensions?: {
258
+ title: string;
259
+ };
260
+ acceptanceTime?: {
261
+ title: string;
262
+ };
263
+ };
264
+ content?: {
265
+ dragHandle?: {
266
+ tooltipTitle?: string;
267
+ icon?: React.ReactNode;
268
+ };
269
+ activateLayer?: {
270
+ isDisabled?: boolean;
271
+ };
272
+ enableLayer?: {
273
+ enabledIcon?: React.ReactNode;
274
+ disabledIcon?: React.ReactNode;
275
+ enabledTooltipTitle?: string;
276
+ disabledTooltipTitle?: string;
277
+ };
278
+ renderLayer?: {
279
+ Element?: React.FC<{
280
+ layerId: string;
281
+ mapId: string;
282
+ }>;
283
+ tooltipPrefix?: string;
284
+ };
285
+ layerStyle?: {
286
+ tooltipPrefix?: string;
287
+ icon?: React.ElementType;
288
+ };
289
+ opacity?: {
290
+ tooltipPrefix?: string;
291
+ };
292
+ acceptanceTime?: {
293
+ tooltipTitle?: string;
294
+ icon?: React.ElementType;
295
+ };
296
+ dimensions?: {
297
+ dimensionsToShow?: string[];
298
+ SingleValueComponent?: React.FC<SingleValueComponentProps>;
299
+ icon?: React.ElementType;
300
+ tooltipGenerator?: DimensionTooltipGenerator;
301
+ nameMappings?: DimensionNameMappings;
302
+ valueMappings?: DimensionValueMappings;
303
+ hideLatestDuplicate?: boolean;
304
+ };
305
+ deleteLayer?: {
306
+ tooltipTitle?: string;
307
+ icon?: React.ReactNode;
308
+ };
309
+ menu?: {
310
+ tooltipTitle?: string;
311
+ icon?: React.ReactNode;
312
+ };
313
+ };
314
+ footer?: {
315
+ baseLayerRow?: {
316
+ title?: string;
317
+ addLayersButton?: {
318
+ isDisabled?: boolean;
319
+ };
320
+ };
321
+ baseLayerDropdown?: {
322
+ tooltipPrefix?: string;
323
+ icon?: React.ElementType;
324
+ };
325
+ projection?: {
326
+ shouldHide?: boolean;
327
+ };
328
+ };
329
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface LayerSelectButtonProps {
3
+ tooltipTitle?: string;
4
+ icon?: React.ReactNode;
5
+ onClick?: () => void;
6
+ }
7
+ export declare const LayerSelectButton: React.FC<LayerSelectButtonProps>;
8
+ export {};
@@ -0,0 +1,15 @@
1
+ export interface OverLayer {
2
+ id: string;
3
+ name: string;
4
+ }
5
+ interface OverlayersSelectProps {
6
+ mapId: string;
7
+ selectedOverlayer: OverLayer;
8
+ onChangeOverlayer: (mapId: string, selectedOverlayer: OverLayer) => void;
9
+ availableOverlayers?: {
10
+ id: string;
11
+ name: string;
12
+ }[];
13
+ }
14
+ declare const OverlayersSelect: React.FC<OverlayersSelectProps>;
15
+ export default OverlayersSelect;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface OverlayersSelectConnectProps {
3
+ mapId?: string;
4
+ }
5
+ declare const OverlayersSelectConnect: React.FC<OverlayersSelectConnectProps>;
6
+ export default OverlayersSelectConnect;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { Bbox } from '@opengeoweb/webmap';
3
+ export interface ProjectionDetails {
4
+ name: string;
5
+ value: string;
6
+ bbox: Bbox;
7
+ }
8
+ export declare const availableProjections: ProjectionDetails[];
9
+ export interface ProjectionSelectProps {
10
+ currentProjection: string;
11
+ onChangeProjection: (projection: ProjectionDetails) => void;
12
+ }
13
+ declare const ProjectionSelect: React.FC<ProjectionSelectProps>;
14
+ export default ProjectionSelect;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface ProjectionSelectConnectProps {
3
+ mapId: string;
4
+ }
5
+ declare const ProjectionSelectConnect: React.FC<ProjectionSelectConnectProps>;
6
+ export default ProjectionSelectConnect;
@@ -0,0 +1,9 @@
1
+ export { default as LayerManager } from './LayerManager';
2
+ export { default as LayerManagerHeaderOptions } from './LayerManagerHeaderOptions';
3
+ export { default as LayerManagerDescriptionRow } from './DescriptionRow/DescriptionRow';
4
+ export { default as LayerManagerLayerContainerRow } from './LayerContainerRow/LayerContainerRow';
5
+ export { default as LayerManagerBaseLayerRow } from './BaseLayerRow/BaseLayerRow';
6
+ export { default as LayerManagerConnect } from './LayerManagerConnect';
7
+ export { default as LayerManagerMapButtonConnect } from './LayerManagerMapButtonConnect';
8
+ export { default as LoadingIndicatorProgressBar } from './LayerContainerRow/LayerRow/LoadDuration/LoadingIndicatorProgressBar';
9
+ export { useFetchServices } from './useFetchServices';
@@ -0,0 +1,4 @@
1
+ import type { serviceTypes, uiTypes } from '@opengeoweb/store';
2
+ export declare const getServicesToLoad: (services: serviceTypes.NoIdService[]) => Promise<serviceTypes.InitialService[]>;
3
+ export declare const useFetchServices: (dialogType: uiTypes.DialogType, preloadedServices?: serviceTypes.InitialService[], shouldDisableFetch?: boolean) => void;
4
+ export declare const mergePresetsAndUserAddedServices: (presets: serviceTypes.InitialService[], userAddedServices: serviceTypes.UserAddedServices) => serviceTypes.NoIdService[];
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import type { uiTypes } from '@opengeoweb/store';
3
+ interface LegendConnectProps {
4
+ showMapId?: boolean;
5
+ source?: uiTypes.Source;
6
+ mapId?: string;
7
+ multiLegend?: boolean;
8
+ }
9
+ /**
10
+ * Legend component connected to the store displaying a legend for every layer shown on the active map Id
11
+ * Please note that in order to use this and open/close the dialog, every map on the screen that should be able to show
12
+ * a dialog should have the <LegendMapButtonConnect/> which is used to focus the correct map and open the dialog
13
+ *
14
+ * Expects the following props:
15
+ * @param {boolean} showMapId (optional) showMapId: boolean - show the id of the map in the dialog title of which the legend is shown in te dialog
16
+ * @param {uiTypes.Source} source (optional) source: uiTypes.Source - default is 'app', 'module' makes sure it will be shown on top of the module
17
+
18
+ * ``` <LegendConnect legendDialogId={legendDialogId} />```
19
+ */
20
+ declare const LegendConnect: React.FC<LegendConnectProps>;
21
+ export default LegendConnect;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { uiTypes } from '@opengeoweb/store';
3
+ interface LegendMapButtonProps {
4
+ mapId: string;
5
+ source?: uiTypes.Source;
6
+ multiLegend?: boolean;
7
+ }
8
+ declare const LegendMapButtonConnect: React.FC<LegendMapButtonProps>;
9
+ export default LegendMapButtonConnect;
@@ -0,0 +1,2 @@
1
+ export { default as LegendConnect } from './LegendConnect';
2
+ export { default as LegendMapButtonConnect } from './LegendMapButtonConnect';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { LocationDetail } from './types';
3
+ export interface LocationSearchProps {
4
+ isOpen: boolean;
5
+ mapId?: string;
6
+ onSelectLocation?: (location?: LocationDetail) => void;
7
+ onUpdateMyLocation?: (location?: LocationDetail) => void;
8
+ isMyLocationSelected?: boolean;
9
+ }
10
+ export declare const LocationSearch: React.FC<LocationSearchProps>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface LocationSearchConnectProps {
3
+ mapId?: string;
4
+ }
5
+ export declare const LocationSearchConnect: React.FC<LocationSearchConnectProps>;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { LocationDetail } from './types';
3
+ export interface MyMapLocationProps {
4
+ mapId?: string;
5
+ isSelected?: boolean;
6
+ onUpdateMyLocation?: (location?: LocationDetail) => void;
7
+ }
8
+ export declare const MY_LOCATION = "My location";
9
+ export declare const MyMapLocation: React.FC<MyMapLocationProps>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { CustomIconProps } from '@opengeoweb/shared';
3
+ import { uiTypes } from '@opengeoweb/store';
4
+ export interface SearchControlButtonConnectProps extends CustomIconProps {
5
+ mapId: string;
6
+ source?: uiTypes.Source;
7
+ }
8
+ export declare const SearchControlButtonConnect: React.FC<SearchControlButtonConnectProps>;
@@ -0,0 +1,5 @@
1
+ export { SearchControlButtonConnect } from './SearchControlButtonConnect';
2
+ export { LocationSearchConnect } from './LocationSearchConnect';
3
+ export { LocationSearch } from './LocationSearch';
4
+ export { MyMapLocation } from './MyMapLocation';
5
+ export type * as LocationSearchTypes from './types';
@@ -0,0 +1,23 @@
1
+ export interface LocationDetail {
2
+ id: string;
3
+ name: string;
4
+ source: string;
5
+ lat: number;
6
+ lon: number;
7
+ geometry?: GeoJSON.Feature;
8
+ bbox?: GeoJSON.BBox;
9
+ }
10
+ export interface PredefinedLocation extends LocationDetail {
11
+ group?: 'airport' | 'country' | 'city' | 'region' | 'special';
12
+ source: 'predefined';
13
+ }
14
+ export interface LocationListResult {
15
+ id: string;
16
+ name: string;
17
+ source: string;
18
+ group?: 'airport' | 'country' | 'city' | 'region' | 'special';
19
+ }
20
+ export interface PredefinedOption extends LocationListResult {
21
+ groupHeader?: string;
22
+ groupIcon?: React.ElementType;
23
+ }
@@ -0,0 +1,8 @@
1
+ import type { GeoJsonProperties } from 'geojson';
2
+ import type { LocationDetail } from './types';
3
+ export declare const geometryStyling: GeoJsonProperties;
4
+ export declare const bufferFromZoomLevel: (zoom: number, lat: number, viewportWidthPx: number) => number;
5
+ export declare const bboxFromPolygon: (geom: GeoJSON.Geometry, buffer: number) => number[];
6
+ export declare const bboxFromPoint: (geom: GeoJSON.Geometry, buffer: number) => number[];
7
+ export declare const useShiftPressed: () => boolean;
8
+ export declare const useDrawOnMap: (mapId: string) => [(location?: LocationDetail) => void];
@@ -0,0 +1,21 @@
1
+ import type { StyleLike } from 'ol/style/Style';
2
+ import React from 'react';
3
+ import type { layerTypes } from '@opengeoweb/store';
4
+ import type { HoverSelect } from '@opengeoweb/webmap-react';
5
+ interface SelectionState {
6
+ geojson?: GeoJSON.FeatureCollection;
7
+ selectedFeatureIds?: string[];
8
+ }
9
+ export declare const getCurrentSelectedIndices: ({ geojson, selectedFeatureIds, }: SelectionState) => number[];
10
+ export declare const calculateNewSelection: (currentSelectedIndices: number[], clickedIndex: number, isShiftClick: boolean) => number[];
11
+ export declare const getAffectedIndices: (oldSelection: number[], newSelection: number[]) => number[];
12
+ export declare const shouldEnterEditMode: (isReadonly: boolean, isShiftClick: boolean, newSelectionCount: number) => boolean;
13
+ interface OpenLayersFeatureLayerConnectProps {
14
+ layer: layerTypes.ReduxLayer;
15
+ layerId?: string;
16
+ zIndex: number;
17
+ style: StyleLike;
18
+ hoverSelect?: HoverSelect;
19
+ }
20
+ export declare const OpenLayersFeatureLayerConnect: React.FC<OpenLayersFeatureLayerConnectProps>;
21
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { uiTypes } from '@opengeoweb/store';
3
+ interface GetFeatureInfoButtonProps {
4
+ mapId: string;
5
+ source?: uiTypes.Source;
6
+ }
7
+ declare const GetFeatureInfoButtonConnect: React.FC<GetFeatureInfoButtonProps>;
8
+ export default GetFeatureInfoButtonConnect;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export declare const IS_GETFEATUREINFO_OPEN_BY_DEFAULT = false;
3
+ interface GetFeatureInfoConnectProps {
4
+ showMapId?: boolean;
5
+ mapId: string;
6
+ }
7
+ declare const GetFeatureInfoConnect: React.FC<GetFeatureInfoConnectProps>;
8
+ export default GetFeatureInfoConnect;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import type { layerTypes, uiTypes } from '@opengeoweb/store';
3
+ import type { MapLocation } from '@opengeoweb/webmap-react';
4
+ interface GetFeatureInfoDialogProps {
5
+ layers: layerTypes.Layer[];
6
+ isOpen: boolean;
7
+ onClose: () => void;
8
+ onMouseDown?: () => void;
9
+ mapId: string;
10
+ showMapId?: boolean;
11
+ order?: number;
12
+ source?: uiTypes.Source;
13
+ mapPinLocation?: MapLocation;
14
+ }
15
+ declare const GetFeatureInfoDialog: React.FC<GetFeatureInfoDialogProps>;
16
+ export default GetFeatureInfoDialog;
@@ -0,0 +1,3 @@
1
+ import GetFeatureInfoConnect from './GetFeatureInfoConnect';
2
+ export { default as GetFeatureInfoButtonConnect } from './GetFeatureInfoButtonConnect';
3
+ export { GetFeatureInfoConnect };
@@ -0,0 +1,19 @@
1
+ import type { layerTypes } from '@opengeoweb/store';
2
+ import type { MapLocation } from '@opengeoweb/webmap-react';
3
+ export interface GFIResult {
4
+ data: string;
5
+ isLoading: boolean;
6
+ }
7
+ export interface GFILayer {
8
+ layerId: string;
9
+ url: string;
10
+ title: string;
11
+ }
12
+ export declare const getFeatureInfoUrl: (layer: layerTypes.Layer, mapPinLocation: MapLocation | null) => string | undefined;
13
+ /**
14
+ * Make a list of GFI Layers to display.
15
+ * @param layers
16
+ * @param mapId
17
+ * @returns
18
+ */
19
+ export declare const getLayersToUpdate: (mapPinLocation: MapLocation | null, layers: layerTypes.Layer[]) => GFILayer[];
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface MapOptionsButtonProps {
3
+ mapId: string;
4
+ getFeatureInfo?: boolean;
5
+ measureTool?: boolean;
6
+ }
7
+ export declare const MapOptionsButtonConnect: React.FC<MapOptionsButtonProps>;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface MeasureToolButtonProps {
3
+ isActive: boolean;
4
+ setIsActive: (isActive: boolean) => void;
5
+ }
6
+ export declare const MeasureToolButton: React.FC<MeasureToolButtonProps>;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import { MeasureToolButton } from './MeasureToolButton';
2
+ export { MeasureToolButton };
@@ -0,0 +1,4 @@
1
+ import { MapOptionsButtonConnect } from './MapOptionsButtonConnect';
2
+ export * from './FeatureInfo';
3
+ export * from './MeasureTool';
4
+ export { MapOptionsButtonConnect };
@@ -0,0 +1,40 @@
1
+ import type { StyleLike } from 'ol/style/Style';
2
+ import React from 'react';
3
+ import type { Source } from '@opengeoweb/shared';
4
+ import type { Bbox, TileServerSettings } from '@opengeoweb/webmap';
5
+ export interface MapControlsProps {
6
+ mapControlsPositionTop?: number;
7
+ search?: boolean;
8
+ zoomControls?: boolean;
9
+ layerManagerAndLegend?: boolean;
10
+ multiLegend?: boolean;
11
+ dimensionSelect?: boolean;
12
+ getFeatureInfo?: boolean;
13
+ dataExplorerButton?: boolean;
14
+ measureToolButton?: boolean;
15
+ additionalMapControls?: React.ReactNode;
16
+ }
17
+ export interface OlMapViewConnectProps {
18
+ mapId: string;
19
+ children?: React.ReactNode;
20
+ controls?: MapControlsProps;
21
+ initialBbox?: Bbox;
22
+ holdShiftToScroll?: boolean;
23
+ displayTimeInMap?: boolean;
24
+ showScaleBar?: boolean;
25
+ shouldAutoFetch?: number | boolean;
26
+ shouldDisablePrefetching?: boolean;
27
+ tileServerSettings?: TileServerSettings;
28
+ source?: Source;
29
+ featureStyle?: StyleLike;
30
+ }
31
+ /**
32
+ * Connected component used to display the map and selected layers.
33
+ * Includes options to disable the map controls and legend.
34
+ *
35
+ * Expects the following props:
36
+ * @param {string} mapId mapId: string - Id of the map
37
+ * @param {object} [controls.zoomControls] **optional** controls: object - toggle the map controls, zoomControls defaults to true
38
+ */
39
+ declare const OlMapViewConnect: React.FC<OlMapViewConnectProps>;
40
+ export default OlMapViewConnect;