@opengeoweb/store 19.1.0 → 19.1.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/dist/README.md +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +10819 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/store/common/auth/index.d.ts +3 -0
- package/dist/src/store/common/auth/reducer.d.ts +14 -0
- package/dist/src/store/common/auth/selectors.d.ts +87 -0
- package/dist/src/store/common/auth/types.d.ts +22 -0
- package/dist/src/store/common/index.d.ts +81 -0
- package/dist/src/store/common/listener.d.ts +2 -0
- package/dist/src/store/common/types.d.ts +6 -0
- package/dist/src/store/drawingTool/index.d.ts +4 -0
- package/dist/src/store/drawingTool/listener.d.ts +3 -0
- package/dist/src/store/drawingTool/reducer.d.ts +45 -0
- package/dist/src/store/drawingTool/selectors.d.ts +347 -0
- package/dist/src/store/drawingTool/testUtils.d.ts +1 -0
- package/dist/src/store/drawingTool/utils.d.ts +1 -0
- package/dist/src/store/generic/actions.d.ts +28 -0
- package/dist/src/store/generic/hooks.d.ts +6 -0
- package/dist/src/store/generic/index.d.ts +27 -0
- package/dist/src/store/generic/linking/constants.d.ts +6 -0
- package/dist/src/store/generic/linking/index.d.ts +2 -0
- package/dist/src/store/generic/linking/utils.d.ts +9 -0
- package/dist/src/store/generic/listener.d.ts +2 -0
- package/dist/src/store/generic/loadingIndicator/constants.d.ts +1 -0
- package/dist/src/store/generic/loadingIndicator/index.d.ts +3 -0
- package/dist/src/store/generic/loadingIndicator/reducer.d.ts +13 -0
- package/dist/src/store/generic/loadingIndicator/selectors.d.ts +337 -0
- package/dist/src/store/generic/loadingIndicator/types.d.ts +22 -0
- package/dist/src/store/generic/selectors.d.ts +715 -0
- package/dist/src/store/generic/syncGroups/__mocks__/mockState.d.ts +2 -0
- package/dist/src/store/generic/syncGroups/constants.d.ts +5 -0
- package/dist/src/store/generic/syncGroups/featureGroupUtils.d.ts +11 -0
- package/dist/src/store/generic/syncGroups/featureLinks.d.ts +6 -0
- package/dist/src/store/generic/syncGroups/featureSyncLayers.d.ts +10 -0
- package/dist/src/store/generic/syncGroups/hooks.d.ts +20 -0
- package/dist/src/store/generic/syncGroups/index.d.ts +13 -0
- package/dist/src/store/generic/syncGroups/listener.d.ts +2 -0
- package/dist/src/store/generic/syncGroups/reducer.d.ts +62 -0
- package/dist/src/store/generic/syncGroups/selector.d.ts +50 -0
- package/dist/src/store/generic/syncGroups/selectors.d.ts +235 -0
- package/dist/src/store/generic/syncGroups/syncSourceDisplayName.d.ts +2 -0
- package/dist/src/store/generic/syncGroups/types.d.ts +200 -0
- package/dist/src/store/generic/syncGroups/utils.d.ts +76 -0
- package/dist/src/store/generic/synchronizationActions/actions.d.ts +11 -0
- package/dist/src/store/generic/synchronizationActions/types.d.ts +43 -0
- package/dist/src/store/generic/types.d.ts +24 -0
- package/dist/src/store/generic/utils.d.ts +9 -0
- package/dist/src/store/index.d.ts +22 -0
- package/dist/src/store/map/index.d.ts +5 -0
- package/dist/src/store/map/layer/index.d.ts +6 -0
- package/dist/src/store/map/layer/listeners.d.ts +2 -0
- package/dist/src/store/map/layer/reducer.d.ts +94 -0
- package/dist/src/store/map/layer/selectors.d.ts +2547 -0
- package/dist/src/store/map/layer/types.d.ts +198 -0
- package/dist/src/store/map/layer/utils.d.ts +41 -0
- package/dist/src/store/map/map/actions.d.ts +9 -0
- package/dist/src/store/map/map/constants.d.ts +3 -0
- package/dist/src/store/map/map/enums.d.ts +3 -0
- package/dist/src/store/map/map/filterLayers.d.ts +10 -0
- package/dist/src/store/map/map/index.d.ts +26 -0
- package/dist/src/store/map/map/listener.d.ts +4 -0
- package/dist/src/store/map/map/mapListenerAnimationUtils.d.ts +28 -0
- package/dist/src/store/map/map/metronomeListener.d.ts +2 -0
- package/dist/src/store/map/map/olMapListenerAnimationUtils.d.ts +46 -0
- package/dist/src/store/map/map/reducer.d.ts +142 -0
- package/dist/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +7 -0
- package/dist/src/store/map/map/selectors.d.ts +3533 -0
- package/dist/src/store/map/map/types.d.ts +328 -0
- package/dist/src/store/map/map/utils.d.ts +87 -0
- package/dist/src/store/map/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
- package/dist/src/store/map/service/index.d.ts +4 -0
- package/dist/src/store/map/service/listener.d.ts +5 -0
- package/dist/src/store/map/service/localStorage.d.ts +3 -0
- package/dist/src/store/map/service/reducer.d.ts +10 -0
- package/dist/src/store/map/service/selectors.d.ts +386 -0
- package/dist/src/store/map/service/types.d.ts +53 -0
- package/dist/src/store/map/storeTestSettings.d.ts +8 -0
- package/dist/src/store/map/storeTestUtils.d.ts +17 -0
- package/dist/src/store/map/types.d.ts +11 -0
- package/dist/src/store/mapStore/openlayers/listener.d.ts +2 -0
- package/dist/src/store/mapStore/openlayers/syncGroupViewStore.d.ts +26 -0
- package/dist/src/store/router/index.d.ts +2 -0
- package/dist/src/store/router/listener.d.ts +2 -0
- package/dist/src/store/router/reducer.d.ts +9 -0
- package/dist/src/store/router/types.d.ts +9 -0
- package/dist/src/store/router/utils.d.ts +4 -0
- package/dist/src/store/store.d.ts +37 -0
- package/dist/src/store/types.d.ts +7 -0
- package/dist/src/store/ui/index.d.ts +5 -0
- package/dist/src/store/ui/reducer.d.ts +39 -0
- package/dist/src/store/ui/selectors.d.ts +234 -0
- package/dist/src/store/ui/types.d.ts +98 -0
- package/dist/src/store/ui/useSetupDialog.d.ts +11 -0
- package/dist/src/store/unifyReducerMaps.d.ts +3 -0
- package/dist/src/store/utils.d.ts +6 -0
- package/package.json +3 -2
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PotentialData } from './syncGroups/types';
|
|
2
|
+
import type { FeatureLayer } from '../map/layer/types';
|
|
3
|
+
export declare const useUpdateSharedData: (data: PotentialData, panelId?: string, options?: {
|
|
4
|
+
requireLinkedMaps?: boolean;
|
|
5
|
+
}) => PotentialData;
|
|
6
|
+
export declare const useUpdateFeatureSyncLayers: (featureLayers: Record<string, FeatureLayer>, panelId?: string) => void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const genericActions: {
|
|
2
|
+
initialSyncState: import("./syncGroups/types").SynchronizationGroupState;
|
|
3
|
+
setTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimePayload, string>;
|
|
4
|
+
setBbox: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetBboxPayload, string>;
|
|
5
|
+
setLinkedMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SetLinkedMap, "synchronizationGroupsReducer/setLinkedMap">;
|
|
6
|
+
updateLinkedMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").UpdateLinkedMap, "synchronizationGroupsReducer/updateLinkedMap">;
|
|
7
|
+
removeLinkedMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "synchronizationGroupsReducer/removeLinkedMap">;
|
|
8
|
+
addFeatureSyncState: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").AddFeatureSyncState, "synchronizationGroupsReducer/addFeatureSyncState">;
|
|
9
|
+
deleteFeatureSyncState: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").DeleteFeatureSyncState, "synchronizationGroupsReducer/deleteFeatureSyncState">;
|
|
10
|
+
deleteFeatureLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").DeleteFeatureLayer, "synchronizationGroupsReducer/deleteFeatureLayer">;
|
|
11
|
+
syncGroupAddSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SyncGroupsAddSourcePayload, "synchronizationGroupsReducer/syncGroupAddSource">;
|
|
12
|
+
syncGroupRemoveSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SyncGroupRemoveSourcePayload, "synchronizationGroupsReducer/syncGroupRemoveSource">;
|
|
13
|
+
syncGroupAddTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SyncGroupAddTargetPayload, "synchronizationGroupsReducer/syncGroupAddTarget">;
|
|
14
|
+
syncGroupRemoveTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SyncGroupRemoveTargetPayload, "synchronizationGroupsReducer/syncGroupRemoveTarget">;
|
|
15
|
+
syncGroupLinkTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SyncGroupLinkTargetPayload, "synchronizationGroupsReducer/syncGroupLinkTarget">;
|
|
16
|
+
syncGroupAddGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SyncGroupAddGroupPayload, "synchronizationGroupsReducer/syncGroupAddGroup">;
|
|
17
|
+
syncGroupRemoveGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SyncGroupRemoveGroupPayload, "synchronizationGroupsReducer/syncGroupRemoveGroup">;
|
|
18
|
+
syncGroupClear: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"synchronizationGroupsReducer/syncGroupClear">;
|
|
19
|
+
syncGroupSetViewState: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SyncGroupSetViewStatePayload, "synchronizationGroupsReducer/syncGroupSetViewState">;
|
|
20
|
+
syncGroupToggleIsTimeScrollingEnabled: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SyncGroupToggleIsTimeScrollingEnabled, "synchronizationGroupsReducer/syncGroupToggleIsTimeScrollingEnabled">;
|
|
21
|
+
};
|
|
22
|
+
export * as genericSelectors from './selectors';
|
|
23
|
+
export * from './hooks';
|
|
24
|
+
export * from './syncGroups';
|
|
25
|
+
export type * as genericTypes from './types';
|
|
26
|
+
export type * from './synchronizationActions/types';
|
|
27
|
+
export * from './loadingIndicator';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface LinkedViewMeta {
|
|
2
|
+
componentType?: string;
|
|
3
|
+
}
|
|
4
|
+
interface TakenWarningTimelineOptions {
|
|
5
|
+
excludedWarningListPanelId?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const getTakenWarningTimelineIds: (linksByPanelId: Record<string, string[]>, viewsById: Record<string, LinkedViewMeta>, options?: TakenWarningTimelineOptions) => Set<string>;
|
|
8
|
+
export declare const isWarningsTimelineLinkSourceAllowed: (sourceComponentType?: string) => boolean;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { SynchronizationGroupModuleState } from './syncGroups/types';
|
|
2
|
+
export declare const genericListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<SynchronizationGroupModuleState, import("redux-thunk").ThunkDispatch<SynchronizationGroupModuleState, unknown, import("redux").UnknownAction>, unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ANY_EDR_SERVICE = "any_edr";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PayloadAction, EntityState } from '@reduxjs/toolkit';
|
|
2
|
+
import type { LoadingIndicatorType, SetIsEDRLoadingPayload, SetIsGetCapabilitiesLoadingPayload, SetIsGetMapLoadingPayload } from './types';
|
|
3
|
+
export declare const loadingIndicatorAdapter: import("@reduxjs/toolkit").EntityAdapter<LoadingIndicatorType, string>;
|
|
4
|
+
export declare const slice: import("@reduxjs/toolkit").Slice<EntityState<LoadingIndicatorType, string>, {
|
|
5
|
+
setGetMapIsLoading: (draft: EntityState<LoadingIndicatorType, string>, action: PayloadAction<SetIsGetMapLoadingPayload>) => void;
|
|
6
|
+
setGetCapabilitiesIsLoading: (draft: EntityState<LoadingIndicatorType, string>, action: PayloadAction<SetIsGetCapabilitiesLoadingPayload>) => void;
|
|
7
|
+
setEDRIsLoading: (draft: EntityState<LoadingIndicatorType, string>, action: PayloadAction<SetIsEDRLoadingPayload>) => void;
|
|
8
|
+
}, "loadingIndicatorReducer", "loadingIndicatorReducer", import("@reduxjs/toolkit").SliceSelectors<EntityState<LoadingIndicatorType, string>>>;
|
|
9
|
+
export declare const loadingIndicatorActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
10
|
+
setGetMapIsLoading: (draft: EntityState<LoadingIndicatorType, string>, action: PayloadAction<SetIsGetMapLoadingPayload>) => void;
|
|
11
|
+
setGetCapabilitiesIsLoading: (draft: EntityState<LoadingIndicatorType, string>, action: PayloadAction<SetIsGetCapabilitiesLoadingPayload>) => void;
|
|
12
|
+
setEDRIsLoading: (draft: EntityState<LoadingIndicatorType, string>, action: PayloadAction<SetIsEDRLoadingPayload>) => void;
|
|
13
|
+
}, "loadingIndicatorReducer">, loadingIndicatorReducer: import("redux").Reducer<EntityState<LoadingIndicatorType, string>>;
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import type { LoadingIndicatorModuleState, LoadingIndicatorType } from './types';
|
|
2
|
+
export declare const selectLoadingIndicatorById: (state: LoadingIndicatorModuleState, id: string) => {
|
|
3
|
+
id: string;
|
|
4
|
+
getMapLoadingPercentage: number;
|
|
5
|
+
isGetCapabilitiesLoading: boolean;
|
|
6
|
+
isEDRLoading: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const getMapLoadingPercentage: ((state: LoadingIndicatorModuleState, id: string) => number) & {
|
|
9
|
+
clearCache: () => void;
|
|
10
|
+
resultsCount: () => number;
|
|
11
|
+
resetResultsCount: () => void;
|
|
12
|
+
} & {
|
|
13
|
+
resultFunc: (resultFuncArgs_0: {
|
|
14
|
+
id: string;
|
|
15
|
+
getMapLoadingPercentage: number;
|
|
16
|
+
isGetCapabilitiesLoading: boolean;
|
|
17
|
+
isEDRLoading: boolean;
|
|
18
|
+
}) => number;
|
|
19
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
20
|
+
id: string;
|
|
21
|
+
getMapLoadingPercentage: number;
|
|
22
|
+
isGetCapabilitiesLoading: boolean;
|
|
23
|
+
isEDRLoading: boolean;
|
|
24
|
+
}) => number) & {
|
|
25
|
+
clearCache: () => void;
|
|
26
|
+
resultsCount: () => number;
|
|
27
|
+
resetResultsCount: () => void;
|
|
28
|
+
};
|
|
29
|
+
lastResult: () => number;
|
|
30
|
+
dependencies: [(state: LoadingIndicatorModuleState, id: string) => {
|
|
31
|
+
id: string;
|
|
32
|
+
getMapLoadingPercentage: number;
|
|
33
|
+
isGetCapabilitiesLoading: boolean;
|
|
34
|
+
isEDRLoading: boolean;
|
|
35
|
+
}];
|
|
36
|
+
recomputations: () => number;
|
|
37
|
+
resetRecomputations: () => void;
|
|
38
|
+
dependencyRecomputations: () => number;
|
|
39
|
+
resetDependencyRecomputations: () => void;
|
|
40
|
+
} & {
|
|
41
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
42
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
43
|
+
};
|
|
44
|
+
export declare const isGetMapLoading: ((state: LoadingIndicatorModuleState, id: string) => boolean) & {
|
|
45
|
+
clearCache: () => void;
|
|
46
|
+
resultsCount: () => number;
|
|
47
|
+
resetResultsCount: () => void;
|
|
48
|
+
} & {
|
|
49
|
+
resultFunc: (resultFuncArgs_0: number) => boolean;
|
|
50
|
+
memoizedResultFunc: ((resultFuncArgs_0: number) => boolean) & {
|
|
51
|
+
clearCache: () => void;
|
|
52
|
+
resultsCount: () => number;
|
|
53
|
+
resetResultsCount: () => void;
|
|
54
|
+
};
|
|
55
|
+
lastResult: () => boolean;
|
|
56
|
+
dependencies: [((state: LoadingIndicatorModuleState, id: string) => number) & {
|
|
57
|
+
clearCache: () => void;
|
|
58
|
+
resultsCount: () => number;
|
|
59
|
+
resetResultsCount: () => void;
|
|
60
|
+
} & {
|
|
61
|
+
resultFunc: (resultFuncArgs_0: {
|
|
62
|
+
id: string;
|
|
63
|
+
getMapLoadingPercentage: number;
|
|
64
|
+
isGetCapabilitiesLoading: boolean;
|
|
65
|
+
isEDRLoading: boolean;
|
|
66
|
+
}) => number;
|
|
67
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
68
|
+
id: string;
|
|
69
|
+
getMapLoadingPercentage: number;
|
|
70
|
+
isGetCapabilitiesLoading: boolean;
|
|
71
|
+
isEDRLoading: boolean;
|
|
72
|
+
}) => number) & {
|
|
73
|
+
clearCache: () => void;
|
|
74
|
+
resultsCount: () => number;
|
|
75
|
+
resetResultsCount: () => void;
|
|
76
|
+
};
|
|
77
|
+
lastResult: () => number;
|
|
78
|
+
dependencies: [(state: LoadingIndicatorModuleState, id: string) => {
|
|
79
|
+
id: string;
|
|
80
|
+
getMapLoadingPercentage: number;
|
|
81
|
+
isGetCapabilitiesLoading: boolean;
|
|
82
|
+
isEDRLoading: boolean;
|
|
83
|
+
}];
|
|
84
|
+
recomputations: () => number;
|
|
85
|
+
resetRecomputations: () => void;
|
|
86
|
+
dependencyRecomputations: () => number;
|
|
87
|
+
resetDependencyRecomputations: () => void;
|
|
88
|
+
} & {
|
|
89
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
90
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
91
|
+
}];
|
|
92
|
+
recomputations: () => number;
|
|
93
|
+
resetRecomputations: () => void;
|
|
94
|
+
dependencyRecomputations: () => number;
|
|
95
|
+
resetDependencyRecomputations: () => void;
|
|
96
|
+
} & {
|
|
97
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
98
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
99
|
+
};
|
|
100
|
+
export declare const isGetCapabilitiesLoading: ((state: LoadingIndicatorModuleState, id: string) => boolean) & {
|
|
101
|
+
clearCache: () => void;
|
|
102
|
+
resultsCount: () => number;
|
|
103
|
+
resetResultsCount: () => void;
|
|
104
|
+
} & {
|
|
105
|
+
resultFunc: (resultFuncArgs_0: {
|
|
106
|
+
id: string;
|
|
107
|
+
getMapLoadingPercentage: number;
|
|
108
|
+
isGetCapabilitiesLoading: boolean;
|
|
109
|
+
isEDRLoading: boolean;
|
|
110
|
+
}) => boolean;
|
|
111
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
112
|
+
id: string;
|
|
113
|
+
getMapLoadingPercentage: number;
|
|
114
|
+
isGetCapabilitiesLoading: boolean;
|
|
115
|
+
isEDRLoading: boolean;
|
|
116
|
+
}) => boolean) & {
|
|
117
|
+
clearCache: () => void;
|
|
118
|
+
resultsCount: () => number;
|
|
119
|
+
resetResultsCount: () => void;
|
|
120
|
+
};
|
|
121
|
+
lastResult: () => boolean;
|
|
122
|
+
dependencies: [(state: LoadingIndicatorModuleState, id: string) => {
|
|
123
|
+
id: string;
|
|
124
|
+
getMapLoadingPercentage: number;
|
|
125
|
+
isGetCapabilitiesLoading: boolean;
|
|
126
|
+
isEDRLoading: boolean;
|
|
127
|
+
}];
|
|
128
|
+
recomputations: () => number;
|
|
129
|
+
resetRecomputations: () => void;
|
|
130
|
+
dependencyRecomputations: () => number;
|
|
131
|
+
resetDependencyRecomputations: () => void;
|
|
132
|
+
} & {
|
|
133
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
134
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
135
|
+
};
|
|
136
|
+
export declare const isEDRLoading: ((state: LoadingIndicatorModuleState, id: string) => boolean) & {
|
|
137
|
+
clearCache: () => void;
|
|
138
|
+
resultsCount: () => number;
|
|
139
|
+
resetResultsCount: () => void;
|
|
140
|
+
} & {
|
|
141
|
+
resultFunc: (resultFuncArgs_0: {
|
|
142
|
+
id: string;
|
|
143
|
+
getMapLoadingPercentage: number;
|
|
144
|
+
isGetCapabilitiesLoading: boolean;
|
|
145
|
+
isEDRLoading: boolean;
|
|
146
|
+
}) => boolean;
|
|
147
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
148
|
+
id: string;
|
|
149
|
+
getMapLoadingPercentage: number;
|
|
150
|
+
isGetCapabilitiesLoading: boolean;
|
|
151
|
+
isEDRLoading: boolean;
|
|
152
|
+
}) => boolean) & {
|
|
153
|
+
clearCache: () => void;
|
|
154
|
+
resultsCount: () => number;
|
|
155
|
+
resetResultsCount: () => void;
|
|
156
|
+
};
|
|
157
|
+
lastResult: () => boolean;
|
|
158
|
+
dependencies: [(state: LoadingIndicatorModuleState, id: string) => {
|
|
159
|
+
id: string;
|
|
160
|
+
getMapLoadingPercentage: number;
|
|
161
|
+
isGetCapabilitiesLoading: boolean;
|
|
162
|
+
isEDRLoading: boolean;
|
|
163
|
+
}];
|
|
164
|
+
recomputations: () => number;
|
|
165
|
+
resetRecomputations: () => void;
|
|
166
|
+
dependencyRecomputations: () => number;
|
|
167
|
+
resetDependencyRecomputations: () => void;
|
|
168
|
+
} & {
|
|
169
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
170
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
171
|
+
};
|
|
172
|
+
export declare const isLoading: ((state: LoadingIndicatorModuleState, id: string) => boolean) & {
|
|
173
|
+
clearCache: () => void;
|
|
174
|
+
resultsCount: () => number;
|
|
175
|
+
resetResultsCount: () => void;
|
|
176
|
+
} & {
|
|
177
|
+
resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: boolean, resultFuncArgs_2: boolean, resultFuncArgs_3: boolean) => boolean;
|
|
178
|
+
memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: boolean, resultFuncArgs_2: boolean, resultFuncArgs_3: boolean) => boolean) & {
|
|
179
|
+
clearCache: () => void;
|
|
180
|
+
resultsCount: () => number;
|
|
181
|
+
resetResultsCount: () => void;
|
|
182
|
+
};
|
|
183
|
+
lastResult: () => boolean;
|
|
184
|
+
dependencies: [((state: LoadingIndicatorModuleState, id: string) => boolean) & {
|
|
185
|
+
clearCache: () => void;
|
|
186
|
+
resultsCount: () => number;
|
|
187
|
+
resetResultsCount: () => void;
|
|
188
|
+
} & {
|
|
189
|
+
resultFunc: (resultFuncArgs_0: number) => boolean;
|
|
190
|
+
memoizedResultFunc: ((resultFuncArgs_0: number) => boolean) & {
|
|
191
|
+
clearCache: () => void;
|
|
192
|
+
resultsCount: () => number;
|
|
193
|
+
resetResultsCount: () => void;
|
|
194
|
+
};
|
|
195
|
+
lastResult: () => boolean;
|
|
196
|
+
dependencies: [((state: LoadingIndicatorModuleState, id: string) => number) & {
|
|
197
|
+
clearCache: () => void;
|
|
198
|
+
resultsCount: () => number;
|
|
199
|
+
resetResultsCount: () => void;
|
|
200
|
+
} & {
|
|
201
|
+
resultFunc: (resultFuncArgs_0: {
|
|
202
|
+
id: string;
|
|
203
|
+
getMapLoadingPercentage: number;
|
|
204
|
+
isGetCapabilitiesLoading: boolean;
|
|
205
|
+
isEDRLoading: boolean;
|
|
206
|
+
}) => number;
|
|
207
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
208
|
+
id: string;
|
|
209
|
+
getMapLoadingPercentage: number;
|
|
210
|
+
isGetCapabilitiesLoading: boolean;
|
|
211
|
+
isEDRLoading: boolean;
|
|
212
|
+
}) => number) & {
|
|
213
|
+
clearCache: () => void;
|
|
214
|
+
resultsCount: () => number;
|
|
215
|
+
resetResultsCount: () => void;
|
|
216
|
+
};
|
|
217
|
+
lastResult: () => number;
|
|
218
|
+
dependencies: [(state: LoadingIndicatorModuleState, id: string) => {
|
|
219
|
+
id: string;
|
|
220
|
+
getMapLoadingPercentage: number;
|
|
221
|
+
isGetCapabilitiesLoading: boolean;
|
|
222
|
+
isEDRLoading: boolean;
|
|
223
|
+
}];
|
|
224
|
+
recomputations: () => number;
|
|
225
|
+
resetRecomputations: () => void;
|
|
226
|
+
dependencyRecomputations: () => number;
|
|
227
|
+
resetDependencyRecomputations: () => void;
|
|
228
|
+
} & {
|
|
229
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
230
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
231
|
+
}];
|
|
232
|
+
recomputations: () => number;
|
|
233
|
+
resetRecomputations: () => void;
|
|
234
|
+
dependencyRecomputations: () => number;
|
|
235
|
+
resetDependencyRecomputations: () => void;
|
|
236
|
+
} & {
|
|
237
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
238
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
239
|
+
}, ((state: LoadingIndicatorModuleState, id: string) => boolean) & {
|
|
240
|
+
clearCache: () => void;
|
|
241
|
+
resultsCount: () => number;
|
|
242
|
+
resetResultsCount: () => void;
|
|
243
|
+
} & {
|
|
244
|
+
resultFunc: (resultFuncArgs_0: {
|
|
245
|
+
id: string;
|
|
246
|
+
getMapLoadingPercentage: number;
|
|
247
|
+
isGetCapabilitiesLoading: boolean;
|
|
248
|
+
isEDRLoading: boolean;
|
|
249
|
+
}) => boolean;
|
|
250
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
251
|
+
id: string;
|
|
252
|
+
getMapLoadingPercentage: number;
|
|
253
|
+
isGetCapabilitiesLoading: boolean;
|
|
254
|
+
isEDRLoading: boolean;
|
|
255
|
+
}) => boolean) & {
|
|
256
|
+
clearCache: () => void;
|
|
257
|
+
resultsCount: () => number;
|
|
258
|
+
resetResultsCount: () => void;
|
|
259
|
+
};
|
|
260
|
+
lastResult: () => boolean;
|
|
261
|
+
dependencies: [(state: LoadingIndicatorModuleState, id: string) => {
|
|
262
|
+
id: string;
|
|
263
|
+
getMapLoadingPercentage: number;
|
|
264
|
+
isGetCapabilitiesLoading: boolean;
|
|
265
|
+
isEDRLoading: boolean;
|
|
266
|
+
}];
|
|
267
|
+
recomputations: () => number;
|
|
268
|
+
resetRecomputations: () => void;
|
|
269
|
+
dependencyRecomputations: () => number;
|
|
270
|
+
resetDependencyRecomputations: () => void;
|
|
271
|
+
} & {
|
|
272
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
273
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
274
|
+
}, ((state: LoadingIndicatorModuleState, id: string) => boolean) & {
|
|
275
|
+
clearCache: () => void;
|
|
276
|
+
resultsCount: () => number;
|
|
277
|
+
resetResultsCount: () => void;
|
|
278
|
+
} & {
|
|
279
|
+
resultFunc: (resultFuncArgs_0: {
|
|
280
|
+
id: string;
|
|
281
|
+
getMapLoadingPercentage: number;
|
|
282
|
+
isGetCapabilitiesLoading: boolean;
|
|
283
|
+
isEDRLoading: boolean;
|
|
284
|
+
}) => boolean;
|
|
285
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
286
|
+
id: string;
|
|
287
|
+
getMapLoadingPercentage: number;
|
|
288
|
+
isGetCapabilitiesLoading: boolean;
|
|
289
|
+
isEDRLoading: boolean;
|
|
290
|
+
}) => boolean) & {
|
|
291
|
+
clearCache: () => void;
|
|
292
|
+
resultsCount: () => number;
|
|
293
|
+
resetResultsCount: () => void;
|
|
294
|
+
};
|
|
295
|
+
lastResult: () => boolean;
|
|
296
|
+
dependencies: [(state: LoadingIndicatorModuleState, id: string) => {
|
|
297
|
+
id: string;
|
|
298
|
+
getMapLoadingPercentage: number;
|
|
299
|
+
isGetCapabilitiesLoading: boolean;
|
|
300
|
+
isEDRLoading: boolean;
|
|
301
|
+
}];
|
|
302
|
+
recomputations: () => number;
|
|
303
|
+
resetRecomputations: () => void;
|
|
304
|
+
dependencyRecomputations: () => number;
|
|
305
|
+
resetDependencyRecomputations: () => void;
|
|
306
|
+
} & {
|
|
307
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
308
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
309
|
+
}, ((state: LoadingIndicatorModuleState) => boolean) & {
|
|
310
|
+
clearCache: () => void;
|
|
311
|
+
resultsCount: () => number;
|
|
312
|
+
resetResultsCount: () => void;
|
|
313
|
+
} & {
|
|
314
|
+
resultFunc: (resultFuncArgs_0: LoadingIndicatorType | undefined) => boolean;
|
|
315
|
+
memoizedResultFunc: ((resultFuncArgs_0: LoadingIndicatorType | undefined) => boolean) & {
|
|
316
|
+
clearCache: () => void;
|
|
317
|
+
resultsCount: () => number;
|
|
318
|
+
resetResultsCount: () => void;
|
|
319
|
+
};
|
|
320
|
+
lastResult: () => boolean;
|
|
321
|
+
dependencies: [(store: LoadingIndicatorModuleState) => LoadingIndicatorType | undefined];
|
|
322
|
+
recomputations: () => number;
|
|
323
|
+
resetRecomputations: () => void;
|
|
324
|
+
dependencyRecomputations: () => number;
|
|
325
|
+
resetDependencyRecomputations: () => void;
|
|
326
|
+
} & {
|
|
327
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
328
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
329
|
+
}];
|
|
330
|
+
recomputations: () => number;
|
|
331
|
+
resetRecomputations: () => void;
|
|
332
|
+
dependencyRecomputations: () => number;
|
|
333
|
+
resetDependencyRecomputations: () => void;
|
|
334
|
+
} & {
|
|
335
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
336
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
337
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { EntityState } from '@reduxjs/toolkit';
|
|
2
|
+
export interface LoadingIndicatorType {
|
|
3
|
+
id: string;
|
|
4
|
+
getMapLoadingPercentage: number;
|
|
5
|
+
isGetCapabilitiesLoading: boolean;
|
|
6
|
+
isEDRLoading: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface LoadingIndicatorModuleState {
|
|
9
|
+
loadingIndicator?: EntityState<LoadingIndicatorType, string>;
|
|
10
|
+
}
|
|
11
|
+
export interface SetIsGetMapLoadingPayload {
|
|
12
|
+
id: string;
|
|
13
|
+
getMapLoadingPercentage: number;
|
|
14
|
+
}
|
|
15
|
+
export interface SetIsGetCapabilitiesLoadingPayload {
|
|
16
|
+
id: string;
|
|
17
|
+
isGetCapabilitiesLoading: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface SetIsEDRLoadingPayload {
|
|
20
|
+
id: string;
|
|
21
|
+
isEDRLoading: boolean;
|
|
22
|
+
}
|