@opengeoweb/core 1.3.0 → 2.1.3
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 +7809 -5270
- package/core.umd.js +7897 -5209
- 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 +37 -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 +5 -0
- package/lib/components/CustomSwitch/CustomSwitch.d.ts +3 -0
- package/lib/components/{MultiDimensionSelect/VerticalDimensionSelect.spec.d.ts → CustomSwitch/CustomSwitch.spec.d.ts} +0 -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 +2 -0
- package/lib/components/LayerManager/LayerManager.stories.d.ts +7 -6
- package/lib/components/LayerManager/LayerManagerConnect.d.ts +1 -0
- 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/KeywordFilterButtonConnect.d.ts +8 -0
- package/lib/components/{TimeSlider/TimeSliderButtons/ToggleIconButton.spec.d.ts → LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts +16 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.stories.d.ts +13 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.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/LayerList/LayerList.d.ts +9 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelect.stories.d.ts +7 -7
- package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.d.ts +2 -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 +7 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldButtonContainer.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldButtonContainer.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldConnect.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldConnect.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/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.stories.d.ts +13 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +13 -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 +4 -2
- package/lib/components/Legend/LegendDialog.d.ts +2 -0
- package/lib/components/Legend/LegendMapButtonConnect.d.ts +2 -0
- 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 +2 -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 +9 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.d.ts +14 -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 +8 -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 +2 -5
- package/lib/components/MultiMapView/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +1 -4
- package/lib/components/MultiMapView/MultiMapView.stories.d.ts +2 -0
- package/lib/components/MultiMapView/MultiMapView10x10.stories.d.ts +2 -0
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +1 -1
- package/lib/components/ReactMapView/ReactMapView.d.ts +5 -3
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +3 -2
- package/lib/components/ReactMapView/types.d.ts +6 -13
- 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 +0 -1
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +4 -4
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +10 -1
- package/lib/components/{TimeSlider/TimeSliderButtons → ToggleIconButton}/ToggleIconButton.d.ts +1 -0
- package/lib/components/ToggleIconButton/ToggleIconButton.spec.d.ts +1 -0
- package/lib/components/{TimeSlider/TimeSliderButtons → ToggleIconButton}/ToggleIconButton.stories.d.ts +4 -0
- package/lib/components/ToggleIconButton/index.d.ts +1 -0
- package/lib/index.d.ts +9 -5
- 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 +15 -0
- package/lib/store/layerSelect/config.d.ts +4 -0
- package/lib/store/layerSelect/constants.d.ts +2 -0
- package/lib/store/layerSelect/reducer.d.ts +3 -0
- package/lib/store/layerSelect/reducer.spec.d.ts +1 -0
- package/lib/store/layerSelect/sagas.d.ts +5 -0
- package/lib/store/layerSelect/sagas.spec.d.ts +1 -0
- package/lib/store/layerSelect/selectors.d.ts +4 -0
- package/lib/store/layerSelect/selectors.spec.d.ts +1 -0
- package/lib/store/layerSelect/types.d.ts +35 -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 +48 -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 +9 -39
- package/lib/store/mapStore/service/types.d.ts +11 -30
- package/lib/store/mapStore/types.d.ts +1 -1
- package/lib/store/mapStore/utils/helpers.d.ts +4 -3
- package/lib/store/ui/actions.d.ts +6 -6
- 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 +2 -1
- package/lib/storybookUtils/HelperComponents.d.ts +1 -1
- package/lib/types/types.d.ts +2 -1
- package/lib/utils/__mocks__/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
- package/lib/utils/defaultTestSettings.d.ts +56 -233
- package/lib/utils/dimensionUtils.d.ts +5 -1
- package/lib/utils/getCapabilities.d.ts +8 -0
- package/lib/utils/testUtils.d.ts +3 -2
- package/package.json +9 -9
- package/lib/components/MultiDimensionSelect/MultiDimensionSelectConfig.d.ts +0 -3
- package/lib/components/MultiDimensionSelect/MultiDimensionSelectConnect.d.ts +0 -15
- 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/SyncGroups/ConfigurableConnectedMap.d.ts +0 -17
- package/lib/components/SyncGroups/SyncGroupDialog.d.ts +0 -7
|
@@ -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,36 @@ 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': {
|
|
34
|
-
|
|
46
|
+
id: string;
|
|
47
|
+
name: string;
|
|
48
|
+
service: string;
|
|
49
|
+
layers: ({
|
|
35
50
|
name: string;
|
|
36
51
|
text: string;
|
|
37
52
|
leaf: boolean;
|
|
38
53
|
path: string;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
};
|
|
54
|
+
keywords: any[];
|
|
55
|
+
abstract: string;
|
|
56
|
+
} | {
|
|
57
|
+
name: string;
|
|
58
|
+
text: string;
|
|
59
|
+
leaf: boolean;
|
|
60
|
+
path: string;
|
|
61
|
+
keywords: any[];
|
|
62
|
+
abstract?: undefined;
|
|
63
|
+
})[];
|
|
204
64
|
};
|
|
205
65
|
};
|
|
206
66
|
export declare const multiDimensionLayer: {
|
|
@@ -221,6 +81,12 @@ export declare const multiDimensionLayer: {
|
|
|
221
81
|
currentValue: string;
|
|
222
82
|
values?: undefined;
|
|
223
83
|
})[];
|
|
84
|
+
styles: {
|
|
85
|
+
title: string;
|
|
86
|
+
name: string;
|
|
87
|
+
legendURL: string;
|
|
88
|
+
abstract: string;
|
|
89
|
+
}[];
|
|
224
90
|
};
|
|
225
91
|
export declare const flDimensionLayer: {
|
|
226
92
|
service: string;
|
|
@@ -258,6 +124,12 @@ export declare const multiDimensionLayer2: {
|
|
|
258
124
|
currentValue: string;
|
|
259
125
|
values?: undefined;
|
|
260
126
|
})[];
|
|
127
|
+
styles: {
|
|
128
|
+
title: string;
|
|
129
|
+
name: string;
|
|
130
|
+
legendURL: string;
|
|
131
|
+
abstract: string;
|
|
132
|
+
}[];
|
|
261
133
|
};
|
|
262
134
|
export declare const multiDimensionLayer3: {
|
|
263
135
|
service: string;
|
|
@@ -287,92 +159,37 @@ export declare const multiDimensionLayer3: {
|
|
|
287
159
|
};
|
|
288
160
|
values?: undefined;
|
|
289
161
|
})[];
|
|
162
|
+
styles: {
|
|
163
|
+
title: string;
|
|
164
|
+
name: string;
|
|
165
|
+
legendURL: string;
|
|
166
|
+
abstract: string;
|
|
167
|
+
}[];
|
|
290
168
|
};
|
|
291
169
|
export declare const WmMultiDimensionLayer2: WMLayer;
|
|
292
170
|
export declare const WmMultiDimensionLayer3: WMLayer;
|
|
293
171
|
export declare const WmMultiDimensionServices: {
|
|
294
172
|
'https://testservicedimensions': {
|
|
173
|
+
id: string;
|
|
174
|
+
name: string;
|
|
175
|
+
service: string;
|
|
295
176
|
layers: {
|
|
296
177
|
name: string;
|
|
297
178
|
text: string;
|
|
298
179
|
leaf: boolean;
|
|
299
180
|
path: string;
|
|
300
181
|
}[];
|
|
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
182
|
};
|
|
350
183
|
'https://testservice': {
|
|
184
|
+
id: string;
|
|
185
|
+
name: string;
|
|
186
|
+
service: string;
|
|
351
187
|
layers: {
|
|
352
188
|
name: string;
|
|
353
189
|
text: string;
|
|
354
190
|
leaf: boolean;
|
|
355
191
|
path: string;
|
|
356
192
|
}[];
|
|
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
193
|
};
|
|
377
194
|
};
|
|
378
195
|
export declare const layerWithoutTimeDimension: {
|
|
@@ -386,6 +203,12 @@ export declare const layerWithoutTimeDimension: {
|
|
|
386
203
|
currentValue: string;
|
|
387
204
|
values: string;
|
|
388
205
|
}[];
|
|
206
|
+
styles: {
|
|
207
|
+
title: string;
|
|
208
|
+
name: string;
|
|
209
|
+
legendURL: string;
|
|
210
|
+
abstract: string;
|
|
211
|
+
}[];
|
|
389
212
|
};
|
|
390
213
|
export declare const WmLayerWithoutTimeDimension: WMLayer;
|
|
391
214
|
export declare const defaultTestServices: Service[];
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { WMJSDimension } from '@opengeoweb/webmap';
|
|
3
|
+
export interface Mark {
|
|
4
|
+
value: number | string;
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
}
|
|
3
7
|
export declare const marksByDimension: (dim: WMJSDimension) => Mark[];
|
|
4
8
|
/**
|
|
5
9
|
* Re-formats moment's isoString to the string that is expected by WMJSDimension (for time).
|
|
@@ -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<[]>;
|
package/lib/utils/testUtils.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { WebMapState, LayerState, Dimension, Layer, WebMapStateModuleState } from '../store/mapStore/types';
|
|
1
|
+
import { WebMapState, LayerState, Dimension, Layer, WebMapStateModuleState, Scale } 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;
|
|
7
8
|
export declare const mockStateMapWithDimensions: (layer: Layer, mapId: string) => WebMapStateModuleState;
|
|
8
9
|
export declare const mockStateMapWithDimensionsWithoutLayers: (mapId: string) => WebMapStateModuleState;
|
|
9
|
-
export declare const mockStateMapWithTimeSliderScaleWithoutLayers: (mapId: string, timeSliderScale:
|
|
10
|
+
export declare const mockStateMapWithTimeSliderScaleWithoutLayers: (mapId: string, timeSliderScale: Scale) => WebMapStateModuleState;
|
|
10
11
|
export declare const mockStateMapWithTimeStepWithoutLayers: (mapId: string, timeStep: number) => WebMapStateModuleState;
|
|
11
12
|
export declare const mockStateMapWithAnimationDelayWithoutLayers: (mapId: string) => WebMapStateModuleState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "1.3
|
|
3
|
+
"version": "2.1.3",
|
|
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.3",
|
|
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.3.0",
|
|
21
21
|
"moment": "^2.29.0",
|
|
22
|
+
"react-intl": "^5.17.5",
|
|
23
|
+
"@opengeoweb/webmap": "2.1.3",
|
|
22
24
|
"throttle-debounce": "^3.0.1",
|
|
23
25
|
"proj4": "^2.6.2",
|
|
24
26
|
"react-sortablejs": "^6.0.0",
|
|
25
|
-
"@opengeoweb/shared": "1.3
|
|
26
|
-
"@material-ui/lab": "^4.0.0-alpha.56",
|
|
27
|
-
"@opengeoweb/theme": "1.3.0",
|
|
27
|
+
"@opengeoweb/shared": "2.1.3",
|
|
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.3
|
|
31
|
+
"@opengeoweb/form-fields": "2.1.3",
|
|
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,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface MultiDimensionSelectConnectProps {
|
|
3
|
-
mapId: string;
|
|
4
|
-
showDialogs?: boolean;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Component used to control values for all dimension other than time and ref.time
|
|
8
|
-
*
|
|
9
|
-
* Expects the following props:
|
|
10
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
11
|
-
* @example
|
|
12
|
-
* ``` <MultiDimensionSelectConnect mapId="mapid_1" /> ```
|
|
13
|
-
*/
|
|
14
|
-
declare const MultiDimensionSelectConnect: React.FC<MultiDimensionSelectConnectProps>;
|
|
15
|
-
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,17 +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
|
-
shouldAutoUpdate?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const ConfigurableConnectedMap: React.FC<ConfigurableConnectedMapProps>;
|
|
17
|
-
export {};
|