@opengeoweb/core 2.1.2 → 2.2.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/{core.esm.js → index.esm.js} +2293 -869
- package/{core.umd.js → index.umd.js} +2498 -948
- 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 +1 -1
- package/lib/components/CustomSwitch/CustomSwitch.stories.d.ts +4 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerManagerButton.d.ts +1 -1
- package/lib/components/LayerManager/LayerManagerUtils.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/{KeywordFilterButton.spec.d.ts → KeywordFilterButtonConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts +12 -6
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.stories.d.ts +13 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.d.ts +5 -1
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.d.ts +1 -1
- package/lib/components/{Mapcontrols/MapControlButton.spec.d.ts → LayerManager/LayerSelect/KeywordFilterResults/keywordFilterResultsConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +12 -0
- package/lib/components/{Mapcontrols/MapControls.spec.d.ts → LayerManager/LayerSelect/LayerList/LayerList.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.d.ts +6 -0
- package/lib/components/{Mapcontrols/ZoomControls.spec.d.ts → LayerManager/LayerSelect/LayerList/LayerListConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListUtils.d.ts +3 -0
- package/lib/components/{Mapcontrols/ZoomControlsConnect.spec.d.ts → LayerManager/LayerSelect/LayerList/LayerListUtils.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.d.ts +5 -1
- 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 +2 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.d.ts +9 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +2 -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 +3 -0
- package/lib/components/LayerManager/tooltipContainerStyles.d.ts +1 -1
- package/lib/components/Legend/LegendConnect.d.ts +3 -0
- package/lib/components/Legend/LegendDialog.d.ts +2 -0
- package/lib/components/Legend/LegendMapButtonConnect.d.ts +2 -0
- package/lib/components/{Mapcontrols → MapControls}/MapControlButton.d.ts +1 -1
- 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.LayerChangeEnabledOpacity.stories.d.ts +7 -0
- package/lib/components/MapView/MapViewConnect.SelectorTest.stories.d.ts +2 -0
- package/lib/components/MapView/MapViewConnect.d.ts +2 -0
- package/lib/components/MapView/MapViewConnect.stories.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.d.ts +2 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.d.ts +2 -0
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectConfig.d.ts +1 -1
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.d.ts +2 -0
- 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/Providers/Providers.d.ts +1 -1
- package/lib/components/ReactMapView/ReactMapView.d.ts +3 -8
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +2 -2
- package/lib/components/ReactMapView/types.d.ts +2 -8
- package/lib/components/SyncGroups/selector.d.ts +13 -2
- package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegendRenderFunctions.d.ts +1 -1
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRailRenderFunctions.d.ts +1 -1
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +1 -1
- package/lib/components/ToggleIconButton/ToggleIconButton.d.ts +6 -3
- package/lib/components/TooltipSelect/TooltipSelect.d.ts +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/store/advancedLayerStore/selectors.d.ts +13 -2
- package/lib/store/coreModuleConfig.d.ts +1 -1
- package/lib/store/generic/selectors.d.ts +21 -3
- package/lib/store/generic/synchronizationGroups/selectors.d.ts +13 -1
- package/lib/store/layerSelect/actions.d.ts +17 -1
- package/lib/store/layerSelect/config.d.ts +2 -2
- package/lib/store/layerSelect/constants.d.ts +4 -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 +81 -2
- package/lib/store/layerSelect/types.d.ts +57 -6
- package/lib/store/mapStore/layers/actions.d.ts +2 -8
- package/lib/store/mapStore/layers/constants.d.ts +1 -1
- package/lib/store/mapStore/layers/selectors.d.ts +208 -25
- package/lib/store/mapStore/layers/types.d.ts +34 -21
- package/lib/store/mapStore/map/sagas.d.ts +2 -2
- package/lib/store/mapStore/map/selectors.d.ts +427 -33
- package/lib/store/mapStore/service/selectors.d.ts +106 -13
- package/lib/store/mapStore/service/types.d.ts +7 -2
- package/lib/store/mapStore/utils/helpers.d.ts +0 -1
- package/lib/store/ui/actions.d.ts +2 -2
- package/lib/store/ui/selectors.d.ts +65 -5
- package/lib/store/ui/types.d.ts +2 -1
- package/lib/storybookUtils/HelperComponents.d.ts +1 -1
- package/lib/storybookUtils/storyComponents/MapDrawGeoJSON.d.ts +5 -5
- package/lib/storybookUtils/storyComponents/MapDrawGeoJSONStyles.d.ts +2 -1
- package/lib/utils/defaultTestSettings.d.ts +27 -6
- package/lib/utils/getCapabilities.d.ts +2 -2
- package/lib/utils/testUtils.d.ts +2 -2
- package/package.json +14 -15
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButton.d.ts +0 -3
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButton.stories.d.ts +0 -7
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.stories.d.ts +0 -7
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/mockServices.d.ts +0 -42
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const CustomSwitch: import("react").
|
|
2
|
+
export declare const CustomSwitch: import("react").JSXElementConstructor<Omit<import("@mui/material").SwitchProps, "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"switchBase" | "checked" | "track"> & object>;
|
|
3
3
|
export default CustomSwitch;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IconButtonProps } from '@material
|
|
2
|
+
import { IconButtonProps } from '@mui/material';
|
|
3
3
|
interface LayerManagerButtonProps extends IconButtonProps {
|
|
4
4
|
tooltipTitle: string;
|
|
5
5
|
onClick?: (event: React.MouseEvent) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const LayerManagerColumnsLarge: (props?: any) => import("@
|
|
2
|
-
export declare const LayerManagerColumnsSmall: (props?: any) => import("@
|
|
1
|
+
export declare const LayerManagerColumnsLarge: (props?: any) => import("@mui/styles").ClassNameMap<"column1" | "column2" | "column3" | "column4" | "column5" | "column6">;
|
|
2
|
+
export declare const LayerManagerColumnsSmall: (props?: any) => import("@mui/styles").ClassNameMap<"column1" | "column2" | "column3" | "column4" | "column5" | "column6">;
|
|
3
3
|
export declare enum LayerManagerWidth {
|
|
4
4
|
sm = 0,
|
|
5
5
|
lg = 1
|
package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../../../store/ui/types';
|
|
3
|
+
interface KeywordFilterButtonConnectProps {
|
|
4
|
+
mapId: string;
|
|
5
|
+
source?: Source;
|
|
6
|
+
}
|
|
7
|
+
declare const KeywordFilterButtonConnect: React.FC<KeywordFilterButtonConnectProps>;
|
|
8
|
+
export default KeywordFilterButtonConnect;
|
|
File without changes
|
package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
id: string;
|
|
5
|
-
isSelected: boolean;
|
|
6
|
-
}
|
|
2
|
+
import { KeywordObject } from '../../../../store/layerSelect/types';
|
|
3
|
+
import { Source } from '../../../../store/ui/types';
|
|
7
4
|
interface KeywordFilterResultsProps {
|
|
8
|
-
|
|
5
|
+
keywordObjects: KeywordObject[];
|
|
6
|
+
mapId: string;
|
|
7
|
+
bounds?: string;
|
|
8
|
+
showTitle?: boolean;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
onMouseDown?: () => void;
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
order?: number;
|
|
13
|
+
source?: Source;
|
|
14
|
+
updateKeywords: (keywords: KeywordObject[]) => void;
|
|
9
15
|
}
|
|
10
16
|
declare const KeywordFilterResults: React.FC<KeywordFilterResultsProps>;
|
|
11
17
|
export default KeywordFilterResults;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const KeywordFilterResultsLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const KeywordFilterResultsDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
storyName: string;
|
|
13
|
+
};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
interface KeywordFilterResultsConnectProps {
|
|
3
|
+
bounds?: string;
|
|
4
|
+
showTitle?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const KeywordFilterResultsConnect: React.FC<KeywordFilterResultsConnectProps>;
|
|
3
7
|
export default KeywordFilterResultsConnect;
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Services } from '../../../../store/mapStore/service/types';
|
|
3
|
+
import { KeywordObject } from '../../../../store/layerSelect/types';
|
|
4
|
+
interface LayerListProps {
|
|
5
|
+
services: Services;
|
|
6
|
+
serviceIds: string[];
|
|
7
|
+
layerSelectHeight: number;
|
|
8
|
+
searchString: string;
|
|
9
|
+
keywords: KeywordObject[];
|
|
10
|
+
}
|
|
11
|
+
declare const LayerList: React.FC<LayerListProps>;
|
|
12
|
+
export default LayerList;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ServiceLayer, Services } from '../../../../store/mapStore/service/types';
|
|
2
|
+
import { KeywordObject } from '../../../../store/layerSelect/types';
|
|
3
|
+
export declare const filterLayersFromService: (serviceId: string, services: Services, keywords: KeywordObject[], searchString: string) => ServiceLayer[];
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const isURL: (string: string) => boolean;
|
|
3
|
+
interface FieldButtonProps {
|
|
4
|
+
localSearchString: string;
|
|
5
|
+
onClickClear: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const SearchFieldButtonContainer: React.FC<FieldButtonProps>;
|
|
8
|
+
export default SearchFieldButtonContainer;
|
package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldButtonContainer.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,6 +3,8 @@ import { Service } from '../../../../store/mapStore/types';
|
|
|
3
3
|
interface ServiceChipProps {
|
|
4
4
|
all?: boolean;
|
|
5
5
|
service?: Service;
|
|
6
|
+
isEnabled?: boolean;
|
|
7
|
+
toggleChip?: (service: string) => void;
|
|
6
8
|
}
|
|
7
9
|
declare const ServiceChip: React.FC<ServiceChipProps>;
|
|
8
10
|
export default ServiceChip;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Service } from '../../../../store/mapStore/types';
|
|
3
|
+
interface ServiceChipConnectProps {
|
|
4
|
+
all?: boolean;
|
|
5
|
+
service?: Service;
|
|
6
|
+
isEnabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const ServiceChipConnect: React.FC<ServiceChipConnectProps>;
|
|
9
|
+
export default ServiceChipConnect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Service } from '../../../../store/mapStore/types';
|
|
3
|
+
import { ActiveServiceObject } from '../../../../store/layerSelect/types';
|
|
3
4
|
interface ServiceListProps {
|
|
4
5
|
layerSelectWidth?: number;
|
|
5
6
|
services: Service[];
|
|
7
|
+
activeServices: ActiveServiceObject;
|
|
6
8
|
}
|
|
7
9
|
declare const ServiceList: React.FC<ServiceListProps>;
|
|
8
10
|
export default ServiceList;
|
package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ServiceOptionsDialogLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const ServiceOptionsDialogDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
storyName: string;
|
|
13
|
+
};
|
|
@@ -2,6 +2,9 @@ import * as React from 'react';
|
|
|
2
2
|
interface ServicePopupProps {
|
|
3
3
|
servicePopupVariant: 'edit' | 'add' | 'save';
|
|
4
4
|
hideBackdrop?: boolean;
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
closePopup?: () => void;
|
|
7
|
+
url?: string;
|
|
5
8
|
}
|
|
6
9
|
export declare const ADD_HEADING = "Add a new service";
|
|
7
10
|
export declare const EDIT_HEADING = "Edit service";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const useTooltipContainerStyles: (props?: any) => import("@
|
|
1
|
+
declare const useTooltipContainerStyles: (props?: any) => import("@mui/styles").ClassNameMap<"textContainer">;
|
|
2
2
|
export default useTooltipContainerStyles;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../store/ui/types';
|
|
2
3
|
interface LegendConnectProps {
|
|
3
4
|
showMapId?: boolean;
|
|
5
|
+
source?: Source;
|
|
4
6
|
}
|
|
5
7
|
/**
|
|
6
8
|
* Legend component connected to the store displaying a legend for every layer shown on the active map Id
|
|
@@ -9,6 +11,7 @@ interface LegendConnectProps {
|
|
|
9
11
|
*
|
|
10
12
|
* Expects the following props:
|
|
11
13
|
* @param {boolean} showMapId (optional) showMapId: boolean - show the id of the map in the dialog title of which the legend is shown in te dialog
|
|
14
|
+
* @param {Source} source (optional) source: Source - default is 'app', 'module' makes sure it will be shown on top of the module
|
|
12
15
|
|
|
13
16
|
* ``` <LegendConnect legendDialogId={legendDialogId} />```
|
|
14
17
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Layer } from '../../store/mapStore/types';
|
|
3
|
+
import { Source } from '../../store/ui/types';
|
|
3
4
|
interface LegendDialogProps {
|
|
4
5
|
layers: Layer[];
|
|
5
6
|
isOpen: boolean;
|
|
@@ -8,6 +9,7 @@ interface LegendDialogProps {
|
|
|
8
9
|
mapId: string;
|
|
9
10
|
showMapId?: boolean;
|
|
10
11
|
order?: number;
|
|
12
|
+
source?: Source;
|
|
11
13
|
}
|
|
12
14
|
declare const LegendDialog: React.FC<LegendDialogProps>;
|
|
13
15
|
export default LegendDialog;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../store/ui/types';
|
|
2
3
|
interface LegendMapButtonProps {
|
|
3
4
|
mapId: string;
|
|
5
|
+
source?: Source;
|
|
4
6
|
}
|
|
5
7
|
declare const LegendMapButtonConnect: React.FC<LegendMapButtonProps>;
|
|
6
8
|
export default LegendMapButtonConnect;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TooltipProps } from '@material
|
|
2
|
+
import { TooltipProps } from '@mui/material';
|
|
3
3
|
import { ToggleIconButtonProps } from '../ToggleIconButton/ToggleIconButton';
|
|
4
4
|
interface MapControlButtonProps extends ToggleIconButtonProps {
|
|
5
5
|
onClick: () => void;
|
|
@@ -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
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import * as mapActions from '../../store/mapStore/actions';
|
|
3
|
+
import { Layer } from '../../store/mapStore/types';
|
|
4
|
+
export interface LayerChangeOpacityInputProps {
|
|
5
|
+
mapId: string;
|
|
6
|
+
layerChangeOpacity: typeof mapActions.layerChangeOpacity;
|
|
7
|
+
layers: Layer[];
|
|
8
|
+
}
|
|
2
9
|
export declare const LayerChangeEnableOpacityAction: () => React.ReactElement;
|
|
@@ -10,6 +10,8 @@ export interface MapViewConnectProps {
|
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
showLayerInfo?: boolean;
|
|
12
12
|
}
|
|
13
|
+
export declare const ORIGIN_REACTMAPVIEWCONNECT_ONMAPCHANGEDIMENSION = "ORIGIN_REACTMAPVIEWCONNECT_ONMAPCHANGEDIMENSION";
|
|
14
|
+
export declare const ORIGIN_REACTMAPVIEWCONNECT_ONUPDATELAYERINFO = "ORIGIN_REACTMAPVIEWCONNECT_ONUPDATELAYERINFO";
|
|
13
15
|
/**
|
|
14
16
|
* Connected component used to display the map and selected layers.
|
|
15
17
|
* Includes options to disable the map controls and legend.
|
|
@@ -9,6 +9,7 @@ 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.SelectorTest.stories';
|
|
12
13
|
declare const _default: {
|
|
13
14
|
title: string;
|
|
14
15
|
component: import("react").FC<import("./MapViewConnect").MapViewConnectProps>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../store/ui/types';
|
|
2
3
|
interface DimensionSelectMapButtonProps {
|
|
3
4
|
mapId: string;
|
|
4
5
|
dimension: string;
|
|
6
|
+
source?: Source;
|
|
5
7
|
}
|
|
6
8
|
declare const DimensionSelectMapButtonConnect: React.FC<DimensionSelectMapButtonProps>;
|
|
7
9
|
export default DimensionSelectMapButtonConnect;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../store/ui/types';
|
|
2
3
|
interface DimensionSelectDialogConnectProps {
|
|
3
4
|
mapId: string;
|
|
4
5
|
dimensionName: string;
|
|
@@ -7,6 +8,7 @@ interface DimensionSelectDialogConnectProps {
|
|
|
7
8
|
onMouseDown?: () => void;
|
|
8
9
|
onToggleDialog?: (isDialogOpen: boolean) => void;
|
|
9
10
|
index?: number;
|
|
11
|
+
source?: Source;
|
|
10
12
|
}
|
|
11
13
|
declare const DimensionSelectDialogConnect: React.FC<DimensionSelectDialogConnectProps>;
|
|
12
14
|
export default DimensionSelectDialogConnect;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../store/ui/types';
|
|
2
3
|
interface MultiDimensionSelectMapButtonsConnectProps {
|
|
3
4
|
mapId: string;
|
|
5
|
+
source?: Source;
|
|
4
6
|
}
|
|
5
7
|
declare const MultiDimensionSelectMapButtonsConnect: React.FC<MultiDimensionSelectMapButtonsConnectProps>;
|
|
6
8
|
export default MultiDimensionSelectMapButtonsConnect;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { MultiMapViewStory2x2 } from './MultiMapView2x2.stories';
|
|
2
2
|
import { MultiMapViewStory4x3 } from './MultiMapView4x3.stories';
|
|
3
|
+
import { MultiMapViewStory10x10 } from './MultiMapView10x10.stories';
|
|
3
4
|
export { MultiMapViewStory2x2 };
|
|
4
5
|
export { MultiMapViewStory4x3 };
|
|
6
|
+
export { MultiMapViewStory10x10 };
|
|
5
7
|
declare const _default: {
|
|
6
8
|
title: string;
|
|
7
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
|
-
export declare const useStyles: (props?: any) => import("@
|
|
3
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"box" | "zoomControls">;
|
|
4
4
|
export interface MultiMapPreset {
|
|
5
5
|
title?: string;
|
|
6
6
|
layers: Layer[];
|
|
@@ -19,6 +19,7 @@ export declare const isAMapLayer: (layer: Layer) => boolean;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const isAGeoJSONLayer: (layer: Layer) => boolean;
|
|
21
21
|
export declare const ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION = "ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION";
|
|
22
|
+
export declare const ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO = "ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO";
|
|
22
23
|
interface ReactMapViewState {
|
|
23
24
|
adagucInitialised: boolean;
|
|
24
25
|
}
|
|
@@ -42,7 +43,6 @@ declare class ReactMapView extends React.Component<ReactMapViewProps, ReactMapVi
|
|
|
42
43
|
adagucWebMapJSRef: any;
|
|
43
44
|
refetchTimer: any;
|
|
44
45
|
static defaultProps: {
|
|
45
|
-
xml2jsonrequestURL: string;
|
|
46
46
|
srs: string;
|
|
47
47
|
bbox: {
|
|
48
48
|
left: number;
|
|
@@ -55,12 +55,7 @@ declare class ReactMapView extends React.Component<ReactMapViewProps, ReactMapVi
|
|
|
55
55
|
onMount: () => void;
|
|
56
56
|
onUnMount: () => void;
|
|
57
57
|
onMapChangeDimension: () => void;
|
|
58
|
-
|
|
59
|
-
onLayerChangeStyle: () => void;
|
|
60
|
-
onLayerChangeDimension: () => void;
|
|
61
|
-
onLayerSetDimensions: () => void;
|
|
62
|
-
onServiceSetLayers: () => void;
|
|
63
|
-
onLayerSetStyles: () => void;
|
|
58
|
+
onUpdateLayerInformation: () => void;
|
|
64
59
|
onMapZoomEnd: () => void;
|
|
65
60
|
};
|
|
66
61
|
constructor(props: ReactMapViewProps);
|
|
@@ -76,7 +71,7 @@ declare class ReactMapView extends React.Component<ReactMapViewProps, ReactMapVi
|
|
|
76
71
|
layerArrayMutated: boolean;
|
|
77
72
|
};
|
|
78
73
|
clearRefetchTimer: () => void;
|
|
79
|
-
parseWMJSLayer: (wmLayer: WMLayer, forceReload: boolean,
|
|
74
|
+
parseWMJSLayer: (wmLayer: WMLayer, forceReload: boolean, child?: React.ReactElement) => void;
|
|
80
75
|
checkNewProps(prevProps: ReactMapViewProps, props: ReactMapViewProps): void;
|
|
81
76
|
drawDebounced(): void;
|
|
82
77
|
handleWindowResize(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WMLayer, WMJSMap } from '@opengeoweb/webmap';
|
|
2
|
-
import {
|
|
2
|
+
import { UpdateLayerInfoPayload } from '../../store/mapStore/types';
|
|
3
3
|
import { MapViewProps } from '../MapView/types';
|
|
4
4
|
export declare const ORIGIN_REACTMAPVIEWPARSELAYER = "ReactMapViewParseLayer";
|
|
5
|
-
export declare const setServiceMetadata: (wmLayer: WMLayer, mapId: string,
|
|
5
|
+
export declare const setServiceMetadata: (wmLayer: WMLayer, mapId: string, webMapJSInstance: WMJSMap, mapProperties: MapViewProps, onUpdateLayerInformation?: (payload: UpdateLayerInfoPayload) => void) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WMJSMap } from '@opengeoweb/webmap';
|
|
3
|
-
import { SetMapDimensionPayload,
|
|
3
|
+
import { SetMapDimensionPayload, Dimension, SetBboxPayload, Bbox, MapPinLocationPayload, MapLocation, UpdateLayerInfoPayload } from '../../store/mapStore/types';
|
|
4
4
|
export interface ReactMapViewProps {
|
|
5
5
|
listeners?: {
|
|
6
6
|
name?: string;
|
|
@@ -20,7 +20,6 @@ export interface ReactMapViewProps {
|
|
|
20
20
|
animationDelay?: number;
|
|
21
21
|
dimensions?: Dimension[];
|
|
22
22
|
onClick?: () => void;
|
|
23
|
-
xml2jsonrequestURL?: string;
|
|
24
23
|
displayMapPin?: boolean;
|
|
25
24
|
mapPinLocation?: MapLocation;
|
|
26
25
|
shouldAutoFetch?: boolean;
|
|
@@ -28,13 +27,8 @@ export interface ReactMapViewProps {
|
|
|
28
27
|
onMount?: (mapId: string, WMJSMapInstance: WMJSMap) => void;
|
|
29
28
|
onUnMount?: (mapId: string, WMJSMapInstance: WMJSMap) => void;
|
|
30
29
|
onMapChangeDimension?: (payload: SetMapDimensionPayload) => void;
|
|
31
|
-
onMapUpdateAllDimensions?: (payload: UpdateAllMapDimensionsPayload) => void;
|
|
32
|
-
onLayerChangeStyle?: (payload: SetLayerStylePayload) => void;
|
|
33
|
-
onLayerChangeDimension?: (payload: SetLayerDimensionPayload) => void;
|
|
34
|
-
onServiceSetLayers?: (payload: SetLayersForServicePayload) => void;
|
|
35
|
-
onLayerSetStyles?: (payload: SetLayerStylesPayload) => void;
|
|
36
30
|
onMapZoomEnd?: (payload: SetBboxPayload) => void;
|
|
37
31
|
onRegisterAdaguc?: (WMJSMapInstance: WMJSMap) => void;
|
|
38
|
-
onLayerSetDimensions?: (payload: SetLayerDimensionsPayload) => void;
|
|
39
32
|
onMapPinChangeLocation?: (payload: MapPinLocationPayload) => void;
|
|
33
|
+
onUpdateLayerInformation?: (payload: UpdateLayerInfoPayload) => void;
|
|
40
34
|
}
|
|
@@ -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
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Theme } from '@material
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
2
2
|
import { Scale } from '../../../store/mapStore/types';
|
|
3
3
|
export declare const getRoundedStartAndEnd: (visibleTimeStart: number, visibleTimeEnd: number, scale: Scale) => [number, number];
|
|
4
4
|
export declare const getCustomRoundedStartAndEnd: (visibleTimeStart: number, visibleTimeEnd: number, unit: string) => [number, number];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Theme } from '@material
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
2
2
|
import { Scale } from '../../../store/mapStore/types';
|
|
3
3
|
export declare const renderTimeSliderRailWithNeedle: (ctx: CanvasRenderingContext2D, theme: Theme, width: number, height: number, centerTime: number, selected: number, secondsPerPx: number, scale: Scale, animationStart?: number, animationEnd?: number, dataStartTime?: number, dataEndTime?: number, currentTime?: number) => void;
|
|
@@ -39,7 +39,7 @@ export declare const setNewRoundedTime: (x: number, centerTime: number, width: n
|
|
|
39
39
|
export declare const getDataLimitsFromLayers: (layers: Layer[]) => Array<number>;
|
|
40
40
|
export declare const getNextTimeStepvalue: (value: number, max: number) => number;
|
|
41
41
|
export declare const getPreviousTimeStepvalue: (value: number, min: number) => number;
|
|
42
|
-
export declare const getValueFromKeyboardEvent: (event: React.KeyboardEvent<HTMLInputElement>, value: number, min: number, max: number) => number;
|
|
42
|
+
export declare const getValueFromKeyboardEvent: (event: React.KeyboardEvent<HTMLInputElement>, value: number, min: number, max: number, supportFourDirectionNavigation?: boolean) => number;
|
|
43
43
|
export declare const getTimeStepFromDataInterval: (timeInterval: DateInterval) => number;
|
|
44
44
|
export declare const getActiveLayerTimeStep: (timeDimension: Dimension) => number | null;
|
|
45
45
|
/**
|