@opengeoweb/core 2.5.0 → 2.8.0
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/index.esm.js +10415 -10230
- package/index.umd.js +10446 -10229
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +7 -21
- package/lib/components/{ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts → ConfigurableMap/ConfigurableMapConnect.d.ts} +10 -16
- package/lib/components/{ConfigurableConnectedMap/ConfigurableConnectedMap.spec.d.ts → ConfigurableMap/ConfigurableMapConnect.spec.d.ts} +0 -0
- package/lib/components/ConfigurableMap/ConfigurableMapConnect.stories.d.ts +7 -0
- package/lib/components/ConfigurableMap/index.d.ts +1 -0
- package/lib/components/LayerManager/LayerManager.d.ts +2 -1
- package/lib/components/LayerManager/LayerManagerConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListRow.d.ts +18 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListUtils.d.ts +2 -1
- package/lib/components/LayerManager/LayerSelect/LayerSelectUtils.d.ts +4 -0
- package/lib/components/{ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.spec.d.ts → LayerManager/LayerSelect/LayerSelectUtils.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +4 -3
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.d.ts +4 -3
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +2 -2
- package/lib/components/MapWarning/MapWarningProperties.d.ts +6 -0
- package/lib/components/{MultiMapView/HarmoniePresets/HarmRefTimePreset.spec.d.ts → MapWarning/MapWarningProperties.spec.d.ts} +0 -0
- package/lib/components/MultiMapView/HarmoniePresets/index.d.ts +0 -1
- package/lib/components/MultiMapView/{HarmoniePresets/HarmRefTimePreset.d.ts → ModelRunInterval/ModelRunInterval.d.ts} +4 -2
- package/lib/components/{TimeSlider/TimeSliderButtons/LoopButton/LoopButton.spec.d.ts → MultiMapView/ModelRunInterval/ModelRunInterval.spec.d.ts} +0 -0
- package/lib/components/MultiMapView/ModelRunInterval/ModelRunInterval.stories.d.ts +4 -0
- package/lib/components/MultiMapView/ModelRunInterval/index.d.ts +1 -0
- package/lib/components/MultiMapView/MultiMapView.stories.d.ts +2 -3
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +1 -1
- package/lib/components/ReactMapView/AdagucMapDraw.d.ts +1 -1
- package/lib/components/ReactMapView/AdagucMapDrawTools.d.ts +1 -1
- package/lib/components/TimeSlider/TimeSlider.d.ts +2 -1
- package/lib/components/TimeSlider/TimeSliderButtons/OptionsMenuButton/OptionsMenuButton.d.ts +0 -1
- package/lib/components/TimeSlider/TimeSliderButtons/TimeSliderButtons.d.ts +0 -1
- package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegend.d.ts +2 -1
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +2 -1
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +1 -2
- package/lib/components/WMSLoader/WMSServerList/WMSServerList.d.ts +1 -1
- package/lib/index.d.ts +6 -5
- package/lib/store/layerSelect/sagas.d.ts +2 -1
- 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/types.d.ts +11 -3
- package/lib/store/mapStore/map/actions.d.ts +17 -8
- package/lib/store/mapStore/map/constants.d.ts +3 -0
- package/lib/store/mapStore/map/sagas.d.ts +4 -2
- package/lib/store/mapStore/map/selectors.d.ts +42 -21
- package/lib/store/mapStore/map/types.d.ts +57 -2
- package/lib/store/mapStore/map/utils.d.ts +2 -1
- package/lib/store/mapStore/service/reducer.d.ts +2 -8
- package/lib/store/mapStore/service/selectors.d.ts +6 -8
- package/lib/store/mapStore/service/types.d.ts +5 -8
- package/lib/store/mapStore/utils/helpers.d.ts +2 -0
- package/lib/store/ui/actions.d.ts +8 -1
- package/lib/store/ui/constants.d.ts +1 -0
- package/lib/store/ui/reducer.d.ts +2 -8
- package/lib/store/ui/selectors.d.ts +8 -0
- package/lib/store/ui/types.d.ts +10 -2
- package/lib/utils/defaultConfigurations.d.ts +2 -2
- package/lib/utils/defaultTestSettings.d.ts +10 -199
- package/lib/utils/jsonPresetFilter.d.ts +23 -7
- package/lib/utils/localStorage.d.ts +3 -3
- package/lib/{components/TimeSlider/TimeSliderButtons/LoopButton/LoopButtonConnect.spec.d.ts → utils/localStorage.spec.d.ts} +0 -0
- package/lib/utils/types.d.ts +3 -42
- package/package.json +9 -9
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.stories.d.ts +0 -6
- package/lib/components/ConfigurableConnectedMap/index.d.ts +0 -1
- package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +0 -22
- package/lib/components/ConfigurableMapWithSlider/index.d.ts +0 -1
- package/lib/components/LayerManager/tooltipContainerStyles.d.ts +0 -2
- package/lib/components/TimeSlider/TimeSliderButtons/LoopButton/LoopButton.d.ts +0 -8
- package/lib/components/TimeSlider/TimeSliderButtons/LoopButton/LoopButtonConnect.d.ts +0 -10
- package/lib/components/TooltipSelect/TooltipSelect.d.ts +0 -14
- package/lib/components/TooltipSelect/TooltipSelect.spec.d.ts +0 -1
package/lib/utils/types.d.ts
CHANGED
|
@@ -1,43 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
url: string;
|
|
6
|
-
}
|
|
7
|
-
export interface PresetLayer {
|
|
8
|
-
id?: string;
|
|
9
|
-
mapId?: string;
|
|
10
|
-
service?: string;
|
|
11
|
-
name?: string;
|
|
12
|
-
format?: string;
|
|
13
|
-
enabled?: string;
|
|
14
|
-
style?: string;
|
|
15
|
-
dimensions?: Dimension[];
|
|
16
|
-
opacity?: number;
|
|
17
|
-
type?: string;
|
|
18
|
-
layerType?: string;
|
|
19
|
-
status?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface MapPreset {
|
|
22
|
-
presetType?: string;
|
|
23
|
-
presetId?: string;
|
|
24
|
-
presetName?: string;
|
|
25
|
-
srs?: string;
|
|
26
|
-
bbox?: Bbox;
|
|
27
|
-
services?: Service[];
|
|
28
|
-
baseServices?: Service[];
|
|
29
|
-
layers?: PresetLayer[];
|
|
30
|
-
activeLayerId?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface MapPresets {
|
|
33
|
-
preset: MapPreset;
|
|
34
|
-
}
|
|
35
|
-
export interface LayerDimension {
|
|
36
|
-
dimension?: Dimension;
|
|
37
|
-
layerId?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface FilteredMapPresets extends MapPreset {
|
|
40
|
-
baseLayers?: Layer[];
|
|
41
|
-
mapLayers?: Layer[];
|
|
42
|
-
layerDimensions?: LayerDimension[];
|
|
1
|
+
import { Service } from '../components/WMSLoader/services';
|
|
2
|
+
export interface UserAddedServices {
|
|
3
|
+
[id: string]: Service;
|
|
43
4
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
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": "^17.0.2",
|
|
16
|
-
"@opengeoweb/theme": "2.
|
|
16
|
+
"@opengeoweb/theme": "2.8.0",
|
|
17
17
|
"@mui/material": "^5.2.8",
|
|
18
18
|
"@mui/styles": "^5.2.3",
|
|
19
19
|
"@mui/icons-material": "^5.2.5",
|
|
20
|
-
"react-redux": "7.2.2",
|
|
21
20
|
"moment": "^2.29.0",
|
|
21
|
+
"react-redux": "7.2.2",
|
|
22
22
|
"react-intl": "^5.17.5",
|
|
23
|
-
"@opengeoweb/
|
|
24
|
-
"throttle-debounce": "^3.0.1",
|
|
25
|
-
"proj4": "^2.6.2",
|
|
26
|
-
"react-sortablejs": "^6.0.0",
|
|
27
|
-
"@opengeoweb/shared": "2.5.0",
|
|
23
|
+
"@opengeoweb/shared": "2.8.0",
|
|
28
24
|
"react-draggable": "^4.4.3",
|
|
29
25
|
"re-resizable": "^6.9.0",
|
|
30
26
|
"lodash": "^4.17.20",
|
|
31
|
-
"@opengeoweb/form-fields": "2.
|
|
27
|
+
"@opengeoweb/form-fields": "2.8.0",
|
|
32
28
|
"react-hook-form": "^6.12.1",
|
|
33
29
|
"moment-timezone": "^0.5.31",
|
|
34
30
|
"@mui/lab": "^5.0.0-alpha.64",
|
|
35
31
|
"axios": "^0.25.0",
|
|
32
|
+
"@opengeoweb/webmap": "2.8.0",
|
|
33
|
+
"throttle-debounce": "^3.0.1",
|
|
34
|
+
"proj4": "^2.6.2",
|
|
35
|
+
"react-sortablejs": "^6.0.0",
|
|
36
36
|
"redux-dynamic-modules": "^5.2.0",
|
|
37
37
|
"redux": "^4.0.4",
|
|
38
38
|
"immer": "^9.0.6",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ConfigurableConnectedMap';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
|
-
import { AnimationPayloadType } from '../ConfigurableConnectedMap';
|
|
4
|
-
export interface ConfigurableMapWithSliderConnectProps {
|
|
5
|
-
id?: string;
|
|
6
|
-
activeLayerId?: string;
|
|
7
|
-
shouldAutoUpdate?: boolean;
|
|
8
|
-
shouldAnimate?: boolean;
|
|
9
|
-
title?: string;
|
|
10
|
-
layers: Layer[];
|
|
11
|
-
baseLayer?: Layer;
|
|
12
|
-
overLayers?: Layer[];
|
|
13
|
-
bbox?: Bbox;
|
|
14
|
-
srs?: string;
|
|
15
|
-
shouldShowZoomControls?: boolean;
|
|
16
|
-
animationPayload?: AnimationPayloadType;
|
|
17
|
-
displayMapPin?: boolean;
|
|
18
|
-
showTimeSlider?: boolean;
|
|
19
|
-
toggleTimestepAuto?: boolean;
|
|
20
|
-
setTimestep?: number;
|
|
21
|
-
}
|
|
22
|
-
export declare const ConfigurableMapWithSliderConnect: React.FC<ConfigurableMapWithSliderConnectProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ConfigurableMapWithSliderConnect';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import * as mapActions from '../../../../store/mapStore/actions';
|
|
3
|
-
export interface LoopButtonConnectProps {
|
|
4
|
-
mapId: string;
|
|
5
|
-
isLooping?: boolean;
|
|
6
|
-
isDisabled?: boolean;
|
|
7
|
-
mapToggleLoop?: typeof mapActions.toggleLoop;
|
|
8
|
-
}
|
|
9
|
-
declare const LoopButtonConnect: React.FC<LoopButtonConnectProps>;
|
|
10
|
-
export default LoopButtonConnect;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SelectProps } from '@mui/material';
|
|
3
|
-
declare type ListELement = {
|
|
4
|
-
value: string;
|
|
5
|
-
};
|
|
6
|
-
interface TooltipSelectProps extends SelectProps {
|
|
7
|
-
tooltip: string;
|
|
8
|
-
list?: ListELement[];
|
|
9
|
-
currentIndex?: number;
|
|
10
|
-
onChangeMouseWheel?: (element: ListELement) => void;
|
|
11
|
-
requiresCtrlToChange?: boolean;
|
|
12
|
-
}
|
|
13
|
-
declare const TooltipSelect: React.FC<TooltipSelectProps>;
|
|
14
|
-
export default TooltipSelect;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|