@opengeoweb/core 2.2.0 → 2.4.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 +3105 -2112
- package/index.umd.js +3376 -2335
- 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/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/{LayerManagerButton.spec.d.ts → 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/KeywordFilterResults/KeywordFilterResults.d.ts +1 -3
- 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/LayerManager/{LayerContainerRow/LayerRow/DeleteLayer/DeleteLayer.spec.d.ts → LayerSelect/KeywordFilterResults/KeywordFilterResultsListItemConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterSelectAllSwitchConnect.d.ts +3 -0
- package/lib/components/LayerManager/{LayerContainerRow/LayerRow/EnableLayer/EnableLayer.spec.d.ts → LayerSelect/KeywordFilterResults/KeywordFilterSelectAllSwitchConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.d.ts +18 -0
- package/lib/components/{ToggleIconButton/ToggleIconButton.spec.d.ts → LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +12 -2
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListUtils.d.ts +1 -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/MapControlButton.d.ts +2 -2
- package/lib/components/MapView/MapViewConnect.DisableMapPin.stories.d.ts +5 -0
- package/lib/components/MapView/MapViewConnect.stories.d.ts +1 -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/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 +6 -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 +12 -2
- package/lib/store/layerSelect/actions.d.ts +4 -2
- package/lib/store/layerSelect/constants.d.ts +3 -1
- package/lib/store/layerSelect/sagas.d.ts +1 -0
- package/lib/store/layerSelect/selectors.d.ts +59 -9
- package/lib/store/layerSelect/types.d.ts +33 -12
- package/lib/store/mapStore/layers/selectors.d.ts +24 -12
- 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 +90 -27
- 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 +34 -6
- package/lib/store/mapStore/service/types.d.ts +9 -2
- package/lib/store/ui/selectors.d.ts +2 -2
- 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/getCapabilities.d.ts +1 -0
- package/lib/utils/jsonPresetFilter.d.ts +10 -0
- package/lib/utils/jsonPresetFilter.spec.d.ts +1 -0
- package/lib/utils/testUtils.d.ts +2 -1
- package/lib/utils/types.d.ts +43 -0
- package/package.json +5 -5
- 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/EnableLayer/EnableLayer.d.ts +0 -8
- 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/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
|
@@ -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,4 +99,9 @@ export interface SyncGroupRemoveGroup extends Action {
|
|
|
94
99
|
export interface SyncGroupClear extends Action {
|
|
95
100
|
type: typeof SYNCGROUPS_CLEAR;
|
|
96
101
|
}
|
|
97
|
-
export
|
|
102
|
+
export interface SyncGroupSetViewState extends Action {
|
|
103
|
+
type: typeof SYNCGROUPS_SET_VIEW_STATE;
|
|
104
|
+
payload: SyncGroupSetViewStatePayload;
|
|
105
|
+
}
|
|
106
|
+
export declare const SyncGroupTypeList: string[];
|
|
107
|
+
export declare type SynchronizationGroupActions = SyncGroupsAddSource | SyncGroupsRemoveSource | SyncGroupAddTarget | SyncGroupRemoveTarget | SyncGroupLinkTarget | SyncGroupAddGroup | SyncGroupRemoveGroup | SyncGroupClear | SyncGroupSetViewState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayerSelectActions, SetSearchFilterPayload, DisableActiveServicePayload, EnableActiveServicePayload, AddKeywordsAndActiveServicesPayload,
|
|
1
|
+
import { LayerSelectActions, SetSearchFilterPayload, DisableActiveServicePayload, EnableActiveServicePayload, AddKeywordsAndActiveServicesPayload, LayerSelectServiceRemovedPayload, ToggleKeywordsPayload, EnableOnlyOneKeywordPayload } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Sets the given text to the searchFilter
|
|
4
4
|
*
|
|
@@ -21,4 +21,6 @@ export declare const enableActiveService: (payload: EnableActiveServicePayload)
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const disableActiveService: (payload: DisableActiveServicePayload) => LayerSelectActions;
|
|
23
23
|
export declare const addKeywordsAndActiveServices: (payload: AddKeywordsAndActiveServicesPayload) => LayerSelectActions;
|
|
24
|
-
export declare const
|
|
24
|
+
export declare const layerSelectServiceRemoved: (payload: LayerSelectServiceRemovedPayload) => LayerSelectActions;
|
|
25
|
+
export declare const toggleKeywords: (payload: ToggleKeywordsPayload) => LayerSelectActions;
|
|
26
|
+
export declare const enableOnlyOneKeyword: (payload: EnableOnlyOneKeywordPayload) => LayerSelectActions;
|
|
@@ -2,4 +2,6 @@ export declare const LAYER_SELECT_SET_SEARCH_FILTER = "LAYER_SELECT_SET_SEARCH_F
|
|
|
2
2
|
export declare const LAYER_SELECT_DISABLE_ACTIVE_SERVICE = "LAYER_SELECT_DISABLE_ACTIVE_SERVICE";
|
|
3
3
|
export declare const LAYER_SELECT_ENABLE_ACTIVE_SERVICE = "LAYER_SELECT_ENABLE_ACTIVE_SERVICE";
|
|
4
4
|
export declare const LAYER_SELECT_ADD_KEYWORDS_AND_ACTIVE_SERVICES = "LAYER_SELECT_ADD_KEYWORDS_AND_ACTIVE_SERVICES";
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const LAYER_SELECT_SERVICE_REMOVED = "LAYER_SELECT_SERVICE_REMOVED";
|
|
6
|
+
export declare const LAYER_SELECT_TOGGLE_KEYWORDS = "LAYER_SELECT_TOGGLE_KEYWORDS";
|
|
7
|
+
export declare const LAYER_SELECT_ENABLE_ONLY_ONE_KEYWORD = "LAYER_SELECT_ENABLE_ONLY_ONE_KEYWORD";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SagaIterator } from 'redux-saga';
|
|
2
2
|
import { ServiceActions } from '../mapStore/types';
|
|
3
3
|
export declare function newServiceAddedSaga(capturedAction: ServiceActions): SagaIterator;
|
|
4
|
+
export declare function layerSelectServiceRemovedSaga(capturedAction: ServiceActions): SagaIterator;
|
|
4
5
|
export declare function rootSaga(): SagaIterator;
|
|
5
6
|
export default rootSaga;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AppStore } from '../../types/types';
|
|
2
|
+
import { LayerSelectStoreType, ActiveServices, KeywordObject } from './types';
|
|
2
3
|
/**
|
|
3
4
|
* Returns search filter string
|
|
4
5
|
*
|
|
@@ -24,7 +25,7 @@ export declare const getSearchFilter: ((state: {
|
|
|
24
25
|
*
|
|
25
26
|
* Example getActiveServices(store);
|
|
26
27
|
* @param {object} store store: object - store object
|
|
27
|
-
* @returns {
|
|
28
|
+
* @returns {object} returnType: object of active services
|
|
28
29
|
*/
|
|
29
30
|
export declare const getActiveServices: ((state: {
|
|
30
31
|
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -34,7 +35,7 @@ export declare const getActiveServices: ((state: {
|
|
|
34
35
|
services?: import("../mapStore/types").ServiceState;
|
|
35
36
|
layers?: import("../mapStore/types").LayerState;
|
|
36
37
|
layerSelect?: LayerSelectStoreType;
|
|
37
|
-
}) => ActiveServices) & import("reselect").OutputSelectorFields<(args_0: LayerSelectStoreType) => ActiveServices & {
|
|
38
|
+
}) => ActiveServices) & import("reselect").OutputSelectorFields<((args_0: LayerSelectStoreType) => ActiveServices) & {
|
|
38
39
|
clearCache: () => void;
|
|
39
40
|
}> & {
|
|
40
41
|
clearCache: () => void;
|
|
@@ -54,19 +55,19 @@ export declare const getEnabledServiceIds: ((state: {
|
|
|
54
55
|
services?: import("../mapStore/types").ServiceState;
|
|
55
56
|
layers?: import("../mapStore/types").LayerState;
|
|
56
57
|
layerSelect?: LayerSelectStoreType;
|
|
57
|
-
}) => string[]) & import("reselect").OutputSelectorFields<(args_0: LayerSelectStoreType) => string[] & {
|
|
58
|
+
}) => string[]) & import("reselect").OutputSelectorFields<((args_0: LayerSelectStoreType) => string[]) & {
|
|
58
59
|
clearCache: () => void;
|
|
59
60
|
}> & {
|
|
60
61
|
clearCache: () => void;
|
|
61
62
|
};
|
|
62
63
|
/**
|
|
63
|
-
* Returns all keywords
|
|
64
|
+
* Returns all ids of checked keywords
|
|
64
65
|
*
|
|
65
|
-
* Example
|
|
66
|
+
* Example getCheckedKeywordIds(store);
|
|
66
67
|
* @param {object} store store: object - store object
|
|
67
|
-
* @returns {array} returnType: array of keyword
|
|
68
|
+
* @returns {array} returnType: array of keyword ids that are checked
|
|
68
69
|
*/
|
|
69
|
-
export declare const
|
|
70
|
+
export declare const getCheckedKeywordIds: ((state: {
|
|
70
71
|
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
71
72
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
72
73
|
ui?: import("../ui/types").UIStoreType;
|
|
@@ -74,8 +75,57 @@ export declare const getKeywords: ((state: {
|
|
|
74
75
|
services?: import("../mapStore/types").ServiceState;
|
|
75
76
|
layers?: import("../mapStore/types").LayerState;
|
|
76
77
|
layerSelect?: LayerSelectStoreType;
|
|
77
|
-
}) =>
|
|
78
|
+
}) => string[]) & import("reselect").OutputSelectorFields<((args_0: LayerSelectStoreType) => string[]) & {
|
|
78
79
|
clearCache: () => void;
|
|
79
80
|
}> & {
|
|
80
81
|
clearCache: () => void;
|
|
81
82
|
};
|
|
83
|
+
/**
|
|
84
|
+
* Returns ids of all keywords
|
|
85
|
+
*
|
|
86
|
+
* Example getAllKeywordIds(store);
|
|
87
|
+
* @param {object} store store: object - store object
|
|
88
|
+
* @returns {array} returnType: array of all keyword ids
|
|
89
|
+
*/
|
|
90
|
+
export declare const getAllKeywordIds: ((state: {
|
|
91
|
+
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
92
|
+
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
93
|
+
ui?: import("../ui/types").UIStoreType;
|
|
94
|
+
webmap?: import("../mapStore/types").WebMapState;
|
|
95
|
+
services?: import("../mapStore/types").ServiceState;
|
|
96
|
+
layers?: import("../mapStore/types").LayerState;
|
|
97
|
+
layerSelect?: LayerSelectStoreType;
|
|
98
|
+
}) => string[]) & import("reselect").OutputSelectorFields<((args_0: LayerSelectStoreType) => string[]) & {
|
|
99
|
+
clearCache: () => void;
|
|
100
|
+
}> & {
|
|
101
|
+
clearCache: () => void;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Returns if all keywords are checked
|
|
105
|
+
*
|
|
106
|
+
* Example isAllKeywordsChecked(store);
|
|
107
|
+
* @param {object} store store: object - store object
|
|
108
|
+
* @returns {array} returnType: boolean if all keywords are checked
|
|
109
|
+
*/
|
|
110
|
+
export declare const isAllKeywordsChecked: ((state: {
|
|
111
|
+
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
112
|
+
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
113
|
+
ui?: import("../ui/types").UIStoreType;
|
|
114
|
+
webmap?: import("../mapStore/types").WebMapState;
|
|
115
|
+
services?: import("../mapStore/types").ServiceState;
|
|
116
|
+
layers?: import("../mapStore/types").LayerState;
|
|
117
|
+
layerSelect?: LayerSelectStoreType;
|
|
118
|
+
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: LayerSelectStoreType) => boolean & {
|
|
119
|
+
clearCache: () => void;
|
|
120
|
+
}> & {
|
|
121
|
+
clearCache: () => void;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Gets a KeywordObject by its id
|
|
125
|
+
*
|
|
126
|
+
* Example: keywordObject = getKeywordObjectById(store, 'keywordId')
|
|
127
|
+
* @param {object} store object from which the keyword state will be extracted
|
|
128
|
+
* @param {string} keywordId Id of the keyword
|
|
129
|
+
* @returns {object} object containing keyword information (id, amount, amountVisible, checked)
|
|
130
|
+
*/
|
|
131
|
+
export declare const getKeywordObjectById: (store: AppStore, keywordId: string) => KeywordObject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Action } from 'redux';
|
|
2
|
-
import { LAYER_SELECT_SET_SEARCH_FILTER, LAYER_SELECT_ENABLE_ACTIVE_SERVICE, LAYER_SELECT_DISABLE_ACTIVE_SERVICE, LAYER_SELECT_ADD_KEYWORDS_AND_ACTIVE_SERVICES,
|
|
2
|
+
import { LAYER_SELECT_SET_SEARCH_FILTER, LAYER_SELECT_ENABLE_ACTIVE_SERVICE, LAYER_SELECT_DISABLE_ACTIVE_SERVICE, LAYER_SELECT_ADD_KEYWORDS_AND_ACTIVE_SERVICES, LAYER_SELECT_SERVICE_REMOVED, LAYER_SELECT_TOGGLE_KEYWORDS, LAYER_SELECT_ENABLE_ONLY_ONE_KEYWORD } from './constants';
|
|
3
3
|
export interface ActiveServiceObject {
|
|
4
4
|
id?: string;
|
|
5
5
|
enabled?: boolean;
|
|
@@ -13,10 +13,17 @@ export interface ActiveServiceType {
|
|
|
13
13
|
allIds: string[];
|
|
14
14
|
}
|
|
15
15
|
export interface KeywordObject {
|
|
16
|
-
id
|
|
17
|
-
amount
|
|
18
|
-
amountVisible
|
|
19
|
-
checked
|
|
16
|
+
id?: string;
|
|
17
|
+
amount?: number;
|
|
18
|
+
amountVisible?: number;
|
|
19
|
+
checked?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface Keywords {
|
|
22
|
+
[key: string]: KeywordObject;
|
|
23
|
+
}
|
|
24
|
+
export interface KeywordType {
|
|
25
|
+
byId: Keywords;
|
|
26
|
+
allIds: string[];
|
|
20
27
|
}
|
|
21
28
|
export interface LayerSelectModuleState {
|
|
22
29
|
layerSelect?: LayerSelectStoreType;
|
|
@@ -27,7 +34,7 @@ export interface LayerSelectStoreType {
|
|
|
27
34
|
export interface FiltersType {
|
|
28
35
|
searchFilter: string;
|
|
29
36
|
activeServices: ActiveServiceType;
|
|
30
|
-
keywords:
|
|
37
|
+
keywords: KeywordType;
|
|
31
38
|
}
|
|
32
39
|
export interface SetSearchFilterPayload {
|
|
33
40
|
filterText: string;
|
|
@@ -60,11 +67,25 @@ export interface AddKeywordsAndActiveServices extends Action {
|
|
|
60
67
|
type: typeof LAYER_SELECT_ADD_KEYWORDS_AND_ACTIVE_SERVICES;
|
|
61
68
|
payload: AddKeywordsAndActiveServicesPayload;
|
|
62
69
|
}
|
|
63
|
-
export interface
|
|
64
|
-
|
|
70
|
+
export interface LayerSelectServiceRemovedPayload {
|
|
71
|
+
serviceUrl: string;
|
|
72
|
+
}
|
|
73
|
+
export interface LayerSelectServiceRemoved extends Action {
|
|
74
|
+
type: typeof LAYER_SELECT_SERVICE_REMOVED;
|
|
75
|
+
payload: LayerSelectServiceRemovedPayload;
|
|
76
|
+
}
|
|
77
|
+
export interface ToggleKeywordsPayload {
|
|
78
|
+
keywords: string[];
|
|
79
|
+
}
|
|
80
|
+
export interface ToggleKeywords extends Action {
|
|
81
|
+
type: typeof LAYER_SELECT_TOGGLE_KEYWORDS;
|
|
82
|
+
payload: ToggleKeywordsPayload;
|
|
83
|
+
}
|
|
84
|
+
export interface EnableOnlyOneKeywordPayload {
|
|
85
|
+
keyword: string;
|
|
65
86
|
}
|
|
66
|
-
export interface
|
|
67
|
-
type: typeof
|
|
68
|
-
payload:
|
|
87
|
+
export interface EnableOnlyOneKeyword extends Action {
|
|
88
|
+
type: typeof LAYER_SELECT_ENABLE_ONLY_ONE_KEYWORD;
|
|
89
|
+
payload: EnableOnlyOneKeywordPayload;
|
|
69
90
|
}
|
|
70
|
-
export declare type LayerSelectActions = SetSearchFilter | AddKeywordsAndActiveServices | EnableActiveService |
|
|
91
|
+
export declare type LayerSelectActions = SetSearchFilter | AddKeywordsAndActiveServices | EnableActiveService | LayerSelectServiceRemoved | DisableActiveService | ToggleKeywords | EnableOnlyOneKeyword;
|
|
@@ -25,7 +25,7 @@ export declare const getLayersById: ((state: {
|
|
|
25
25
|
services?: import("../types").ServiceState;
|
|
26
26
|
layers?: LayerState;
|
|
27
27
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
28
|
-
}) => Record<string, import("./types").ReduxLayer>) & import("reselect").OutputSelectorFields<(args_0: LayerState) => Record<string, import("./types").ReduxLayer> & {
|
|
28
|
+
}) => Record<string, import("./types").ReduxLayer>) & import("reselect").OutputSelectorFields<((args_0: LayerState) => Record<string, import("./types").ReduxLayer>) & {
|
|
29
29
|
clearCache: () => void;
|
|
30
30
|
}> & {
|
|
31
31
|
clearCache: () => void;
|
|
@@ -45,7 +45,7 @@ export declare const getLayersIds: ((state: {
|
|
|
45
45
|
services?: import("../types").ServiceState;
|
|
46
46
|
layers?: LayerState;
|
|
47
47
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
48
|
-
}) => string[]) & import("reselect").OutputSelectorFields<(args_0: LayerState) => string[] & {
|
|
48
|
+
}) => string[]) & import("reselect").OutputSelectorFields<((args_0: LayerState) => string[]) & {
|
|
49
49
|
clearCache: () => void;
|
|
50
50
|
}> & {
|
|
51
51
|
clearCache: () => void;
|
|
@@ -65,7 +65,7 @@ export declare const getAllLayers: ((state: {
|
|
|
65
65
|
services?: import("../types").ServiceState;
|
|
66
66
|
layers?: LayerState;
|
|
67
67
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
68
|
-
}) => import("./types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, import("./types").ReduxLayer>) => import("./types").ReduxLayer[] & {
|
|
68
|
+
}) => import("./types").ReduxLayer[]) & import("reselect").OutputSelectorFields<((args_0: string[], args_1: Record<string, import("./types").ReduxLayer>) => import("./types").ReduxLayer[]) & {
|
|
69
69
|
clearCache: () => void;
|
|
70
70
|
}> & {
|
|
71
71
|
clearCache: () => void;
|
|
@@ -85,7 +85,7 @@ export declare const getLayers: ((state: {
|
|
|
85
85
|
services?: import("../types").ServiceState;
|
|
86
86
|
layers?: LayerState;
|
|
87
87
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
88
|
-
}) => import("./types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").ReduxLayer[]) => import("./types").ReduxLayer[] & {
|
|
88
|
+
}) => import("./types").ReduxLayer[]) & import("reselect").OutputSelectorFields<((args_0: import("./types").ReduxLayer[]) => import("./types").ReduxLayer[]) & {
|
|
89
89
|
clearCache: () => void;
|
|
90
90
|
}> & {
|
|
91
91
|
clearCache: () => void;
|
|
@@ -105,7 +105,7 @@ export declare const getBaseLayers: ((state: {
|
|
|
105
105
|
services?: import("../types").ServiceState;
|
|
106
106
|
layers?: LayerState;
|
|
107
107
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
108
|
-
}) => import("./types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").ReduxLayer[]) => import("./types").ReduxLayer[] & {
|
|
108
|
+
}) => import("./types").ReduxLayer[]) & import("reselect").OutputSelectorFields<((args_0: import("./types").ReduxLayer[]) => import("./types").ReduxLayer[]) & {
|
|
109
109
|
clearCache: () => void;
|
|
110
110
|
}> & {
|
|
111
111
|
clearCache: () => void;
|
|
@@ -125,7 +125,7 @@ export declare const getOverLayers: ((state: {
|
|
|
125
125
|
services?: import("../types").ServiceState;
|
|
126
126
|
layers?: LayerState;
|
|
127
127
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
128
|
-
}) => import("./types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").ReduxLayer[]) => import("./types").ReduxLayer[] & {
|
|
128
|
+
}) => import("./types").ReduxLayer[]) & import("reselect").OutputSelectorFields<((args_0: import("./types").ReduxLayer[]) => import("./types").ReduxLayer[]) & {
|
|
129
129
|
clearCache: () => void;
|
|
130
130
|
}> & {
|
|
131
131
|
clearCache: () => void;
|
|
@@ -146,7 +146,7 @@ export declare const getLayerDimensions: ((state: {
|
|
|
146
146
|
services?: import("../types").ServiceState;
|
|
147
147
|
layers?: LayerState;
|
|
148
148
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
149
|
-
}, params_0: string) => import("../types").Dimension[]) & import("reselect").OutputSelectorFields<(args_0: Layer) => import("../types").Dimension[] & {
|
|
149
|
+
}, params_0: string) => import("../types").Dimension[]) & import("reselect").OutputSelectorFields<((args_0: Layer) => import("../types").Dimension[]) & {
|
|
150
150
|
clearCache: () => void;
|
|
151
151
|
}> & {
|
|
152
152
|
clearCache: () => void;
|
|
@@ -167,7 +167,7 @@ export declare const getLayerNonTimeDimensions: ((state: {
|
|
|
167
167
|
services?: import("../types").ServiceState;
|
|
168
168
|
layers?: LayerState;
|
|
169
169
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
170
|
-
}, params_0: string) => import("../types").Dimension[]) & import("reselect").OutputSelectorFields<(args_0: import("../types").Dimension[]) => import("../types").Dimension[] & {
|
|
170
|
+
}, params_0: string) => import("../types").Dimension[]) & import("reselect").OutputSelectorFields<((args_0: import("../types").Dimension[]) => import("../types").Dimension[]) & {
|
|
171
171
|
clearCache: () => void;
|
|
172
172
|
}> & {
|
|
173
173
|
clearCache: () => void;
|
|
@@ -178,7 +178,7 @@ export declare const getLayerNonTimeDimensions: ((state: {
|
|
|
178
178
|
* Example: timeDimension = getLayerTimeDimension(store, 'layerId_1')
|
|
179
179
|
* @param {object} store store: object - object from which the layers state will be extracted
|
|
180
180
|
* @param {string} layerId layerId: string - Id of the layer
|
|
181
|
-
* @returns {
|
|
181
|
+
* @returns {object} returnType: object - object of layer time dimension
|
|
182
182
|
*/
|
|
183
183
|
export declare const getLayerTimeDimension: ((state: {
|
|
184
184
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -188,7 +188,7 @@ export declare const getLayerTimeDimension: ((state: {
|
|
|
188
188
|
services?: import("../types").ServiceState;
|
|
189
189
|
layers?: LayerState;
|
|
190
190
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
191
|
-
}, params_0: string) =>
|
|
191
|
+
}, params_0: string) => {}) & import("reselect").OutputSelectorFields<((args_0: import("../types").Dimension[]) => {}) & {
|
|
192
192
|
clearCache: () => void;
|
|
193
193
|
}> & {
|
|
194
194
|
clearCache: () => void;
|
|
@@ -210,7 +210,7 @@ export declare const getLayerDimension: ((state: {
|
|
|
210
210
|
services?: import("../types").ServiceState;
|
|
211
211
|
layers?: LayerState;
|
|
212
212
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
213
|
-
}, params_0: string, params_1: string) => Dimension) & import("reselect").OutputSelectorFields<(args_0: import("../types").Dimension[], args_1: string) => Dimension & {
|
|
213
|
+
}, params_0: string, params_1: string) => Dimension) & import("reselect").OutputSelectorFields<((args_0: import("../types").Dimension[], args_1: string) => Dimension) & {
|
|
214
214
|
clearCache: () => void;
|
|
215
215
|
}> & {
|
|
216
216
|
clearCache: () => void;
|
|
@@ -349,4 +349,16 @@ export declare const getLayerStatus: ((state: {
|
|
|
349
349
|
* @param {string} mapId mapId: string - Id of the map we want to retrieve the available baselayers for
|
|
350
350
|
* @returns {array} returnType: array - array containing all available base layers
|
|
351
351
|
*/
|
|
352
|
-
export declare const getAvailableBaseLayersForMap: (
|
|
352
|
+
export declare const getAvailableBaseLayersForMap: ((state: {
|
|
353
|
+
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
354
|
+
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
355
|
+
ui?: import("../../ui/types").UIStoreType;
|
|
356
|
+
webmap?: import("../types").WebMapState;
|
|
357
|
+
services?: import("../types").ServiceState;
|
|
358
|
+
layers?: LayerState;
|
|
359
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
360
|
+
}, params_0: string) => Layer[]) & import("reselect").OutputSelectorFields<((args_0: LayerState, args_1: string) => Layer[]) & {
|
|
361
|
+
clearCache: () => void;
|
|
362
|
+
}> & {
|
|
363
|
+
clearCache: () => void;
|
|
364
|
+
};
|
|
@@ -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";
|