@opengeoweb/core 2.2.1 → 2.4.1
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 +1131 -1102
- package/index.umd.js +1147 -1108
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +1 -1
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts +2 -0
- package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +3 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +1 -0
- package/lib/components/{CustomToggleButton/CustomToggleButton.spec.d.ts → LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.d.ts +0 -2
- package/lib/components/LayerManager/LayerManagerUtils.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.d.ts +18 -0
- package/lib/components/LayerManager/{LayerContainerRow/LayerManagerButton.spec.d.ts → LayerSelect/LayerList/LayerAddRemoveButton.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +10 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.d.ts +1 -0
- package/lib/components/MapControls/MapControlButton.d.ts +1 -1
- package/lib/components/MapView/MapViewConnect.DisableMapPin.stories.d.ts +5 -0
- package/lib/components/MapView/MapViewConnect.stories.d.ts +1 -0
- package/lib/components/ReactMapView/types.d.ts +1 -0
- package/lib/components/SyncGroups/SyncGroupViewer.d.ts +2 -0
- package/lib/components/SyncGroups/SyncGroupViewerConnect.d.ts +1 -6
- package/lib/components/SyncGroups/selector.d.ts +4 -4
- package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +1 -0
- package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegend.d.ts +2 -0
- package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegendRenderFunctions.d.ts +1 -1
- package/lib/components/TooltipSelect/TooltipSelect.d.ts +1 -1
- package/lib/index.d.ts +4 -1
- package/lib/store/generic/selectors.d.ts +1 -0
- package/lib/store/generic/synchronizationGroups/actions.d.ts +2 -1
- package/lib/store/generic/synchronizationGroups/constants.d.ts +1 -0
- package/lib/store/generic/synchronizationGroups/sagas.d.ts +1 -0
- package/lib/store/generic/synchronizationGroups/selectors.d.ts +13 -0
- package/lib/store/generic/synchronizationGroups/types.d.ts +11 -2
- 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 +52 -1
- package/lib/store/mapStore/map/types.d.ts +11 -2
- package/lib/store/ui/types.d.ts +1 -1
- package/lib/utils/testUtils.d.ts +2 -1
- package/lib/utils/types.d.ts +14 -23
- package/package.json +5 -5
- package/lib/components/CustomToggleButton/CustomToggleButton.d.ts +0 -9
- package/lib/components/CustomToggleButton/CustomToggleButton.stories.d.ts +0 -13
- package/lib/components/LayerManager/LayerContainerRow/LayerManagerButton.d.ts +0 -12
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayer.d.ts +0 -8
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayer.spec.d.ts +0 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayer.d.ts +0 -8
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayer.spec.d.ts +0 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuItemButton.d.ts +0 -8
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/styles.d.ts +0 -4
- package/lib/components/ToolButton/ToolButton.d.ts +0 -12
- package/lib/components/ToolButton/ToolButton.spec.d.ts +0 -1
- package/lib/components/ToolButton/ToolButton.stories.d.ts +0 -13
- package/lib/components/ToolButton/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;
|
|
@@ -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>;
|
|
File without changes
|
|
@@ -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;
|
|
@@ -1,5 +1,5 @@
|
|
|
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">;
|
|
1
|
+
export declare const LayerManagerColumnsLarge: (props?: any) => import("@mui/styles").ClassNameMap<"column1" | "column2" | "column3" | "column4" | "column5" | "column6" | "columns35">;
|
|
2
|
+
export declare const LayerManagerColumnsSmall: (props?: any) => import("@mui/styles").ClassNameMap<"column1" | "column2" | "column3" | "column4" | "column5" | "column6" | "columns35">;
|
|
3
3
|
export declare enum LayerManagerWidth {
|
|
4
4
|
sm = 0,
|
|
5
5
|
lg = 1
|
|
@@ -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,20 @@
|
|
|
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[];
|
|
8
18
|
keywordIds: string[];
|
|
9
19
|
allKeywordsActive: boolean;
|
|
10
20
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TooltipProps } from '@mui/material';
|
|
3
|
-
import { ToolButtonProps } from '
|
|
3
|
+
import { ToolButtonProps } from '@opengeoweb/shared';
|
|
4
4
|
interface MapControlButtonProps extends ToolButtonProps {
|
|
5
5
|
onClick: () => void;
|
|
6
6
|
isActive?: boolean;
|
|
@@ -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.DisableMapPin.stories';
|
|
12
13
|
export * from './MapViewConnect.SelectorTest.stories';
|
|
13
14
|
declare const _default: {
|
|
14
15
|
title: string;
|
|
@@ -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;
|
|
@@ -9,6 +9,8 @@ interface SyncGroupViewerProps {
|
|
|
9
9
|
syncGroupRemoveTarget: (payload: SyncgroupTypes.SyncGroupRemoveTargetPayload) => void;
|
|
10
10
|
syncGroupAddGroup: (payload: SyncgroupTypes.SyncGroupAddGroupPayload) => void;
|
|
11
11
|
syncGroupRemoveGroup: (payload: SyncgroupTypes.SyncGroupRemoveGroupPayload) => void;
|
|
12
|
+
onMouseDown?: () => void;
|
|
13
|
+
order?: number;
|
|
12
14
|
}
|
|
13
15
|
export declare const SyncGroupViewer: React.FC<SyncGroupViewerProps>;
|
|
14
16
|
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SynchronizationGroups, SynchronizationSources, SyncType } from '../../store/generic/synchronizationGroups/types';
|
|
2
2
|
import { SyncGroupViewState } from './types';
|
|
3
3
|
export declare const groupTypes: {
|
|
4
4
|
title: string;
|
|
5
5
|
syncType: SyncType;
|
|
6
6
|
groupType: string;
|
|
7
7
|
}[];
|
|
8
|
-
export declare const createSyncGroupViewState: (
|
|
8
|
+
export declare const createSyncGroupViewState: (groups: SynchronizationGroups, sources: SynchronizationSources) => SyncGroupViewState;
|
|
9
9
|
export declare const createSyncGroupViewStateSelector: ((state: {
|
|
10
10
|
advancedLayerStore?: import("../../store/advancedLayerStore/types").AdvancedLayerStoreState;
|
|
11
|
-
syncronizationGroupStore?: SynchronizationGroupState;
|
|
11
|
+
syncronizationGroupStore?: import("../../store/generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
12
12
|
ui?: import("../../store/ui/types").UIStoreType;
|
|
13
13
|
webmap?: import("../../store/mapStore/types").WebMapState;
|
|
14
14
|
services?: import("../../store/mapStore/types").ServiceState;
|
|
15
15
|
layers?: import("../../store/mapStore/types").LayerState;
|
|
16
16
|
layerSelect?: import("../../store/layerSelect/types").LayerSelectStoreType;
|
|
17
|
-
}) => SyncGroupViewState) & import("reselect").OutputSelectorFields<(args_0:
|
|
17
|
+
}) => SyncGroupViewState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroups, args_1: SynchronizationSources) => SyncGroupViewState & {
|
|
18
18
|
clearCache: () => void;
|
|
19
19
|
}> & {
|
|
20
20
|
clearCache: () => void;
|
|
@@ -10,6 +10,7 @@ export interface PlayButtonConnectProps {
|
|
|
10
10
|
mapStartAnimation?: typeof mapActions.mapStartAnimation;
|
|
11
11
|
mapStopAnimation?: typeof mapActions.mapStopAnimation;
|
|
12
12
|
timeStep?: number;
|
|
13
|
+
linkedMapAnimationInfo?: any;
|
|
13
14
|
}
|
|
14
15
|
declare const PlayButtonConnect: React.FC<PlayButtonConnectProps>;
|
|
15
16
|
export default PlayButtonConnect;
|
|
@@ -9,6 +9,8 @@ interface TimeSliderLegendProps {
|
|
|
9
9
|
currentTime?: number;
|
|
10
10
|
dataStartTime?: number;
|
|
11
11
|
dataEndTime?: number;
|
|
12
|
+
animationStartTime?: string;
|
|
13
|
+
animationEndTime?: string;
|
|
12
14
|
isTimeSliderHoverOn?: boolean;
|
|
13
15
|
timeStep?: number;
|
|
14
16
|
onSetNewDate?: (newDate: string) => void;
|
|
@@ -2,4 +2,4 @@ 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];
|
|
5
|
-
export declare const renderTimeSliderLegend: (context: CanvasRenderingContext2D, theme: Theme, canvasWidth: number, height: number, centerTime: number, secondsPerPx: number, dataScaleToSecondsPerPx: number, selectedTimeUnix: number, scale: Scale, currentTimeUnix: number) => void;
|
|
5
|
+
export declare const renderTimeSliderLegend: (context: CanvasRenderingContext2D, theme: Theme, canvasWidth: number, height: number, centerTime: number, secondsPerPx: number, dataScaleToSecondsPerPx: number, selectedTimeUnix: number, scale: Scale, currentTimeUnix: number, animationStartTime: number, animationEndTime: number) => void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SelectProps } from '@mui/material';
|
|
3
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"select">;
|
|
4
3
|
declare type ListELement = {
|
|
5
4
|
value: string;
|
|
6
5
|
};
|
|
@@ -9,6 +8,7 @@ interface TooltipSelectProps extends SelectProps {
|
|
|
9
8
|
list?: ListELement[];
|
|
10
9
|
currentIndex?: number;
|
|
11
10
|
onChangeMouseWheel?: (element: ListELement) => void;
|
|
11
|
+
requiresCtrlToChange?: boolean;
|
|
12
12
|
}
|
|
13
13
|
declare const TooltipSelect: React.FC<TooltipSelectProps>;
|
|
14
14
|
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';
|
|
@@ -21,7 +22,7 @@ export { LegendConnect, Legend, LegendMapButtonConnect, } from './components/Leg
|
|
|
21
22
|
export { ZoomControls, ZoomControlConnect } from './components/MapControls';
|
|
22
23
|
export { TimeSliderConnect } from './components/TimeSlider';
|
|
23
24
|
export { MapControls } from './components/MapControls';
|
|
24
|
-
export { mapActions, mapSelectors, mapTypes, mapConstants, mapUtils, layerReducer, uiActions, uiTypes, syncGroupActions, };
|
|
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';
|
|
@@ -42,3 +43,5 @@ export * from './utils/jsonPresetFilter';
|
|
|
42
43
|
export * from './utils/types';
|
|
43
44
|
export * as defaultConfigurations from './utils/defaultConfigurations';
|
|
44
45
|
export * from './components/Providers/Providers';
|
|
46
|
+
export { default as uiModuleConfig } from './store/ui/config';
|
|
47
|
+
export { default as mapModuleConfig } from './store/mapStore/config';
|
|
@@ -15,6 +15,7 @@ export declare const getSynchronizationGroupStore: ((state: {
|
|
|
15
15
|
export declare const getTime: ((state: {
|
|
16
16
|
sources: import("./synchronizationGroups/types").SynchronizationSources;
|
|
17
17
|
groups: import("./synchronizationGroups/types").SynchronizationGroups;
|
|
18
|
+
viewState: import("../../components/SyncGroups/types").SyncGroupViewState;
|
|
18
19
|
}, params_0: string) => string) & import("reselect").OutputSelectorFields<(args_0: SynchronizationSource) => string & {
|
|
19
20
|
clearCache: () => void;
|
|
20
21
|
}> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SyncGroupAddGroupPayload, SyncGroupAddTargetPayload, SyncGroupLinkTargetPayload, SyncGroupRemoveGroupPayload, SyncGroupRemoveSourcePayload, SyncGroupRemoveTargetPayload, SyncGroupsAddSourcePayload, SynchronizationGroupActions } from './types';
|
|
1
|
+
import { SyncGroupAddGroupPayload, SyncGroupAddTargetPayload, SyncGroupLinkTargetPayload, SyncGroupRemoveGroupPayload, SyncGroupRemoveSourcePayload, SyncGroupRemoveTargetPayload, SyncGroupsAddSourcePayload, SynchronizationGroupActions, SyncGroupSetViewStatePayload } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Add a source component to the sources list.
|
|
4
4
|
*
|
|
@@ -77,3 +77,4 @@ export declare const syncGroupRemoveGroup: (payload: SyncGroupRemoveGroupPayload
|
|
|
77
77
|
* Clear syncGroups
|
|
78
78
|
*/
|
|
79
79
|
export declare const syncGroupClear: () => SynchronizationGroupActions;
|
|
80
|
+
export declare const syncGroupSetViewState: (payload: SyncGroupSetViewStatePayload) => SynchronizationGroupActions;
|
|
@@ -9,3 +9,4 @@ export declare const SYNCGROUPS_CLEAR = "SYNCGROUPS_CLEAR";
|
|
|
9
9
|
export declare const SYNCGROUPS_TYPE_SETTIME = "SYNCGROUPS_TYPE_SETTIME";
|
|
10
10
|
export declare const SYNCGROUPS_TYPE_SETBBOX = "SYNCGROUPS_TYPE_SETBBOX";
|
|
11
11
|
export declare const SYNCGROUPS_TYPE_SETLAYERACTIONS = "SYNCGROUPS_TYPE_SETLAYERACTIONS";
|
|
12
|
+
export declare const SYNCGROUPS_SET_VIEW_STATE = "SYNCGROUPS_SET_VIEW_STATE";
|
|
@@ -3,5 +3,6 @@ import { SyncGroupAddTarget, SyncGroupLinkTarget } from './types';
|
|
|
3
3
|
export declare function updateSourceValueWhenLinkingComponentToGroupSaga(groupId: string, targetToUpdate: string): SagaIterator;
|
|
4
4
|
export declare function addGroupTargetSaga({ payload, }: SyncGroupAddTarget): SagaIterator;
|
|
5
5
|
export declare function linkGroupTargetSaga({ payload, }: SyncGroupLinkTarget): SagaIterator;
|
|
6
|
+
export declare function updateViewStateSaga(): SagaIterator;
|
|
6
7
|
declare function rootSaga(): SagaIterator;
|
|
7
8
|
export default rootSaga;
|
|
@@ -27,3 +27,16 @@ export declare const getSynchronizationGroup: (state: AppStore, id: string) => S
|
|
|
27
27
|
export declare const getSynchronizationGroupSource: (state: AppStore, id: string) => SynchronizationSource;
|
|
28
28
|
export declare const getTargets: (state: AppStore, payload: GenericActionPayload, actionType: SyncType) => SetBboxSyncPayload[] | SetTimeSyncPayload[];
|
|
29
29
|
export declare const getTargetGroups: (state: AppStore, payload: GenericActionPayload, actionType: SyncType) => string[];
|
|
30
|
+
export declare const syncGroupGetViewState: ((state: {
|
|
31
|
+
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
32
|
+
syncronizationGroupStore?: SynchronizationGroupState;
|
|
33
|
+
ui?: import("../../ui/types").UIStoreType;
|
|
34
|
+
webmap?: import("../../mapStore/types").WebMapState;
|
|
35
|
+
services?: import("../../mapStore/types").ServiceState;
|
|
36
|
+
layers?: import("../../mapStore/types").LayerState;
|
|
37
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
38
|
+
}) => import("../../../components/SyncGroups/types").SyncGroupViewState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => import("../../../components/SyncGroups/types").SyncGroupViewState & {
|
|
39
|
+
clearCache: () => void;
|
|
40
|
+
}> & {
|
|
41
|
+
clearCache: () => void;
|
|
42
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Action } from 'redux';
|
|
2
2
|
import { GenericActionPayload } from '../types';
|
|
3
|
-
import { SYNCGROUPS_ADD_SOURCE, SYNCGROUPS_REMOVE_SOURCE, SYNCGROUPS_TOGGLE_LINK_TARGET, SYNCGROUPS_ADD_TARGET, SYNCGROUPS_REMOVE_TARGET, SYNCGROUPS_ADD_GROUP, SYNCGROUPS_REMOVE_GROUP, SYNCGROUPS_TYPE_SETBBOX, SYNCGROUPS_TYPE_SETTIME, SYNCGROUPS_TYPE_SETLAYERACTIONS, SYNCGROUPS_CLEAR } from './constants';
|
|
3
|
+
import { SYNCGROUPS_ADD_SOURCE, SYNCGROUPS_REMOVE_SOURCE, SYNCGROUPS_TOGGLE_LINK_TARGET, SYNCGROUPS_ADD_TARGET, SYNCGROUPS_REMOVE_TARGET, SYNCGROUPS_ADD_GROUP, SYNCGROUPS_REMOVE_GROUP, SYNCGROUPS_TYPE_SETBBOX, SYNCGROUPS_TYPE_SETTIME, SYNCGROUPS_TYPE_SETLAYERACTIONS, SYNCGROUPS_CLEAR, SYNCGROUPS_SET_VIEW_STATE } from './constants';
|
|
4
|
+
import { SyncGroupViewState } from '../../../components/SyncGroups/types';
|
|
4
5
|
export interface SynchronizationGroup {
|
|
5
6
|
type: SyncType;
|
|
6
7
|
title?: string;
|
|
@@ -28,6 +29,7 @@ export interface SynchronizationGroups {
|
|
|
28
29
|
export interface SynchronizationGroupState {
|
|
29
30
|
sources: SynchronizationSources;
|
|
30
31
|
groups: SynchronizationGroups;
|
|
32
|
+
viewState: SyncGroupViewState;
|
|
31
33
|
}
|
|
32
34
|
export interface SynchronizationGroupModuleState {
|
|
33
35
|
syncronizationGroupStore?: SynchronizationGroupState;
|
|
@@ -63,6 +65,9 @@ export interface SyncGroupAddGroupPayload {
|
|
|
63
65
|
export interface SyncGroupRemoveGroupPayload {
|
|
64
66
|
groupId: string;
|
|
65
67
|
}
|
|
68
|
+
export interface SyncGroupSetViewStatePayload {
|
|
69
|
+
viewState: SyncGroupViewState;
|
|
70
|
+
}
|
|
66
71
|
export interface SyncGroupsAddSource extends Action {
|
|
67
72
|
type: typeof SYNCGROUPS_ADD_SOURCE;
|
|
68
73
|
payload: SyncGroupsAddSourcePayload;
|
|
@@ -94,5 +99,9 @@ export interface SyncGroupRemoveGroup extends Action {
|
|
|
94
99
|
export interface SyncGroupClear extends Action {
|
|
95
100
|
type: typeof SYNCGROUPS_CLEAR;
|
|
96
101
|
}
|
|
102
|
+
export interface SyncGroupSetViewState extends Action {
|
|
103
|
+
type: typeof SYNCGROUPS_SET_VIEW_STATE;
|
|
104
|
+
payload: SyncGroupSetViewStatePayload;
|
|
105
|
+
}
|
|
97
106
|
export declare const SyncGroupTypeList: string[];
|
|
98
|
-
export declare type SynchronizationGroupActions = SyncGroupsAddSource | SyncGroupsRemoveSource | SyncGroupAddTarget | SyncGroupRemoveTarget | SyncGroupLinkTarget | SyncGroupAddGroup | SyncGroupRemoveGroup | SyncGroupClear;
|
|
107
|
+
export declare type SynchronizationGroupActions = SyncGroupsAddSource | SyncGroupsRemoveSource | SyncGroupAddTarget | SyncGroupRemoveTarget | SyncGroupLinkTarget | SyncGroupAddGroup | SyncGroupRemoveGroup | SyncGroupClear | SyncGroupSetViewState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MapActions, SetBboxPayload, MoveLayerPayload, SetMapDimensionPayload, UpdateAllMapDimensionsPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetActiveLayerIdPayload, MoveLayer, SetActiveLayerId, ToggleAutoUpdatePayload, ToggleAutoUpdate, ToggleLoopPayload, ToggleLoop, SetTimeSliderScalePayload, SetTimeStepPayload, SetAnimationDelayPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, ToggleTimestepAutoPayload, ToggleTimestepAuto, ToggleTimeSliderHoverPayload, ToggleTimeSliderHover, SetTimeSliderCenterTimePayload, SetTimeSliderSecondsPerPxPayload, SetTimeSliderDataScaleToSecondsPerPxPayload, MapPinLocationPayload } from './types';
|
|
1
|
+
import { MapActions, SetBboxPayload, MoveLayerPayload, SetMapDimensionPayload, UpdateAllMapDimensionsPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetActiveLayerIdPayload, MoveLayer, SetActiveLayerId, ToggleAutoUpdatePayload, ToggleAutoUpdate, ToggleLoopPayload, ToggleLoop, SetTimeSliderScalePayload, SetTimeStepPayload, SetAnimationDelayPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, ToggleTimestepAutoPayload, ToggleTimestepAuto, ToggleTimeSliderHoverPayload, ToggleTimeSliderHover, SetTimeSliderCenterTimePayload, SetTimeSliderSecondsPerPxPayload, SetTimeSliderDataScaleToSecondsPerPxPayload, MapPinLocationPayload, DisableMapPinPayload } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Registers the map in the store and creates the map state
|
|
4
4
|
*
|
|
@@ -154,3 +154,10 @@ export declare const setTimeSliderDataScaleToSecondsPerPx: (payload: SetTimeSlid
|
|
|
154
154
|
* @param {object} payload object with mapId: string, mapPinLocation: MapLocation
|
|
155
155
|
*/
|
|
156
156
|
export declare const setMapPinLocation: (payload: MapPinLocationPayload) => MapActions;
|
|
157
|
+
/**
|
|
158
|
+
* Sets the diable map pin boolean
|
|
159
|
+
*
|
|
160
|
+
* Example: setMapPinLocation({ mapId: 'mapId1', diableMapPin: true })
|
|
161
|
+
* @param {object} payload object with mapId: string, diableMapPin: boolean
|
|
162
|
+
*/
|
|
163
|
+
export declare const setDisableMapPin: (payload: DisableMapPinPayload) => MapActions;
|
|
@@ -20,3 +20,4 @@ export declare const WEBMAP_SET_TIME_SLIDER_CENTER_TIME = "WEBMAP_SET_TIME_SLIDE
|
|
|
20
20
|
export declare const WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX = "WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX";
|
|
21
21
|
export declare const WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX = "WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX";
|
|
22
22
|
export declare const WEBMAP_SET_PIN = "WEBMAP_SET_PIN";
|
|
23
|
+
export declare const WEBMAP_DISABLE_PIN = "WEBMAP_DISABLE_PIN";
|
|
@@ -308,6 +308,36 @@ export declare const isAnimating: ((state: {
|
|
|
308
308
|
}> & {
|
|
309
309
|
clearCache: () => void;
|
|
310
310
|
};
|
|
311
|
+
/**
|
|
312
|
+
* Gets if any linked map is animating
|
|
313
|
+
*
|
|
314
|
+
* Example: linkedMapIsAnimating = linkedMapAnimationInfo(store, 'mapid_1')
|
|
315
|
+
* @param {object} store store: object - store object
|
|
316
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
317
|
+
* @returns {object} returnType: object - object containing isAnimating boolean and id string
|
|
318
|
+
*/
|
|
319
|
+
export declare const linkedMapAnimationInfo: ((state: {
|
|
320
|
+
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
321
|
+
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
322
|
+
ui?: import("../../ui/types").UIStoreType;
|
|
323
|
+
webmap?: WebMapState;
|
|
324
|
+
services?: import("../types").ServiceState;
|
|
325
|
+
layers?: import("../types").LayerState;
|
|
326
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
327
|
+
}, params_0: string) => {
|
|
328
|
+
isAnimating: boolean;
|
|
329
|
+
id: string;
|
|
330
|
+
}) & import("reselect").OutputSelectorFields<(args_0: {
|
|
331
|
+
isAnimating: boolean;
|
|
332
|
+
id: string;
|
|
333
|
+
}) => {
|
|
334
|
+
isAnimating: boolean;
|
|
335
|
+
id: string;
|
|
336
|
+
} & {
|
|
337
|
+
clearCache: () => void;
|
|
338
|
+
}> & {
|
|
339
|
+
clearCache: () => void;
|
|
340
|
+
};
|
|
311
341
|
/**
|
|
312
342
|
* Gets start time of animation
|
|
313
343
|
*
|
|
@@ -712,7 +742,7 @@ export declare const getAllUniqueDimensions: ((state: {
|
|
|
712
742
|
/**
|
|
713
743
|
* Returns the mapPinLocation for the current map
|
|
714
744
|
*
|
|
715
|
-
* Example
|
|
745
|
+
* Example getPinLocation(store);
|
|
716
746
|
* @param {object} store store: object - store object
|
|
717
747
|
* @param {string} mapId mapId: string - Id of the map
|
|
718
748
|
* @returns {object} returnType: latitude and longitude of pin
|
|
@@ -730,3 +760,24 @@ export declare const getPinLocation: ((state: {
|
|
|
730
760
|
}> & {
|
|
731
761
|
clearCache: () => void;
|
|
732
762
|
};
|
|
763
|
+
/**
|
|
764
|
+
* Returns the disable map pin boolean for the current map
|
|
765
|
+
*
|
|
766
|
+
* Example getDisableMapPin(store);
|
|
767
|
+
* @param {object} store store: object - store object
|
|
768
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
769
|
+
* @returns {boolean} returnType: boolean or undefined
|
|
770
|
+
*/
|
|
771
|
+
export declare const getDisableMapPin: ((state: {
|
|
772
|
+
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
773
|
+
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
774
|
+
ui?: import("../../ui/types").UIStoreType;
|
|
775
|
+
webmap?: WebMapState;
|
|
776
|
+
services?: import("../types").ServiceState;
|
|
777
|
+
layers?: import("../types").LayerState;
|
|
778
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
779
|
+
}, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap) => boolean & {
|
|
780
|
+
clearCache: () => void;
|
|
781
|
+
}> & {
|
|
782
|
+
clearCache: () => void;
|
|
783
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DateInterval } from '@opengeoweb/webmap';
|
|
2
2
|
import { Action } from 'redux';
|
|
3
|
-
import { WEBMAP_LAYER_MOVE, WEBMAP_SET_BBOX, WEBMAP_MAP_UPDATE_ALL_DIMENSIONS, WEBMAP_MAP_CHANGE_DIMENSION, WEBMAP_START_ANIMATION, WEBMAP_STOP_ANIMATION, WEBMAP_REGISTER_MAP, WEBMAP_UNREGISTER_MAP, WEBMAP_SET_ACTIVELAYERID, WEBMAP_TOGGLE_AUTO_UPDATE, WEBMAP_TOGGLE_LOOP, WEBMAP_SET_TIME_SLIDER_SCALE, WEBMAP_SET_TIME_STEP, WEBMAP_SET_ANIMATION_DELAY, WEBMAP_SET_ANIMATION_START_TIME, WEBMAP_SET_ANIMATION_END_TIME, WEBMAP_TOGGLE_TIMESTEP_AUTO, WEBMAP_TOGGLE_TIME_SLIDER_HOVER, WEBMAP_SET_TIME_SLIDER_CENTER_TIME, WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX, WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX, WEBMAP_SET_PIN } from './constants';
|
|
3
|
+
import { WEBMAP_LAYER_MOVE, WEBMAP_SET_BBOX, WEBMAP_MAP_UPDATE_ALL_DIMENSIONS, WEBMAP_MAP_CHANGE_DIMENSION, WEBMAP_START_ANIMATION, WEBMAP_STOP_ANIMATION, WEBMAP_REGISTER_MAP, WEBMAP_UNREGISTER_MAP, WEBMAP_SET_ACTIVELAYERID, WEBMAP_TOGGLE_AUTO_UPDATE, WEBMAP_TOGGLE_LOOP, WEBMAP_SET_TIME_SLIDER_SCALE, WEBMAP_SET_TIME_STEP, WEBMAP_SET_ANIMATION_DELAY, WEBMAP_SET_ANIMATION_START_TIME, WEBMAP_SET_ANIMATION_END_TIME, WEBMAP_TOGGLE_TIMESTEP_AUTO, WEBMAP_TOGGLE_TIME_SLIDER_HOVER, WEBMAP_SET_TIME_SLIDER_CENTER_TIME, WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX, WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX, WEBMAP_SET_PIN, WEBMAP_DISABLE_PIN } from './constants';
|
|
4
4
|
export interface Dimension {
|
|
5
5
|
name?: string;
|
|
6
6
|
units?: string;
|
|
@@ -36,6 +36,7 @@ export interface WebMap {
|
|
|
36
36
|
isTimestepAuto?: boolean;
|
|
37
37
|
isTimeSliderHoverOn?: boolean;
|
|
38
38
|
mapPinLocation?: MapLocation;
|
|
39
|
+
disableMapPin?: boolean;
|
|
39
40
|
}
|
|
40
41
|
export interface WebMapState {
|
|
41
42
|
byId: Record<string, WebMap>;
|
|
@@ -245,4 +246,12 @@ export interface MapPinLocationPayload {
|
|
|
245
246
|
mapId: string;
|
|
246
247
|
mapPinLocation: MapLocation;
|
|
247
248
|
}
|
|
248
|
-
export
|
|
249
|
+
export interface SetDisableMapPin extends Action {
|
|
250
|
+
type: typeof WEBMAP_DISABLE_PIN;
|
|
251
|
+
payload: DisableMapPinPayload;
|
|
252
|
+
}
|
|
253
|
+
export interface DisableMapPinPayload {
|
|
254
|
+
mapId: string;
|
|
255
|
+
disableMapPin: boolean;
|
|
256
|
+
}
|
|
257
|
+
export declare type MapActions = RegisterMap | UnregisterMap | SetMapDimension | UpdateAllMapDimensions | SetMapAnimationStart | SetMapAnimationStop | SetBbox | MoveLayer | SetActiveLayerId | ToggleAutoUpdate | ToggleLoop | SetTimeStep | SetTimeSliderScale | SetAnimationDelay | SetAnimationStartTime | SetAnimationEndTime | ToggleTimestepAuto | ToggleTimeSliderHover | SetTimeSliderCenterTime | SetTimeSliderSecondsPerPx | SetTimeSliderDataScaleToSecondsPerPx | SetMapPinLocation | SetDisableMapPin;
|
package/lib/store/ui/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Action } from 'redux';
|
|
2
2
|
import { UI_SET_ACTIVE_MAPID_FOR_DIALOG, UI_REGISTER_DIALOG, UI_TOGGLE_DIALOG, UI_UNREGISTER_DIALOG, UI_ORDER_DIALOG } from './constants';
|
|
3
|
-
export declare type DialogType = 'legend' | 'layerManager' | 'layerSelect' | 'dimensionSelect-elevation' | 'dimensionSelect-ensemble_member' | 'keywordFilter';
|
|
3
|
+
export declare type DialogType = 'legend' | 'layerManager' | 'layerSelect' | 'dimensionSelect-elevation' | 'dimensionSelect-ensemble_member' | 'keywordFilter' | 'timeSeriesManager' | 'syncGroups';
|
|
4
4
|
export declare type Source = 'app' | 'module';
|
|
5
5
|
export interface UIType {
|
|
6
6
|
type: DialogType;
|
package/lib/utils/testUtils.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { WebMapState, LayerState, Dimension, Layer, WebMapStateModuleState, Scale } from '../store/mapStore/types';
|
|
2
|
+
import { AppStore } from '../types/types';
|
|
2
3
|
export declare const createWebmapState: (...mapIds: string[]) => WebMapState;
|
|
3
4
|
export declare const createLayersState: (layerId: string, props?: {}) => LayerState;
|
|
4
5
|
export declare const createMultipleLayersState: (layers: Layer[], mapId: string) => LayerState;
|
|
5
6
|
export declare const createMapDimensionsState: (dimensions?: Dimension[], ...mapIds: string[]) => WebMapState;
|
|
6
|
-
export declare const mockStateMapWithLayer: (layer: Layer, mapId: string) =>
|
|
7
|
+
export declare const mockStateMapWithLayer: (layer: Layer, mapId: string) => AppStore;
|
|
7
8
|
export declare const mockStateMapWithMultipleLayers: (layers: Layer[], mapId: string) => WebMapStateModuleState;
|
|
8
9
|
export declare const mockStateMapWithDimensions: (layer: Layer, mapId: string) => WebMapStateModuleState;
|
|
9
10
|
export declare const mockStateMapWithDimensionsWithoutLayers: (mapId: string) => WebMapStateModuleState;
|
package/lib/utils/types.d.ts
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
import { Bbox, Dimension, Layer } from '../store/mapStore/types';
|
|
2
|
-
export interface MapPresets {
|
|
3
|
-
preset: MapPreset;
|
|
4
|
-
}
|
|
5
|
-
export interface MapPreset {
|
|
6
|
-
presetType?: string;
|
|
7
|
-
presetId?: string;
|
|
8
|
-
presetName?: string;
|
|
9
|
-
srs?: string;
|
|
10
|
-
bbox?: Bbox;
|
|
11
|
-
services?: Service[];
|
|
12
|
-
baseServices?: Service[];
|
|
13
|
-
layers?: PresetLayer[];
|
|
14
|
-
activeLayerId?: string;
|
|
15
|
-
}
|
|
16
2
|
export interface Service {
|
|
17
3
|
id: string;
|
|
18
4
|
name: string;
|
|
@@ -32,21 +18,26 @@ export interface PresetLayer {
|
|
|
32
18
|
layerType?: string;
|
|
33
19
|
status?: string;
|
|
34
20
|
}
|
|
35
|
-
export interface
|
|
36
|
-
dimension?: Dimension;
|
|
37
|
-
layerId?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface FilteredMapPresets {
|
|
21
|
+
export interface MapPreset {
|
|
40
22
|
presetType?: string;
|
|
41
23
|
presetId?: string;
|
|
42
24
|
presetName?: string;
|
|
25
|
+
srs?: string;
|
|
43
26
|
bbox?: Bbox;
|
|
44
27
|
services?: Service[];
|
|
45
|
-
|
|
46
|
-
layers?:
|
|
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 {
|
|
47
40
|
baseLayers?: Layer[];
|
|
48
41
|
mapLayers?: Layer[];
|
|
49
|
-
activeLayerId?: string;
|
|
50
42
|
layerDimensions?: LayerDimension[];
|
|
51
|
-
baseServices?: Service[];
|
|
52
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "GeoWeb Core library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,22 +13,22 @@
|
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "^17.0.2",
|
|
16
|
-
"@opengeoweb/theme": "2.
|
|
16
|
+
"@opengeoweb/theme": "2.4.1",
|
|
17
17
|
"@mui/material": "^5.2.8",
|
|
18
18
|
"@mui/styles": "^5.2.3",
|
|
19
19
|
"@mui/icons-material": "^5.2.5",
|
|
20
20
|
"react-redux": "7.2.2",
|
|
21
21
|
"moment": "^2.29.0",
|
|
22
22
|
"react-intl": "^5.17.5",
|
|
23
|
-
"@opengeoweb/webmap": "2.
|
|
23
|
+
"@opengeoweb/webmap": "2.4.1",
|
|
24
24
|
"throttle-debounce": "^3.0.1",
|
|
25
25
|
"proj4": "^2.6.2",
|
|
26
26
|
"react-sortablejs": "^6.0.0",
|
|
27
|
-
"@opengeoweb/shared": "2.
|
|
27
|
+
"@opengeoweb/shared": "2.4.1",
|
|
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.
|
|
31
|
+
"@opengeoweb/form-fields": "2.4.1",
|
|
32
32
|
"react-hook-form": "^6.12.1",
|
|
33
33
|
"moment-timezone": "^0.5.31",
|
|
34
34
|
"@mui/lab": "^5.0.0-alpha.64",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ToggleButtonProps } from '@mui/material';
|
|
3
|
-
import { ButtonVariant } from '@opengeoweb/theme';
|
|
4
|
-
export interface CustomToggleButtonProps extends Omit<ToggleButtonProps, 'value'> {
|
|
5
|
-
variant?: ButtonVariant;
|
|
6
|
-
value?: unknown;
|
|
7
|
-
}
|
|
8
|
-
declare const CustomToggleButton: React.FC<CustomToggleButtonProps>;
|
|
9
|
-
export default CustomToggleButton;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const CustomToggleButtonLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
storyName: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const CustomToggleButtonDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
storyName: string;
|
|
13
|
-
};
|