@opengeoweb/workspace 12.2.0 → 12.4.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 +218 -149
- package/package.json +19 -19
- package/src/lib/api/workspace-api/hooks.d.ts +5 -0
- package/src/lib/components/WorkspaceView/helpers.d.ts +2 -2
- package/src/lib/store/store.d.ts +11 -11
- package/src/lib/store/viewPresets/listener.d.ts +4 -4
- package/src/lib/store/viewPresets/reducer.d.ts +1 -1
- package/src/lib/store/viewPresets/selectors.d.ts +510 -34
- package/src/lib/store/viewPresets/types.d.ts +2 -2
- package/src/lib/store/viewPresetsList/reducer.d.ts +1 -1
- package/src/lib/store/viewPresetsList/selectors.d.ts +177 -4
- package/src/lib/store/viewPresetsList/types.d.ts +1 -1
- package/src/lib/store/workspace/listener.d.ts +3 -3
- package/src/lib/store/workspace/selectors.d.ts +1787 -67
- package/src/lib/store/workspace/utils.d.ts +5 -0
- package/src/lib/store/workspaceList/listener.d.ts +2 -2
- package/src/lib/store/workspaceList/reducer.d.ts +1 -1
- package/src/lib/store/workspaceList/selectors.d.ts +305 -71
- package/src/lib/store/workspaceList/types.d.ts +1 -1
|
@@ -8,4 +8,9 @@ export declare const useCreateWorkspacePreset: () => MutationReturnType<{
|
|
|
8
8
|
data: WorkspacePresetForBE;
|
|
9
9
|
action?: WorkspacePresetAction.DUPLICATE;
|
|
10
10
|
}>;
|
|
11
|
+
export declare const useUpdateWorkspacePreset: () => MutationReturnType<{
|
|
12
|
+
id: string;
|
|
13
|
+
data: WorkspacePresetForBE;
|
|
14
|
+
action?: WorkspacePresetAction.SAVE | WorkspacePresetAction.SAVE_SYSTEM_PRESET;
|
|
15
|
+
}>;
|
|
11
16
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UnknownAction } from '@reduxjs/toolkit';
|
|
2
2
|
import { MosaicNode } from 'react-mosaic-component';
|
|
3
3
|
export declare const getUniqueId: (existingIds: string[], count?: number) => string;
|
|
4
4
|
export declare const createBalancedMosaicNode: (currentNode: MosaicNode<string>) => MosaicNode<string>;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const closeDialogsWhenChangingPreset: (componentTypes: string[] | undefined, dispatch: (action: UnknownAction) => void) => void;
|
package/src/lib/store/store.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { SnackbarModuleStore } from '@opengeoweb/snackbar';
|
|
2
2
|
import { WebMapStateModuleState, SynchronizationGroupModuleState, UIModuleState } from '@opengeoweb/store';
|
|
3
|
-
import {
|
|
3
|
+
import { Store } from '@reduxjs/toolkit';
|
|
4
4
|
import { WorkspaceModuleStore } from './types';
|
|
5
5
|
export declare const workspaceReducersMap: {
|
|
6
|
-
webmap: import("redux").Reducer<import("dist/libs/store/src/store/map/types").WebMapState, import("redux").
|
|
7
|
-
services: import("redux").Reducer<import("dist/libs/store/src/store/map/types").ServiceState, import("redux").
|
|
8
|
-
layers: import("redux").Reducer<import("dist/libs/store/src/store/map/types").LayerState, import("redux").
|
|
9
|
-
syncGroups: import("redux").Reducer<import("dist/libs/store/src/store/generic/syncGroups/types").SynchronizationGroupState, import("redux").
|
|
10
|
-
loadingIndicator: import("redux").Reducer<import("@reduxjs/toolkit").EntityState<import("dist/libs/store/src/store/generic/loadingIndicator/types").LoadingIndicatorType>, import("redux").
|
|
11
|
-
ui: import("redux").Reducer<import("dist/libs/store/src/store/ui/types").UIStoreType, import("redux").
|
|
6
|
+
webmap: import("redux").Reducer<import("dist/libs/store/src/store/map/types").WebMapState, import("redux").UnknownAction, import("dist/libs/store/src/store/map/types").WebMapState>;
|
|
7
|
+
services: import("redux").Reducer<import("dist/libs/store/src/store/map/types").ServiceState, import("redux").UnknownAction, import("dist/libs/store/src/store/map/types").ServiceState>;
|
|
8
|
+
layers: import("redux").Reducer<import("dist/libs/store/src/store/map/types").LayerState, import("redux").UnknownAction, import("dist/libs/store/src/store/map/types").LayerState>;
|
|
9
|
+
syncGroups: import("redux").Reducer<import("dist/libs/store/src/store/generic/syncGroups/types").SynchronizationGroupState, import("redux").UnknownAction, import("dist/libs/store/src/store/generic/syncGroups/types").SynchronizationGroupState>;
|
|
10
|
+
loadingIndicator: import("redux").Reducer<import("@reduxjs/toolkit").EntityState<import("dist/libs/store/src/store/generic/loadingIndicator/types").LoadingIndicatorType, string>, import("redux").UnknownAction, import("@reduxjs/toolkit").EntityState<import("dist/libs/store/src/store/generic/loadingIndicator/types").LoadingIndicatorType, string>>;
|
|
11
|
+
ui: import("redux").Reducer<import("dist/libs/store/src/store/ui/types").UIStoreType, import("redux").UnknownAction, import("dist/libs/store/src/store/ui/types").UIStoreType>;
|
|
12
12
|
workspace: import("redux").Reducer<import("./workspace/types").WorkspaceState>;
|
|
13
13
|
workspaceList: import("redux").Reducer<import("./workspaceList/types").WorkspaceListState>;
|
|
14
14
|
viewPresetsList: import("redux").Reducer<import("./viewPresetsList/types").ViewPresetListState>;
|
|
15
15
|
viewPresets: import("redux").Reducer<import("./viewPresets/types").ViewPresetState>;
|
|
16
|
-
timeSeries: import("redux").Reducer<import("dist/libs/timeseries/src/lib/store/types").TimeSeriesStoreType, import("redux").
|
|
17
|
-
snackbar: import("redux").Reducer<import("dist/libs/snackbar/src/lib/store/types").SnackbarState, import("redux").
|
|
16
|
+
timeSeries: import("redux").Reducer<import("dist/libs/timeseries/src/lib/store/types").TimeSeriesStoreType, import("redux").UnknownAction, import("dist/libs/timeseries/src/lib/store/types").TimeSeriesStoreType>;
|
|
17
|
+
snackbar: import("redux").Reducer<import("dist/libs/snackbar/src/lib/store/types").SnackbarState, import("redux").UnknownAction, import("dist/libs/snackbar/src/lib/store/types").SnackbarState>;
|
|
18
18
|
};
|
|
19
|
-
export declare const workspaceMiddlewares: (import("@reduxjs/toolkit").ListenerMiddleware<import("./types").AppStore, import("
|
|
20
|
-
export declare const createMockStore: (mockState?: WebMapStateModuleState | WorkspaceModuleStore | UIModuleState | SynchronizationGroupModuleState | SnackbarModuleStore) =>
|
|
19
|
+
export declare const workspaceMiddlewares: (import("@reduxjs/toolkit").ListenerMiddleware<import("./types").AppStore, import("redux-thunk").ThunkDispatch<import("./types").AppStore, unknown, import("redux").UnknownAction>, unknown> | import("@reduxjs/toolkit").ListenerMiddleware<SnackbarModuleStore, import("redux-thunk").ThunkDispatch<SnackbarModuleStore, unknown, import("redux").UnknownAction>, unknown>)[];
|
|
20
|
+
export declare const createMockStore: (mockState?: WebMapStateModuleState | WorkspaceModuleStore | UIModuleState | SynchronizationGroupModuleState | SnackbarModuleStore) => Store;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UnknownAction, ListenerEffectAPI, PayloadAction, ThunkDispatch } from '@reduxjs/toolkit';
|
|
2
2
|
import { WorkspaceModuleStore } from '../types';
|
|
3
3
|
import { SaveViewPresetPayload, ViewPreset } from './types';
|
|
4
|
-
export declare const viewPresetsListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WorkspaceModuleStore, ThunkDispatch<WorkspaceModuleStore, unknown,
|
|
5
|
-
export declare const saveViewPresetAsEffect: ({ payload }: PayloadAction<SaveViewPresetPayload>, listenerApi: ListenerEffectAPI<WorkspaceModuleStore, ThunkDispatch<WorkspaceModuleStore, unknown,
|
|
6
|
-
export declare const saveViewPresetEffect: ({ payload }: PayloadAction<SaveViewPresetPayload>, listenerApi: ListenerEffectAPI<WorkspaceModuleStore, ThunkDispatch<WorkspaceModuleStore, unknown,
|
|
4
|
+
export declare const viewPresetsListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WorkspaceModuleStore, ThunkDispatch<WorkspaceModuleStore, unknown, UnknownAction>, unknown>;
|
|
5
|
+
export declare const saveViewPresetAsEffect: ({ payload }: PayloadAction<SaveViewPresetPayload>, listenerApi: ListenerEffectAPI<WorkspaceModuleStore, ThunkDispatch<WorkspaceModuleStore, unknown, UnknownAction>>) => Promise<ViewPreset | Error | void>;
|
|
6
|
+
export declare const saveViewPresetEffect: ({ payload }: PayloadAction<SaveViewPresetPayload>, listenerApi: ListenerEffectAPI<WorkspaceModuleStore, ThunkDispatch<WorkspaceModuleStore, unknown, UnknownAction>>) => Promise<ViewPreset | Error | void>;
|
|
@@ -2,7 +2,7 @@ import { layerTypes, mapEnums } from '@opengeoweb/store';
|
|
|
2
2
|
import { TimeSeriesTypes } from '@opengeoweb/timeseries';
|
|
3
3
|
import { Draft, PayloadAction } from '@reduxjs/toolkit';
|
|
4
4
|
import { ErrorViewPresetPayload, FetchedViewPresetPayload, FetchedViewPresetsPayload, FetchViewPresetsPayload, OnSuccesViewPresetActionPayload, OpenViewPresetDialogPayload, RegisterViewPresetPayload, SavedViewPresetPayload, SaveViewPresetPayload, SearchWorkspaceFilter, SelectViewPresetPayload, SetActiveViewPresetIdPayload, SetFilterChipsPayload, SetSelectAllFilterChip, SetViewPresetHasChangePayload, ToggleSelectFilterChip, ToggleViewPresetListDialogPayload, UnregisterViewPresetPayload, ViewPresetEntity, ViewPresetState } from './types';
|
|
5
|
-
export declare const viewPresetsAdapter: import("@reduxjs/toolkit").EntityAdapter<ViewPresetEntity>;
|
|
5
|
+
export declare const viewPresetsAdapter: import("@reduxjs/toolkit").EntityAdapter<ViewPresetEntity, string>;
|
|
6
6
|
export declare const initialState: ViewPresetState;
|
|
7
7
|
export type SupportedMapActionOrigins = layerTypes.LayerActionOrigin | mapEnums.MapActionOrigin;
|
|
8
8
|
export declare const supportedMapActionOrigins: SupportedMapActionOrigins[];
|
|
@@ -3,59 +3,535 @@ import type { AppStore } from '../types';
|
|
|
3
3
|
import { ViewPresetListItem } from '../workspace/types';
|
|
4
4
|
import { ViewPresetEntity, ViewPresetError, ViewPresetsListFilter, ViewPresetState } from './types';
|
|
5
5
|
export declare const getViewPresetsStore: (store: AppStore) => ViewPresetState;
|
|
6
|
-
export declare const getViewPresets: (state: AppStore) => ViewPresetEntity[], getViewPresetById: (state: AppStore, id:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
export declare const getViewPresets: (state: AppStore) => ViewPresetEntity[], getViewPresetById: (state: AppStore, id: string) => {
|
|
7
|
+
panelId: string;
|
|
8
|
+
activeViewPresetId: string;
|
|
9
|
+
hasChanges: boolean;
|
|
10
|
+
isFetching: boolean;
|
|
11
|
+
error: ViewPresetError;
|
|
12
|
+
isViewPresetListDialogOpen: boolean;
|
|
13
|
+
filters: ViewPresetsListFilter[];
|
|
14
|
+
searchQuery: string;
|
|
15
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
11
16
|
};
|
|
12
|
-
export declare const
|
|
13
|
-
clearCache: () => void;
|
|
14
|
-
}> & {
|
|
17
|
+
export declare const getViewPresetsIsFetching: ((state: AppStore, id: string) => boolean) & {
|
|
15
18
|
clearCache: () => void;
|
|
19
|
+
resultsCount: () => number;
|
|
20
|
+
resetResultsCount: () => void;
|
|
21
|
+
} & {
|
|
22
|
+
resultFunc: (resultFuncArgs_0: {
|
|
23
|
+
panelId: string;
|
|
24
|
+
activeViewPresetId: string;
|
|
25
|
+
hasChanges: boolean;
|
|
26
|
+
isFetching: boolean;
|
|
27
|
+
error: ViewPresetError;
|
|
28
|
+
isViewPresetListDialogOpen: boolean;
|
|
29
|
+
filters: ViewPresetsListFilter[];
|
|
30
|
+
searchQuery: string;
|
|
31
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
32
|
+
}, resultFuncArgs_1: string) => boolean;
|
|
33
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
34
|
+
panelId: string;
|
|
35
|
+
activeViewPresetId: string;
|
|
36
|
+
hasChanges: boolean;
|
|
37
|
+
isFetching: boolean;
|
|
38
|
+
error: ViewPresetError;
|
|
39
|
+
isViewPresetListDialogOpen: boolean;
|
|
40
|
+
filters: ViewPresetsListFilter[];
|
|
41
|
+
searchQuery: string;
|
|
42
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
43
|
+
}, resultFuncArgs_1: string) => boolean) & {
|
|
44
|
+
clearCache: () => void;
|
|
45
|
+
resultsCount: () => number;
|
|
46
|
+
resetResultsCount: () => void;
|
|
47
|
+
};
|
|
48
|
+
lastResult: () => boolean;
|
|
49
|
+
dependencies: [(state: AppStore, id: string) => {
|
|
50
|
+
panelId: string;
|
|
51
|
+
activeViewPresetId: string;
|
|
52
|
+
hasChanges: boolean;
|
|
53
|
+
isFetching: boolean;
|
|
54
|
+
error: ViewPresetError;
|
|
55
|
+
isViewPresetListDialogOpen: boolean;
|
|
56
|
+
filters: ViewPresetsListFilter[];
|
|
57
|
+
searchQuery: string;
|
|
58
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
59
|
+
}, (_store: AppStore, panelId: string) => string];
|
|
60
|
+
recomputations: () => number;
|
|
61
|
+
resetRecomputations: () => void;
|
|
62
|
+
dependencyRecomputations: () => number;
|
|
63
|
+
resetDependencyRecomputations: () => void;
|
|
64
|
+
} & {
|
|
65
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
66
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
16
67
|
};
|
|
17
|
-
export declare const
|
|
18
|
-
clearCache: () => void;
|
|
19
|
-
}> & {
|
|
68
|
+
export declare const getViewPresetsError: ((state: AppStore, id: string) => ViewPresetError) & {
|
|
20
69
|
clearCache: () => void;
|
|
70
|
+
resultsCount: () => number;
|
|
71
|
+
resetResultsCount: () => void;
|
|
72
|
+
} & {
|
|
73
|
+
resultFunc: (resultFuncArgs_0: {
|
|
74
|
+
panelId: string;
|
|
75
|
+
activeViewPresetId: string;
|
|
76
|
+
hasChanges: boolean;
|
|
77
|
+
isFetching: boolean;
|
|
78
|
+
error: ViewPresetError;
|
|
79
|
+
isViewPresetListDialogOpen: boolean;
|
|
80
|
+
filters: ViewPresetsListFilter[];
|
|
81
|
+
searchQuery: string;
|
|
82
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
83
|
+
}, resultFuncArgs_1: string) => ViewPresetError;
|
|
84
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
85
|
+
panelId: string;
|
|
86
|
+
activeViewPresetId: string;
|
|
87
|
+
hasChanges: boolean;
|
|
88
|
+
isFetching: boolean;
|
|
89
|
+
error: ViewPresetError;
|
|
90
|
+
isViewPresetListDialogOpen: boolean;
|
|
91
|
+
filters: ViewPresetsListFilter[];
|
|
92
|
+
searchQuery: string;
|
|
93
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
94
|
+
}, resultFuncArgs_1: string) => ViewPresetError) & {
|
|
95
|
+
clearCache: () => void;
|
|
96
|
+
resultsCount: () => number;
|
|
97
|
+
resetResultsCount: () => void;
|
|
98
|
+
};
|
|
99
|
+
lastResult: () => ViewPresetError;
|
|
100
|
+
dependencies: [(state: AppStore, id: string) => {
|
|
101
|
+
panelId: string;
|
|
102
|
+
activeViewPresetId: string;
|
|
103
|
+
hasChanges: boolean;
|
|
104
|
+
isFetching: boolean;
|
|
105
|
+
error: ViewPresetError;
|
|
106
|
+
isViewPresetListDialogOpen: boolean;
|
|
107
|
+
filters: ViewPresetsListFilter[];
|
|
108
|
+
searchQuery: string;
|
|
109
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
110
|
+
}, (_store: AppStore, panelId: string) => string];
|
|
111
|
+
recomputations: () => number;
|
|
112
|
+
resetRecomputations: () => void;
|
|
113
|
+
dependencyRecomputations: () => number;
|
|
114
|
+
resetDependencyRecomputations: () => void;
|
|
115
|
+
} & {
|
|
116
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
117
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
21
118
|
};
|
|
22
|
-
export declare const
|
|
23
|
-
clearCache: () => void;
|
|
24
|
-
}> & {
|
|
119
|
+
export declare const getViewPresetDetailError: ((state: AppStore, id: string) => string | undefined) & {
|
|
25
120
|
clearCache: () => void;
|
|
121
|
+
resultsCount: () => number;
|
|
122
|
+
resetResultsCount: () => void;
|
|
123
|
+
} & {
|
|
124
|
+
resultFunc: (resultFuncArgs_0: ViewPresetError, resultFuncArgs_1: string) => string | undefined;
|
|
125
|
+
memoizedResultFunc: ((resultFuncArgs_0: ViewPresetError, resultFuncArgs_1: string) => string | undefined) & {
|
|
126
|
+
clearCache: () => void;
|
|
127
|
+
resultsCount: () => number;
|
|
128
|
+
resetResultsCount: () => void;
|
|
129
|
+
};
|
|
130
|
+
lastResult: () => string | undefined;
|
|
131
|
+
dependencies: [((state: AppStore, id: string) => ViewPresetError) & {
|
|
132
|
+
clearCache: () => void;
|
|
133
|
+
resultsCount: () => number;
|
|
134
|
+
resetResultsCount: () => void;
|
|
135
|
+
} & {
|
|
136
|
+
resultFunc: (resultFuncArgs_0: {
|
|
137
|
+
panelId: string;
|
|
138
|
+
activeViewPresetId: string;
|
|
139
|
+
hasChanges: boolean;
|
|
140
|
+
isFetching: boolean;
|
|
141
|
+
error: ViewPresetError;
|
|
142
|
+
isViewPresetListDialogOpen: boolean;
|
|
143
|
+
filters: ViewPresetsListFilter[];
|
|
144
|
+
searchQuery: string;
|
|
145
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
146
|
+
}, resultFuncArgs_1: string) => ViewPresetError;
|
|
147
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
148
|
+
panelId: string;
|
|
149
|
+
activeViewPresetId: string;
|
|
150
|
+
hasChanges: boolean;
|
|
151
|
+
isFetching: boolean;
|
|
152
|
+
error: ViewPresetError;
|
|
153
|
+
isViewPresetListDialogOpen: boolean;
|
|
154
|
+
filters: ViewPresetsListFilter[];
|
|
155
|
+
searchQuery: string;
|
|
156
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
157
|
+
}, resultFuncArgs_1: string) => ViewPresetError) & {
|
|
158
|
+
clearCache: () => void;
|
|
159
|
+
resultsCount: () => number;
|
|
160
|
+
resetResultsCount: () => void;
|
|
161
|
+
};
|
|
162
|
+
lastResult: () => ViewPresetError;
|
|
163
|
+
dependencies: [(state: AppStore, id: string) => {
|
|
164
|
+
panelId: string;
|
|
165
|
+
activeViewPresetId: string;
|
|
166
|
+
hasChanges: boolean;
|
|
167
|
+
isFetching: boolean;
|
|
168
|
+
error: ViewPresetError;
|
|
169
|
+
isViewPresetListDialogOpen: boolean;
|
|
170
|
+
filters: ViewPresetsListFilter[];
|
|
171
|
+
searchQuery: string;
|
|
172
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
173
|
+
}, (_store: AppStore, panelId: string) => string];
|
|
174
|
+
recomputations: () => number;
|
|
175
|
+
resetRecomputations: () => void;
|
|
176
|
+
dependencyRecomputations: () => number;
|
|
177
|
+
resetDependencyRecomputations: () => void;
|
|
178
|
+
} & {
|
|
179
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
180
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
181
|
+
}, (_store: AppStore, panelId: string) => string];
|
|
182
|
+
recomputations: () => number;
|
|
183
|
+
resetRecomputations: () => void;
|
|
184
|
+
dependencyRecomputations: () => number;
|
|
185
|
+
resetDependencyRecomputations: () => void;
|
|
186
|
+
} & {
|
|
187
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
188
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
26
189
|
};
|
|
27
|
-
export declare const
|
|
28
|
-
clearCache: () => void;
|
|
29
|
-
}> & {
|
|
190
|
+
export declare const getViewPresetHasChanges: ((state: AppStore, id: string) => boolean | undefined) & {
|
|
30
191
|
clearCache: () => void;
|
|
192
|
+
resultsCount: () => number;
|
|
193
|
+
resetResultsCount: () => void;
|
|
194
|
+
} & {
|
|
195
|
+
resultFunc: (resultFuncArgs_0: {
|
|
196
|
+
panelId: string;
|
|
197
|
+
activeViewPresetId: string;
|
|
198
|
+
hasChanges: boolean;
|
|
199
|
+
isFetching: boolean;
|
|
200
|
+
error: ViewPresetError;
|
|
201
|
+
isViewPresetListDialogOpen: boolean;
|
|
202
|
+
filters: ViewPresetsListFilter[];
|
|
203
|
+
searchQuery: string;
|
|
204
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
205
|
+
}, resultFuncArgs_1: string) => boolean | undefined;
|
|
206
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
207
|
+
panelId: string;
|
|
208
|
+
activeViewPresetId: string;
|
|
209
|
+
hasChanges: boolean;
|
|
210
|
+
isFetching: boolean;
|
|
211
|
+
error: ViewPresetError;
|
|
212
|
+
isViewPresetListDialogOpen: boolean;
|
|
213
|
+
filters: ViewPresetsListFilter[];
|
|
214
|
+
searchQuery: string;
|
|
215
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
216
|
+
}, resultFuncArgs_1: string) => boolean | undefined) & {
|
|
217
|
+
clearCache: () => void;
|
|
218
|
+
resultsCount: () => number;
|
|
219
|
+
resetResultsCount: () => void;
|
|
220
|
+
};
|
|
221
|
+
lastResult: () => boolean | undefined;
|
|
222
|
+
dependencies: [(state: AppStore, id: string) => {
|
|
223
|
+
panelId: string;
|
|
224
|
+
activeViewPresetId: string;
|
|
225
|
+
hasChanges: boolean;
|
|
226
|
+
isFetching: boolean;
|
|
227
|
+
error: ViewPresetError;
|
|
228
|
+
isViewPresetListDialogOpen: boolean;
|
|
229
|
+
filters: ViewPresetsListFilter[];
|
|
230
|
+
searchQuery: string;
|
|
231
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
232
|
+
}, (_store: AppStore, panelId: string) => string];
|
|
233
|
+
recomputations: () => number;
|
|
234
|
+
resetRecomputations: () => void;
|
|
235
|
+
dependencyRecomputations: () => number;
|
|
236
|
+
resetDependencyRecomputations: () => void;
|
|
237
|
+
} & {
|
|
238
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
239
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
31
240
|
};
|
|
32
|
-
export declare const
|
|
33
|
-
clearCache: () => void;
|
|
34
|
-
}> & {
|
|
241
|
+
export declare const getViewPresetActiveId: ((state: AppStore, id: string) => string | undefined) & {
|
|
35
242
|
clearCache: () => void;
|
|
243
|
+
resultsCount: () => number;
|
|
244
|
+
resetResultsCount: () => void;
|
|
245
|
+
} & {
|
|
246
|
+
resultFunc: (resultFuncArgs_0: {
|
|
247
|
+
panelId: string;
|
|
248
|
+
activeViewPresetId: string;
|
|
249
|
+
hasChanges: boolean;
|
|
250
|
+
isFetching: boolean;
|
|
251
|
+
error: ViewPresetError;
|
|
252
|
+
isViewPresetListDialogOpen: boolean;
|
|
253
|
+
filters: ViewPresetsListFilter[];
|
|
254
|
+
searchQuery: string;
|
|
255
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
256
|
+
}, resultFuncArgs_1: string) => string | undefined;
|
|
257
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
258
|
+
panelId: string;
|
|
259
|
+
activeViewPresetId: string;
|
|
260
|
+
hasChanges: boolean;
|
|
261
|
+
isFetching: boolean;
|
|
262
|
+
error: ViewPresetError;
|
|
263
|
+
isViewPresetListDialogOpen: boolean;
|
|
264
|
+
filters: ViewPresetsListFilter[];
|
|
265
|
+
searchQuery: string;
|
|
266
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
267
|
+
}, resultFuncArgs_1: string) => string | undefined) & {
|
|
268
|
+
clearCache: () => void;
|
|
269
|
+
resultsCount: () => number;
|
|
270
|
+
resetResultsCount: () => void;
|
|
271
|
+
};
|
|
272
|
+
lastResult: () => string | undefined;
|
|
273
|
+
dependencies: [(state: AppStore, id: string) => {
|
|
274
|
+
panelId: string;
|
|
275
|
+
activeViewPresetId: string;
|
|
276
|
+
hasChanges: boolean;
|
|
277
|
+
isFetching: boolean;
|
|
278
|
+
error: ViewPresetError;
|
|
279
|
+
isViewPresetListDialogOpen: boolean;
|
|
280
|
+
filters: ViewPresetsListFilter[];
|
|
281
|
+
searchQuery: string;
|
|
282
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
283
|
+
}, (_store: AppStore, panelId: string) => string];
|
|
284
|
+
recomputations: () => number;
|
|
285
|
+
resetRecomputations: () => void;
|
|
286
|
+
dependencyRecomputations: () => number;
|
|
287
|
+
resetDependencyRecomputations: () => void;
|
|
288
|
+
} & {
|
|
289
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
290
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
36
291
|
};
|
|
37
|
-
export declare const
|
|
38
|
-
clearCache: () => void;
|
|
39
|
-
}> & {
|
|
292
|
+
export declare const getViewPresetPanelId: ((state: AppStore, mapId: string) => string) & {
|
|
40
293
|
clearCache: () => void;
|
|
294
|
+
resultsCount: () => number;
|
|
295
|
+
resetResultsCount: () => void;
|
|
296
|
+
} & {
|
|
297
|
+
resultFunc: (resultFuncArgs_0: ViewPresetEntity[], resultFuncArgs_1: string) => string;
|
|
298
|
+
memoizedResultFunc: ((resultFuncArgs_0: ViewPresetEntity[], resultFuncArgs_1: string) => string) & {
|
|
299
|
+
clearCache: () => void;
|
|
300
|
+
resultsCount: () => number;
|
|
301
|
+
resetResultsCount: () => void;
|
|
302
|
+
};
|
|
303
|
+
lastResult: () => string;
|
|
304
|
+
dependencies: [(state: AppStore) => ViewPresetEntity[], (store: AppStore, mapId: string) => string];
|
|
305
|
+
recomputations: () => number;
|
|
306
|
+
resetRecomputations: () => void;
|
|
307
|
+
dependencyRecomputations: () => number;
|
|
308
|
+
resetDependencyRecomputations: () => void;
|
|
309
|
+
} & {
|
|
310
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
311
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
41
312
|
};
|
|
42
|
-
export declare const
|
|
43
|
-
clearCache: () => void;
|
|
44
|
-
}> & {
|
|
313
|
+
export declare const getDialogOptions: ((state: AppStore) => import("./types").ViewPresetDialog | undefined) & {
|
|
45
314
|
clearCache: () => void;
|
|
315
|
+
resultsCount: () => number;
|
|
316
|
+
resetResultsCount: () => void;
|
|
317
|
+
} & {
|
|
318
|
+
resultFunc: (resultFuncArgs_0: ViewPresetState, resultFuncArgs_1: AppStore) => import("./types").ViewPresetDialog | undefined;
|
|
319
|
+
memoizedResultFunc: ((resultFuncArgs_0: ViewPresetState, resultFuncArgs_1: AppStore) => import("./types").ViewPresetDialog | undefined) & {
|
|
320
|
+
clearCache: () => void;
|
|
321
|
+
resultsCount: () => number;
|
|
322
|
+
resetResultsCount: () => void;
|
|
323
|
+
};
|
|
324
|
+
lastResult: () => import("./types").ViewPresetDialog | undefined;
|
|
325
|
+
dependencies: [(store: AppStore) => ViewPresetState, (store: AppStore) => AppStore];
|
|
326
|
+
recomputations: () => number;
|
|
327
|
+
resetRecomputations: () => void;
|
|
328
|
+
dependencyRecomputations: () => number;
|
|
329
|
+
resetDependencyRecomputations: () => void;
|
|
330
|
+
} & {
|
|
331
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
332
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
46
333
|
};
|
|
47
|
-
export declare const
|
|
48
|
-
clearCache: () => void;
|
|
49
|
-
}> & {
|
|
334
|
+
export declare const getIsViewPresetListDialogOpen: ((state: AppStore, id: string) => boolean) & {
|
|
50
335
|
clearCache: () => void;
|
|
336
|
+
resultsCount: () => number;
|
|
337
|
+
resetResultsCount: () => void;
|
|
338
|
+
} & {
|
|
339
|
+
resultFunc: (resultFuncArgs_0: {
|
|
340
|
+
panelId: string;
|
|
341
|
+
activeViewPresetId: string;
|
|
342
|
+
hasChanges: boolean;
|
|
343
|
+
isFetching: boolean;
|
|
344
|
+
error: ViewPresetError;
|
|
345
|
+
isViewPresetListDialogOpen: boolean;
|
|
346
|
+
filters: ViewPresetsListFilter[];
|
|
347
|
+
searchQuery: string;
|
|
348
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
349
|
+
}, resultFuncArgs_1: string) => boolean;
|
|
350
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
351
|
+
panelId: string;
|
|
352
|
+
activeViewPresetId: string;
|
|
353
|
+
hasChanges: boolean;
|
|
354
|
+
isFetching: boolean;
|
|
355
|
+
error: ViewPresetError;
|
|
356
|
+
isViewPresetListDialogOpen: boolean;
|
|
357
|
+
filters: ViewPresetsListFilter[];
|
|
358
|
+
searchQuery: string;
|
|
359
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
360
|
+
}, resultFuncArgs_1: string) => boolean) & {
|
|
361
|
+
clearCache: () => void;
|
|
362
|
+
resultsCount: () => number;
|
|
363
|
+
resetResultsCount: () => void;
|
|
364
|
+
};
|
|
365
|
+
lastResult: () => boolean;
|
|
366
|
+
dependencies: [(state: AppStore, id: string) => {
|
|
367
|
+
panelId: string;
|
|
368
|
+
activeViewPresetId: string;
|
|
369
|
+
hasChanges: boolean;
|
|
370
|
+
isFetching: boolean;
|
|
371
|
+
error: ViewPresetError;
|
|
372
|
+
isViewPresetListDialogOpen: boolean;
|
|
373
|
+
filters: ViewPresetsListFilter[];
|
|
374
|
+
searchQuery: string;
|
|
375
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
376
|
+
}, (_store: AppStore, panelId: string) => string];
|
|
377
|
+
recomputations: () => number;
|
|
378
|
+
resetRecomputations: () => void;
|
|
379
|
+
dependencyRecomputations: () => number;
|
|
380
|
+
resetDependencyRecomputations: () => void;
|
|
381
|
+
} & {
|
|
382
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
383
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
51
384
|
};
|
|
52
|
-
export declare const
|
|
53
|
-
clearCache: () => void;
|
|
54
|
-
}> & {
|
|
385
|
+
export declare const getViewPresetListFiltersForView: ((state: AppStore, _panelId: string, scope?: SystemScope | undefined) => ViewPresetsListFilter[]) & {
|
|
55
386
|
clearCache: () => void;
|
|
387
|
+
resultsCount: () => number;
|
|
388
|
+
resetResultsCount: () => void;
|
|
389
|
+
} & {
|
|
390
|
+
resultFunc: (resultFuncArgs_0: {
|
|
391
|
+
panelId: string;
|
|
392
|
+
activeViewPresetId: string;
|
|
393
|
+
hasChanges: boolean;
|
|
394
|
+
isFetching: boolean;
|
|
395
|
+
error: ViewPresetError;
|
|
396
|
+
isViewPresetListDialogOpen: boolean;
|
|
397
|
+
filters: ViewPresetsListFilter[];
|
|
398
|
+
searchQuery: string;
|
|
399
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
400
|
+
}, resultFuncArgs_1: SystemScope | undefined) => ViewPresetsListFilter[];
|
|
401
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
402
|
+
panelId: string;
|
|
403
|
+
activeViewPresetId: string;
|
|
404
|
+
hasChanges: boolean;
|
|
405
|
+
isFetching: boolean;
|
|
406
|
+
error: ViewPresetError;
|
|
407
|
+
isViewPresetListDialogOpen: boolean;
|
|
408
|
+
filters: ViewPresetsListFilter[];
|
|
409
|
+
searchQuery: string;
|
|
410
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
411
|
+
}, resultFuncArgs_1: SystemScope | undefined) => ViewPresetsListFilter[]) & {
|
|
412
|
+
clearCache: () => void;
|
|
413
|
+
resultsCount: () => number;
|
|
414
|
+
resetResultsCount: () => void;
|
|
415
|
+
};
|
|
416
|
+
lastResult: () => ViewPresetsListFilter[];
|
|
417
|
+
dependencies: [(state: AppStore, id: string) => {
|
|
418
|
+
panelId: string;
|
|
419
|
+
activeViewPresetId: string;
|
|
420
|
+
hasChanges: boolean;
|
|
421
|
+
isFetching: boolean;
|
|
422
|
+
error: ViewPresetError;
|
|
423
|
+
isViewPresetListDialogOpen: boolean;
|
|
424
|
+
filters: ViewPresetsListFilter[];
|
|
425
|
+
searchQuery: string;
|
|
426
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
427
|
+
}, (_store: AppStore, _panelId: string, scope?: SystemScope) => SystemScope | undefined];
|
|
428
|
+
recomputations: () => number;
|
|
429
|
+
resetRecomputations: () => void;
|
|
430
|
+
dependencyRecomputations: () => number;
|
|
431
|
+
resetDependencyRecomputations: () => void;
|
|
432
|
+
} & {
|
|
433
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
434
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
56
435
|
};
|
|
57
|
-
export declare const
|
|
436
|
+
export declare const getViewPresetListSearchQueryForView: ((state: AppStore, id: string) => string) & {
|
|
58
437
|
clearCache: () => void;
|
|
59
|
-
|
|
438
|
+
resultsCount: () => number;
|
|
439
|
+
resetResultsCount: () => void;
|
|
440
|
+
} & {
|
|
441
|
+
resultFunc: (resultFuncArgs_0: {
|
|
442
|
+
panelId: string;
|
|
443
|
+
activeViewPresetId: string;
|
|
444
|
+
hasChanges: boolean;
|
|
445
|
+
isFetching: boolean;
|
|
446
|
+
error: ViewPresetError;
|
|
447
|
+
isViewPresetListDialogOpen: boolean;
|
|
448
|
+
filters: ViewPresetsListFilter[];
|
|
449
|
+
searchQuery: string;
|
|
450
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
451
|
+
}, resultFuncArgs_1: string) => string;
|
|
452
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
453
|
+
panelId: string;
|
|
454
|
+
activeViewPresetId: string;
|
|
455
|
+
hasChanges: boolean;
|
|
456
|
+
isFetching: boolean;
|
|
457
|
+
error: ViewPresetError;
|
|
458
|
+
isViewPresetListDialogOpen: boolean;
|
|
459
|
+
filters: ViewPresetsListFilter[];
|
|
460
|
+
searchQuery: string;
|
|
461
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
462
|
+
}, resultFuncArgs_1: string) => string) & {
|
|
463
|
+
clearCache: () => void;
|
|
464
|
+
resultsCount: () => number;
|
|
465
|
+
resetResultsCount: () => void;
|
|
466
|
+
};
|
|
467
|
+
lastResult: () => string;
|
|
468
|
+
dependencies: [(state: AppStore, id: string) => {
|
|
469
|
+
panelId: string;
|
|
470
|
+
activeViewPresetId: string;
|
|
471
|
+
hasChanges: boolean;
|
|
472
|
+
isFetching: boolean;
|
|
473
|
+
error: ViewPresetError;
|
|
474
|
+
isViewPresetListDialogOpen: boolean;
|
|
475
|
+
filters: ViewPresetsListFilter[];
|
|
476
|
+
searchQuery: string;
|
|
477
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
478
|
+
}, (_store: AppStore, panelId: string) => string];
|
|
479
|
+
recomputations: () => number;
|
|
480
|
+
resetRecomputations: () => void;
|
|
481
|
+
dependencyRecomputations: () => number;
|
|
482
|
+
resetDependencyRecomputations: () => void;
|
|
483
|
+
} & {
|
|
484
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
485
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
486
|
+
};
|
|
487
|
+
export declare const getViewPresetListFilterResultsForView: ((state: AppStore, id: string) => ViewPresetListItem[]) & {
|
|
60
488
|
clearCache: () => void;
|
|
489
|
+
resultsCount: () => number;
|
|
490
|
+
resetResultsCount: () => void;
|
|
491
|
+
} & {
|
|
492
|
+
resultFunc: (resultFuncArgs_0: {
|
|
493
|
+
panelId: string;
|
|
494
|
+
activeViewPresetId: string;
|
|
495
|
+
hasChanges: boolean;
|
|
496
|
+
isFetching: boolean;
|
|
497
|
+
error: ViewPresetError;
|
|
498
|
+
isViewPresetListDialogOpen: boolean;
|
|
499
|
+
filters: ViewPresetsListFilter[];
|
|
500
|
+
searchQuery: string;
|
|
501
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
502
|
+
}) => ViewPresetListItem[];
|
|
503
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
504
|
+
panelId: string;
|
|
505
|
+
activeViewPresetId: string;
|
|
506
|
+
hasChanges: boolean;
|
|
507
|
+
isFetching: boolean;
|
|
508
|
+
error: ViewPresetError;
|
|
509
|
+
isViewPresetListDialogOpen: boolean;
|
|
510
|
+
filters: ViewPresetsListFilter[];
|
|
511
|
+
searchQuery: string;
|
|
512
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
513
|
+
}) => ViewPresetListItem[]) & {
|
|
514
|
+
clearCache: () => void;
|
|
515
|
+
resultsCount: () => number;
|
|
516
|
+
resetResultsCount: () => void;
|
|
517
|
+
};
|
|
518
|
+
lastResult: () => ViewPresetListItem[];
|
|
519
|
+
dependencies: [(state: AppStore, id: string) => {
|
|
520
|
+
panelId: string;
|
|
521
|
+
activeViewPresetId: string;
|
|
522
|
+
hasChanges: boolean;
|
|
523
|
+
isFetching: boolean;
|
|
524
|
+
error: ViewPresetError;
|
|
525
|
+
isViewPresetListDialogOpen: boolean;
|
|
526
|
+
filters: ViewPresetsListFilter[];
|
|
527
|
+
searchQuery: string;
|
|
528
|
+
filterResults: import("@reduxjs/toolkit").EntityState<import("../viewPresetsList/types").ViewPresetListItem, string>;
|
|
529
|
+
}];
|
|
530
|
+
recomputations: () => number;
|
|
531
|
+
resetRecomputations: () => void;
|
|
532
|
+
dependencyRecomputations: () => number;
|
|
533
|
+
resetDependencyRecomputations: () => void;
|
|
534
|
+
} & {
|
|
535
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
536
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
61
537
|
};
|