@opengeoweb/core 1.2.5 → 2.1.2
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 +11 -12
- package/core.esm.js +15290 -24004
- package/core.umd.js +9701 -18210
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +48 -0
- package/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +7 -0
- package/lib/components/{MultiDimensionSelect/MultiDimensionSelectConnect.spec.d.ts → ComponentsLookUp/componentsLookup.spec.d.ts} +0 -0
- package/lib/components/ComponentsLookUp/index.d.ts +1 -0
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts +36 -0
- package/lib/components/{MultiDimensionSelect/MultiDimensionSelectDialog.spec.d.ts → ConfigurableConnectedMap/ConfigurableConnectedMap.spec.d.ts} +0 -0
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.stories.d.ts +6 -0
- package/lib/components/ConfigurableConnectedMap/index.d.ts +1 -0
- package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +18 -0
- package/lib/components/{MultiDimensionSelect/VerticalDimensionSelect.spec.d.ts → ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.spec.d.ts} +0 -0
- package/lib/components/ConfigurableMapWithSlider/index.d.ts +1 -0
- package/lib/components/CustomSwitch/CustomSwitch.d.ts +3 -0
- package/lib/components/CustomSwitch/CustomSwitch.spec.d.ts +1 -0
- package/lib/components/CustomSwitch/CustomSwitch.stories.d.ts +3 -0
- package/lib/components/CustomSwitch/index.d.ts +1 -0
- package/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +4 -5
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +0 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +5 -5
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +0 -1
- package/lib/components/LayerManager/LayerManager.d.ts +3 -1
- package/lib/components/LayerManager/LayerManager.stories.d.ts +7 -6
- package/lib/components/LayerManager/LayerManagerConnect.d.ts +2 -1
- package/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +5 -0
- package/lib/components/LayerManager/LayerManagerStories.stories.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButton.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButton.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButton.stories.d.ts +7 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts +11 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.stories.d.ts +7 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.d.ts +10 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/mockServices.d.ts +42 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelect.d.ts +14 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelect.stories.d.ts +9 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectButtonConnect.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectButtonConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.d.ts +16 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.stories.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectStories.stories.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceListConnect.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceListConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.stories.d.ts +7 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +10 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.stories.d.ts +13 -0
- package/lib/components/Legend/LegendConnect.d.ts +1 -2
- package/lib/components/MapView/MapView.Error.stories.d.ts +4 -0
- package/lib/components/MapView/{MapView.MapCursor.stories.d.ts → MapView.MapPin.stories.d.ts} +1 -1
- package/lib/components/MapView/MapView.ShowLayerInfo.stories.d.ts +5 -0
- package/lib/components/MapView/MapView.stories.d.ts +2 -1
- package/lib/components/MapView/MapViewConnect.MapPin.stories.d.ts +5 -0
- package/lib/components/MapView/MapViewConnect.d.ts +5 -3
- package/lib/components/MapView/MapViewConnect.stories.d.ts +1 -0
- package/lib/components/Mapcontrols/MapControlButton.d.ts +11 -0
- package/lib/components/Mapcontrols/MapControlButton.spec.d.ts +1 -0
- package/lib/components/Mapcontrols/MapControls.d.ts +7 -0
- package/lib/components/Mapcontrols/MapControls.spec.d.ts +1 -0
- package/lib/components/Mapcontrols/ZoomControls.d.ts +0 -8
- package/lib/components/Mapcontrols/index.d.ts +4 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButton.d.ts +8 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButton.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.d.ts +7 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.d.ts +12 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.stories.d.ts +25 -0
- package/lib/components/{MultiDimensionSelect/VerticalDimensionSelect.d.ts → MultiMapDimensionSelect/DimensionSelectSlider.d.ts} +5 -4
- package/lib/components/MultiMapDimensionSelect/DimensionSelectSlider.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectSliderConnect.d.ts +11 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectSliderConnect.spec.d.ts +1 -0
- package/lib/components/{MultiDimensionSelect → MultiMapDimensionSelect}/EnsembleDimensionExample.stories.d.ts +0 -0
- package/lib/components/{MultiDimensionSelect → MultiMapDimensionSelect}/MultiDimensionSelect.stories.d.ts +2 -0
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectConfig.d.ts +11 -0
- package/lib/components/{MultiDimensionSelect → MultiMapDimensionSelect}/MultiDimensionSelectConnect.stories.d.ts +0 -1
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.d.ts +6 -0
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/MultiMapMultiDimensionSelect.stories.d.ts +2 -0
- package/lib/components/MultiMapDimensionSelect/MultiMapMultiDimensionSelectConnect.d.ts +9 -0
- package/lib/components/MultiMapDimensionSelect/MultiMapMultiDimensionSelectConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/MultiMapSingleDimensionSelectConnect.d.ts +8 -0
- package/lib/components/MultiMapDimensionSelect/MultiMapSingleDimensionSelectConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/index.d.ts +2 -0
- package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.d.ts +9 -0
- package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.spec.d.ts +1 -0
- package/lib/components/MultiMapView/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +11 -0
- package/lib/components/MultiMapView/HarmoniePresets/index.d.ts +2 -0
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +2 -1
- package/lib/components/ReactMapView/ReactMapView.d.ts +14 -10
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +3 -2
- package/lib/components/ReactMapView/types.d.ts +8 -14
- package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +3 -3
- package/lib/components/TimeSlider/TimeSliderButtons/SpeedButton/SpeedButton.d.ts +0 -2
- package/lib/components/TimeSlider/TimeSliderButtons/TimeSliderButtonComponents.stories.d.ts +5 -0
- package/lib/components/TimeSlider/TimeSliderButtons/TimeSliderButtons.stories.d.ts +0 -4
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +4 -4
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +10 -1
- package/lib/components/ToggleIconButton/ToggleIconButton.d.ts +9 -0
- package/lib/components/ToggleIconButton/ToggleIconButton.spec.d.ts +1 -0
- package/lib/components/ToggleIconButton/ToggleIconButton.stories.d.ts +13 -0
- package/lib/components/ToggleIconButton/index.d.ts +1 -0
- package/lib/components/WMSLoader/services.d.ts +0 -1
- package/lib/index.d.ts +13 -10
- package/lib/store/coreModuleConfig.d.ts +1 -1
- package/lib/store/generic/sagas.d.ts +8 -2
- package/lib/store/generic/synchronizationGroups/index.d.ts +2 -1
- package/lib/store/generic/synchronizationGroups/sagas.d.ts +0 -1
- package/lib/store/generic/synchronizationGroups/utils.d.ts +79 -2
- package/lib/store/generic/types.d.ts +3 -3
- package/lib/store/layerSelect/actions.d.ts +8 -0
- package/lib/store/layerSelect/config.d.ts +4 -0
- package/lib/store/layerSelect/constants.d.ts +1 -0
- package/lib/store/layerSelect/reducer.d.ts +3 -0
- package/lib/store/layerSelect/reducer.spec.d.ts +1 -0
- package/lib/store/layerSelect/selectors.d.ts +2 -0
- package/lib/store/layerSelect/selectors.spec.d.ts +1 -0
- package/lib/store/layerSelect/types.d.ts +19 -0
- package/lib/store/mapStore/layers/actions.d.ts +8 -4
- package/lib/store/mapStore/layers/constants.d.ts +1 -0
- package/lib/store/mapStore/layers/selectors.d.ts +39 -1
- package/lib/store/mapStore/layers/types.d.ts +28 -10
- package/lib/store/mapStore/layers/utils.d.ts +4 -2
- package/lib/store/mapStore/layers/utils.spec.d.ts +1 -0
- package/lib/store/mapStore/map/actions.d.ts +12 -5
- package/lib/store/mapStore/map/constants.d.ts +1 -0
- package/lib/store/mapStore/map/reducer.d.ts +7 -0
- package/lib/store/mapStore/map/selectors.d.ts +56 -6
- package/lib/store/mapStore/map/types.d.ts +21 -7
- package/lib/store/mapStore/service/actions.d.ts +1 -17
- package/lib/store/mapStore/service/constants.d.ts +0 -2
- package/lib/store/mapStore/service/reducer.d.ts +4 -2
- package/lib/store/mapStore/service/selectors.d.ts +13 -35
- package/lib/store/mapStore/service/types.d.ts +10 -30
- package/lib/store/mapStore/types.d.ts +1 -1
- package/lib/store/mapStore/utils/helpers.d.ts +5 -3
- package/lib/store/ui/actions.d.ts +5 -5
- package/lib/store/ui/sagas.d.ts +5 -0
- package/lib/store/ui/sagas.test.d.ts +1 -0
- package/lib/store/ui/selectors.d.ts +5 -5
- package/lib/store/ui/types.d.ts +1 -1
- package/lib/storybookUtils/defaultStorySettings.d.ts +1 -0
- package/lib/types/types.d.ts +2 -1
- package/lib/utils/__mocks__/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
- package/lib/utils/defaultConfigurations.d.ts +21 -0
- package/lib/utils/defaultTestSettings.d.ts +45 -231
- package/lib/utils/dimensionUtils.d.ts +13 -0
- package/lib/utils/dimensionUtils.spec.d.ts +1 -0
- package/lib/utils/getCapabilities.d.ts +8 -0
- package/lib/utils/publicServices.d.ts +15 -1
- package/lib/utils/testUtils.d.ts +1 -0
- package/package.json +9 -9
- package/lib/components/MultiDimensionSelect/MultiDimensionSelectConfig.d.ts +0 -3
- package/lib/components/MultiDimensionSelect/MultiDimensionSelectConnect.d.ts +0 -10
- package/lib/components/MultiDimensionSelect/MultiDimensionSelectDialog.d.ts +0 -15
- package/lib/components/MultiDimensionSelect/MultiDimensionSelectDialogConnect.d.ts +0 -8
- package/lib/components/MultiDimensionSelect/index.d.ts +0 -2
- package/lib/components/MultiDimensionSelect/types.d.ts +0 -18
- package/lib/components/MultiMapView/storyUtils/HarmonieTempAndPrecipPreset.d.ts +0 -7
- package/lib/components/MultiMapView/storyUtils/types.d.ts +0 -9
- package/lib/components/SyncGroups/ConfigurableConnectedMap.d.ts +0 -16
- package/lib/components/SyncGroups/SyncGroupDialog.d.ts +0 -7
- package/lib/utils/DimensionUtils.d.ts +0 -3
- package/lib/utils/KNMIlayers.d.ts +0 -378
- package/lib/utils/KNMIservices.d.ts +0 -65
|
@@ -10,6 +10,12 @@ export declare const defaultReduxLayerRadarColor: {
|
|
|
10
10
|
enabled: boolean;
|
|
11
11
|
layerType: LayerType;
|
|
12
12
|
dimensions: any[];
|
|
13
|
+
styles: {
|
|
14
|
+
title: string;
|
|
15
|
+
name: string;
|
|
16
|
+
legendURL: string;
|
|
17
|
+
abstract: string;
|
|
18
|
+
}[];
|
|
13
19
|
id: string;
|
|
14
20
|
};
|
|
15
21
|
export declare const defaultReduxLayerRadarKNMI: {
|
|
@@ -25,182 +31,27 @@ export declare const defaultReduxLayerRadarKNMI: {
|
|
|
25
31
|
units: string;
|
|
26
32
|
currentValue: string;
|
|
27
33
|
}[];
|
|
34
|
+
styles: {
|
|
35
|
+
title: string;
|
|
36
|
+
name: string;
|
|
37
|
+
legendURL: string;
|
|
38
|
+
abstract: string;
|
|
39
|
+
}[];
|
|
28
40
|
id: string;
|
|
29
41
|
};
|
|
30
42
|
export declare const WmdefaultReduxLayerRadarKNMI: WMLayer;
|
|
31
43
|
export declare const makeGeoservicesRadarLayer: () => WMLayer;
|
|
32
44
|
export declare const defaultReduxServices: {
|
|
33
45
|
'https://testservice': {
|
|
46
|
+
id: string;
|
|
47
|
+
name: string;
|
|
48
|
+
service: string;
|
|
34
49
|
layers: {
|
|
35
50
|
name: string;
|
|
36
51
|
text: string;
|
|
37
52
|
leaf: boolean;
|
|
38
53
|
path: string;
|
|
39
54
|
}[];
|
|
40
|
-
layer: {
|
|
41
|
-
RAD_NL25_PCP_CM: {
|
|
42
|
-
styles: {
|
|
43
|
-
attr: {};
|
|
44
|
-
Name: {
|
|
45
|
-
attr: {};
|
|
46
|
-
value: string;
|
|
47
|
-
};
|
|
48
|
-
Title: {
|
|
49
|
-
attr: {};
|
|
50
|
-
value: string;
|
|
51
|
-
};
|
|
52
|
-
LegendURL: {
|
|
53
|
-
attr: {
|
|
54
|
-
width: string;
|
|
55
|
-
height: string;
|
|
56
|
-
};
|
|
57
|
-
Format: {
|
|
58
|
-
attr: {};
|
|
59
|
-
value: string;
|
|
60
|
-
};
|
|
61
|
-
OnlineResource: {
|
|
62
|
-
attr: {
|
|
63
|
-
'xlink:type': string;
|
|
64
|
-
'xlink:href': string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
index: number;
|
|
69
|
-
nrOfStyles: number;
|
|
70
|
-
title: string;
|
|
71
|
-
name: string;
|
|
72
|
-
legendURL: string;
|
|
73
|
-
abstracttext: string;
|
|
74
|
-
}[];
|
|
75
|
-
};
|
|
76
|
-
RADNL_OPER_R___25PCPRR_L3_KNMI: {
|
|
77
|
-
styles: {
|
|
78
|
-
attr: {};
|
|
79
|
-
Name: {
|
|
80
|
-
attr: {};
|
|
81
|
-
value: string;
|
|
82
|
-
};
|
|
83
|
-
Title: {
|
|
84
|
-
attr: {};
|
|
85
|
-
value: string;
|
|
86
|
-
};
|
|
87
|
-
LegendURL: {
|
|
88
|
-
attr: {
|
|
89
|
-
width: string;
|
|
90
|
-
height: string;
|
|
91
|
-
};
|
|
92
|
-
Format: {
|
|
93
|
-
attr: {};
|
|
94
|
-
value: string;
|
|
95
|
-
};
|
|
96
|
-
OnlineResource: {
|
|
97
|
-
attr: {
|
|
98
|
-
'xlink:type': string;
|
|
99
|
-
'xlink:href': string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
index: number;
|
|
104
|
-
nrOfStyles: number;
|
|
105
|
-
title: string;
|
|
106
|
-
name: string;
|
|
107
|
-
legendURL: string;
|
|
108
|
-
abstracttext: string;
|
|
109
|
-
}[];
|
|
110
|
-
dimensions: {
|
|
111
|
-
name: string;
|
|
112
|
-
units: string;
|
|
113
|
-
currentValue: string;
|
|
114
|
-
}[];
|
|
115
|
-
};
|
|
116
|
-
MULTI_DIMENSION_LAYER: {
|
|
117
|
-
styles: {
|
|
118
|
-
attr: {};
|
|
119
|
-
Name: {
|
|
120
|
-
attr: {};
|
|
121
|
-
value: string;
|
|
122
|
-
};
|
|
123
|
-
Title: {
|
|
124
|
-
attr: {};
|
|
125
|
-
value: string;
|
|
126
|
-
};
|
|
127
|
-
LegendURL: {
|
|
128
|
-
attr: {
|
|
129
|
-
width: string;
|
|
130
|
-
height: string;
|
|
131
|
-
};
|
|
132
|
-
Format: {
|
|
133
|
-
attr: {};
|
|
134
|
-
value: string;
|
|
135
|
-
};
|
|
136
|
-
OnlineResource: {
|
|
137
|
-
attr: {
|
|
138
|
-
'xlink:type': string;
|
|
139
|
-
'xlink:href': string;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
index: number;
|
|
144
|
-
nrOfStyles: number;
|
|
145
|
-
title: string;
|
|
146
|
-
name: string;
|
|
147
|
-
legendURL: string;
|
|
148
|
-
abstracttext: string;
|
|
149
|
-
}[];
|
|
150
|
-
dimensions: ({
|
|
151
|
-
name: string;
|
|
152
|
-
units: string;
|
|
153
|
-
currentValue: string;
|
|
154
|
-
values?: undefined;
|
|
155
|
-
} | {
|
|
156
|
-
name: string;
|
|
157
|
-
units: string;
|
|
158
|
-
currentValue: string;
|
|
159
|
-
values: string;
|
|
160
|
-
})[];
|
|
161
|
-
};
|
|
162
|
-
LAYER_WITHOUT_TIME: {
|
|
163
|
-
styles: {
|
|
164
|
-
attr: {};
|
|
165
|
-
Name: {
|
|
166
|
-
attr: {};
|
|
167
|
-
value: string;
|
|
168
|
-
};
|
|
169
|
-
Title: {
|
|
170
|
-
attr: {};
|
|
171
|
-
value: string;
|
|
172
|
-
};
|
|
173
|
-
LegendURL: {
|
|
174
|
-
attr: {
|
|
175
|
-
width: string;
|
|
176
|
-
height: string;
|
|
177
|
-
};
|
|
178
|
-
Format: {
|
|
179
|
-
attr: {};
|
|
180
|
-
value: string;
|
|
181
|
-
};
|
|
182
|
-
OnlineResource: {
|
|
183
|
-
attr: {
|
|
184
|
-
'xlink:type': string;
|
|
185
|
-
'xlink:href': string;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
index: number;
|
|
190
|
-
nrOfStyles: number;
|
|
191
|
-
title: string;
|
|
192
|
-
name: string;
|
|
193
|
-
legendURL: string;
|
|
194
|
-
abstracttext: string;
|
|
195
|
-
}[];
|
|
196
|
-
dimensions: {
|
|
197
|
-
name: string;
|
|
198
|
-
units: string;
|
|
199
|
-
currentValue: string;
|
|
200
|
-
values: string;
|
|
201
|
-
}[];
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
55
|
};
|
|
205
56
|
};
|
|
206
57
|
export declare const multiDimensionLayer: {
|
|
@@ -221,6 +72,12 @@ export declare const multiDimensionLayer: {
|
|
|
221
72
|
currentValue: string;
|
|
222
73
|
values?: undefined;
|
|
223
74
|
})[];
|
|
75
|
+
styles: {
|
|
76
|
+
title: string;
|
|
77
|
+
name: string;
|
|
78
|
+
legendURL: string;
|
|
79
|
+
abstract: string;
|
|
80
|
+
}[];
|
|
224
81
|
};
|
|
225
82
|
export declare const flDimensionLayer: {
|
|
226
83
|
service: string;
|
|
@@ -258,6 +115,12 @@ export declare const multiDimensionLayer2: {
|
|
|
258
115
|
currentValue: string;
|
|
259
116
|
values?: undefined;
|
|
260
117
|
})[];
|
|
118
|
+
styles: {
|
|
119
|
+
title: string;
|
|
120
|
+
name: string;
|
|
121
|
+
legendURL: string;
|
|
122
|
+
abstract: string;
|
|
123
|
+
}[];
|
|
261
124
|
};
|
|
262
125
|
export declare const multiDimensionLayer3: {
|
|
263
126
|
service: string;
|
|
@@ -287,92 +150,37 @@ export declare const multiDimensionLayer3: {
|
|
|
287
150
|
};
|
|
288
151
|
values?: undefined;
|
|
289
152
|
})[];
|
|
153
|
+
styles: {
|
|
154
|
+
title: string;
|
|
155
|
+
name: string;
|
|
156
|
+
legendURL: string;
|
|
157
|
+
abstract: string;
|
|
158
|
+
}[];
|
|
290
159
|
};
|
|
291
160
|
export declare const WmMultiDimensionLayer2: WMLayer;
|
|
292
161
|
export declare const WmMultiDimensionLayer3: WMLayer;
|
|
293
162
|
export declare const WmMultiDimensionServices: {
|
|
294
163
|
'https://testservicedimensions': {
|
|
164
|
+
id: string;
|
|
165
|
+
name: string;
|
|
166
|
+
service: string;
|
|
295
167
|
layers: {
|
|
296
168
|
name: string;
|
|
297
169
|
text: string;
|
|
298
170
|
leaf: boolean;
|
|
299
171
|
path: string;
|
|
300
172
|
}[];
|
|
301
|
-
layer: {
|
|
302
|
-
netcdf_5dims: {
|
|
303
|
-
styles: {
|
|
304
|
-
attr: {};
|
|
305
|
-
Name: {
|
|
306
|
-
attr: {};
|
|
307
|
-
value: string;
|
|
308
|
-
};
|
|
309
|
-
Title: {
|
|
310
|
-
attr: {};
|
|
311
|
-
value: string;
|
|
312
|
-
};
|
|
313
|
-
LegendURL: {
|
|
314
|
-
attr: {
|
|
315
|
-
width: string;
|
|
316
|
-
height: string;
|
|
317
|
-
};
|
|
318
|
-
Format: {
|
|
319
|
-
attr: {};
|
|
320
|
-
value: string;
|
|
321
|
-
};
|
|
322
|
-
OnlineResource: {
|
|
323
|
-
attr: {
|
|
324
|
-
'xlink:type': string;
|
|
325
|
-
'xlink:href': string;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
};
|
|
329
|
-
index: number;
|
|
330
|
-
nrOfStyles: number;
|
|
331
|
-
title: string;
|
|
332
|
-
name: string;
|
|
333
|
-
legendURL: string;
|
|
334
|
-
abstracttext: string;
|
|
335
|
-
}[];
|
|
336
|
-
dimensions: ({
|
|
337
|
-
name: string;
|
|
338
|
-
units: string;
|
|
339
|
-
currentValue: string;
|
|
340
|
-
values: string;
|
|
341
|
-
} | {
|
|
342
|
-
name: string;
|
|
343
|
-
units: string;
|
|
344
|
-
currentValue: string;
|
|
345
|
-
values?: undefined;
|
|
346
|
-
})[];
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
173
|
};
|
|
350
174
|
'https://testservice': {
|
|
175
|
+
id: string;
|
|
176
|
+
name: string;
|
|
177
|
+
service: string;
|
|
351
178
|
layers: {
|
|
352
179
|
name: string;
|
|
353
180
|
text: string;
|
|
354
181
|
leaf: boolean;
|
|
355
182
|
path: string;
|
|
356
183
|
}[];
|
|
357
|
-
layer: {
|
|
358
|
-
RADNL_OPER_R___25PCPRR_L3_KNMI: {
|
|
359
|
-
styles: any[];
|
|
360
|
-
dimensions: {
|
|
361
|
-
name: string;
|
|
362
|
-
units: string;
|
|
363
|
-
currentValue: string;
|
|
364
|
-
}[];
|
|
365
|
-
};
|
|
366
|
-
LAYER_WITHOUT_TIME: {
|
|
367
|
-
styles: any[];
|
|
368
|
-
dimensions: {
|
|
369
|
-
name: string;
|
|
370
|
-
units: string;
|
|
371
|
-
currentValue: string;
|
|
372
|
-
values: string;
|
|
373
|
-
}[];
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
184
|
};
|
|
377
185
|
};
|
|
378
186
|
export declare const layerWithoutTimeDimension: {
|
|
@@ -386,6 +194,12 @@ export declare const layerWithoutTimeDimension: {
|
|
|
386
194
|
currentValue: string;
|
|
387
195
|
values: string;
|
|
388
196
|
}[];
|
|
197
|
+
styles: {
|
|
198
|
+
title: string;
|
|
199
|
+
name: string;
|
|
200
|
+
legendURL: string;
|
|
201
|
+
abstract: string;
|
|
202
|
+
}[];
|
|
389
203
|
};
|
|
390
204
|
export declare const WmLayerWithoutTimeDimension: WMLayer;
|
|
391
205
|
export declare const defaultTestServices: Service[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WMJSDimension } from '@opengeoweb/webmap';
|
|
3
|
+
export interface Mark {
|
|
4
|
+
value: number | string;
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const marksByDimension: (dim: WMJSDimension) => Mark[];
|
|
8
|
+
/**
|
|
9
|
+
* Re-formats moment's isoString to the string that is expected by WMJSDimension (for time).
|
|
10
|
+
* @param dateIn The input date to re-format, usually in the format `YYYY-MM-DDThh:mm:ss.uuuZ`
|
|
11
|
+
* @returns The formated input date in the format `YYYY-MM-DDThh:mm:ssZ`
|
|
12
|
+
*/
|
|
13
|
+
export declare const handleMomentISOString: (dateIn: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -7,6 +7,8 @@ export interface LayerTree {
|
|
|
7
7
|
path: string | string[];
|
|
8
8
|
title: string;
|
|
9
9
|
children: LayerTree[];
|
|
10
|
+
keywords?: string[];
|
|
11
|
+
abstract?: string;
|
|
10
12
|
text?: string;
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
@@ -20,3 +22,9 @@ export declare const recurseNodes: (nodesToRecur: LayerTree) => LayerTree;
|
|
|
20
22
|
* @param {boolean} forceReload **optional** forceReload: boolean, true will force the layers to be reloaded from the service, defaults to false
|
|
21
23
|
*/
|
|
22
24
|
export declare const getLayersFromService: (serviceUrl: string, forceReload?: boolean) => Promise<LayerTree>;
|
|
25
|
+
/**
|
|
26
|
+
* Returns a promise with a webmapjs node structure layers from the WMS GetCapabilities document.
|
|
27
|
+
* @param serviceUrl The URL of the WMS service
|
|
28
|
+
* @param {boolean} forceReload **optional** forceReload: boolean, true will force the layers to be reloaded from the service, defaults to false
|
|
29
|
+
*/
|
|
30
|
+
export declare const getLayerNodesFromService: (serviceUrl: string, forceReload?: boolean) => Promise<[]>;
|
|
@@ -43,7 +43,16 @@ export declare const KNMIgeoservicesKlimaatAtlas: {
|
|
|
43
43
|
url: string;
|
|
44
44
|
id: string;
|
|
45
45
|
};
|
|
46
|
-
export declare const KNMIgeoservicesHarmonie
|
|
46
|
+
export declare const KNMIgeoservicesHarmonie: {
|
|
47
|
+
name: string;
|
|
48
|
+
url: string;
|
|
49
|
+
id: string;
|
|
50
|
+
};
|
|
51
|
+
export declare const KNMIgeoservicesHarmonieMLService: {
|
|
52
|
+
name: string;
|
|
53
|
+
url: string;
|
|
54
|
+
id: string;
|
|
55
|
+
};
|
|
47
56
|
export declare const MetNorwayService: {
|
|
48
57
|
name: string;
|
|
49
58
|
url: string;
|
|
@@ -79,6 +88,11 @@ export declare const eumetviewEUMETSAT: {
|
|
|
79
88
|
url: string;
|
|
80
89
|
id: string;
|
|
81
90
|
};
|
|
91
|
+
export declare const ECMWFPublicService: {
|
|
92
|
+
name: string;
|
|
93
|
+
url: string;
|
|
94
|
+
id: string;
|
|
95
|
+
};
|
|
82
96
|
export declare const MeteoCanada: {
|
|
83
97
|
name: string;
|
|
84
98
|
url: string;
|
package/lib/utils/testUtils.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { WebMapState, LayerState, Dimension, Layer, WebMapStateModuleState } from '../store/mapStore/types';
|
|
2
2
|
export declare const createWebmapState: (...mapIds: string[]) => WebMapState;
|
|
3
3
|
export declare const createLayersState: (layerId: string, props?: {}) => LayerState;
|
|
4
|
+
export declare const createMultipleLayersState: (layers: Layer[], mapId: string) => LayerState;
|
|
4
5
|
export declare const createMapDimensionsState: (dimensions?: Dimension[], ...mapIds: string[]) => WebMapState;
|
|
5
6
|
export declare const mockStateMapWithLayer: (layer: Layer, mapId: string) => WebMapStateModuleState;
|
|
6
7
|
export declare const mockStateMapWithMultipleLayers: (layers: Layer[], mapId: string) => WebMapStateModuleState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "1.2
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "GeoWeb Core library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,31 +13,31 @@
|
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "16.14.0",
|
|
16
|
+
"@opengeoweb/theme": "2.1.2",
|
|
16
17
|
"@material-ui/core": "^4.11.0",
|
|
18
|
+
"@material-ui/lab": "^4.0.0-alpha.56",
|
|
17
19
|
"@material-ui/icons": "^4.9.1",
|
|
18
|
-
"react-intl": "^5.17.5",
|
|
19
20
|
"react-redux": "7.2.2",
|
|
20
|
-
"@opengeoweb/webmap": "1.2.5",
|
|
21
21
|
"moment": "^2.29.0",
|
|
22
|
+
"react-intl": "^5.17.5",
|
|
23
|
+
"@opengeoweb/webmap": "2.1.2",
|
|
22
24
|
"throttle-debounce": "^3.0.1",
|
|
23
25
|
"proj4": "^2.6.2",
|
|
24
26
|
"react-sortablejs": "^6.0.0",
|
|
25
|
-
"@opengeoweb/shared": "1.2
|
|
26
|
-
"@material-ui/lab": "^4.0.0-alpha.56",
|
|
27
|
-
"@opengeoweb/theme": "1.2.5",
|
|
27
|
+
"@opengeoweb/shared": "2.1.2",
|
|
28
28
|
"react-draggable": "^4.4.3",
|
|
29
29
|
"re-resizable": "^6.9.0",
|
|
30
30
|
"lodash": "^4.17.20",
|
|
31
|
-
"@opengeoweb/form-fields": "1.2
|
|
31
|
+
"@opengeoweb/form-fields": "2.1.2",
|
|
32
32
|
"react-hook-form": "^6.12.1",
|
|
33
33
|
"@material-ui/pickers": "^3.2.10",
|
|
34
|
-
"@date-io/moment": "^1.3.13",
|
|
35
34
|
"moment-timezone": "^0.5.31",
|
|
35
|
+
"@date-io/moment": "^1.3.13",
|
|
36
36
|
"axios": "^0.21.4",
|
|
37
|
-
"immer": "^9.0.6",
|
|
38
37
|
"redux-dynamic-modules": "^5.2.0",
|
|
39
38
|
"redux": "^4.0.4",
|
|
40
39
|
"lodash.clonedeep": "^4.5.0",
|
|
40
|
+
"immer": "^9.0.6",
|
|
41
41
|
"reselect": "^4.0.0",
|
|
42
42
|
"redux-dynamic-modules-saga": "^5.2.0",
|
|
43
43
|
"redux-saga": "^1.1.3"
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DimensionConfig } from './types';
|
|
2
|
-
export declare const dimensionConfig: DimensionConfig[];
|
|
3
|
-
export declare const dimensionIcons: Map<string, import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Component used to control values for all dimension other than time and ref.time
|
|
3
|
-
*
|
|
4
|
-
* Expects the following props:
|
|
5
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
6
|
-
* @example
|
|
7
|
-
* ``` <MultiDimensionSelectConnect mapId="mapid_1" /> ```
|
|
8
|
-
*/
|
|
9
|
-
declare const MultiDimensionSelectConnect: any;
|
|
10
|
-
export default MultiDimensionSelectConnect;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DimensionSliderData } from './types';
|
|
3
|
-
export interface MultiDimensionSelectDialogProps {
|
|
4
|
-
sliderDataArray: DimensionSliderData[];
|
|
5
|
-
isDialogOpen?: boolean;
|
|
6
|
-
dimension: string;
|
|
7
|
-
handleSyncChanged: (layerId: string, dimensionName: string) => void;
|
|
8
|
-
handleDimensionValueChanged: (layerId: string, dimensionName: string, dimensionValue: string, changeSynched: boolean) => void;
|
|
9
|
-
onMouseDown?: () => void;
|
|
10
|
-
onToggleDialog?: (isDialogOpen: boolean) => void;
|
|
11
|
-
index?: number;
|
|
12
|
-
order?: number;
|
|
13
|
-
}
|
|
14
|
-
declare const MultiDimensionSelectDialog: React.FC<MultiDimensionSelectDialogProps>;
|
|
15
|
-
export default MultiDimensionSelectDialog;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MultiDimensionSelectDialogProps } from './MultiDimensionSelectDialog';
|
|
3
|
-
interface MultiDimensionSelectDialogConnectProps extends MultiDimensionSelectDialogProps {
|
|
4
|
-
mapId: string;
|
|
5
|
-
isDialogOpen?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const MultiDimensionSelectDialogConnect: React.FC<MultiDimensionSelectDialogConnectProps>;
|
|
8
|
-
export default MultiDimensionSelectDialogConnect;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Mark } from '@material-ui/core';
|
|
2
|
-
export interface DimensionSliderData {
|
|
3
|
-
dimensionName: string;
|
|
4
|
-
layerId: string;
|
|
5
|
-
layerName: string;
|
|
6
|
-
unit: string;
|
|
7
|
-
marks: Mark[];
|
|
8
|
-
synced: boolean;
|
|
9
|
-
validSelection: boolean;
|
|
10
|
-
currentValue: string;
|
|
11
|
-
}
|
|
12
|
-
export interface DimensionConfig {
|
|
13
|
-
name: string;
|
|
14
|
-
label: string;
|
|
15
|
-
defaultUnit: string;
|
|
16
|
-
reversed: boolean;
|
|
17
|
-
iconType: string;
|
|
18
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { InitialHarmTempAndPrecipProps } from './types';
|
|
3
|
-
export interface HarmonieTempAndPrecipPresetProps extends InitialHarmTempAndPrecipProps {
|
|
4
|
-
id: string;
|
|
5
|
-
}
|
|
6
|
-
declare const HarmonieTempAndPrecipPreset: React.FC<HarmonieTempAndPrecipPresetProps>;
|
|
7
|
-
export default HarmonieTempAndPrecipPreset;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
|
-
interface ConfigurableConnectedMapProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
id?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
layers: Layer[];
|
|
8
|
-
activeLayerId?: string;
|
|
9
|
-
baseLayer?: Layer;
|
|
10
|
-
bbox?: Bbox;
|
|
11
|
-
srs?: string;
|
|
12
|
-
displayTimeInMap?: boolean;
|
|
13
|
-
displayLayerManagerButtonInMap?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare const ConfigurableConnectedMap: React.FC<ConfigurableConnectedMapProps>;
|
|
16
|
-
export {};
|