@opengeoweb/core 2.2.0 → 2.2.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 +2154 -1200
- package/index.umd.js +2209 -1217
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +3 -3
- package/lib/components/CustomToggleButton/CustomToggleButton.d.ts +9 -0
- package/lib/components/{ToggleIconButton/ToggleIconButton.spec.d.ts → CustomToggleButton/CustomToggleButton.spec.d.ts} +0 -0
- package/lib/components/CustomToggleButton/CustomToggleButton.stories.d.ts +13 -0
- 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/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItemConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterSelectAllSwitchConnect.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterSelectAllSwitchConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +2 -2
- 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/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/ToolButton/ToolButton.d.ts +12 -0
- package/lib/components/ToolButton/ToolButton.spec.d.ts +1 -0
- package/lib/components/{ToggleIconButton/ToggleIconButton.stories.d.ts → ToolButton/ToolButton.stories.d.ts} +2 -2
- package/lib/components/ToolButton/index.d.ts +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/store/generic/synchronizationGroups/types.d.ts +1 -0
- 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/selectors.d.ts +38 -26
- 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/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/types.d.ts +52 -0
- package/package.json +5 -5
- package/lib/components/ToggleIconButton/ToggleIconButton.d.ts +0 -12
- package/lib/components/ToggleIconButton/index.d.ts +0 -1
|
@@ -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
|
+
};
|
|
@@ -25,13 +25,25 @@ export declare const getAllMapIds: (store: AppStore) => string[];
|
|
|
25
25
|
* @param {object} store store object from which the map state wll be extracted
|
|
26
26
|
* @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
|
|
27
27
|
*/
|
|
28
|
-
export declare const getFirstMap: (
|
|
28
|
+
export declare const getFirstMap: ((state: {
|
|
29
|
+
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
30
|
+
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
31
|
+
ui?: import("../../ui/types").UIStoreType;
|
|
32
|
+
webmap?: WebMapState;
|
|
33
|
+
services?: import("../types").ServiceState;
|
|
34
|
+
layers?: import("../types").LayerState;
|
|
35
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
36
|
+
}) => any) & import("reselect").OutputSelectorFields<((args_0: string[], args_1: any) => any) & {
|
|
37
|
+
clearCache: () => void;
|
|
38
|
+
}> & {
|
|
39
|
+
clearCache: () => void;
|
|
40
|
+
};
|
|
29
41
|
/**
|
|
30
42
|
* Gets the id of first map in store
|
|
31
43
|
*
|
|
32
44
|
* Example: getFirstMapId(store)
|
|
33
|
-
* @param {object} store store object from which the map state wll be extracted
|
|
34
|
-
* @returns {
|
|
45
|
+
* @param {object} store store: object from which the map state wll be extracted
|
|
46
|
+
* @returns {string} returnType:string - map id
|
|
35
47
|
*/
|
|
36
48
|
export declare const getFirstMapId: ((state: {
|
|
37
49
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -41,9 +53,7 @@ export declare const getFirstMapId: ((state: {
|
|
|
41
53
|
services?: import("../types").ServiceState;
|
|
42
54
|
layers?: import("../types").LayerState;
|
|
43
55
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
44
|
-
}) =>
|
|
45
|
-
clearCache: () => void;
|
|
46
|
-
}> & {
|
|
56
|
+
}) => any) & import("reselect").OutputSelectorFields<(args_0: any) => any> & {
|
|
47
57
|
clearCache: () => void;
|
|
48
58
|
};
|
|
49
59
|
/**
|
|
@@ -51,7 +61,7 @@ export declare const getFirstMapId: ((state: {
|
|
|
51
61
|
*
|
|
52
62
|
* @param {object} store store: object - store object
|
|
53
63
|
* @param {string} mapId mapId: string - Id of the map
|
|
54
|
-
* @returns {
|
|
64
|
+
* @returns {boolean} returnType:boolean - true if map is present
|
|
55
65
|
*/
|
|
56
66
|
export declare const getIsMapPresent: ((state: {
|
|
57
67
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -82,7 +92,7 @@ export declare const getLayerIds: ((state: {
|
|
|
82
92
|
services?: import("../types").ServiceState;
|
|
83
93
|
layers?: import("../types").LayerState;
|
|
84
94
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
85
|
-
}, params_0: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap) => string[] & {
|
|
95
|
+
}, params_0: string) => string[]) & import("reselect").OutputSelectorFields<((args_0: WebMap) => string[]) & {
|
|
86
96
|
clearCache: () => void;
|
|
87
97
|
}> & {
|
|
88
98
|
clearCache: () => void;
|
|
@@ -124,7 +134,7 @@ export declare const getMapBaseLayersIds: ((state: {
|
|
|
124
134
|
services?: import("../types").ServiceState;
|
|
125
135
|
layers?: import("../types").LayerState;
|
|
126
136
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
127
|
-
}, params_0: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap) => string[] & {
|
|
137
|
+
}, params_0: string) => string[]) & import("reselect").OutputSelectorFields<((args_0: WebMap) => string[]) & {
|
|
128
138
|
clearCache: () => void;
|
|
129
139
|
}> & {
|
|
130
140
|
clearCache: () => void;
|
|
@@ -166,7 +176,7 @@ export declare const getMapOverLayersIds: ((state: {
|
|
|
166
176
|
services?: import("../types").ServiceState;
|
|
167
177
|
layers?: import("../types").LayerState;
|
|
168
178
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
169
|
-
}, params_0: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap) => string[] & {
|
|
179
|
+
}, params_0: string) => string[]) & import("reselect").OutputSelectorFields<((args_0: WebMap) => string[]) & {
|
|
170
180
|
clearCache: () => void;
|
|
171
181
|
}> & {
|
|
172
182
|
clearCache: () => void;
|
|
@@ -208,7 +218,7 @@ export declare const getMapDimensions: ((state: {
|
|
|
208
218
|
services?: import("../types").ServiceState;
|
|
209
219
|
layers?: import("../types").LayerState;
|
|
210
220
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
211
|
-
}, params_0: string) => import("./types").Dimension[]) & import("reselect").OutputSelectorFields<(args_0: WebMap) => import("./types").Dimension[] & {
|
|
221
|
+
}, params_0: string) => import("./types").Dimension[]) & import("reselect").OutputSelectorFields<((args_0: WebMap) => import("./types").Dimension[]) & {
|
|
212
222
|
clearCache: () => void;
|
|
213
223
|
}> & {
|
|
214
224
|
clearCache: () => void;
|
|
@@ -230,7 +240,9 @@ export declare const getMapDimension: ((state: {
|
|
|
230
240
|
services?: import("../types").ServiceState;
|
|
231
241
|
layers?: import("../types").LayerState;
|
|
232
242
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
233
|
-
}, params_0: string, params_1: {}) => any) & import("reselect").OutputSelectorFields<(args_0: WebMap, args_1: string) => any
|
|
243
|
+
}, params_0: string, params_1: {}) => any) & import("reselect").OutputSelectorFields<((args_0: WebMap, args_1: string) => any) & {
|
|
244
|
+
clearCache: () => void;
|
|
245
|
+
}> & {
|
|
234
246
|
clearCache: () => void;
|
|
235
247
|
};
|
|
236
248
|
/**
|
|
@@ -270,7 +282,7 @@ export declare const getBbox: ((state: {
|
|
|
270
282
|
services?: import("../types").ServiceState;
|
|
271
283
|
layers?: import("../types").LayerState;
|
|
272
284
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
273
|
-
}, params_0: string) => {}) & import("reselect").OutputSelectorFields<(args_0: WebMap) => {
|
|
285
|
+
}, params_0: string) => {}) & import("reselect").OutputSelectorFields<((args_0: WebMap) => {}) & {
|
|
274
286
|
clearCache: () => void;
|
|
275
287
|
}> & {
|
|
276
288
|
clearCache: () => void;
|
|
@@ -427,7 +439,7 @@ export declare const getMapTimeSliderScale: ((state: {
|
|
|
427
439
|
* Example: timeStep = getTimeStep(store, 'mapid_1')
|
|
428
440
|
* @param {object} store store: object - store object
|
|
429
441
|
* @param {string} mapId mapId: string - Id of the map
|
|
430
|
-
* @returns {
|
|
442
|
+
* @returns {number} returnType: number - time step as a number
|
|
431
443
|
*/
|
|
432
444
|
export declare const getMapTimeStep: ((state: {
|
|
433
445
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -448,7 +460,7 @@ export declare const getMapTimeStep: ((state: {
|
|
|
448
460
|
* Example: speed = getSpeed(store, 'mapid_1')
|
|
449
461
|
* @param {object} store store: object - store object
|
|
450
462
|
* @param {string} mapId mapId: string - Id of the map
|
|
451
|
-
* @returns {
|
|
463
|
+
* @returns {number} returnType: number - speed as a number
|
|
452
464
|
*/
|
|
453
465
|
export declare const getMapAnimationDelay: ((state: {
|
|
454
466
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -469,7 +481,7 @@ export declare const getMapAnimationDelay: ((state: {
|
|
|
469
481
|
* Example: centerTime = getCenterTime(store, 'mapid_1')
|
|
470
482
|
* @param {object} store store: object - store object
|
|
471
483
|
* @param {string} mapId mapId: string - Id of the map
|
|
472
|
-
* @returns {
|
|
484
|
+
* @returns {number} returnType: number - center time as a unix timestamp
|
|
473
485
|
*/
|
|
474
486
|
export declare const getMapTimeSliderCenterTime: ((state: {
|
|
475
487
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -490,7 +502,7 @@ export declare const getMapTimeSliderCenterTime: ((state: {
|
|
|
490
502
|
* Example: secondsPerPx = getSecondsPerPx(store, 'mapid_1')
|
|
491
503
|
* @param {object} store store: object - store object
|
|
492
504
|
* @param {string} mapId mapId: string - Id of the map
|
|
493
|
-
* @returns {
|
|
505
|
+
* @returns {number} returnType: number - the number of seconds per pixel
|
|
494
506
|
*/
|
|
495
507
|
export declare const getMapTimeSliderSecondsPerPx: ((state: {
|
|
496
508
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -511,7 +523,7 @@ export declare const getMapTimeSliderSecondsPerPx: ((state: {
|
|
|
511
523
|
* Example: dataScaleToSecondsPerPx = getMapTimeSliderDataScaleToSecondsPerPx(store, 'mapid_1')
|
|
512
524
|
* @param {object} store store: object - store object
|
|
513
525
|
* @param {string} mapId mapId: string - Id of the map
|
|
514
|
-
* @returns {
|
|
526
|
+
* @returns {number} returnType: number - the number of scaleto seconds pixel
|
|
515
527
|
*/
|
|
516
528
|
export declare const getMapTimeSliderDataScaleToSecondsPerPx: ((state: {
|
|
517
529
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -596,7 +608,7 @@ export declare const getIsLayerActiveLayer: ((state: {
|
|
|
596
608
|
* Example const mapId = getMapIdFromLayerId(store 'layerId-A');
|
|
597
609
|
* @param {object} store store: object - store object
|
|
598
610
|
* @param {string} layerId layerId: string - Id of the layer
|
|
599
|
-
* @returns {string} returnType: the mapId, or null if not found
|
|
611
|
+
* @returns {string} returnType: string - the mapId, or null if not found
|
|
600
612
|
*/
|
|
601
613
|
export declare const getMapIdFromLayerId: ((state: {
|
|
602
614
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -606,7 +618,7 @@ export declare const getMapIdFromLayerId: ((state: {
|
|
|
606
618
|
services?: import("../types").ServiceState;
|
|
607
619
|
layers?: import("../types").LayerState;
|
|
608
620
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
609
|
-
}, params_0: string) => string) & import("reselect").OutputSelectorFields<(args_0: WebMapState, args_1: string) => string & {
|
|
621
|
+
}, params_0: string) => string) & import("reselect").OutputSelectorFields<((args_0: WebMapState, args_1: string) => string) & {
|
|
610
622
|
clearCache: () => void;
|
|
611
623
|
}> & {
|
|
612
624
|
clearCache: () => void;
|
|
@@ -618,7 +630,7 @@ export declare const getMapIdFromLayerId: ((state: {
|
|
|
618
630
|
* @param {object} store store: object - store object
|
|
619
631
|
* @param {string} mapId mapId: string - Id of the map
|
|
620
632
|
* @param {string} layerId layerId: string - Id of the layer
|
|
621
|
-
* @returns {string} returnType: the layerId, or null if not found
|
|
633
|
+
* @returns {string} returnType: string - the layerId, or null if not found
|
|
622
634
|
*/
|
|
623
635
|
export declare const getLayerIdByLayerName: ((state: {
|
|
624
636
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -628,7 +640,7 @@ export declare const getLayerIdByLayerName: ((state: {
|
|
|
628
640
|
services?: import("../types").ServiceState;
|
|
629
641
|
layers?: import("../types").LayerState;
|
|
630
642
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
631
|
-
}, params_0: string, params_1: {}) => string) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: string) => string & {
|
|
643
|
+
}, params_0: string, params_1: {}) => string) & import("reselect").OutputSelectorFields<((args_0: import("../types").ReduxLayer[], args_1: string) => string) & {
|
|
632
644
|
clearCache: () => void;
|
|
633
645
|
}> & {
|
|
634
646
|
clearCache: () => void;
|
|
@@ -650,7 +662,7 @@ export declare const getLayerIndexByLayerId: ((state: {
|
|
|
650
662
|
services?: import("../types").ServiceState;
|
|
651
663
|
layers?: import("../types").LayerState;
|
|
652
664
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
653
|
-
}, params_0: string, params_1: {}) => number) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: string) => number & {
|
|
665
|
+
}, params_0: string, params_1: {}) => number) & import("reselect").OutputSelectorFields<((args_0: import("../types").ReduxLayer[], args_1: string) => number) & {
|
|
654
666
|
clearCache: () => void;
|
|
655
667
|
}> & {
|
|
656
668
|
clearCache: () => void;
|
|
@@ -672,7 +684,7 @@ export declare const getLayerByLayerIndex: ((state: {
|
|
|
672
684
|
services?: import("../types").ServiceState;
|
|
673
685
|
layers?: import("../types").LayerState;
|
|
674
686
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
675
|
-
}, params_0: string, params_1: {}) => Layer) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: number) => Layer & {
|
|
687
|
+
}, params_0: string, params_1: {}) => Layer) & import("reselect").OutputSelectorFields<((args_0: import("../types").ReduxLayer[], args_1: number) => Layer) & {
|
|
676
688
|
clearCache: () => void;
|
|
677
689
|
}> & {
|
|
678
690
|
clearCache: () => void;
|
|
@@ -692,7 +704,7 @@ export declare const getAllUniqueDimensions: ((state: {
|
|
|
692
704
|
services?: import("../types").ServiceState;
|
|
693
705
|
layers?: import("../types").LayerState;
|
|
694
706
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
695
|
-
}) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: AppStore) => string[] & {
|
|
707
|
+
}) => string[]) & import("reselect").OutputSelectorFields<((args_0: string[], args_1: AppStore) => string[]) & {
|
|
696
708
|
clearCache: () => void;
|
|
697
709
|
}> & {
|
|
698
710
|
clearCache: () => void;
|
|
@@ -713,7 +725,7 @@ export declare const getPinLocation: ((state: {
|
|
|
713
725
|
services?: import("../types").ServiceState;
|
|
714
726
|
layers?: import("../types").LayerState;
|
|
715
727
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
716
|
-
}, params_0: string) => import("./types").MapLocation) & import("reselect").OutputSelectorFields<(args_0: WebMap) => import("./types").MapLocation & {
|
|
728
|
+
}, params_0: string) => import("./types").MapLocation) & import("reselect").OutputSelectorFields<((args_0: WebMap) => import("./types").MapLocation) & {
|
|
717
729
|
clearCache: () => void;
|
|
718
730
|
}> & {
|
|
719
731
|
clearCache: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceActions, SetLayersForServicePayload } from './types';
|
|
1
|
+
import { ServiceActions, SetLayersForServicePayload, MapStoreRemoveServicePayload } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Action serviceSetLayers is used automatically after calling the setLayers action. Contents is based on WMS GetCapabilities
|
|
4
4
|
*
|
|
@@ -6,3 +6,10 @@ import { ServiceActions, SetLayersForServicePayload } from './types';
|
|
|
6
6
|
* @param {object} payload consisting of service: string, layers: ServiceLayer[]
|
|
7
7
|
*/
|
|
8
8
|
export declare const serviceSetLayers: (payload: SetLayersForServicePayload) => ServiceActions;
|
|
9
|
+
/**
|
|
10
|
+
* Action mapStoreRemoveService is used in ServiceOptionsDialogConnect after clicking the remove button. Action layerSelectServiceRemoved is used automatically after calling the mapStoreRemoveService action
|
|
11
|
+
*
|
|
12
|
+
* Example: mapStoreRemoveService({serviceUrl: someService})
|
|
13
|
+
* @param {object} payload consisting of serviceUrl: string
|
|
14
|
+
*/
|
|
15
|
+
export declare const mapStoreRemoveService: (payload: MapStoreRemoveServicePayload) => ServiceActions;
|
|
@@ -15,7 +15,7 @@ export declare const getServiceIds: ((state: {
|
|
|
15
15
|
services?: ServiceState;
|
|
16
16
|
layers?: import("../types").LayerState;
|
|
17
17
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
18
|
-
}) => string[]) & import("reselect").OutputSelectorFields<(args_0: ServiceState) => string[] & {
|
|
18
|
+
}) => string[]) & import("reselect").OutputSelectorFields<((args_0: ServiceState) => string[]) & {
|
|
19
19
|
clearCache: () => void;
|
|
20
20
|
}> & {
|
|
21
21
|
clearCache: () => void;
|
|
@@ -35,7 +35,7 @@ export declare const getServices: ((state: {
|
|
|
35
35
|
services?: ServiceState;
|
|
36
36
|
layers?: import("../types").LayerState;
|
|
37
37
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
38
|
-
}) => import("./types").Services) & import("reselect").OutputSelectorFields<(args_0: ServiceState) => import("./types").Services & {
|
|
38
|
+
}) => import("./types").Services) & import("reselect").OutputSelectorFields<((args_0: ServiceState) => import("./types").Services) & {
|
|
39
39
|
clearCache: () => void;
|
|
40
40
|
}> & {
|
|
41
41
|
clearCache: () => void;
|
|
@@ -66,7 +66,7 @@ export declare const getServiceByName: ((state: {
|
|
|
66
66
|
* Example: layers = getLayersFromService(store, 'https://geoservices.knmi.nl/...')
|
|
67
67
|
* @param {object} store store: object - object from which the layers state will be extracted
|
|
68
68
|
* @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
|
|
69
|
-
* @returns {
|
|
69
|
+
* @returns {array} returnType: ServiceLayer[] - All layers within the service object.
|
|
70
70
|
*/
|
|
71
71
|
export declare const getLayersFromService: ((state: {
|
|
72
72
|
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -76,7 +76,7 @@ export declare const getLayersFromService: ((state: {
|
|
|
76
76
|
services?: ServiceState;
|
|
77
77
|
layers?: import("../types").LayerState;
|
|
78
78
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
79
|
-
}, params_0: string) => ServiceLayer[]) & import("reselect").OutputSelectorFields<(args_0: Service) => ServiceLayer[] & {
|
|
79
|
+
}, params_0: string) => ServiceLayer[]) & import("reselect").OutputSelectorFields<((args_0: Service) => ServiceLayer[]) & {
|
|
80
80
|
clearCache: () => void;
|
|
81
81
|
}> & {
|
|
82
82
|
clearCache: () => void;
|
|
@@ -98,7 +98,7 @@ export declare const getLayerFromService: ((state: {
|
|
|
98
98
|
services?: ServiceState;
|
|
99
99
|
layers?: import("../types").LayerState;
|
|
100
100
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
101
|
-
}, params_0: string, params_1: string) => ServiceLayer) & import("reselect").OutputSelectorFields<(args_0: ServiceLayer[], args_1: string, args_2: string) => ServiceLayer & {
|
|
101
|
+
}, params_0: string, params_1: string) => ServiceLayer) & import("reselect").OutputSelectorFields<((args_0: ServiceLayer[], args_1: string, args_2: string) => ServiceLayer) & {
|
|
102
102
|
clearCache: () => void;
|
|
103
103
|
}> & {
|
|
104
104
|
clearCache: () => void;
|
|
@@ -120,7 +120,35 @@ export declare const getLayerStyles: ((state: {
|
|
|
120
120
|
services?: ServiceState;
|
|
121
121
|
layers?: import("../types").LayerState;
|
|
122
122
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
123
|
-
}, params_0: string, params_1: string) => Style[]) & import("reselect").OutputSelectorFields<(args_0: ServiceLayer) => Style[] & {
|
|
123
|
+
}, params_0: string, params_1: string) => Style[]) & import("reselect").OutputSelectorFields<((args_0: ServiceLayer) => Style[]) & {
|
|
124
|
+
clearCache: () => void;
|
|
125
|
+
}> & {
|
|
126
|
+
clearCache: () => void;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Gets services and maps them into an array
|
|
130
|
+
*
|
|
131
|
+
* Example: services = getServices(store)
|
|
132
|
+
* @param {object} store store: object - Store object
|
|
133
|
+
* @returns {array} returnType: [] - array containing services
|
|
134
|
+
*/
|
|
135
|
+
export declare const getServicesInArray: ((state: {
|
|
136
|
+
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
137
|
+
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
138
|
+
ui?: import("../../ui/types").UIStoreType;
|
|
139
|
+
webmap?: import("../types").WebMapState;
|
|
140
|
+
services?: ServiceState;
|
|
141
|
+
layers?: import("../types").LayerState;
|
|
142
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
143
|
+
}) => {
|
|
144
|
+
id: string;
|
|
145
|
+
name: string;
|
|
146
|
+
service: string;
|
|
147
|
+
}[]) & import("reselect").OutputSelectorFields<((args_0: ServiceState) => {
|
|
148
|
+
id: string;
|
|
149
|
+
name: string;
|
|
150
|
+
service: string;
|
|
151
|
+
}[]) & {
|
|
124
152
|
clearCache: () => void;
|
|
125
153
|
}> & {
|
|
126
154
|
clearCache: () => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Style } from '@opengeoweb/webmap';
|
|
2
2
|
import { Action } from 'redux';
|
|
3
3
|
import type { UpdateLayerInfo } from '../types';
|
|
4
|
-
import { MAP_SERVICES_SET_LAYERS } from './constants';
|
|
4
|
+
import { MAP_SERVICES_SET_LAYERS, MAP_SERVICES_REMOVE_SERVICE } from './constants';
|
|
5
5
|
export interface Services {
|
|
6
6
|
[key: string]: Service;
|
|
7
7
|
}
|
|
@@ -38,5 +38,12 @@ interface SetLayersForService extends Action {
|
|
|
38
38
|
type: typeof MAP_SERVICES_SET_LAYERS;
|
|
39
39
|
payload: SetLayersForServicePayload;
|
|
40
40
|
}
|
|
41
|
-
export
|
|
41
|
+
export interface MapStoreRemoveServicePayload {
|
|
42
|
+
serviceUrl: string;
|
|
43
|
+
}
|
|
44
|
+
interface MapStoreRemoveService extends Action {
|
|
45
|
+
type: typeof MAP_SERVICES_REMOVE_SERVICE;
|
|
46
|
+
payload: MapStoreRemoveServicePayload;
|
|
47
|
+
}
|
|
48
|
+
export declare type ServiceActions = SetLayersForService | UpdateLayerInfo | MapStoreRemoveService;
|
|
42
49
|
export {};
|
|
@@ -14,7 +14,7 @@ export declare const getDialogDetailsByType: (store: AppStore, dialogType: strin
|
|
|
14
14
|
*
|
|
15
15
|
* @param {object} store store object from which the ui state wll be extracted
|
|
16
16
|
* @param {string} dialogType type of the dialog 'legend' | 'layerManager' | 'dimensionSelect-elevation'
|
|
17
|
-
* @returns {
|
|
17
|
+
* @returns {boolean} returnType: boolean
|
|
18
18
|
*/
|
|
19
19
|
export declare const getisDialogOpen: ((state: {
|
|
20
20
|
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -34,7 +34,7 @@ export declare const getisDialogOpen: ((state: {
|
|
|
34
34
|
*
|
|
35
35
|
* @param {object} store store object from which the ui state wll be extracted
|
|
36
36
|
* @param {string} dialogType type of the dialog 'legend' | 'layerManager' | 'dimensionSelect-elevation'
|
|
37
|
-
* @returns {
|
|
37
|
+
* @returns {string} returnType: string - the active map id
|
|
38
38
|
*/
|
|
39
39
|
export declare const getDialogMapId: ((state: {
|
|
40
40
|
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
export declare const availableDefaultBaseLayers: (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type: string;
|
|
5
|
-
layerType: import("../store/mapStore/types").LayerType;
|
|
6
|
-
} | {
|
|
7
|
-
service: string;
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
layerType: import("../store/mapStore/types").LayerType;
|
|
11
|
-
})[];
|
|
12
|
-
export declare const preloadedDefaultBaseServices: {
|
|
13
|
-
name: string;
|
|
14
|
-
url: string;
|
|
15
|
-
id: string;
|
|
16
|
-
}[];
|
|
17
|
-
export declare const preloadedDefaultMapServices: {
|
|
18
|
-
name: string;
|
|
19
|
-
url: string;
|
|
20
|
-
id: string;
|
|
21
|
-
}[];
|
|
1
|
+
export declare const availableDefaultBaseLayers: import("../store/mapStore/types").Layer[];
|
|
2
|
+
export declare const preloadedDefaultBaseServices: import("./types").Service[];
|
|
3
|
+
export declare const preloadedDefaultMapServices: import("./types").Service[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Bbox, Layer } from '../store/mapStore/types';
|
|
2
|
+
import { FilteredMapPresets, Service, MapPresets, LayerDimension } from './types';
|
|
3
|
+
export declare const filterBaseLayers: (presetArray: unknown[]) => Layer[];
|
|
4
|
+
export declare const filterMapLayers: (presetArray: unknown[]) => Layer[];
|
|
5
|
+
export declare const filterServices: (presetArray: Service[]) => Service[];
|
|
6
|
+
export declare const filterBbox: (presetBbox: Bbox) => Bbox;
|
|
7
|
+
export declare const filterSrs: (presetSrs: string) => string;
|
|
8
|
+
export declare const filterDimensions: (mapLayers: Layer[]) => LayerDimension[];
|
|
9
|
+
export declare const filterMapPresets: (presets: MapPresets) => FilteredMapPresets;
|
|
10
|
+
export declare const getInitialPresets: (mapPresets: MapPresets, defaultInitialPresets: MapPresets) => FilteredMapPresets;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
export interface Service {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
url: string;
|
|
20
|
+
}
|
|
21
|
+
export interface PresetLayer {
|
|
22
|
+
id?: string;
|
|
23
|
+
mapId?: string;
|
|
24
|
+
service?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
format?: string;
|
|
27
|
+
enabled?: string;
|
|
28
|
+
style?: string;
|
|
29
|
+
dimensions?: Dimension[];
|
|
30
|
+
opacity?: number;
|
|
31
|
+
type?: string;
|
|
32
|
+
layerType?: string;
|
|
33
|
+
status?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface LayerDimension {
|
|
36
|
+
dimension?: Dimension;
|
|
37
|
+
layerId?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface FilteredMapPresets {
|
|
40
|
+
presetType?: string;
|
|
41
|
+
presetId?: string;
|
|
42
|
+
presetName?: string;
|
|
43
|
+
bbox?: Bbox;
|
|
44
|
+
services?: Service[];
|
|
45
|
+
srs?: string;
|
|
46
|
+
layers?: Layer[];
|
|
47
|
+
baseLayers?: Layer[];
|
|
48
|
+
mapLayers?: Layer[];
|
|
49
|
+
activeLayerId?: string;
|
|
50
|
+
layerDimensions?: LayerDimension[];
|
|
51
|
+
baseServices?: Service[];
|
|
52
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.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.2.
|
|
16
|
+
"@opengeoweb/theme": "2.2.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.2.
|
|
23
|
+
"@opengeoweb/webmap": "2.2.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.2.
|
|
27
|
+
"@opengeoweb/shared": "2.2.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.2.
|
|
31
|
+
"@opengeoweb/form-fields": "2.2.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,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ToggleButtonProps } from '@mui/material';
|
|
3
|
-
export declare const useButtonStyles: (props: {
|
|
4
|
-
width: number;
|
|
5
|
-
}) => import("@mui/styles").ClassNameMap<"button">;
|
|
6
|
-
export interface ToggleIconButtonProps extends Omit<ToggleButtonProps, 'value'> {
|
|
7
|
-
active?: boolean;
|
|
8
|
-
width?: number;
|
|
9
|
-
value?: unknown;
|
|
10
|
-
}
|
|
11
|
-
declare const ToggleIconButton: React.FC<ToggleIconButtonProps>;
|
|
12
|
-
export default ToggleIconButton;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ToggleIconButton } from './ToggleIconButton';
|