@opengeoweb/core 2.1.1 → 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/core.esm.js +965 -493
- package/core.umd.js +951 -419
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +1 -0
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts +1 -0
- package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.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/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/RenderStyles/RenderStyles.d.ts +5 -5
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +0 -1
- 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.stories.d.ts +7 -7
- 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 +0 -1
- 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/ReactMapView/ReactMapView.d.ts +5 -1
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +2 -2
- package/lib/components/ReactMapView/types.d.ts +6 -11
- package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +2 -3
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +4 -4
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +3 -1
- package/lib/store/coreModuleConfig.d.ts +1 -1
- 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 -1
- package/lib/store/mapStore/layers/constants.d.ts +1 -0
- package/lib/store/mapStore/layers/selectors.d.ts +18 -0
- package/lib/store/mapStore/layers/types.d.ts +21 -10
- package/lib/store/mapStore/map/actions.d.ts +11 -4
- package/lib/store/mapStore/map/constants.d.ts +1 -0
- package/lib/store/mapStore/map/selectors.d.ts +14 -6
- package/lib/store/mapStore/map/types.d.ts +19 -7
- package/lib/store/mapStore/service/actions.d.ts +1 -8
- package/lib/store/mapStore/service/constants.d.ts +0 -1
- package/lib/store/mapStore/service/selectors.d.ts +8 -0
- package/lib/store/mapStore/service/types.d.ts +8 -17
- package/lib/store/mapStore/utils/helpers.d.ts +4 -3
- package/lib/types/types.d.ts +2 -1
- package/lib/utils/defaultTestSettings.d.ts +45 -187
- package/package.json +6 -6
|
@@ -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,160 +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
|
-
};
|
|
111
|
-
MULTI_DIMENSION_LAYER: {
|
|
112
|
-
styles: {
|
|
113
|
-
attr: {};
|
|
114
|
-
Name: {
|
|
115
|
-
attr: {};
|
|
116
|
-
value: string;
|
|
117
|
-
};
|
|
118
|
-
Title: {
|
|
119
|
-
attr: {};
|
|
120
|
-
value: string;
|
|
121
|
-
};
|
|
122
|
-
LegendURL: {
|
|
123
|
-
attr: {
|
|
124
|
-
width: string;
|
|
125
|
-
height: string;
|
|
126
|
-
};
|
|
127
|
-
Format: {
|
|
128
|
-
attr: {};
|
|
129
|
-
value: string;
|
|
130
|
-
};
|
|
131
|
-
OnlineResource: {
|
|
132
|
-
attr: {
|
|
133
|
-
'xlink:type': string;
|
|
134
|
-
'xlink:href': string;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
index: number;
|
|
139
|
-
nrOfStyles: number;
|
|
140
|
-
title: string;
|
|
141
|
-
name: string;
|
|
142
|
-
legendURL: string;
|
|
143
|
-
abstracttext: string;
|
|
144
|
-
}[];
|
|
145
|
-
};
|
|
146
|
-
LAYER_WITHOUT_TIME: {
|
|
147
|
-
styles: {
|
|
148
|
-
attr: {};
|
|
149
|
-
Name: {
|
|
150
|
-
attr: {};
|
|
151
|
-
value: string;
|
|
152
|
-
};
|
|
153
|
-
Title: {
|
|
154
|
-
attr: {};
|
|
155
|
-
value: string;
|
|
156
|
-
};
|
|
157
|
-
LegendURL: {
|
|
158
|
-
attr: {
|
|
159
|
-
width: string;
|
|
160
|
-
height: string;
|
|
161
|
-
};
|
|
162
|
-
Format: {
|
|
163
|
-
attr: {};
|
|
164
|
-
value: string;
|
|
165
|
-
};
|
|
166
|
-
OnlineResource: {
|
|
167
|
-
attr: {
|
|
168
|
-
'xlink:type': string;
|
|
169
|
-
'xlink:href': string;
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
index: number;
|
|
174
|
-
nrOfStyles: number;
|
|
175
|
-
title: string;
|
|
176
|
-
name: string;
|
|
177
|
-
legendURL: string;
|
|
178
|
-
abstracttext: string;
|
|
179
|
-
}[];
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
55
|
};
|
|
183
56
|
};
|
|
184
57
|
export declare const multiDimensionLayer: {
|
|
@@ -199,6 +72,12 @@ export declare const multiDimensionLayer: {
|
|
|
199
72
|
currentValue: string;
|
|
200
73
|
values?: undefined;
|
|
201
74
|
})[];
|
|
75
|
+
styles: {
|
|
76
|
+
title: string;
|
|
77
|
+
name: string;
|
|
78
|
+
legendURL: string;
|
|
79
|
+
abstract: string;
|
|
80
|
+
}[];
|
|
202
81
|
};
|
|
203
82
|
export declare const flDimensionLayer: {
|
|
204
83
|
service: string;
|
|
@@ -236,6 +115,12 @@ export declare const multiDimensionLayer2: {
|
|
|
236
115
|
currentValue: string;
|
|
237
116
|
values?: undefined;
|
|
238
117
|
})[];
|
|
118
|
+
styles: {
|
|
119
|
+
title: string;
|
|
120
|
+
name: string;
|
|
121
|
+
legendURL: string;
|
|
122
|
+
abstract: string;
|
|
123
|
+
}[];
|
|
239
124
|
};
|
|
240
125
|
export declare const multiDimensionLayer3: {
|
|
241
126
|
service: string;
|
|
@@ -265,70 +150,37 @@ export declare const multiDimensionLayer3: {
|
|
|
265
150
|
};
|
|
266
151
|
values?: undefined;
|
|
267
152
|
})[];
|
|
153
|
+
styles: {
|
|
154
|
+
title: string;
|
|
155
|
+
name: string;
|
|
156
|
+
legendURL: string;
|
|
157
|
+
abstract: string;
|
|
158
|
+
}[];
|
|
268
159
|
};
|
|
269
160
|
export declare const WmMultiDimensionLayer2: WMLayer;
|
|
270
161
|
export declare const WmMultiDimensionLayer3: WMLayer;
|
|
271
162
|
export declare const WmMultiDimensionServices: {
|
|
272
163
|
'https://testservicedimensions': {
|
|
164
|
+
id: string;
|
|
165
|
+
name: string;
|
|
166
|
+
service: string;
|
|
273
167
|
layers: {
|
|
274
168
|
name: string;
|
|
275
169
|
text: string;
|
|
276
170
|
leaf: boolean;
|
|
277
171
|
path: string;
|
|
278
172
|
}[];
|
|
279
|
-
layer: {
|
|
280
|
-
netcdf_5dims: {
|
|
281
|
-
styles: {
|
|
282
|
-
attr: {};
|
|
283
|
-
Name: {
|
|
284
|
-
attr: {};
|
|
285
|
-
value: string;
|
|
286
|
-
};
|
|
287
|
-
Title: {
|
|
288
|
-
attr: {};
|
|
289
|
-
value: string;
|
|
290
|
-
};
|
|
291
|
-
LegendURL: {
|
|
292
|
-
attr: {
|
|
293
|
-
width: string;
|
|
294
|
-
height: string;
|
|
295
|
-
};
|
|
296
|
-
Format: {
|
|
297
|
-
attr: {};
|
|
298
|
-
value: string;
|
|
299
|
-
};
|
|
300
|
-
OnlineResource: {
|
|
301
|
-
attr: {
|
|
302
|
-
'xlink:type': string;
|
|
303
|
-
'xlink:href': string;
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
index: number;
|
|
308
|
-
nrOfStyles: number;
|
|
309
|
-
title: string;
|
|
310
|
-
name: string;
|
|
311
|
-
legendURL: string;
|
|
312
|
-
abstracttext: string;
|
|
313
|
-
}[];
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
173
|
};
|
|
317
174
|
'https://testservice': {
|
|
175
|
+
id: string;
|
|
176
|
+
name: string;
|
|
177
|
+
service: string;
|
|
318
178
|
layers: {
|
|
319
179
|
name: string;
|
|
320
180
|
text: string;
|
|
321
181
|
leaf: boolean;
|
|
322
182
|
path: string;
|
|
323
183
|
}[];
|
|
324
|
-
layer: {
|
|
325
|
-
RADNL_OPER_R___25PCPRR_L3_KNMI: {
|
|
326
|
-
styles: any[];
|
|
327
|
-
};
|
|
328
|
-
LAYER_WITHOUT_TIME: {
|
|
329
|
-
styles: any[];
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
184
|
};
|
|
333
185
|
};
|
|
334
186
|
export declare const layerWithoutTimeDimension: {
|
|
@@ -342,6 +194,12 @@ export declare const layerWithoutTimeDimension: {
|
|
|
342
194
|
currentValue: string;
|
|
343
195
|
values: string;
|
|
344
196
|
}[];
|
|
197
|
+
styles: {
|
|
198
|
+
title: string;
|
|
199
|
+
name: string;
|
|
200
|
+
legendURL: string;
|
|
201
|
+
abstract: string;
|
|
202
|
+
}[];
|
|
345
203
|
};
|
|
346
204
|
export declare const WmLayerWithoutTimeDimension: WMLayer;
|
|
347
205
|
export declare const defaultTestServices: Service[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "2.1.
|
|
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,26 +13,26 @@
|
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "16.14.0",
|
|
16
|
-
"@opengeoweb/theme": "2.1.
|
|
16
|
+
"@opengeoweb/theme": "2.1.2",
|
|
17
17
|
"@material-ui/core": "^4.11.0",
|
|
18
18
|
"@material-ui/lab": "^4.0.0-alpha.56",
|
|
19
19
|
"@material-ui/icons": "^4.9.1",
|
|
20
20
|
"react-redux": "7.2.2",
|
|
21
21
|
"moment": "^2.29.0",
|
|
22
22
|
"react-intl": "^5.17.5",
|
|
23
|
-
"@opengeoweb/webmap": "2.1.
|
|
23
|
+
"@opengeoweb/webmap": "2.1.2",
|
|
24
24
|
"throttle-debounce": "^3.0.1",
|
|
25
25
|
"proj4": "^2.6.2",
|
|
26
26
|
"react-sortablejs": "^6.0.0",
|
|
27
|
-
"@opengeoweb/shared": "2.1.
|
|
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": "2.1.
|
|
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
37
|
"redux-dynamic-modules": "^5.2.0",
|
|
38
38
|
"redux": "^4.0.4",
|