@opengeoweb/core 2.1.4 → 2.3.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 +2864 -1816
- package/index.umd.js +2900 -1818
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +3 -3
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts +2 -0
- package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +3 -0
- package/lib/components/CustomSwitch/CustomSwitch.stories.d.ts +4 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerManagerButton.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.d.ts +0 -2
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/styles.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts +1 -2
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.d.ts +4 -5
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItemConnect.d.ts +6 -0
- package/lib/components/{Mapcontrols/MapControlButton.spec.d.ts → LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItemConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterSelectAllSwitchConnect.d.ts +3 -0
- package/lib/components/{Mapcontrols/MapControls.spec.d.ts → LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterSelectAllSwitchConnect.spec.d.ts} +0 -0
- package/lib/components/{Mapcontrols/ZoomControls.spec.d.ts → LayerManager/LayerSelect/KeywordFilterResults/keywordFilterResultsConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.d.ts +18 -0
- package/lib/components/{Mapcontrols/ZoomControlsConnect.spec.d.ts → LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +12 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListUtils.d.ts +2 -0
- package/lib/components/{ToggleIconButton/ToggleIconButton.spec.d.ts → LayerManager/LayerSelect/LayerList/LayerListUtils.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +4 -1
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialogConnect.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialogConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopupConnect.d.ts +10 -0
- package/lib/components/{Mapcontrols → MapControls}/MapControlButton.d.ts +2 -2
- package/lib/components/MapControls/MapControlButton.spec.d.ts +1 -0
- package/lib/components/{Mapcontrols → MapControls}/MapControls.d.ts +0 -0
- package/lib/components/MapControls/MapControls.spec.d.ts +1 -0
- package/lib/components/{Mapcontrols → MapControls}/ZoomControls.d.ts +0 -0
- package/lib/components/MapControls/ZoomControls.spec.d.ts +1 -0
- package/lib/components/{Mapcontrols → MapControls}/ZoomControlsConnect.d.ts +0 -0
- package/lib/components/MapControls/ZoomControlsConnect.spec.d.ts +1 -0
- package/lib/components/{Mapcontrols → MapControls}/index.d.ts +0 -0
- package/lib/components/MapView/MapViewConnect.DisableMapPin.stories.d.ts +5 -0
- package/lib/components/MapView/MapViewConnect.SelectorTest.stories.d.ts +2 -0
- package/lib/components/MapView/MapViewConnect.stories.d.ts +2 -0
- package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.d.ts +2 -2
- package/lib/components/MultiMapView/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +4 -4
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +2 -1
- package/lib/components/MultiMapView/storyUtils/mapPresets.d.ts +81 -0
- package/lib/components/ReactMapView/types.d.ts +1 -0
- package/lib/components/SyncGroups/selector.d.ts +13 -2
- package/lib/components/TooltipSelect/TooltipSelect.d.ts +1 -0
- package/lib/index.d.ts +8 -3
- package/lib/store/advancedLayerStore/selectors.d.ts +13 -2
- package/lib/store/generic/selectors.d.ts +21 -3
- package/lib/store/generic/synchronizationGroups/selectors.d.ts +13 -1
- package/lib/store/generic/synchronizationGroups/types.d.ts +1 -0
- package/lib/store/layerSelect/actions.d.ts +5 -9
- package/lib/store/layerSelect/constants.d.ts +4 -2
- package/lib/store/layerSelect/sagas.d.ts +2 -2
- package/lib/store/layerSelect/selectors.d.ts +106 -9
- package/lib/store/layerSelect/types.d.ts +60 -30
- package/lib/store/mapStore/layers/selectors.d.ts +222 -18
- package/lib/store/mapStore/map/actions.d.ts +8 -1
- package/lib/store/mapStore/map/constants.d.ts +1 -0
- package/lib/store/mapStore/map/selectors.d.ts +481 -54
- package/lib/store/mapStore/map/types.d.ts +11 -2
- package/lib/store/mapStore/service/actions.d.ts +8 -1
- package/lib/store/mapStore/service/constants.d.ts +1 -0
- package/lib/store/mapStore/service/selectors.d.ts +107 -8
- package/lib/store/mapStore/service/types.d.ts +10 -3
- package/lib/store/mapStore/utils/helpers.d.ts +0 -1
- package/lib/store/ui/selectors.d.ts +67 -7
- package/lib/store/ui/types.d.ts +1 -1
- package/lib/store/utils.d.ts +6 -0
- package/lib/utils/defaultConfigurations.d.ts +3 -21
- package/lib/utils/defaultTestSettings.d.ts +7 -7
- package/lib/utils/getCapabilities.d.ts +3 -2
- package/lib/utils/jsonPresetFilter.d.ts +10 -0
- package/lib/utils/jsonPresetFilter.spec.d.ts +1 -0
- package/lib/utils/types.d.ts +43 -0
- package/package.json +6 -6
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuItemButton.d.ts +0 -8
- package/lib/components/ToggleIconButton/ToggleIconButton.d.ts +0 -12
- package/lib/components/ToggleIconButton/ToggleIconButton.stories.d.ts +0 -13
- package/lib/components/ToggleIconButton/index.d.ts +0 -1
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
3
|
import { AnimationPayloadType } from '../ConfigurableConnectedMap';
|
|
4
4
|
import { InitialHarmRefTimeProps, InitialHarmTempAndPrecipProps } from '../MultiMapView/HarmoniePresets';
|
|
5
|
-
|
|
5
|
+
interface TSMapPreset {
|
|
6
6
|
layers?: Layer[];
|
|
7
7
|
activeLayerId?: string;
|
|
8
8
|
baseLayer?: Layer;
|
|
@@ -16,12 +16,12 @@ export interface MapPreset {
|
|
|
16
16
|
displayMapPin?: boolean;
|
|
17
17
|
}
|
|
18
18
|
interface InitialMultiMapProps {
|
|
19
|
-
mapPreset:
|
|
19
|
+
mapPreset: TSMapPreset[];
|
|
20
20
|
syncGroupsIds: string[];
|
|
21
21
|
shouldShowZoomControls?: boolean;
|
|
22
22
|
}
|
|
23
23
|
interface InitialMapProps {
|
|
24
|
-
mapPreset:
|
|
24
|
+
mapPreset: TSMapPreset;
|
|
25
25
|
syncGroupsIds: string[];
|
|
26
26
|
shouldShowZoomControls?: boolean;
|
|
27
27
|
}
|
|
@@ -33,5 +33,7 @@ export interface ConfigurableConnectedMapProps {
|
|
|
33
33
|
animationPayload?: AnimationPayloadType;
|
|
34
34
|
shouldShowZoomControls?: boolean;
|
|
35
35
|
displayMapPin?: boolean;
|
|
36
|
+
toggleTimestepAuto?: boolean;
|
|
37
|
+
setTimestep?: number;
|
|
36
38
|
}
|
|
37
39
|
export declare const ConfigurableConnectedMap: React.FC<ConfigurableConnectedMapProps>;
|
|
@@ -15,5 +15,8 @@ export interface ConfigurableMapWithSliderConnectProps {
|
|
|
15
15
|
shouldShowZoomControls?: boolean;
|
|
16
16
|
animationPayload?: AnimationPayloadType;
|
|
17
17
|
displayMapPin?: boolean;
|
|
18
|
+
showTimeSlider?: boolean;
|
|
19
|
+
toggleTimestepAuto?: boolean;
|
|
20
|
+
setTimestep?: number;
|
|
18
21
|
}
|
|
19
22
|
export declare const ConfigurableMapWithSliderConnect: React.FC<ConfigurableMapWithSliderConnectProps>;
|
|
@@ -7,6 +7,7 @@ interface LayerManagerButtonProps extends IconButtonProps {
|
|
|
7
7
|
isEnabled?: boolean;
|
|
8
8
|
icon: React.ReactNode;
|
|
9
9
|
testId: string;
|
|
10
|
+
isAccessible?: boolean;
|
|
10
11
|
}
|
|
11
12
|
declare const LayerManagerButton: React.FC<LayerManagerButtonProps>;
|
|
12
13
|
export default LayerManagerButton;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
interface LayerManagerButtonProps {
|
|
3
|
-
tooltipTitle: string;
|
|
4
3
|
mapId: string;
|
|
5
4
|
layerId?: string;
|
|
6
5
|
onLayerDuplicate?: (payload: {
|
|
7
6
|
mapId: string;
|
|
8
7
|
layerId: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
isEnabled?: boolean;
|
|
11
9
|
}
|
|
12
10
|
declare const LayerManagerMenuButton: React.FC<LayerManagerButtonProps>;
|
|
13
11
|
export default LayerManagerMenuButton;
|
package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { KeywordObject } from '../../../../store/layerSelect/types';
|
|
3
2
|
import { Source } from '../../../../store/ui/types';
|
|
4
3
|
interface KeywordFilterResultsProps {
|
|
5
|
-
|
|
4
|
+
allKeywordIds: string[];
|
|
6
5
|
mapId: string;
|
|
7
6
|
bounds?: string;
|
|
8
7
|
showTitle?: boolean;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { KeywordObject } from '../../../../store/layerSelect/types';
|
|
2
3
|
interface FilterListItemProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
toggleCheckbox: (index: number) => void;
|
|
7
|
-
selectOnlyOne: (index: number) => void;
|
|
4
|
+
keyword: KeywordObject;
|
|
5
|
+
toggleKeywords: (keywords: string[]) => void;
|
|
6
|
+
enableOnlyOneKeyword: (keyword: string) => void;
|
|
8
7
|
}
|
|
9
8
|
declare const FilterListItem: React.FC<FilterListItemProps>;
|
|
10
9
|
export default FilterListItem;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ReduxLayer } from '../../../../store/mapStore/layers/types';
|
|
3
|
+
interface LayerAddRemoveButtonProps {
|
|
4
|
+
layer: ReduxLayer;
|
|
5
|
+
layerIndex: number;
|
|
6
|
+
serviceId: string;
|
|
7
|
+
addLayer: ({ serviceURL, layerName }: {
|
|
8
|
+
serviceURL: any;
|
|
9
|
+
layerName: any;
|
|
10
|
+
}) => void;
|
|
11
|
+
deleteLayer: ({ layerId, layerIndex }: {
|
|
12
|
+
layerId: any;
|
|
13
|
+
layerIndex: any;
|
|
14
|
+
}) => void;
|
|
15
|
+
mapLayers: ReduxLayer[];
|
|
16
|
+
}
|
|
17
|
+
declare const LayerAddRemoveButton: React.FC<LayerAddRemoveButtonProps>;
|
|
18
|
+
export default LayerAddRemoveButton;
|
|
File without changes
|
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { ReduxLayer } from '../../../../store/mapStore/layers/types';
|
|
2
3
|
import { Services } from '../../../../store/mapStore/service/types';
|
|
3
4
|
interface LayerListProps {
|
|
4
5
|
services: Services;
|
|
5
6
|
serviceIds: string[];
|
|
6
7
|
layerSelectHeight: number;
|
|
8
|
+
addLayer: ({ serviceURL, layerName }: {
|
|
9
|
+
serviceURL: any;
|
|
10
|
+
layerName: any;
|
|
11
|
+
}) => void;
|
|
12
|
+
deleteLayer: ({ layerId, layerIndex }: {
|
|
13
|
+
layerId: any;
|
|
14
|
+
layerIndex: any;
|
|
15
|
+
}) => void;
|
|
7
16
|
searchString: string;
|
|
17
|
+
mapLayers: ReduxLayer[];
|
|
18
|
+
keywordIds: string[];
|
|
19
|
+
allKeywordsActive: boolean;
|
|
8
20
|
}
|
|
9
21
|
declare const LayerList: React.FC<LayerListProps>;
|
|
10
22
|
export default LayerList;
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Service } from '../../../../store/mapStore/types';
|
|
3
|
-
import {
|
|
3
|
+
import { ActiveServiceObject } from '../../../../store/layerSelect/types';
|
|
4
4
|
interface ServiceListProps {
|
|
5
5
|
layerSelectWidth?: number;
|
|
6
6
|
services: Service[];
|
|
7
|
-
activeServices:
|
|
7
|
+
activeServices: ActiveServiceObject;
|
|
8
8
|
}
|
|
9
9
|
declare const ServiceList: React.FC<ServiceListProps>;
|
|
10
10
|
export default ServiceList;
|
package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { ReduxLayer } from '../../../../store/mapStore/layers/types';
|
|
2
3
|
interface ServiceOptionsDialogProps {
|
|
3
|
-
services: string[];
|
|
4
|
+
services: Record<string, string>[];
|
|
5
|
+
mapStoreRemoveService?: (service: string) => void;
|
|
6
|
+
layers?: ReduxLayer[];
|
|
4
7
|
}
|
|
5
8
|
declare const ServiceOptionsDialog: React.FC<ServiceOptionsDialogProps>;
|
|
6
9
|
export default ServiceOptionsDialog;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { SetLayersForServicePayload } from '../../../../store/mapStore/types';
|
|
2
3
|
interface ServicePopupProps {
|
|
3
4
|
servicePopupVariant: 'edit' | 'add' | 'save';
|
|
4
5
|
hideBackdrop?: boolean;
|
|
5
6
|
isOpen?: boolean;
|
|
6
7
|
closePopup?: () => void;
|
|
7
8
|
url?: string;
|
|
9
|
+
services?: any;
|
|
10
|
+
serviceSetLayers: (payload: SetLayersForServicePayload) => void;
|
|
8
11
|
}
|
|
9
12
|
export declare const ADD_HEADING = "Add a new service";
|
|
10
13
|
export declare const EDIT_HEADING = "Edit service";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ServicePopupConnectProps {
|
|
3
|
+
servicePopupVariant: 'edit' | 'add' | 'save';
|
|
4
|
+
hideBackdrop?: boolean;
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
closePopup?: () => void;
|
|
7
|
+
url?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const ServicePopupConnect: React.FC<ServicePopupConnectProps>;
|
|
10
|
+
export default ServicePopupConnect;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TooltipProps } from '@mui/material';
|
|
3
|
-
import {
|
|
4
|
-
interface MapControlButtonProps extends
|
|
3
|
+
import { ToolButtonProps } from '@opengeoweb/shared';
|
|
4
|
+
interface MapControlButtonProps extends ToolButtonProps {
|
|
5
5
|
onClick: () => void;
|
|
6
6
|
isActive?: boolean;
|
|
7
7
|
placement?: TooltipProps['placement'];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -9,6 +9,8 @@ export * from './MapViewConnect.SetBaseLayers.stories';
|
|
|
9
9
|
export * from './MapViewConnect.ToggleControls.stories';
|
|
10
10
|
export * from './MapViewConnect.FeatureLayers.stories';
|
|
11
11
|
export * from './MapViewConnect.MapPin.stories';
|
|
12
|
+
export * from './MapViewConnect.DisableMapPin.stories';
|
|
13
|
+
export * from './MapViewConnect.SelectorTest.stories';
|
|
12
14
|
declare const _default: {
|
|
13
15
|
title: string;
|
|
14
16
|
component: import("react").FC<import("./MapViewConnect").MapViewConnectProps>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Layer } from '../../../store/mapStore/types';
|
|
3
3
|
import { MultiMapPreset } from '../MultiMapViewConnect';
|
|
4
|
-
export declare const makeMapPreset: (timeIncrement: number, uniqueId: string, referenceTime: string, layers: Layer[],
|
|
4
|
+
export declare const makeMapPreset: (timeIncrement: number, uniqueId: string, referenceTime: string, layers: Layer[], syncGroupsIds: string[], displayLayerManagerButtonInMap: boolean, displayDimensionSelectButtonInMap: boolean) => MultiMapPreset;
|
|
5
5
|
export interface InitialHarmRefTimeProps {
|
|
6
6
|
layers?: Layer[];
|
|
7
|
-
|
|
7
|
+
syncGroupsIds: string[];
|
|
8
8
|
}
|
|
9
9
|
export declare const HarmRefTimePreset: React.FC<InitialHarmRefTimeProps>;
|
|
@@ -2,10 +2,10 @@ import * as React from 'react';
|
|
|
2
2
|
import { Layer } from '../../../store/mapStore/types';
|
|
3
3
|
export interface InitialHarmTempAndPrecipProps {
|
|
4
4
|
layers: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
topRow: Layer;
|
|
6
|
+
bottomRow: Layer;
|
|
7
|
+
topRowSyncGroups?: string[];
|
|
8
|
+
bottomRowSyncGroups?: string[];
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
export declare const HarmonieTempAndPrecipPreset: React.FC<InitialHarmTempAndPrecipProps>;
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
3
|
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"box" | "zoomControls">;
|
|
4
4
|
export interface MultiMapPreset {
|
|
5
|
+
id: string;
|
|
5
6
|
title?: string;
|
|
6
7
|
layers: Layer[];
|
|
7
8
|
activeLayerId?: string;
|
|
@@ -9,9 +10,9 @@ export interface MultiMapPreset {
|
|
|
9
10
|
bbox?: Bbox;
|
|
10
11
|
srs?: string;
|
|
11
12
|
displayTimeInMap?: boolean;
|
|
12
|
-
layerSyncGroupId?: string;
|
|
13
13
|
displayLayerManagerButtonInMap?: boolean;
|
|
14
14
|
displayDimensionSelectButtonInMap?: boolean;
|
|
15
|
+
syncGroupsIds?: string[];
|
|
15
16
|
}
|
|
16
17
|
export interface MultiMapViewProps {
|
|
17
18
|
rows: number;
|
|
@@ -8,6 +8,15 @@ export declare const mapPresetRadar: {
|
|
|
8
8
|
id: string;
|
|
9
9
|
layerType: import("../../../store/mapStore/types").LayerType;
|
|
10
10
|
}[];
|
|
11
|
+
proj: {
|
|
12
|
+
bbox: {
|
|
13
|
+
left: number;
|
|
14
|
+
bottom: number;
|
|
15
|
+
right: number;
|
|
16
|
+
top: number;
|
|
17
|
+
};
|
|
18
|
+
srs: string;
|
|
19
|
+
};
|
|
11
20
|
};
|
|
12
21
|
export declare const mapPresetObsTA: {
|
|
13
22
|
layers: {
|
|
@@ -16,6 +25,15 @@ export declare const mapPresetObsTA: {
|
|
|
16
25
|
id: string;
|
|
17
26
|
layerType: import("../../../store/mapStore/types").LayerType;
|
|
18
27
|
}[];
|
|
28
|
+
proj: {
|
|
29
|
+
bbox: {
|
|
30
|
+
left: number;
|
|
31
|
+
bottom: number;
|
|
32
|
+
right: number;
|
|
33
|
+
top: number;
|
|
34
|
+
};
|
|
35
|
+
srs: string;
|
|
36
|
+
};
|
|
19
37
|
};
|
|
20
38
|
export declare const mapPresetObsWind: {
|
|
21
39
|
layers: {
|
|
@@ -24,6 +42,15 @@ export declare const mapPresetObsWind: {
|
|
|
24
42
|
id: string;
|
|
25
43
|
layerType: import("../../../store/mapStore/types").LayerType;
|
|
26
44
|
}[];
|
|
45
|
+
proj: {
|
|
46
|
+
bbox: {
|
|
47
|
+
left: number;
|
|
48
|
+
bottom: number;
|
|
49
|
+
right: number;
|
|
50
|
+
top: number;
|
|
51
|
+
};
|
|
52
|
+
srs: string;
|
|
53
|
+
};
|
|
27
54
|
};
|
|
28
55
|
export declare const mapPresetObsPP: {
|
|
29
56
|
layers: {
|
|
@@ -32,6 +59,15 @@ export declare const mapPresetObsPP: {
|
|
|
32
59
|
id: string;
|
|
33
60
|
layerType: import("../../../store/mapStore/types").LayerType;
|
|
34
61
|
}[];
|
|
62
|
+
proj: {
|
|
63
|
+
bbox: {
|
|
64
|
+
left: number;
|
|
65
|
+
bottom: number;
|
|
66
|
+
right: number;
|
|
67
|
+
top: number;
|
|
68
|
+
};
|
|
69
|
+
srs: string;
|
|
70
|
+
};
|
|
35
71
|
};
|
|
36
72
|
export declare const mapPresetObsRH: {
|
|
37
73
|
layers: {
|
|
@@ -40,6 +76,15 @@ export declare const mapPresetObsRH: {
|
|
|
40
76
|
id: string;
|
|
41
77
|
layerType: import("../../../store/mapStore/types").LayerType;
|
|
42
78
|
}[];
|
|
79
|
+
proj: {
|
|
80
|
+
bbox: {
|
|
81
|
+
left: number;
|
|
82
|
+
bottom: number;
|
|
83
|
+
right: number;
|
|
84
|
+
top: number;
|
|
85
|
+
};
|
|
86
|
+
srs: string;
|
|
87
|
+
};
|
|
43
88
|
};
|
|
44
89
|
export declare const mapPresetObsQG: {
|
|
45
90
|
layers: {
|
|
@@ -48,6 +93,15 @@ export declare const mapPresetObsQG: {
|
|
|
48
93
|
id: string;
|
|
49
94
|
layerType: import("../../../store/mapStore/types").LayerType;
|
|
50
95
|
}[];
|
|
96
|
+
proj: {
|
|
97
|
+
bbox: {
|
|
98
|
+
left: number;
|
|
99
|
+
bottom: number;
|
|
100
|
+
right: number;
|
|
101
|
+
top: number;
|
|
102
|
+
};
|
|
103
|
+
srs: string;
|
|
104
|
+
};
|
|
51
105
|
};
|
|
52
106
|
export declare const mapPresetEumetsat: {
|
|
53
107
|
layers: {
|
|
@@ -75,6 +129,15 @@ export declare const mapPresetHarmoniePrecipitationFlux: {
|
|
|
75
129
|
layerType: import("../../../store/mapStore/types").LayerType;
|
|
76
130
|
enabled: boolean;
|
|
77
131
|
}[];
|
|
132
|
+
proj: {
|
|
133
|
+
bbox: {
|
|
134
|
+
left: number;
|
|
135
|
+
bottom: number;
|
|
136
|
+
right: number;
|
|
137
|
+
top: number;
|
|
138
|
+
};
|
|
139
|
+
srs: string;
|
|
140
|
+
};
|
|
78
141
|
};
|
|
79
142
|
export declare const mapPresetHarmonieTemperature2m: {
|
|
80
143
|
layers: {
|
|
@@ -84,6 +147,15 @@ export declare const mapPresetHarmonieTemperature2m: {
|
|
|
84
147
|
layerType: import("../../../store/mapStore/types").LayerType;
|
|
85
148
|
enabled: boolean;
|
|
86
149
|
}[];
|
|
150
|
+
proj: {
|
|
151
|
+
bbox: {
|
|
152
|
+
left: number;
|
|
153
|
+
bottom: number;
|
|
154
|
+
right: number;
|
|
155
|
+
top: number;
|
|
156
|
+
};
|
|
157
|
+
srs: string;
|
|
158
|
+
};
|
|
87
159
|
};
|
|
88
160
|
export declare const mapPresetHarmoniePressureMSL: {
|
|
89
161
|
layers: {
|
|
@@ -93,4 +165,13 @@ export declare const mapPresetHarmoniePressureMSL: {
|
|
|
93
165
|
layerType: import("../../../store/mapStore/types").LayerType;
|
|
94
166
|
enabled: boolean;
|
|
95
167
|
}[];
|
|
168
|
+
proj: {
|
|
169
|
+
bbox: {
|
|
170
|
+
left: number;
|
|
171
|
+
bottom: number;
|
|
172
|
+
right: number;
|
|
173
|
+
top: number;
|
|
174
|
+
};
|
|
175
|
+
srs: string;
|
|
176
|
+
};
|
|
96
177
|
};
|
|
@@ -24,6 +24,7 @@ export interface ReactMapViewProps {
|
|
|
24
24
|
mapPinLocation?: MapLocation;
|
|
25
25
|
shouldAutoFetch?: boolean;
|
|
26
26
|
showLayerInfo?: boolean;
|
|
27
|
+
disableMapPin?: boolean;
|
|
27
28
|
onMount?: (mapId: string, WMJSMapInstance: WMJSMap) => void;
|
|
28
29
|
onUnMount?: (mapId: string, WMJSMapInstance: WMJSMap) => void;
|
|
29
30
|
onMapChangeDimension?: (payload: SetMapDimensionPayload) => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AppStore } from '../../types/types';
|
|
2
1
|
import { SynchronizationGroupState, SyncType } from '../../store/generic/synchronizationGroups/types';
|
|
3
2
|
import { SyncGroupViewState } from './types';
|
|
4
3
|
export declare const groupTypes: {
|
|
@@ -7,4 +6,16 @@ export declare const groupTypes: {
|
|
|
7
6
|
groupType: string;
|
|
8
7
|
}[];
|
|
9
8
|
export declare const createSyncGroupViewState: (syncState: SynchronizationGroupState) => SyncGroupViewState;
|
|
10
|
-
export declare const createSyncGroupViewStateSelector:
|
|
9
|
+
export declare const createSyncGroupViewStateSelector: ((state: {
|
|
10
|
+
advancedLayerStore?: import("../../store/advancedLayerStore/types").AdvancedLayerStoreState;
|
|
11
|
+
syncronizationGroupStore?: SynchronizationGroupState;
|
|
12
|
+
ui?: import("../../store/ui/types").UIStoreType;
|
|
13
|
+
webmap?: import("../../store/mapStore/types").WebMapState;
|
|
14
|
+
services?: import("../../store/mapStore/types").ServiceState;
|
|
15
|
+
layers?: import("../../store/mapStore/types").LayerState;
|
|
16
|
+
layerSelect?: import("../../store/layerSelect/types").LayerSelectStoreType;
|
|
17
|
+
}) => SyncGroupViewState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => SyncGroupViewState & {
|
|
18
|
+
clearCache: () => void;
|
|
19
|
+
}> & {
|
|
20
|
+
clearCache: () => void;
|
|
21
|
+
};
|
|
@@ -9,6 +9,7 @@ interface TooltipSelectProps extends SelectProps {
|
|
|
9
9
|
list?: ListELement[];
|
|
10
10
|
currentIndex?: number;
|
|
11
11
|
onChangeMouseWheel?: (element: ListELement) => void;
|
|
12
|
+
requiresCtrlToChange?: boolean;
|
|
12
13
|
}
|
|
13
14
|
declare const TooltipSelect: React.FC<TooltipSelectProps>;
|
|
14
15
|
export default TooltipSelect;
|
package/lib/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import * as mapTypes from './store/mapStore/types';
|
|
|
4
4
|
import * as mapConstants from './store/mapStore/constants';
|
|
5
5
|
import * as mapUtils from './store/mapStore/map/utils';
|
|
6
6
|
import * as uiActions from './store/ui/actions';
|
|
7
|
+
import * as uiSelectors from './store/ui/selectors';
|
|
7
8
|
import * as uiTypes from './store/ui/types';
|
|
8
9
|
import * as syncGroupActions from './store/generic/actions';
|
|
9
10
|
import * as layerReducer from './store/mapStore/layers/reducer';
|
|
@@ -18,10 +19,10 @@ export * from './components/MultiMapView/HarmoniePresets';
|
|
|
18
19
|
export { MapViewConnect, MapView, MapViewLayer } from './components/MapView';
|
|
19
20
|
export { ReactMapView, ReactMapViewLayer } from './components/ReactMapView';
|
|
20
21
|
export { LegendConnect, Legend, LegendMapButtonConnect, } from './components/Legend';
|
|
21
|
-
export { ZoomControls, ZoomControlConnect } from './components/
|
|
22
|
+
export { ZoomControls, ZoomControlConnect } from './components/MapControls';
|
|
22
23
|
export { TimeSliderConnect } from './components/TimeSlider';
|
|
23
|
-
export { MapControls } from './components/
|
|
24
|
-
export { mapActions, mapSelectors, mapTypes, mapConstants, mapUtils, layerReducer, uiActions, uiTypes, syncGroupActions, };
|
|
24
|
+
export { MapControls } from './components/MapControls';
|
|
25
|
+
export { mapActions, mapSelectors, mapTypes, mapConstants, mapUtils, layerReducer, uiActions, uiSelectors, uiTypes, syncGroupActions, };
|
|
25
26
|
export { synchronizationGroupConfig as synchronizationGroupModuleConfig };
|
|
26
27
|
export * from './components/ComponentsLookUp';
|
|
27
28
|
export * from './components/ConfigurableMapWithSlider';
|
|
@@ -38,5 +39,9 @@ export { MultiDimensionSelectMapButtonsConnect, MultiMapDimensionSelectConnect,
|
|
|
38
39
|
export * as publicLayers from './utils/publicLayers';
|
|
39
40
|
export * as publicServices from './utils/publicServices';
|
|
40
41
|
export * as testLayers from './utils/testLayers';
|
|
42
|
+
export * from './utils/jsonPresetFilter';
|
|
43
|
+
export * from './utils/types';
|
|
41
44
|
export * as defaultConfigurations from './utils/defaultConfigurations';
|
|
42
45
|
export * from './components/Providers/Providers';
|
|
46
|
+
export { default as uiModuleConfig } from './store/ui/config';
|
|
47
|
+
export { default as mapModuleConfig } from './store/mapStore/config';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AppStore } from '../../types/types';
|
|
2
1
|
import { AdvancedLayerStoreState } from './types';
|
|
3
2
|
/**
|
|
4
3
|
* Extracts the state of the advancedLayerStore from the store
|
|
@@ -7,4 +6,16 @@ import { AdvancedLayerStoreState } from './types';
|
|
|
7
6
|
* @param {object} store store: object - object from which the advancedLayerStore state will be extracted
|
|
8
7
|
* @returns {object} returnType: object - advancedLayerStore state part of the store
|
|
9
8
|
*/
|
|
10
|
-
export declare const getAdvancedLayerStore:
|
|
9
|
+
export declare const getAdvancedLayerStore: ((state: {
|
|
10
|
+
advancedLayerStore?: AdvancedLayerStoreState;
|
|
11
|
+
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
12
|
+
ui?: import("../ui/types").UIStoreType;
|
|
13
|
+
webmap?: import("../mapStore/types").WebMapState;
|
|
14
|
+
services?: import("../mapStore/types").ServiceState;
|
|
15
|
+
layers?: import("../mapStore/types").LayerState;
|
|
16
|
+
layerSelect?: import("../layerSelect/types").LayerSelectStoreType;
|
|
17
|
+
}) => AdvancedLayerStoreState) & import("reselect").OutputSelectorFields<(args_0: AdvancedLayerStoreState) => AdvancedLayerStoreState & {
|
|
18
|
+
clearCache: () => void;
|
|
19
|
+
}> & {
|
|
20
|
+
clearCache: () => void;
|
|
21
|
+
};
|
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
import { AppStore } from '../../types/types';
|
|
2
1
|
import { SynchronizationGroupState, SynchronizationSource } from './synchronizationGroups/types';
|
|
3
|
-
export declare const getSynchronizationGroupStore:
|
|
4
|
-
|
|
2
|
+
export declare const getSynchronizationGroupStore: ((state: {
|
|
3
|
+
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
4
|
+
syncronizationGroupStore?: SynchronizationGroupState;
|
|
5
|
+
ui?: import("../ui/types").UIStoreType;
|
|
6
|
+
webmap?: import("../mapStore/types").WebMapState;
|
|
7
|
+
services?: import("../mapStore/types").ServiceState;
|
|
8
|
+
layers?: import("../mapStore/types").LayerState;
|
|
9
|
+
layerSelect?: import("../layerSelect/types").LayerSelectStoreType;
|
|
10
|
+
}) => SynchronizationGroupState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => SynchronizationGroupState & {
|
|
11
|
+
clearCache: () => void;
|
|
12
|
+
}> & {
|
|
13
|
+
clearCache: () => void;
|
|
14
|
+
};
|
|
15
|
+
export declare const getTime: ((state: {
|
|
16
|
+
sources: import("./synchronizationGroups/types").SynchronizationSources;
|
|
17
|
+
groups: import("./synchronizationGroups/types").SynchronizationGroups;
|
|
18
|
+
}, params_0: string) => string) & import("reselect").OutputSelectorFields<(args_0: SynchronizationSource) => string & {
|
|
19
|
+
clearCache: () => void;
|
|
20
|
+
}> & {
|
|
21
|
+
clearCache: () => void;
|
|
22
|
+
};
|