@opengeoweb/store 5.2.1 → 6.0.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.js +36386 -2
- package/package.json +14 -2
- package/src/index.d.ts +1 -1
- package/src/store/app/config.d.ts +4 -0
- package/src/store/app/index.d.ts +2 -0
- package/src/store/app/reducer.d.ts +15 -0
- package/src/store/app/reducer.spec.d.ts +1 -0
- package/src/store/app/types.d.ts +6 -0
- package/src/store/coreModuleConfig.d.ts +1 -0
- package/src/store/generic/actions.d.ts +28 -0
- package/src/store/generic/config.d.ts +5 -0
- package/src/store/generic/index.d.ts +16 -0
- package/src/store/generic/sagas.d.ts +14 -0
- package/src/store/generic/sagas.spec.d.ts +1 -0
- package/src/store/generic/selectors.d.ts +22 -0
- package/src/store/generic/selectors.spec.d.ts +1 -0
- package/src/store/generic/synchronizationActions/actions.d.ts +11 -0
- package/src/store/generic/synchronizationActions/types.d.ts +34 -0
- package/src/store/generic/synchronizationGroups/__mocks__/mockState.d.ts +2 -0
- package/src/store/generic/synchronizationGroups/constants.d.ts +4 -0
- package/src/store/generic/synchronizationGroups/index.d.ts +6 -0
- package/src/store/generic/synchronizationGroups/reducer.d.ts +26 -0
- package/src/store/generic/synchronizationGroups/reducer.spec.d.ts +1 -0
- package/src/store/generic/synchronizationGroups/sagas.d.ts +8 -0
- package/src/store/generic/synchronizationGroups/sagas.spec.d.ts +1 -0
- package/src/store/generic/synchronizationGroups/selector.d.ts +19 -0
- package/src/store/generic/synchronizationGroups/selectors.d.ts +76 -0
- package/src/store/generic/synchronizationGroups/selectors.spec.d.ts +1 -0
- package/src/store/generic/synchronizationGroups/types.d.ts +98 -0
- package/src/store/generic/synchronizationGroups/utils.d.ts +76 -0
- package/src/store/generic/synchronizationGroups/utils.spec.d.ts +1 -0
- package/src/store/generic/types.d.ts +22 -0
- package/src/store/generic/utils.d.ts +9 -0
- package/src/store/generic/utils.spec.d.ts +1 -0
- package/src/store/getCapabilities/getCapabilities.d.ts +18 -0
- package/src/store/getCapabilities/getCapabilities.spec.d.ts +1 -0
- package/src/store/getCapabilities/index.d.ts +2 -0
- package/src/store/getCapabilities/mocks/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +1 -0
- package/src/store/getCapabilities/mocks/index.d.ts +89 -0
- package/src/store/getCapabilities/mocks/mockGetCapabilities.d.ts +88 -0
- package/src/store/index.d.ts +13 -0
- package/src/store/layerSelect/config.d.ts +5 -0
- package/src/store/layerSelect/index.d.ts +4 -0
- package/src/store/layerSelect/localStorage.d.ts +3 -0
- package/src/store/layerSelect/localStorage.spec.d.ts +1 -0
- package/src/store/layerSelect/reducer.d.ts +21 -0
- package/src/store/layerSelect/reducer.spec.d.ts +1 -0
- package/src/store/layerSelect/sagas.d.ts +10 -0
- package/src/store/layerSelect/sagas.spec.d.ts +1 -0
- package/src/store/layerSelect/selectors.d.ts +157 -0
- package/src/store/layerSelect/selectors.spec.d.ts +1 -0
- package/src/store/layerSelect/types.d.ts +95 -0
- package/src/store/layerSelect/utils.d.ts +6 -0
- package/src/store/layerSelect/utils.spec.d.ts +1 -0
- package/src/store/mapStore/config.d.ts +4 -0
- package/src/store/mapStore/index.d.ts +77 -0
- package/src/store/mapStore/layers/index.d.ts +4 -0
- package/src/store/mapStore/layers/reducer.d.ts +56 -0
- package/src/store/mapStore/layers/reducer.spec.d.ts +1 -0
- package/src/store/mapStore/layers/selectors.d.ts +443 -0
- package/src/store/mapStore/layers/selectors.spec.d.ts +1 -0
- package/src/store/mapStore/layers/types.d.ts +165 -0
- package/src/store/mapStore/layers/utils.d.ts +12 -0
- package/src/store/mapStore/layers/utils.spec.d.ts +1 -0
- package/src/store/mapStore/map/actions.d.ts +8 -0
- package/src/store/mapStore/map/constants.d.ts +6 -0
- package/src/store/mapStore/map/defaultLayers.d.ts +15 -0
- package/src/store/mapStore/map/enums.d.ts +23 -0
- package/src/store/mapStore/map/filterLayers.d.ts +10 -0
- package/src/store/mapStore/map/filterLayers.spec.d.ts +1 -0
- package/src/store/mapStore/map/index.d.ts +35 -0
- package/src/store/mapStore/map/reducer.d.ts +98 -0
- package/src/store/mapStore/map/reducer.spec.d.ts +1 -0
- package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +7 -0
- package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +1 -0
- package/src/store/mapStore/map/sagas.d.ts +24 -0
- package/src/store/mapStore/map/sagas.spec.d.ts +1 -0
- package/src/store/mapStore/map/selectors.d.ts +1002 -0
- package/src/store/mapStore/map/selectors.spec.d.ts +1 -0
- package/src/store/mapStore/map/types.d.ts +242 -0
- package/src/store/mapStore/map/utils.d.ts +94 -0
- package/src/store/mapStore/map/utils.spec.d.ts +1 -0
- package/src/store/mapStore/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
- package/src/store/mapStore/service/index.d.ts +3 -0
- package/src/store/mapStore/service/reducer.d.ts +11 -0
- package/src/store/mapStore/service/reducer.spec.d.ts +1 -0
- package/src/store/mapStore/service/sagas.d.ts +7 -0
- package/src/store/mapStore/service/sagas.spec.d.ts +1 -0
- package/src/store/mapStore/service/selectors.d.ts +121 -0
- package/src/store/mapStore/service/selectors.spec.d.ts +1 -0
- package/src/store/mapStore/service/types.d.ts +49 -0
- package/src/store/mapStore/storeTestSettings.d.ts +10 -0
- package/src/store/mapStore/storeTestUtils.d.ts +10 -0
- package/src/store/mapStore/types.d.ts +11 -0
- package/src/store/mapStore/utils/helpers.d.ts +68 -0
- package/src/store/mapStore/utils/helpers.spec.d.ts +1 -0
- package/src/store/mapStore/utils/index.d.ts +2 -0
- package/src/store/mapStore/utils/tilesettings.d.ts +334 -0
- package/src/store/router/config.d.ts +4 -0
- package/src/store/router/index.d.ts +3 -0
- package/src/store/router/reducer.d.ts +9 -0
- package/src/store/router/reducer.spec.d.ts +1 -0
- package/src/store/router/sagas.d.ts +5 -0
- package/src/store/router/sagas.spec.d.ts +1 -0
- package/src/store/router/types.d.ts +8 -0
- package/src/store/router/utils.d.ts +3 -0
- package/src/store/snackbar/config.d.ts +4 -0
- package/src/store/snackbar/index.d.ts +4 -0
- package/src/store/snackbar/reducer.d.ts +11 -0
- package/src/store/snackbar/reducer.spec.d.ts +1 -0
- package/src/store/snackbar/sagas.d.ts +5 -0
- package/src/store/snackbar/sagas.spec.d.ts +1 -0
- package/src/store/snackbar/selectors.d.ts +10 -0
- package/src/store/snackbar/selectors.spec.d.ts +1 -0
- package/src/store/snackbar/types.d.ts +15 -0
- package/src/store/types.d.ts +5 -0
- package/src/store/ui/config.d.ts +4 -0
- package/src/store/ui/index.d.ts +3 -0
- package/src/store/ui/reducer.d.ts +35 -0
- package/src/store/ui/reducer.spec.d.ts +1 -0
- package/src/store/ui/sagas.d.ts +5 -0
- package/src/store/ui/sagas.test.d.ts +1 -0
- package/src/store/ui/selectors.d.ts +144 -0
- package/src/store/ui/selectors.spec.d.ts +1 -0
- package/src/store/ui/types.d.ts +78 -0
- package/src/store/utils.d.ts +8 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { WMJSMap, WMLayer } from '@opengeoweb/webmap';
|
|
2
|
+
import type { Dimension, WMJSDimension } from '../types';
|
|
3
|
+
export declare const dateFormat = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
4
|
+
export declare const generateLayerId: () => string;
|
|
5
|
+
export declare const generateMapId: () => string;
|
|
6
|
+
export declare const generateTimesliderId: () => string;
|
|
7
|
+
/**
|
|
8
|
+
* Registers a WMJSLayer in a lookuptable with a layerId
|
|
9
|
+
* @param {WMLayer} wmLayer
|
|
10
|
+
* @param {string} layerId
|
|
11
|
+
*/
|
|
12
|
+
export declare const registerWMLayer: (wmLayer: WMLayer, layerId: string) => void;
|
|
13
|
+
/**
|
|
14
|
+
* Get the WMLayer from the lookuptable with layerId
|
|
15
|
+
* @param {string} layerId
|
|
16
|
+
*/
|
|
17
|
+
export declare const getWMLayerById: (layerId: string) => WMLayer;
|
|
18
|
+
export declare const unRegisterWMJSLayer: (layerId: string) => void;
|
|
19
|
+
export declare const unRegisterAllWMJSLayersAndMaps: () => void;
|
|
20
|
+
/**
|
|
21
|
+
* Registers a WMJSMap in a lookuptable with a wmjsMapId
|
|
22
|
+
* @param {WMJSMap} wmjsMap
|
|
23
|
+
* @param {string} wmjsMapId
|
|
24
|
+
*/
|
|
25
|
+
export declare const registerWMJSMap: (wmjsMap: WMJSMap, wmjsMapId: string) => void;
|
|
26
|
+
export declare const unRegisterWMJSMap: (wmjsMapId: string) => void;
|
|
27
|
+
/**
|
|
28
|
+
* Get the wmjsMap from the lookuptable with wmjsMapId
|
|
29
|
+
* @param {string} wmjsMapId
|
|
30
|
+
*/
|
|
31
|
+
export declare const getWMJSMapById: (wmjsMapId: string) => WMJSMap;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the WMJSDimension object for given layerId and dimension name
|
|
34
|
+
* @param layerId The layerId
|
|
35
|
+
* @param dimensionName The dimension to lookup
|
|
36
|
+
*/
|
|
37
|
+
export declare const getWMJSDimensionForLayerAndDimension: (layerId: string, dimensionName: string | undefined) => WMJSDimension | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the list of dimensions without the time dimension
|
|
40
|
+
* @param dimensions Dimension[]
|
|
41
|
+
*/
|
|
42
|
+
export declare const filterNonTimeDimensions: (dimensions: Dimension[]) => Dimension[];
|
|
43
|
+
/**
|
|
44
|
+
* Gets the WMJSTimeDimension for given activeLayerId and dimensions list
|
|
45
|
+
* @param layerId: The layer id to search the WMJSDimension for
|
|
46
|
+
* @return: The WMJSDimension if found, otherwise null
|
|
47
|
+
*/
|
|
48
|
+
export declare const getWMJSTimeDimensionForLayerId: (layerId: string) => WMJSDimension;
|
|
49
|
+
/**
|
|
50
|
+
* Get the previous step for this layerid
|
|
51
|
+
* @param layerId The layerId to get the previous timestep for
|
|
52
|
+
*/
|
|
53
|
+
export declare const getPreviousTimeStepForLayerId: (layerId: string) => string;
|
|
54
|
+
/**
|
|
55
|
+
* Get the next step for this layerid
|
|
56
|
+
* @param layerId The layerId to get the next timestep for
|
|
57
|
+
*/
|
|
58
|
+
export declare const getNextTimeStepForLayerId: (layerId: string) => string;
|
|
59
|
+
/**
|
|
60
|
+
* Get the first time step for this layerid
|
|
61
|
+
* @param layerId The layerId to get the first timestep for
|
|
62
|
+
*/
|
|
63
|
+
export declare const getFirstTimeStepForLayerId: (layerId: string) => string;
|
|
64
|
+
/**
|
|
65
|
+
* Get the last time step for this layerid
|
|
66
|
+
* @param layerId The layerId to get the last timestep for
|
|
67
|
+
*/
|
|
68
|
+
export declare const getLastTimeStepForLayerId: (layerId: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
export declare const tilesettings: {
|
|
2
|
+
WorldMap_Light_Grey_Canvas: {
|
|
3
|
+
'EPSG:3857': {
|
|
4
|
+
home: string;
|
|
5
|
+
minLevel: number;
|
|
6
|
+
maxLevel: number;
|
|
7
|
+
tileServerType: string;
|
|
8
|
+
copyRight: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
OpenStreetMap_NL: {
|
|
12
|
+
'EPSG:3857': {
|
|
13
|
+
home: string;
|
|
14
|
+
minLevel: number;
|
|
15
|
+
maxLevel: number;
|
|
16
|
+
tileServerType: string;
|
|
17
|
+
copyRight: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
OpenStreets_NL: {
|
|
21
|
+
'EPSG:3857': {
|
|
22
|
+
home: string;
|
|
23
|
+
minLevel: number;
|
|
24
|
+
maxLevel: number;
|
|
25
|
+
tileServerType: string;
|
|
26
|
+
copyRight: string;
|
|
27
|
+
};
|
|
28
|
+
'EPSG:28992': {
|
|
29
|
+
home: string;
|
|
30
|
+
minLevel: number;
|
|
31
|
+
maxLevel: number;
|
|
32
|
+
tileServerType: string;
|
|
33
|
+
copyRight: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
Positron_NL: {
|
|
37
|
+
'EPSG:3857': {
|
|
38
|
+
home: string;
|
|
39
|
+
minLevel: number;
|
|
40
|
+
maxLevel: number;
|
|
41
|
+
tileServerType: string;
|
|
42
|
+
copyRight: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
Positron_NL_NoLabels: {
|
|
46
|
+
'EPSG:3857': {
|
|
47
|
+
home: string;
|
|
48
|
+
minLevel: number;
|
|
49
|
+
maxLevel: number;
|
|
50
|
+
tileServerType: string;
|
|
51
|
+
copyRight: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
Klokantech_Basic_NL: {
|
|
55
|
+
'EPSG:3857': {
|
|
56
|
+
home: string;
|
|
57
|
+
minLevel: number;
|
|
58
|
+
maxLevel: number;
|
|
59
|
+
tileServerType: string;
|
|
60
|
+
copyRight: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
Klokantech_Basic_NL_NoLabels: {
|
|
64
|
+
'EPSG:3857': {
|
|
65
|
+
home: string;
|
|
66
|
+
minLevel: number;
|
|
67
|
+
maxLevel: number;
|
|
68
|
+
tileServerType: string;
|
|
69
|
+
copyRight: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
OSM_Blossom_NL: {
|
|
73
|
+
'EPSG:3857': {
|
|
74
|
+
home: string;
|
|
75
|
+
minLevel: number;
|
|
76
|
+
maxLevel: number;
|
|
77
|
+
tileServerType: string;
|
|
78
|
+
copyRight: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
WorldMap: {
|
|
82
|
+
'EPSG:3857': {
|
|
83
|
+
home: string;
|
|
84
|
+
minLevel: number;
|
|
85
|
+
maxLevel: number;
|
|
86
|
+
tileServerType: string;
|
|
87
|
+
copyRight: string;
|
|
88
|
+
};
|
|
89
|
+
'TODO__EPSG:4326': {
|
|
90
|
+
home: string;
|
|
91
|
+
minLevel: number;
|
|
92
|
+
maxLevel: number;
|
|
93
|
+
origX: number;
|
|
94
|
+
origY: number;
|
|
95
|
+
resolution: number;
|
|
96
|
+
tileServerType: string;
|
|
97
|
+
copyRight: string;
|
|
98
|
+
};
|
|
99
|
+
'EPSG:3411': {
|
|
100
|
+
home: string;
|
|
101
|
+
minLevel: number;
|
|
102
|
+
maxLevel: number;
|
|
103
|
+
tileServerType: string;
|
|
104
|
+
copyRight: string;
|
|
105
|
+
};
|
|
106
|
+
'EPSG:28992': {
|
|
107
|
+
home: string;
|
|
108
|
+
minLevel: number;
|
|
109
|
+
maxLevel: number;
|
|
110
|
+
tileServerType: string;
|
|
111
|
+
copyRight: string;
|
|
112
|
+
};
|
|
113
|
+
'EPSG:3412': {
|
|
114
|
+
home: string;
|
|
115
|
+
minLevel: number;
|
|
116
|
+
maxLevel: number;
|
|
117
|
+
tileServerType: string;
|
|
118
|
+
copyRight: string;
|
|
119
|
+
};
|
|
120
|
+
'EPSG:32661': {
|
|
121
|
+
home: string;
|
|
122
|
+
minLevel: number;
|
|
123
|
+
maxLevel: number;
|
|
124
|
+
tileServerType: string;
|
|
125
|
+
copyRight: string;
|
|
126
|
+
};
|
|
127
|
+
'EPSG:54030': {
|
|
128
|
+
home: string;
|
|
129
|
+
minLevel: number;
|
|
130
|
+
maxLevel: number;
|
|
131
|
+
tileServerType: string;
|
|
132
|
+
copyRight: string;
|
|
133
|
+
};
|
|
134
|
+
'EPSG:3575': {
|
|
135
|
+
home: string;
|
|
136
|
+
minLevel: number;
|
|
137
|
+
maxLevel: number;
|
|
138
|
+
tileServerType: string;
|
|
139
|
+
copyRight: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
OSM_Antarctica: {
|
|
143
|
+
'EPSG:3412': {
|
|
144
|
+
home: string;
|
|
145
|
+
minLevel: number;
|
|
146
|
+
maxLevel: number;
|
|
147
|
+
origX: number;
|
|
148
|
+
origY: number;
|
|
149
|
+
resolution: number;
|
|
150
|
+
tileServerType: string;
|
|
151
|
+
copyRight: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
arcGisCanvas: {
|
|
155
|
+
title: string;
|
|
156
|
+
'EPSG:3857': {
|
|
157
|
+
home: string;
|
|
158
|
+
minLevel: number;
|
|
159
|
+
maxLevel: number;
|
|
160
|
+
tileServerType: string;
|
|
161
|
+
copyRight: string;
|
|
162
|
+
};
|
|
163
|
+
'EPSG:28992': {
|
|
164
|
+
home: string;
|
|
165
|
+
minLevel: number;
|
|
166
|
+
maxLevel: number;
|
|
167
|
+
origX: number;
|
|
168
|
+
origY: number;
|
|
169
|
+
resolution: number;
|
|
170
|
+
tileServerType: string;
|
|
171
|
+
copyRight: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
arcGisTopo: {
|
|
175
|
+
title: string;
|
|
176
|
+
'EPSG:3857': {
|
|
177
|
+
home: string;
|
|
178
|
+
minLevel: number;
|
|
179
|
+
maxLevel: number;
|
|
180
|
+
tileServerType: string;
|
|
181
|
+
copyRight: string;
|
|
182
|
+
};
|
|
183
|
+
'EPSG:28992': {
|
|
184
|
+
home: string;
|
|
185
|
+
minLevel: number;
|
|
186
|
+
maxLevel: number;
|
|
187
|
+
origX: number;
|
|
188
|
+
origY: number;
|
|
189
|
+
resolution: number;
|
|
190
|
+
tileServerType: string;
|
|
191
|
+
copyRight: string;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
arcGisOceanBaseMap: {
|
|
195
|
+
'EPSG:3857': {
|
|
196
|
+
title: string;
|
|
197
|
+
home: string;
|
|
198
|
+
minLevel: number;
|
|
199
|
+
maxLevel: number;
|
|
200
|
+
tileServerType: string;
|
|
201
|
+
copyRight: string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
arcGisSat: {
|
|
205
|
+
title: string;
|
|
206
|
+
'EPSG:4326': {
|
|
207
|
+
home: string;
|
|
208
|
+
minLevel: number;
|
|
209
|
+
maxLevel: number;
|
|
210
|
+
tileServerType: string;
|
|
211
|
+
origX: number;
|
|
212
|
+
origY: number;
|
|
213
|
+
resolution: number;
|
|
214
|
+
tileSize: number;
|
|
215
|
+
copyRight: string;
|
|
216
|
+
};
|
|
217
|
+
'EPSG:3857': {
|
|
218
|
+
home: string;
|
|
219
|
+
minLevel: number;
|
|
220
|
+
maxLevel: number;
|
|
221
|
+
tileServerType: string;
|
|
222
|
+
copyRight: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
OpenStreetMap_Service: {
|
|
226
|
+
title: string;
|
|
227
|
+
'EPSG:3857': {
|
|
228
|
+
home: string;
|
|
229
|
+
minLevel: number;
|
|
230
|
+
maxLevel: number;
|
|
231
|
+
tileServerType: string;
|
|
232
|
+
copyRight: string;
|
|
233
|
+
};
|
|
234
|
+
'EPSG:28992': {
|
|
235
|
+
home: string;
|
|
236
|
+
minLevel: number;
|
|
237
|
+
maxLevel: number;
|
|
238
|
+
origX: number;
|
|
239
|
+
origY: number;
|
|
240
|
+
resolution: number;
|
|
241
|
+
tileServerType: string;
|
|
242
|
+
copyRight: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
NaturalEarth2: {
|
|
246
|
+
'EPSG:3411': {
|
|
247
|
+
home: string;
|
|
248
|
+
minLevel: number;
|
|
249
|
+
maxLevel: number;
|
|
250
|
+
origX: number;
|
|
251
|
+
origY: number;
|
|
252
|
+
resolution: number;
|
|
253
|
+
tileServerType: string;
|
|
254
|
+
copyRight: string;
|
|
255
|
+
};
|
|
256
|
+
'EPSG:3412': {
|
|
257
|
+
home: string;
|
|
258
|
+
minLevel: number;
|
|
259
|
+
maxLevel: number;
|
|
260
|
+
origX: number;
|
|
261
|
+
origY: number;
|
|
262
|
+
resolution: number;
|
|
263
|
+
tileServerType: string;
|
|
264
|
+
copyRight: string;
|
|
265
|
+
};
|
|
266
|
+
'EPSG:3575': {
|
|
267
|
+
home: string;
|
|
268
|
+
minLevel: number;
|
|
269
|
+
maxLevel: number;
|
|
270
|
+
origX: number;
|
|
271
|
+
origY: number;
|
|
272
|
+
resolution: number;
|
|
273
|
+
tileServerType: string;
|
|
274
|
+
copyRight: string;
|
|
275
|
+
};
|
|
276
|
+
'EPSG:3857': {
|
|
277
|
+
home: string;
|
|
278
|
+
minLevel: number;
|
|
279
|
+
maxLevel: number;
|
|
280
|
+
tileServerType: string;
|
|
281
|
+
copyRight: string;
|
|
282
|
+
};
|
|
283
|
+
'EPSG:4258': {
|
|
284
|
+
home: string;
|
|
285
|
+
minLevel: number;
|
|
286
|
+
maxLevel: number;
|
|
287
|
+
origX: number;
|
|
288
|
+
origY: number;
|
|
289
|
+
resolution: number;
|
|
290
|
+
tileServerType: string;
|
|
291
|
+
copyRight: string;
|
|
292
|
+
};
|
|
293
|
+
'EPSG:4326': {
|
|
294
|
+
home: string;
|
|
295
|
+
minLevel: number;
|
|
296
|
+
maxLevel: number;
|
|
297
|
+
origX: number;
|
|
298
|
+
origY: number;
|
|
299
|
+
resolution: number;
|
|
300
|
+
tileServerType: string;
|
|
301
|
+
copyRight: string;
|
|
302
|
+
};
|
|
303
|
+
'EPSG:28992': {
|
|
304
|
+
home: string;
|
|
305
|
+
minLevel: number;
|
|
306
|
+
maxLevel: number;
|
|
307
|
+
origX: number;
|
|
308
|
+
origY: number;
|
|
309
|
+
resolution: number;
|
|
310
|
+
tileServerType: string;
|
|
311
|
+
copyRight: string;
|
|
312
|
+
};
|
|
313
|
+
'EPSG:32661': {
|
|
314
|
+
home: string;
|
|
315
|
+
minLevel: number;
|
|
316
|
+
maxLevel: number;
|
|
317
|
+
origX: number;
|
|
318
|
+
origY: number;
|
|
319
|
+
resolution: number;
|
|
320
|
+
tileServerType: string;
|
|
321
|
+
copyRight: string;
|
|
322
|
+
};
|
|
323
|
+
'EPSG:54030': {
|
|
324
|
+
home: string;
|
|
325
|
+
minLevel: number;
|
|
326
|
+
maxLevel: number;
|
|
327
|
+
origX: number;
|
|
328
|
+
origY: number;
|
|
329
|
+
resolution: number;
|
|
330
|
+
tileServerType: string;
|
|
331
|
+
copyRight: string;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Draft } from 'immer';
|
|
2
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
3
|
+
import { NavigateToUrlPayload } from './types';
|
|
4
|
+
export declare const initialState: {};
|
|
5
|
+
export declare const reducer: import("redux").Reducer<{}, import("redux").AnyAction>;
|
|
6
|
+
export declare const routerActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
7
|
+
navigateToUrl: (draft: Draft<unknown>, action: PayloadAction<NavigateToUrlPayload>) => void;
|
|
8
|
+
}, "router">;
|
|
9
|
+
export declare type RouterActions = ReturnType<typeof routerActions.navigateToUrl>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
+
import { OpenSnackbarPayload, SnackbarItem, SnackbarState, TriggerOpenSnackbarBySagaPayload } from './types';
|
|
3
|
+
export declare const snackbarAdapter: import("@reduxjs/toolkit").EntityAdapter<SnackbarItem>;
|
|
4
|
+
export declare const initialState: SnackbarState;
|
|
5
|
+
export declare const reducer: import("redux").Reducer<SnackbarState, import("redux").AnyAction>;
|
|
6
|
+
export declare const snackbarActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
7
|
+
openSnackbar: (draft: Draft<SnackbarState>, action: PayloadAction<OpenSnackbarPayload>) => void;
|
|
8
|
+
triggerOpenSnackbarBySaga: (draft: Draft<SnackbarState>, action: PayloadAction<TriggerOpenSnackbarBySagaPayload>) => void;
|
|
9
|
+
closeSnackbar: (draft: Draft<SnackbarState>) => void;
|
|
10
|
+
}, "snackbar">;
|
|
11
|
+
export declare type SnackbarActions = ReturnType<typeof snackbarActions.openSnackbar> | ReturnType<typeof snackbarActions.triggerOpenSnackbarBySaga> | ReturnType<typeof snackbarActions.closeSnackbar>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SnackbarModuleStore, SnackbarState } from './types';
|
|
2
|
+
export declare const getSnackbarStore: (store: SnackbarModuleStore) => SnackbarState;
|
|
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, {
|
|
7
|
+
clearCache: () => void;
|
|
8
|
+
}> & {
|
|
9
|
+
clearCache: () => void;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EntityState } from '@reduxjs/toolkit';
|
|
2
|
+
export interface SnackbarItem {
|
|
3
|
+
message: string;
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export declare type SnackbarState = EntityState<SnackbarItem>;
|
|
7
|
+
export interface SnackbarModuleStore {
|
|
8
|
+
snackbar?: SnackbarState;
|
|
9
|
+
}
|
|
10
|
+
export interface OpenSnackbarPayload {
|
|
11
|
+
message: string;
|
|
12
|
+
}
|
|
13
|
+
export interface TriggerOpenSnackbarBySagaPayload {
|
|
14
|
+
snackbarContent: SnackbarItem;
|
|
15
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WebMapStateModuleState } from './mapStore/types';
|
|
2
|
+
import type { SynchronizationGroupModuleState } from './generic/synchronizationGroups/types';
|
|
3
|
+
import type { uiTypes, layerSelectTypes } from '.';
|
|
4
|
+
export interface CoreAppStore extends SynchronizationGroupModuleState, uiTypes.UIModuleState, WebMapStateModuleState, layerSelectTypes.LayerSelectModuleState {
|
|
5
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
+
import { DialogType, SetActiveMapIdForDialogPayload, SetActiveWindowIdPayload, Source, UIOrderDialogPayload, UIRegisterDialogPayload, UISetDialogFocusedPayload, UISetErrorPayload, UIStoreType, UIToggleDialogPayload, UIToggleIsLoadingPayload, UIType, UIUnRegisterDialogPayload } from './types';
|
|
3
|
+
interface CreateUIDialogElementProps {
|
|
4
|
+
activeMapId: string;
|
|
5
|
+
type: DialogType;
|
|
6
|
+
setOpen: boolean;
|
|
7
|
+
source?: Source;
|
|
8
|
+
}
|
|
9
|
+
export declare const moveToTop: <Type>(list: Type[], element: Type) => Type[];
|
|
10
|
+
export declare const createUIDialogElement: ({ activeMapId, type, setOpen, source, }: CreateUIDialogElementProps) => UIType;
|
|
11
|
+
export declare const initialState: UIStoreType;
|
|
12
|
+
export declare const slice: import("@reduxjs/toolkit").Slice<UIStoreType, {
|
|
13
|
+
registerDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIRegisterDialogPayload>) => void;
|
|
14
|
+
unregisterDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIUnRegisterDialogPayload>) => void;
|
|
15
|
+
setActiveMapIdForDialog: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveMapIdForDialogPayload>) => void;
|
|
16
|
+
setToggleOpenDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleDialogPayload>) => void;
|
|
17
|
+
orderDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIOrderDialogPayload>) => void;
|
|
18
|
+
setActiveWindowId: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveWindowIdPayload>) => void;
|
|
19
|
+
toggleIsLoadingDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleIsLoadingPayload>) => void;
|
|
20
|
+
setErrorDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UISetErrorPayload>) => void;
|
|
21
|
+
setDialogFocused: (draft: Draft<UIStoreType>, action: PayloadAction<UISetDialogFocusedPayload>) => void;
|
|
22
|
+
}, "uiReducer">;
|
|
23
|
+
export declare const reducer: import("redux").Reducer<UIStoreType, import("redux").AnyAction>;
|
|
24
|
+
export declare const uiActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
25
|
+
registerDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIRegisterDialogPayload>) => void;
|
|
26
|
+
unregisterDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIUnRegisterDialogPayload>) => void;
|
|
27
|
+
setActiveMapIdForDialog: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveMapIdForDialogPayload>) => void;
|
|
28
|
+
setToggleOpenDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleDialogPayload>) => void;
|
|
29
|
+
orderDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIOrderDialogPayload>) => void;
|
|
30
|
+
setActiveWindowId: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveWindowIdPayload>) => void;
|
|
31
|
+
toggleIsLoadingDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleIsLoadingPayload>) => void;
|
|
32
|
+
setErrorDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UISetErrorPayload>) => void;
|
|
33
|
+
setDialogFocused: (draft: Draft<UIStoreType>, action: PayloadAction<UISetDialogFocusedPayload>) => void;
|
|
34
|
+
}, "uiReducer">;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|