@opengeoweb/store 6.0.1 → 6.0.2
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.d.ts +1 -0
- package/{index.js → index.esm.js} +219 -82
- package/package.json +4 -5
- package/src/store/app/reducer.d.ts +1 -1
- package/src/store/coreModuleConfig.d.ts +1 -1
- package/src/store/drawings/config.d.ts +4 -0
- package/src/store/drawings/index.d.ts +4 -0
- package/src/store/drawings/reducer.d.ts +9 -0
- package/src/store/drawings/reducer.spec.d.ts +1 -0
- package/src/store/drawings/selectors.d.ts +3 -0
- package/src/store/drawings/selectors.spec.d.ts +1 -0
- package/src/store/drawings/testUtils.d.ts +1 -0
- package/src/store/drawings/types.d.ts +12 -0
- package/src/store/generic/selectors.d.ts +3 -13
- package/src/store/generic/synchronizationActions/actions.d.ts +1 -1
- package/src/store/generic/synchronizationActions/types.d.ts +1 -1
- package/src/store/generic/synchronizationGroups/selector.d.ts +2 -8
- package/src/store/generic/synchronizationGroups/selectors.d.ts +5 -40
- package/src/store/generic/synchronizationGroups/types.d.ts +3 -3
- package/src/store/generic/types.d.ts +3 -3
- package/src/store/index.d.ts +1 -0
- package/src/store/layerSelect/reducer.d.ts +1 -1
- package/src/store/layerSelect/selectors.d.ts +6 -48
- package/src/store/layerSelect/types.d.ts +5 -5
- package/src/store/mapStore/layers/reducer.d.ts +1 -1
- package/src/store/mapStore/layers/selectors.d.ts +24 -185
- package/src/store/mapStore/map/filterLayers.d.ts +1 -1
- package/src/store/mapStore/map/selectors.d.ts +49 -392
- package/src/store/mapStore/map/types.d.ts +3 -3
- package/src/store/mapStore/map/utils.d.ts +2 -2
- package/src/store/mapStore/service/reducer.d.ts +1 -1
- package/src/store/mapStore/service/selectors.d.ts +7 -48
- package/src/store/mapStore/service/types.d.ts +2 -2
- package/src/store/mapStore/storeTestUtils.d.ts +2 -2
- package/src/store/router/reducer.d.ts +1 -1
- package/src/store/router/types.d.ts +1 -1
- package/src/store/snackbar/reducer.d.ts +1 -1
- package/src/store/snackbar/selectors.d.ts +1 -3
- package/src/store/snackbar/types.d.ts +1 -1
- package/src/store/types.d.ts +2 -1
- package/src/store/ui/selectors.d.ts +7 -68
- package/src/store/ui/types.d.ts +4 -4
|
@@ -46,7 +46,7 @@ export interface WebMap {
|
|
|
46
46
|
legendId?: string;
|
|
47
47
|
dockedLayerManagerSize?: DockedLayerManagerSize;
|
|
48
48
|
}
|
|
49
|
-
export
|
|
49
|
+
export type DockedLayerManagerSize = 'sizeSmall' | 'sizeMedium' | 'sizeLarge' | '';
|
|
50
50
|
export interface WebMapState {
|
|
51
51
|
byId: Record<string, WebMap>;
|
|
52
52
|
allIds: string[];
|
|
@@ -71,7 +71,7 @@ export declare enum AnimationLength {
|
|
|
71
71
|
Hours12 = 720,
|
|
72
72
|
Hours24 = 1440
|
|
73
73
|
}
|
|
74
|
-
export
|
|
74
|
+
export type SpeedFactorType = 0.1 | 0.2 | 0.5 | 1 | 2 | 4 | 8 | 16;
|
|
75
75
|
export interface AnimationPayloadType {
|
|
76
76
|
duration?: number;
|
|
77
77
|
interval?: number;
|
|
@@ -126,7 +126,7 @@ export interface UpdateAllMapDimensionsPayload {
|
|
|
126
126
|
mapId: string;
|
|
127
127
|
dimensions: Dimension[];
|
|
128
128
|
}
|
|
129
|
-
export
|
|
129
|
+
export type TimeListType = {
|
|
130
130
|
name: string;
|
|
131
131
|
value: string;
|
|
132
132
|
};
|
|
@@ -58,7 +58,7 @@ export declare const produceDraftStateSetWebMapDimension: (draft: WebMapState, m
|
|
|
58
58
|
* @param draft The WebMapState containing the state of all maps.
|
|
59
59
|
* @param layerId The layer Id to find in the maps
|
|
60
60
|
*/
|
|
61
|
-
export declare const findMapIdFromLayerId: (draft?: WebMapState
|
|
61
|
+
export declare const findMapIdFromLayerId: (draft?: WebMapState, layerId?: string) => string;
|
|
62
62
|
export declare const produceDraftStateSetMapDimensionFromLayerChangeDimension: (draft: WebMapState, layerId: string, dimension: Dimension) => void;
|
|
63
63
|
/**
|
|
64
64
|
* Returns array with new order of swapped elements
|
|
@@ -74,7 +74,7 @@ export declare const getSpeedFactor: (speedDelay: number) => SpeedFactorType;
|
|
|
74
74
|
* Returns speed delay for given speedFactor. For options, see defined above in "speedFactors"
|
|
75
75
|
*/
|
|
76
76
|
export declare const getSpeedDelay: (speedFactor: SpeedFactorType) => number;
|
|
77
|
-
export declare const roundWithTimeStep: (unixTime: number, timeStep: number, type?: string
|
|
77
|
+
export declare const roundWithTimeStep: (unixTime: number, timeStep: number, type?: string) => number;
|
|
78
78
|
/**
|
|
79
79
|
* In this Map collection all fundamental scales
|
|
80
80
|
* (Scale.Minutes5 ... Scale.Year) are mapped with their corresponding
|
|
@@ -8,4 +8,4 @@ export declare const serviceActions: import("@reduxjs/toolkit").CaseReducerActio
|
|
|
8
8
|
mapStoreRemoveService: (draft: Draft<ServiceState>, action: PayloadAction<MapStoreRemoveServicePayload>) => void;
|
|
9
9
|
fetchInitialServices: (draft: Draft<ServiceState>, action: PayloadAction<FetchInitialServicesPayload>) => void;
|
|
10
10
|
}, "serviceReducer">;
|
|
11
|
-
export
|
|
11
|
+
export type ServiceActions = ReturnType<typeof serviceActions.mapStoreRemoveService> | ReturnType<typeof serviceActions.serviceSetLayers> | ReturnType<typeof layerActions.onUpdateLayerInformation>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Style } from '@opengeoweb/webmap';
|
|
2
|
+
import type { CoreAppStore } from '../../types';
|
|
2
3
|
import { ServiceState, ReduxService } from './types';
|
|
3
4
|
/**
|
|
4
5
|
* Retrieves all serviceIds
|
|
@@ -7,14 +8,7 @@ import { ServiceState, ReduxService } from './types';
|
|
|
7
8
|
* @param {object} store store: object - object from which the service state will be extracted
|
|
8
9
|
* @returns {array} returnType: array - an array of all serviceIds
|
|
9
10
|
*/
|
|
10
|
-
export declare const getServiceIds: ((state: {
|
|
11
|
-
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
12
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
13
|
-
webmap?: import("../types").WebMapState | undefined;
|
|
14
|
-
services?: ServiceState | undefined;
|
|
15
|
-
layers?: import("../types").LayerState | undefined;
|
|
16
|
-
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
|
|
17
|
-
}) => string[]) & import("reselect").OutputSelectorFields<(args_0: ServiceState) => string[], {
|
|
11
|
+
export declare const getServiceIds: ((state: CoreAppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: ServiceState) => string[], {
|
|
18
12
|
clearCache: () => void;
|
|
19
13
|
}> & {
|
|
20
14
|
clearCache: () => void;
|
|
@@ -26,14 +20,7 @@ export declare const getServiceIds: ((state: {
|
|
|
26
20
|
* @param {object} store store: object - Store object
|
|
27
21
|
* @returns {object} returnType: ServiceState
|
|
28
22
|
*/
|
|
29
|
-
export declare const getServices: ((state: {
|
|
30
|
-
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
31
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
32
|
-
webmap?: import("../types").WebMapState | undefined;
|
|
33
|
-
services?: ServiceState | undefined;
|
|
34
|
-
layers?: import("../types").LayerState | undefined;
|
|
35
|
-
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
|
|
36
|
-
}) => import("./types").Services) & import("reselect").OutputSelectorFields<(args_0: ServiceState) => import("./types").Services, {
|
|
23
|
+
export declare const getServices: ((state: CoreAppStore) => import("./types").Services) & import("reselect").OutputSelectorFields<(args_0: ServiceState) => import("./types").Services, {
|
|
37
24
|
clearCache: () => void;
|
|
38
25
|
}> & {
|
|
39
26
|
clearCache: () => void;
|
|
@@ -45,14 +32,7 @@ export declare const getServices: ((state: {
|
|
|
45
32
|
* @param {object} store store: object - Store object
|
|
46
33
|
* @returns {ReduxService} returnType: Service
|
|
47
34
|
*/
|
|
48
|
-
export declare const getServiceByName: ((state: {
|
|
49
|
-
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
50
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
51
|
-
webmap?: import("../types").WebMapState | undefined;
|
|
52
|
-
services?: ServiceState | undefined;
|
|
53
|
-
layers?: import("../types").LayerState | undefined;
|
|
54
|
-
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
|
|
55
|
-
}, params_0: string) => ReduxService) & import("reselect").OutputSelectorFields<(args_0: ServiceState, args_1: string) => ReduxService, {
|
|
35
|
+
export declare const getServiceByName: ((state: CoreAppStore, serviceUrl: string) => ReduxService) & import("reselect").OutputSelectorFields<(args_0: ServiceState, args_1: string) => ReduxService, {
|
|
56
36
|
clearCache: () => void;
|
|
57
37
|
}> & {
|
|
58
38
|
clearCache: () => void;
|
|
@@ -65,14 +45,7 @@ export declare const getServiceByName: ((state: {
|
|
|
65
45
|
* @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
|
|
66
46
|
* @returns {array} returnType: ServiceLayer[] - All layers within the service object.
|
|
67
47
|
*/
|
|
68
|
-
export declare const getLayersFromServiceSelector: ((state: {
|
|
69
|
-
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
70
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
71
|
-
webmap?: import("../types").WebMapState | undefined;
|
|
72
|
-
services?: ServiceState | undefined;
|
|
73
|
-
layers?: import("../types").LayerState | undefined;
|
|
74
|
-
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
|
|
75
|
-
}, params_0: string) => import("@opengeoweb/webmap").LayerProps[]) & import("reselect").OutputSelectorFields<(args_0: ReduxService) => import("@opengeoweb/webmap").LayerProps[], {
|
|
48
|
+
export declare const getLayersFromServiceSelector: ((state: CoreAppStore, serviceUrl: string) => import("@opengeoweb/webmap").LayerProps[]) & import("reselect").OutputSelectorFields<(args_0: ReduxService) => import("@opengeoweb/webmap").LayerProps[], {
|
|
76
49
|
clearCache: () => void;
|
|
77
50
|
}> & {
|
|
78
51
|
clearCache: () => void;
|
|
@@ -86,14 +59,7 @@ export declare const getLayersFromServiceSelector: ((state: {
|
|
|
86
59
|
* @param {string} layerName layerName: string - Name of the layer in the service
|
|
87
60
|
* @returns {ServiceLayer} returnType: ServiceLayer - The layer from the service object.
|
|
88
61
|
*/
|
|
89
|
-
export declare const getLayerFromService: ((state: {
|
|
90
|
-
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
91
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
92
|
-
webmap?: import("../types").WebMapState | undefined;
|
|
93
|
-
services?: ServiceState | undefined;
|
|
94
|
-
layers?: import("../types").LayerState | undefined;
|
|
95
|
-
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
|
|
96
|
-
}, params_0: string, params_1: string) => import("@opengeoweb/webmap").LayerProps) & import("reselect").OutputSelectorFields<(args_0: import("@opengeoweb/webmap").LayerProps[], args_1: string, args_2: string) => import("@opengeoweb/webmap").LayerProps, {
|
|
62
|
+
export declare const getLayerFromService: ((state: CoreAppStore, serviceUrl: string, layerName: string) => import("@opengeoweb/webmap").LayerProps) & import("reselect").OutputSelectorFields<(args_0: import("@opengeoweb/webmap").LayerProps[], args_1: string, args_2: string) => import("@opengeoweb/webmap").LayerProps, {
|
|
97
63
|
clearCache: () => void;
|
|
98
64
|
}> & {
|
|
99
65
|
clearCache: () => void;
|
|
@@ -107,14 +73,7 @@ export declare const getLayerFromService: ((state: {
|
|
|
107
73
|
* @param {string} layerName layerName: string - Name of the layer in the service
|
|
108
74
|
* @returns {array} returnType: Style[] - array containing layer styles
|
|
109
75
|
*/
|
|
110
|
-
export declare const getLayerStyles: ((state: {
|
|
111
|
-
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
112
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
113
|
-
webmap?: import("../types").WebMapState | undefined;
|
|
114
|
-
services?: ServiceState | undefined;
|
|
115
|
-
layers?: import("../types").LayerState | undefined;
|
|
116
|
-
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
|
|
117
|
-
}, params_0: string, params_1: string) => Style[]) & import("reselect").OutputSelectorFields<(args_0: import("@opengeoweb/webmap").LayerProps) => Style[], {
|
|
76
|
+
export declare const getLayerStyles: ((state: CoreAppStore, serviceUrl: string, layerName: string) => Style[]) & import("reselect").OutputSelectorFields<(args_0: import("@opengeoweb/webmap").LayerProps) => Style[], {
|
|
118
77
|
clearCache: () => void;
|
|
119
78
|
}> & {
|
|
120
79
|
clearCache: () => void;
|
|
@@ -9,7 +9,7 @@ export interface InitialService {
|
|
|
9
9
|
export interface Services {
|
|
10
10
|
[key: string]: ReduxService;
|
|
11
11
|
}
|
|
12
|
-
export
|
|
12
|
+
export type ServiceScope = 'user' | 'system';
|
|
13
13
|
export interface ReduxService {
|
|
14
14
|
name?: string;
|
|
15
15
|
serviceUrl?: string;
|
|
@@ -20,7 +20,7 @@ export interface ReduxService {
|
|
|
20
20
|
/**
|
|
21
21
|
* Used in the services object of webmap to keep a list of available layers in the service
|
|
22
22
|
*/
|
|
23
|
-
export
|
|
23
|
+
export type ServiceLayer = LayerProps;
|
|
24
24
|
export interface ServiceState {
|
|
25
25
|
byId: Services;
|
|
26
26
|
allIds: string[];
|
|
@@ -4,7 +4,7 @@ import { mapTypes } from './map';
|
|
|
4
4
|
export declare const createLayersState: (layerId: string, props?: {}) => layerTypes.LayerState;
|
|
5
5
|
export declare const createMultipleLayersState: (layers: layerTypes.Layer[], mapId: string) => layerTypes.LayerState;
|
|
6
6
|
export declare const createWebmapState: (...mapIds: string[]) => mapTypes.WebMapState;
|
|
7
|
-
export declare const createMapDimensionsState: (dimensions?: mapTypes.Dimension[]
|
|
8
|
-
export declare const webmapStateWithAddedLayer: (layerType: layerTypes.LayerType, layerId: string, mapId: string, dimensions?: mapTypes.Dimension[]
|
|
7
|
+
export declare const createMapDimensionsState: (dimensions?: mapTypes.Dimension[], ...mapIds: string[]) => mapTypes.WebMapState;
|
|
8
|
+
export declare const webmapStateWithAddedLayer: (layerType: layerTypes.LayerType, layerId: string, mapId: string, dimensions?: mapTypes.Dimension[]) => mapTypes.WebMapState;
|
|
9
9
|
export declare const mockStateMapWithLayer: (layer: layerTypes.Layer, mapId: string) => CoreAppStore;
|
|
10
10
|
export declare const mockStateMapWithMultipleLayers: (layers: layerTypes.Layer[], mapId: string) => CoreAppStore;
|
|
@@ -6,4 +6,4 @@ export declare const reducer: import("redux").Reducer<{}, import("redux").AnyAct
|
|
|
6
6
|
export declare const routerActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
7
7
|
navigateToUrl: (draft: Draft<unknown>, action: PayloadAction<NavigateToUrlPayload>) => void;
|
|
8
8
|
}, "router">;
|
|
9
|
-
export
|
|
9
|
+
export type RouterActions = ReturnType<typeof routerActions.navigateToUrl>;
|
|
@@ -8,4 +8,4 @@ export declare const snackbarActions: import("@reduxjs/toolkit").CaseReducerActi
|
|
|
8
8
|
triggerOpenSnackbarBySaga: (draft: Draft<SnackbarState>, action: PayloadAction<TriggerOpenSnackbarBySagaPayload>) => void;
|
|
9
9
|
closeSnackbar: (draft: Draft<SnackbarState>) => void;
|
|
10
10
|
}, "snackbar">;
|
|
11
|
-
export
|
|
11
|
+
export type SnackbarActions = ReturnType<typeof snackbarActions.openSnackbar> | ReturnType<typeof snackbarActions.triggerOpenSnackbarBySaga> | ReturnType<typeof snackbarActions.closeSnackbar>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { SnackbarModuleStore, SnackbarState } from './types';
|
|
2
2
|
export declare const getSnackbarStore: (store: SnackbarModuleStore) => SnackbarState;
|
|
3
3
|
export declare const getCurrentSnackbarMessages: (state: SnackbarModuleStore) => import("./types").SnackbarItem[];
|
|
4
|
-
export declare const getFirstSnackbarMessage: ((state: {
|
|
5
|
-
snackbar?: SnackbarState | undefined;
|
|
6
|
-
}) => import("./types").SnackbarItem | undefined) & import("reselect").OutputSelectorFields<(args_0: import("./types").SnackbarItem[]) => import("./types").SnackbarItem | undefined, {
|
|
4
|
+
export declare const getFirstSnackbarMessage: ((state: SnackbarModuleStore) => import("./types").SnackbarItem | undefined) & import("reselect").OutputSelectorFields<(args_0: import("./types").SnackbarItem[]) => import("./types").SnackbarItem | undefined, {
|
|
7
5
|
clearCache: () => void;
|
|
8
6
|
}> & {
|
|
9
7
|
clearCache: () => void;
|
package/src/store/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { WebMapStateModuleState } from './mapStore/types';
|
|
2
2
|
import type { SynchronizationGroupModuleState } from './generic/synchronizationGroups/types';
|
|
3
3
|
import type { uiTypes, layerSelectTypes } from '.';
|
|
4
|
-
|
|
4
|
+
import { DrawModuleStore } from './drawings/types';
|
|
5
|
+
export interface CoreAppStore extends SynchronizationGroupModuleState, uiTypes.UIModuleState, WebMapStateModuleState, layerSelectTypes.LayerSelectModuleState, DrawModuleStore {
|
|
5
6
|
}
|
|
@@ -17,14 +17,7 @@ export declare const getDialogDetailsByType: (store: CoreAppStore, dialogType: s
|
|
|
17
17
|
* @param {string} dialogType type of the dialog
|
|
18
18
|
* @returns {boolean} returnType: boolean
|
|
19
19
|
*/
|
|
20
|
-
export declare const getisDialogOpen: ((state: {
|
|
21
|
-
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
22
|
-
ui?: UIStoreType | undefined;
|
|
23
|
-
webmap?: import("../mapStore/types").WebMapState | undefined;
|
|
24
|
-
services?: import("../mapStore/types").ServiceState | undefined;
|
|
25
|
-
layers?: import("../mapStore/types").LayerState | undefined;
|
|
26
|
-
layerSelect?: import("../layerSelect/types").LayerSelectStoreType | undefined;
|
|
27
|
-
}, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIType) => boolean, {
|
|
20
|
+
export declare const getisDialogOpen: ((state: CoreAppStore, dialogType: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIType) => boolean, {
|
|
28
21
|
clearCache: () => void;
|
|
29
22
|
}> & {
|
|
30
23
|
clearCache: () => void;
|
|
@@ -36,14 +29,7 @@ export declare const getisDialogOpen: ((state: {
|
|
|
36
29
|
* @param {string} dialogType type of the dialog
|
|
37
30
|
* @returns {string} returnType: string - the active map id
|
|
38
31
|
*/
|
|
39
|
-
export declare const getDialogMapId: ((state: {
|
|
40
|
-
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
41
|
-
ui?: UIStoreType | undefined;
|
|
42
|
-
webmap?: import("../mapStore/types").WebMapState | undefined;
|
|
43
|
-
services?: import("../mapStore/types").ServiceState | undefined;
|
|
44
|
-
layers?: import("../mapStore/types").LayerState | undefined;
|
|
45
|
-
layerSelect?: import("../layerSelect/types").LayerSelectStoreType | undefined;
|
|
46
|
-
}, params_0: string) => string) & import("reselect").OutputSelectorFields<(args_0: UIType) => string, {
|
|
32
|
+
export declare const getDialogMapId: ((state: CoreAppStore, dialogType: string) => string) & import("reselect").OutputSelectorFields<(args_0: UIType) => string, {
|
|
47
33
|
clearCache: () => void;
|
|
48
34
|
}> & {
|
|
49
35
|
clearCache: () => void;
|
|
@@ -55,14 +41,7 @@ export declare const getDialogMapId: ((state: {
|
|
|
55
41
|
* @param {DialogType} dialogType type of the dialog
|
|
56
42
|
* @returns {number} the higher the order number the higher the zIndex
|
|
57
43
|
*/
|
|
58
|
-
export declare const getDialogOrder: ((state: {
|
|
59
|
-
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
60
|
-
ui?: UIStoreType | undefined;
|
|
61
|
-
webmap?: import("../mapStore/types").WebMapState | undefined;
|
|
62
|
-
services?: import("../mapStore/types").ServiceState | undefined;
|
|
63
|
-
layers?: import("../mapStore/types").LayerState | undefined;
|
|
64
|
-
layerSelect?: import("../layerSelect/types").LayerSelectStoreType | undefined;
|
|
65
|
-
}, params_0: string) => number) & import("reselect").OutputSelectorFields<(args_0: number) => number, {
|
|
44
|
+
export declare const getDialogOrder: ((state: CoreAppStore, dialogType: string) => number) & import("reselect").OutputSelectorFields<(args_0: number) => number, {
|
|
66
45
|
clearCache: () => void;
|
|
67
46
|
}> & {
|
|
68
47
|
clearCache: () => void;
|
|
@@ -74,26 +53,12 @@ export declare const getDialogOrder: ((state: {
|
|
|
74
53
|
* @param {DialogType} dialogType type of the dialog
|
|
75
54
|
* @returns {boolean}
|
|
76
55
|
*/
|
|
77
|
-
export declare const getDialogIsOrderedOnTop: ((state: {
|
|
78
|
-
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
79
|
-
ui?: UIStoreType | undefined;
|
|
80
|
-
webmap?: import("../mapStore/types").WebMapState | undefined;
|
|
81
|
-
services?: import("../mapStore/types").ServiceState | undefined;
|
|
82
|
-
layers?: import("../mapStore/types").LayerState | undefined;
|
|
83
|
-
layerSelect?: import("../layerSelect/types").LayerSelectStoreType | undefined;
|
|
84
|
-
}, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: boolean) => boolean, {
|
|
56
|
+
export declare const getDialogIsOrderedOnTop: ((state: CoreAppStore, dialogType: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: boolean) => boolean, {
|
|
85
57
|
clearCache: () => void;
|
|
86
58
|
}> & {
|
|
87
59
|
clearCache: () => void;
|
|
88
60
|
};
|
|
89
|
-
export declare const getDialogSource: ((state: {
|
|
90
|
-
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
91
|
-
ui?: UIStoreType | undefined;
|
|
92
|
-
webmap?: import("../mapStore/types").WebMapState | undefined;
|
|
93
|
-
services?: import("../mapStore/types").ServiceState | undefined;
|
|
94
|
-
layers?: import("../mapStore/types").LayerState | undefined;
|
|
95
|
-
layerSelect?: import("../layerSelect/types").LayerSelectStoreType | undefined;
|
|
96
|
-
}, params_0: string) => import("./types").Source) & import("reselect").OutputSelectorFields<(args_0: UIType) => import("./types").Source, {
|
|
61
|
+
export declare const getDialogSource: ((state: CoreAppStore, dialogType: string) => import("./types").Source) & import("reselect").OutputSelectorFields<(args_0: UIType) => import("./types").Source, {
|
|
97
62
|
clearCache: () => void;
|
|
98
63
|
}> & {
|
|
99
64
|
clearCache: () => void;
|
|
@@ -106,38 +71,12 @@ export declare const getDialogSource: ((state: {
|
|
|
106
71
|
* @returns {string} active window id
|
|
107
72
|
*/
|
|
108
73
|
export declare const getActiveWindowId: (store: CoreAppStore) => string;
|
|
109
|
-
export declare const getDialogIsLoading: ((state: {
|
|
110
|
-
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
111
|
-
ui?: UIStoreType | undefined;
|
|
112
|
-
webmap?: import("../mapStore/types").WebMapState | undefined;
|
|
113
|
-
services?: import("../mapStore/types").ServiceState | undefined;
|
|
114
|
-
layers?: import("../mapStore/types").LayerState | undefined;
|
|
115
|
-
layerSelect?: import("../layerSelect/types").LayerSelectStoreType | undefined;
|
|
116
|
-
}, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIType) => boolean, {
|
|
74
|
+
export declare const getDialogIsLoading: ((state: CoreAppStore, dialogType: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIType) => boolean, {
|
|
117
75
|
clearCache: () => void;
|
|
118
76
|
}> & {
|
|
119
77
|
clearCache: () => void;
|
|
120
78
|
};
|
|
121
|
-
export declare const getDialogError: ((state: {
|
|
122
|
-
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
123
|
-
ui?: UIStoreType | undefined;
|
|
124
|
-
webmap?: import("../mapStore/types").WebMapState | undefined;
|
|
125
|
-
services?: import("../mapStore/types").ServiceState | undefined;
|
|
126
|
-
layers?: import("../mapStore/types").LayerState | undefined;
|
|
127
|
-
layerSelect?: import("../layerSelect/types").LayerSelectStoreType | undefined;
|
|
128
|
-
}, params_0: string) => string) & import("reselect").OutputSelectorFields<(args_0: UIType) => string, {
|
|
129
|
-
clearCache: () => void;
|
|
130
|
-
}> & {
|
|
131
|
-
clearCache: () => void;
|
|
132
|
-
};
|
|
133
|
-
export declare const getDialogFocused: ((state: {
|
|
134
|
-
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
|
|
135
|
-
ui?: UIStoreType | undefined;
|
|
136
|
-
webmap?: import("../mapStore/types").WebMapState | undefined;
|
|
137
|
-
services?: import("../mapStore/types").ServiceState | undefined;
|
|
138
|
-
layers?: import("../mapStore/types").LayerState | undefined;
|
|
139
|
-
layerSelect?: import("../layerSelect/types").LayerSelectStoreType | undefined;
|
|
140
|
-
}, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIType) => boolean, {
|
|
79
|
+
export declare const getDialogError: ((state: CoreAppStore, dialogType: string) => string) & import("reselect").OutputSelectorFields<(args_0: UIType) => string, {
|
|
141
80
|
clearCache: () => void;
|
|
142
81
|
}> & {
|
|
143
82
|
clearCache: () => void;
|
package/src/store/ui/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MapActionOrigin } from '../mapStore/map/enums';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
type LegendDialogType = string;
|
|
3
|
+
type GetFeatureInfoDialogType = string;
|
|
4
4
|
export declare enum DialogTypes {
|
|
5
5
|
LayerInfo = "layerInfo",
|
|
6
6
|
SyncGroups = "syncGroups",
|
|
@@ -16,8 +16,8 @@ export declare enum DialogTypes {
|
|
|
16
16
|
DockedDrawingTool = "dockedDrawingTool",
|
|
17
17
|
AreaManager = "areaManager"
|
|
18
18
|
}
|
|
19
|
-
export
|
|
20
|
-
export
|
|
19
|
+
export type DialogType = DialogTypes | LegendDialogType | GetFeatureInfoDialogType;
|
|
20
|
+
export type Source = 'app' | 'module';
|
|
21
21
|
export interface UIType {
|
|
22
22
|
type: DialogType;
|
|
23
23
|
activeMapId: string;
|