@opengeoweb/layer-select 16.0.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +606 -158
- package/package.json +9 -9
- package/jest.config.d.ts +0 -0
- package/src/index.d.ts +0 -4
- package/src/lib/components/DataExplorerButtonConnect/DataExplorerButtonConnect.d.ts +0 -8
- package/src/lib/components/DataExplorerButtonConnect/index.d.ts +0 -1
- package/src/lib/components/KeywordFilterButton/KeywordFilterButtonConnect.d.ts +0 -9
- package/src/lib/components/KeywordFilterButton/KeywordFilterButtonConnect.spec.d.ts +0 -1
- package/src/lib/components/KeywordFilterButton/index.d.ts +0 -1
- package/src/lib/components/KeywordFilterResults/KeywordFilterResults.d.ts +0 -13
- package/src/lib/components/KeywordFilterResults/KeywordFilterResults.integration.spec.d.ts +0 -1
- package/src/lib/components/KeywordFilterResults/KeywordFilterResults.stories.d.ts +0 -8
- package/src/lib/components/KeywordFilterResults/KeywordFilterResultsConnect.d.ts +0 -8
- package/src/lib/components/KeywordFilterResults/KeywordFilterResultsListItemConnect.d.ts +0 -6
- package/src/lib/components/KeywordFilterResults/KeywordFilterSelectAllSwitchConnect.d.ts +0 -2
- package/src/lib/components/KeywordFilterResults/index.d.ts +0 -4
- package/src/lib/components/LayerList/LayerAddRemoveButton.d.ts +0 -23
- package/src/lib/components/LayerList/LayerAddRemoveButton.spec.d.ts +0 -1
- package/src/lib/components/LayerList/LayerList.d.ts +0 -30
- package/src/lib/components/LayerList/LayerList.spec.d.ts +0 -3
- package/src/lib/components/LayerList/LayerListConnect.d.ts +0 -9
- package/src/lib/components/LayerList/LayerListConnect.spec.d.ts +0 -1
- package/src/lib/components/LayerList/LayerListDimensions.d.ts +0 -7
- package/src/lib/components/LayerList/LayerListRow.d.ts +0 -25
- package/src/lib/components/LayerList/index.d.ts +0 -5
- package/src/lib/components/LayerSelect/LayerSelect.d.ts +0 -21
- package/src/lib/components/LayerSelect/LayerSelect.spec.d.ts +0 -1
- package/src/lib/components/LayerSelect/LayerSelect.stories.d.ts +0 -14
- package/src/lib/components/LayerSelect/LayerSelectButtonConnect.d.ts +0 -11
- package/src/lib/components/LayerSelect/LayerSelectButtonConnect.spec.d.ts +0 -1
- package/src/lib/components/LayerSelect/LayerSelectConnect.d.ts +0 -16
- package/src/lib/components/LayerSelect/LayerSelectConnect.integration.spec.d.ts +0 -1
- package/src/lib/components/LayerSelect/LayerSelectConnect.spec.d.ts +0 -1
- package/src/lib/components/LayerSelect/LayerSelectUtils.d.ts +0 -77
- package/src/lib/components/LayerSelect/LayerSelectUtils.spec.d.ts +0 -1
- package/src/lib/components/LayerSelect/index.d.ts +0 -2
- package/src/lib/components/Providers/Providers.d.ts +0 -22
- package/src/lib/components/Providers/index.d.ts +0 -1
- package/src/lib/components/SearchField/SearchFieldConnect.d.ts +0 -2
- package/src/lib/components/SearchField/SearchFieldConnect.spec.d.ts +0 -1
- package/src/lib/components/SearchField/index.d.ts +0 -1
- package/src/lib/components/ServiceList/ServiceChip.d.ts +0 -12
- package/src/lib/components/ServiceList/ServiceChip.spec.d.ts +0 -1
- package/src/lib/components/ServiceList/ServiceChipConnect.d.ts +0 -10
- package/src/lib/components/ServiceList/ServiceList.d.ts +0 -8
- package/src/lib/components/ServiceList/ServiceListConnect.d.ts +0 -6
- package/src/lib/components/ServiceList/ServiceListConnect.spec.d.ts +0 -1
- package/src/lib/components/ServiceList/index.d.ts +0 -4
- package/src/lib/components/ServiceOptionsButton/ServiceOptionsButton.d.ts +0 -6
- package/src/lib/components/ServiceOptionsButton/ServiceOptionsButton.spec.d.ts +0 -1
- package/src/lib/components/ServiceOptionsButton/ServiceOptionsButton.stories.d.ts +0 -8
- package/src/lib/components/ServiceOptionsButton/index.d.ts +0 -1
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +0 -20
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialog.spec.d.ts +0 -1
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialog.stories.d.ts +0 -45
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialogConnect.d.ts +0 -8
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialogConnect.spec.d.ts +0 -1
- package/src/lib/components/ServiceOptionsDialog/index.d.ts +0 -2
- package/src/lib/components/ServicePopup/ServicePopup.d.ts +0 -20
- package/src/lib/components/ServicePopup/ServicePopup.spec.d.ts +0 -1
- package/src/lib/components/ServicePopup/ServicePopup.stories.d.ts +0 -12
- package/src/lib/components/ServicePopup/ServicePopupConnect.d.ts +0 -2
- package/src/lib/components/ServicePopup/ServicePopupConnect.spec.d.ts +0 -1
- package/src/lib/components/ServicePopup/ServicePopupConnect.stories.d.ts +0 -9
- package/src/lib/components/ServicePopup/ServicePopupDialogConnect.d.ts +0 -11
- package/src/lib/components/ServicePopup/index.d.ts +0 -3
- package/src/lib/components/ServicePopup/utils.d.ts +0 -7
- package/src/lib/components/ServicePopup/utils.spec.d.ts +0 -1
- package/src/lib/components/index.d.ts +0 -10
- package/src/lib/index.d.ts +0 -2
- package/src/lib/store/index.d.ts +0 -7
- package/src/lib/store/listeners.d.ts +0 -2
- package/src/lib/store/listeners.spec.d.ts +0 -1
- package/src/lib/store/reducer.d.ts +0 -26
- package/src/lib/store/reducer.spec.d.ts +0 -1
- package/src/lib/store/selectors.d.ts +0 -535
- package/src/lib/store/selectors.spec.d.ts +0 -1
- package/src/lib/store/store.d.ts +0 -13
- package/src/lib/store/types.d.ts +0 -71
- package/src/lib/store/utils.d.ts +0 -9
- package/src/lib/store/utils.spec.d.ts +0 -1
- package/src/lib/utils/i18n.d.ts +0 -7
|
@@ -1,535 +0,0 @@
|
|
|
1
|
-
import type { TypedUseSelectorHook } from 'react-redux';
|
|
2
|
-
import type { LayerSelectStoreType, ActiveServiceObjectEntities, ServicePopupObject, LayerSelectModuleState, RootState, Filter, LayerWithServiceName } from './types';
|
|
3
|
-
export declare const useAppSelector: TypedUseSelectorHook<RootState>;
|
|
4
|
-
/**
|
|
5
|
-
* Returns search filter string
|
|
6
|
-
*
|
|
7
|
-
* Example getSearchFilter(store);
|
|
8
|
-
* @param {object} store store: object - store object
|
|
9
|
-
* @returns {array} returnType: string
|
|
10
|
-
*/
|
|
11
|
-
export declare const getSearchFilter: ((state: LayerSelectModuleState) => string) & {
|
|
12
|
-
clearCache: () => void;
|
|
13
|
-
resultsCount: () => number;
|
|
14
|
-
resetResultsCount: () => void;
|
|
15
|
-
} & {
|
|
16
|
-
resultFunc: (resultFuncArgs_0: LayerSelectStoreType) => string;
|
|
17
|
-
memoizedResultFunc: ((resultFuncArgs_0: LayerSelectStoreType) => string) & {
|
|
18
|
-
clearCache: () => void;
|
|
19
|
-
resultsCount: () => number;
|
|
20
|
-
resetResultsCount: () => void;
|
|
21
|
-
};
|
|
22
|
-
lastResult: () => string;
|
|
23
|
-
dependencies: [(store: LayerSelectModuleState) => LayerSelectStoreType];
|
|
24
|
-
recomputations: () => number;
|
|
25
|
-
resetRecomputations: () => void;
|
|
26
|
-
dependencyRecomputations: () => number;
|
|
27
|
-
resetDependencyRecomputations: () => void;
|
|
28
|
-
} & {
|
|
29
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
30
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Returns active services array
|
|
34
|
-
*
|
|
35
|
-
* Example getActiveServices(store);
|
|
36
|
-
* @param {object} store store: object - store object
|
|
37
|
-
* @returns {ActiveServiceObjectEntities} returnType: ActiveServiceObjectEntitiesobject of active services
|
|
38
|
-
*/
|
|
39
|
-
export declare const getActiveServices: (store: LayerSelectModuleState) => ActiveServiceObjectEntities;
|
|
40
|
-
export declare const getActiveServicesDictionary: (state: LayerSelectModuleState) => Record<string, import("./types").ActiveServiceObject>, getActiveServiceById: (state: LayerSelectModuleState, id: string) => {
|
|
41
|
-
serviceId?: string | undefined;
|
|
42
|
-
serviceName?: string | undefined;
|
|
43
|
-
serviceUrl?: string | undefined;
|
|
44
|
-
abstract?: string | undefined;
|
|
45
|
-
enabled?: boolean | undefined;
|
|
46
|
-
filterIds?: string[] | undefined;
|
|
47
|
-
scope?: import("@opengeoweb/shared").SystemScope | undefined;
|
|
48
|
-
isLoading?: boolean | undefined;
|
|
49
|
-
keywords?: string[] | undefined;
|
|
50
|
-
groups?: string[] | undefined;
|
|
51
|
-
isInSearch?: boolean | undefined;
|
|
52
|
-
}, getAllActiveServices: (state: LayerSelectModuleState) => import("./types").ActiveServiceObject[];
|
|
53
|
-
/**
|
|
54
|
-
* Returns all ids of enabled services
|
|
55
|
-
*
|
|
56
|
-
* Example getEnabledServiceIds(store);
|
|
57
|
-
* @param {object} store store: object - store object
|
|
58
|
-
* @returns {array} returnType: array of service ids that are enabled
|
|
59
|
-
*/
|
|
60
|
-
export declare const getEnabledServiceIds: ((state: LayerSelectModuleState) => string[]) & {
|
|
61
|
-
clearCache: () => void;
|
|
62
|
-
resultsCount: () => number;
|
|
63
|
-
resetResultsCount: () => void;
|
|
64
|
-
} & {
|
|
65
|
-
resultFunc: (resultFuncArgs_0: import("./types").ActiveServiceObject[]) => string[];
|
|
66
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("./types").ActiveServiceObject[]) => string[]) & {
|
|
67
|
-
clearCache: () => void;
|
|
68
|
-
resultsCount: () => number;
|
|
69
|
-
resetResultsCount: () => void;
|
|
70
|
-
};
|
|
71
|
-
lastResult: () => string[];
|
|
72
|
-
dependencies: [(state: LayerSelectModuleState) => import("./types").ActiveServiceObject[]];
|
|
73
|
-
recomputations: () => number;
|
|
74
|
-
resetRecomputations: () => void;
|
|
75
|
-
dependencyRecomputations: () => number;
|
|
76
|
-
resetDependencyRecomputations: () => void;
|
|
77
|
-
} & {
|
|
78
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
79
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Returns ids of all keywords
|
|
83
|
-
*
|
|
84
|
-
* Example getAllKeywordIds(store);
|
|
85
|
-
* @param {object} store store: object - store object
|
|
86
|
-
* @returns {array} returnType: array of all keyword ids
|
|
87
|
-
*/
|
|
88
|
-
export declare const getAllFilterIds: (store: LayerSelectModuleState) => string[];
|
|
89
|
-
export declare const getAllFilters: (state: LayerSelectModuleState) => Filter[], getAllFilterIdsEntity: (state: LayerSelectModuleState) => string[], getFilterById: (state: LayerSelectModuleState, id: string) => {
|
|
90
|
-
id: string;
|
|
91
|
-
name: string;
|
|
92
|
-
checked?: boolean | undefined;
|
|
93
|
-
amountVisible?: number | undefined;
|
|
94
|
-
type: import("./types").FilterType;
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Returns all ids of checked keywords
|
|
98
|
-
*
|
|
99
|
-
* Example getCheckedKeywordIds(store);
|
|
100
|
-
* @param {object} store store: object - store object
|
|
101
|
-
* @returns {array} returnType: array of keyword ids that are checked
|
|
102
|
-
*/
|
|
103
|
-
export declare const getCheckedFilterIds: ((state: LayerSelectModuleState) => string[]) & {
|
|
104
|
-
clearCache: () => void;
|
|
105
|
-
resultsCount: () => number;
|
|
106
|
-
resetResultsCount: () => void;
|
|
107
|
-
} & {
|
|
108
|
-
resultFunc: (resultFuncArgs_0: Filter[]) => string[];
|
|
109
|
-
memoizedResultFunc: ((resultFuncArgs_0: Filter[]) => string[]) & {
|
|
110
|
-
clearCache: () => void;
|
|
111
|
-
resultsCount: () => number;
|
|
112
|
-
resetResultsCount: () => void;
|
|
113
|
-
};
|
|
114
|
-
lastResult: () => string[];
|
|
115
|
-
dependencies: [(state: LayerSelectModuleState) => Filter[]];
|
|
116
|
-
recomputations: () => number;
|
|
117
|
-
resetRecomputations: () => void;
|
|
118
|
-
dependencyRecomputations: () => number;
|
|
119
|
-
resetDependencyRecomputations: () => void;
|
|
120
|
-
} & {
|
|
121
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
122
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
123
|
-
};
|
|
124
|
-
export interface FiltersGrouped {
|
|
125
|
-
groups: Filter[];
|
|
126
|
-
keywords: Filter[];
|
|
127
|
-
}
|
|
128
|
-
export declare const getFilters: ((state: LayerSelectModuleState) => FiltersGrouped) & {
|
|
129
|
-
clearCache: () => void;
|
|
130
|
-
resultsCount: () => number;
|
|
131
|
-
resetResultsCount: () => void;
|
|
132
|
-
} & {
|
|
133
|
-
resultFunc: (resultFuncArgs_0: import("./types").ActiveServiceObject[], resultFuncArgs_1: Filter[]) => FiltersGrouped;
|
|
134
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("./types").ActiveServiceObject[], resultFuncArgs_1: Filter[]) => FiltersGrouped) & {
|
|
135
|
-
clearCache: () => void;
|
|
136
|
-
resultsCount: () => number;
|
|
137
|
-
resetResultsCount: () => void;
|
|
138
|
-
};
|
|
139
|
-
lastResult: () => FiltersGrouped;
|
|
140
|
-
dependencies: [(state: LayerSelectModuleState) => import("./types").ActiveServiceObject[], (state: LayerSelectModuleState) => Filter[]];
|
|
141
|
-
recomputations: () => number;
|
|
142
|
-
resetRecomputations: () => void;
|
|
143
|
-
dependencyRecomputations: () => number;
|
|
144
|
-
resetDependencyRecomputations: () => void;
|
|
145
|
-
} & {
|
|
146
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
147
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
148
|
-
};
|
|
149
|
-
/**
|
|
150
|
-
* Returns if all keywords are checked
|
|
151
|
-
*
|
|
152
|
-
* Example isAllKeywordsChecked(store);
|
|
153
|
-
* @param {object} store store: object - store object
|
|
154
|
-
* @returns {array} returnType: boolean if all keywords are checked
|
|
155
|
-
*/
|
|
156
|
-
export declare const isAllFiltersChecked: ((state: LayerSelectModuleState) => boolean) & {
|
|
157
|
-
clearCache: () => void;
|
|
158
|
-
resultsCount: () => number;
|
|
159
|
-
resetResultsCount: () => void;
|
|
160
|
-
} & {
|
|
161
|
-
resultFunc: (resultFuncArgs_0: LayerSelectStoreType) => boolean;
|
|
162
|
-
memoizedResultFunc: ((resultFuncArgs_0: LayerSelectStoreType) => boolean) & {
|
|
163
|
-
clearCache: () => void;
|
|
164
|
-
resultsCount: () => number;
|
|
165
|
-
resetResultsCount: () => void;
|
|
166
|
-
};
|
|
167
|
-
lastResult: () => boolean;
|
|
168
|
-
dependencies: [(store: LayerSelectModuleState) => LayerSelectStoreType];
|
|
169
|
-
recomputations: () => number;
|
|
170
|
-
resetRecomputations: () => void;
|
|
171
|
-
dependencyRecomputations: () => number;
|
|
172
|
-
resetDependencyRecomputations: () => void;
|
|
173
|
-
} & {
|
|
174
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
175
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
176
|
-
};
|
|
177
|
-
/**
|
|
178
|
-
* Returns a filtered active layer object based on the given filter settings
|
|
179
|
-
* Example: layerSelectSelectors.getFilteredLayers(store, filteredSettings);
|
|
180
|
-
* @param {object} store store: object - object from which the service state will be extracted
|
|
181
|
-
* @returns {array} returnType: LayerWithServiceName - an array of all filtered activelayers
|
|
182
|
-
*/
|
|
183
|
-
export declare const getFilteredLayers: ((state: LayerSelectModuleState & import("@opengeoweb/store").CoreAppStore) => LayerWithServiceName[]) & {
|
|
184
|
-
clearCache: () => void;
|
|
185
|
-
resultsCount: () => number;
|
|
186
|
-
resetResultsCount: () => void;
|
|
187
|
-
} & {
|
|
188
|
-
resultFunc: (resultFuncArgs_0: string[], resultFuncArgs_1: import("dist/libs/store/src/store/map/types").Services, resultFuncArgs_2: string[], resultFuncArgs_3: boolean, resultFuncArgs_4: string) => LayerWithServiceName[];
|
|
189
|
-
memoizedResultFunc: ((resultFuncArgs_0: string[], resultFuncArgs_1: import("dist/libs/store/src/store/map/types").Services, resultFuncArgs_2: string[], resultFuncArgs_3: boolean, resultFuncArgs_4: string) => LayerWithServiceName[]) & {
|
|
190
|
-
clearCache: () => void;
|
|
191
|
-
resultsCount: () => number;
|
|
192
|
-
resetResultsCount: () => void;
|
|
193
|
-
};
|
|
194
|
-
lastResult: () => LayerWithServiceName[];
|
|
195
|
-
dependencies: [((state: LayerSelectModuleState) => string[]) & {
|
|
196
|
-
clearCache: () => void;
|
|
197
|
-
resultsCount: () => number;
|
|
198
|
-
resetResultsCount: () => void;
|
|
199
|
-
} & {
|
|
200
|
-
resultFunc: (resultFuncArgs_0: import("./types").ActiveServiceObject[]) => string[];
|
|
201
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("./types").ActiveServiceObject[]) => string[]) & {
|
|
202
|
-
clearCache: () => void;
|
|
203
|
-
resultsCount: () => number;
|
|
204
|
-
resetResultsCount: () => void;
|
|
205
|
-
};
|
|
206
|
-
lastResult: () => string[];
|
|
207
|
-
dependencies: [(state: LayerSelectModuleState) => import("./types").ActiveServiceObject[]];
|
|
208
|
-
recomputations: () => number;
|
|
209
|
-
resetRecomputations: () => void;
|
|
210
|
-
dependencyRecomputations: () => number;
|
|
211
|
-
resetDependencyRecomputations: () => void;
|
|
212
|
-
} & {
|
|
213
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
214
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
215
|
-
}, ((state: import("@opengeoweb/store").CoreAppStore) => import("dist/libs/store/src/store/map/types").Services) & {
|
|
216
|
-
clearCache: () => void;
|
|
217
|
-
resultsCount: () => number;
|
|
218
|
-
resetResultsCount: () => void;
|
|
219
|
-
} & {
|
|
220
|
-
resultFunc: (resultFuncArgs_0: import("dist/libs/store/src/store/map/types").ServiceState | undefined) => import("dist/libs/store/src/store/map/service/types").Services;
|
|
221
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("dist/libs/store/src/store/map/types").ServiceState | undefined) => import("dist/libs/store/src/store/map/service/types").Services) & {
|
|
222
|
-
clearCache: () => void;
|
|
223
|
-
resultsCount: () => number;
|
|
224
|
-
resetResultsCount: () => void;
|
|
225
|
-
};
|
|
226
|
-
lastResult: () => import("dist/libs/store/src/store/map/service/types").Services;
|
|
227
|
-
dependencies: [(store: import("@opengeoweb/store").CoreAppStore) => import("dist/libs/store/src/store/map/types").ServiceState | undefined];
|
|
228
|
-
recomputations: () => number;
|
|
229
|
-
resetRecomputations: () => void;
|
|
230
|
-
dependencyRecomputations: () => number;
|
|
231
|
-
resetDependencyRecomputations: () => void;
|
|
232
|
-
} & {
|
|
233
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
234
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
235
|
-
}, ((state: LayerSelectModuleState) => string[]) & {
|
|
236
|
-
clearCache: () => void;
|
|
237
|
-
resultsCount: () => number;
|
|
238
|
-
resetResultsCount: () => void;
|
|
239
|
-
} & {
|
|
240
|
-
resultFunc: (resultFuncArgs_0: Filter[]) => string[];
|
|
241
|
-
memoizedResultFunc: ((resultFuncArgs_0: Filter[]) => string[]) & {
|
|
242
|
-
clearCache: () => void;
|
|
243
|
-
resultsCount: () => number;
|
|
244
|
-
resetResultsCount: () => void;
|
|
245
|
-
};
|
|
246
|
-
lastResult: () => string[];
|
|
247
|
-
dependencies: [(state: LayerSelectModuleState) => Filter[]];
|
|
248
|
-
recomputations: () => number;
|
|
249
|
-
resetRecomputations: () => void;
|
|
250
|
-
dependencyRecomputations: () => number;
|
|
251
|
-
resetDependencyRecomputations: () => void;
|
|
252
|
-
} & {
|
|
253
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
254
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
255
|
-
}, ((state: LayerSelectModuleState) => boolean) & {
|
|
256
|
-
clearCache: () => void;
|
|
257
|
-
resultsCount: () => number;
|
|
258
|
-
resetResultsCount: () => void;
|
|
259
|
-
} & {
|
|
260
|
-
resultFunc: (resultFuncArgs_0: LayerSelectStoreType) => boolean;
|
|
261
|
-
memoizedResultFunc: ((resultFuncArgs_0: LayerSelectStoreType) => boolean) & {
|
|
262
|
-
clearCache: () => void;
|
|
263
|
-
resultsCount: () => number;
|
|
264
|
-
resetResultsCount: () => void;
|
|
265
|
-
};
|
|
266
|
-
lastResult: () => boolean;
|
|
267
|
-
dependencies: [(store: LayerSelectModuleState) => LayerSelectStoreType];
|
|
268
|
-
recomputations: () => number;
|
|
269
|
-
resetRecomputations: () => void;
|
|
270
|
-
dependencyRecomputations: () => number;
|
|
271
|
-
resetDependencyRecomputations: () => void;
|
|
272
|
-
} & {
|
|
273
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
274
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
275
|
-
}, ((state: LayerSelectModuleState) => string) & {
|
|
276
|
-
clearCache: () => void;
|
|
277
|
-
resultsCount: () => number;
|
|
278
|
-
resetResultsCount: () => void;
|
|
279
|
-
} & {
|
|
280
|
-
resultFunc: (resultFuncArgs_0: LayerSelectStoreType) => string;
|
|
281
|
-
memoizedResultFunc: ((resultFuncArgs_0: LayerSelectStoreType) => string) & {
|
|
282
|
-
clearCache: () => void;
|
|
283
|
-
resultsCount: () => number;
|
|
284
|
-
resetResultsCount: () => void;
|
|
285
|
-
};
|
|
286
|
-
lastResult: () => string;
|
|
287
|
-
dependencies: [(store: LayerSelectModuleState) => LayerSelectStoreType];
|
|
288
|
-
recomputations: () => number;
|
|
289
|
-
resetRecomputations: () => void;
|
|
290
|
-
dependencyRecomputations: () => number;
|
|
291
|
-
resetDependencyRecomputations: () => void;
|
|
292
|
-
} & {
|
|
293
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
294
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
295
|
-
}];
|
|
296
|
-
recomputations: () => number;
|
|
297
|
-
resetRecomputations: () => void;
|
|
298
|
-
dependencyRecomputations: () => number;
|
|
299
|
-
resetDependencyRecomputations: () => void;
|
|
300
|
-
} & {
|
|
301
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
302
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
303
|
-
};
|
|
304
|
-
/**
|
|
305
|
-
* Returns service popup details
|
|
306
|
-
*
|
|
307
|
-
* Example getServicePopupDetails(store, 'server-id');
|
|
308
|
-
* @param {object} store store: object - store object
|
|
309
|
-
* @returns {object} returnType: object of active service
|
|
310
|
-
*/
|
|
311
|
-
export declare const getServicePopupDetails: (store: LayerSelectModuleState) => ServicePopupObject;
|
|
312
|
-
/**
|
|
313
|
-
* Returns service with active filtered layers from seaerch
|
|
314
|
-
*
|
|
315
|
-
* Example getFilteredActiveServices(store);
|
|
316
|
-
* @param {object} store store: object - store object
|
|
317
|
-
* @returns {object} returnType: object of active service
|
|
318
|
-
*/
|
|
319
|
-
export declare const getFilteredActiveServices: ((state: LayerSelectModuleState & import("@opengeoweb/store").CoreAppStore) => {
|
|
320
|
-
[k: string]: {
|
|
321
|
-
isInSearch: boolean;
|
|
322
|
-
serviceId?: string;
|
|
323
|
-
serviceName?: string;
|
|
324
|
-
serviceUrl?: string;
|
|
325
|
-
abstract?: string;
|
|
326
|
-
enabled?: boolean;
|
|
327
|
-
filterIds?: string[];
|
|
328
|
-
scope?: import("@opengeoweb/shared").SystemScope;
|
|
329
|
-
isLoading?: boolean;
|
|
330
|
-
keywords?: string[];
|
|
331
|
-
groups?: string[];
|
|
332
|
-
};
|
|
333
|
-
}) & {
|
|
334
|
-
clearCache: () => void;
|
|
335
|
-
resultsCount: () => number;
|
|
336
|
-
resetResultsCount: () => void;
|
|
337
|
-
} & {
|
|
338
|
-
resultFunc: (resultFuncArgs_0: LayerWithServiceName[], resultFuncArgs_1: ActiveServiceObjectEntities, resultFuncArgs_2: string) => {
|
|
339
|
-
[k: string]: {
|
|
340
|
-
isInSearch: boolean;
|
|
341
|
-
serviceId?: string;
|
|
342
|
-
serviceName?: string;
|
|
343
|
-
serviceUrl?: string;
|
|
344
|
-
abstract?: string;
|
|
345
|
-
enabled?: boolean;
|
|
346
|
-
filterIds?: string[];
|
|
347
|
-
scope?: import("@opengeoweb/shared").SystemScope;
|
|
348
|
-
isLoading?: boolean;
|
|
349
|
-
keywords?: string[];
|
|
350
|
-
groups?: string[];
|
|
351
|
-
};
|
|
352
|
-
};
|
|
353
|
-
memoizedResultFunc: ((resultFuncArgs_0: LayerWithServiceName[], resultFuncArgs_1: ActiveServiceObjectEntities, resultFuncArgs_2: string) => {
|
|
354
|
-
[k: string]: {
|
|
355
|
-
isInSearch: boolean;
|
|
356
|
-
serviceId?: string;
|
|
357
|
-
serviceName?: string;
|
|
358
|
-
serviceUrl?: string;
|
|
359
|
-
abstract?: string;
|
|
360
|
-
enabled?: boolean;
|
|
361
|
-
filterIds?: string[];
|
|
362
|
-
scope?: import("@opengeoweb/shared").SystemScope;
|
|
363
|
-
isLoading?: boolean;
|
|
364
|
-
keywords?: string[];
|
|
365
|
-
groups?: string[];
|
|
366
|
-
};
|
|
367
|
-
}) & {
|
|
368
|
-
clearCache: () => void;
|
|
369
|
-
resultsCount: () => number;
|
|
370
|
-
resetResultsCount: () => void;
|
|
371
|
-
};
|
|
372
|
-
lastResult: () => {
|
|
373
|
-
[k: string]: {
|
|
374
|
-
isInSearch: boolean;
|
|
375
|
-
serviceId?: string;
|
|
376
|
-
serviceName?: string;
|
|
377
|
-
serviceUrl?: string;
|
|
378
|
-
abstract?: string;
|
|
379
|
-
enabled?: boolean;
|
|
380
|
-
filterIds?: string[];
|
|
381
|
-
scope?: import("@opengeoweb/shared").SystemScope;
|
|
382
|
-
isLoading?: boolean;
|
|
383
|
-
keywords?: string[];
|
|
384
|
-
groups?: string[];
|
|
385
|
-
};
|
|
386
|
-
};
|
|
387
|
-
dependencies: [((state: LayerSelectModuleState & import("@opengeoweb/store").CoreAppStore) => LayerWithServiceName[]) & {
|
|
388
|
-
clearCache: () => void;
|
|
389
|
-
resultsCount: () => number;
|
|
390
|
-
resetResultsCount: () => void;
|
|
391
|
-
} & {
|
|
392
|
-
resultFunc: (resultFuncArgs_0: string[], resultFuncArgs_1: import("dist/libs/store/src/store/map/types").Services, resultFuncArgs_2: string[], resultFuncArgs_3: boolean, resultFuncArgs_4: string) => LayerWithServiceName[];
|
|
393
|
-
memoizedResultFunc: ((resultFuncArgs_0: string[], resultFuncArgs_1: import("dist/libs/store/src/store/map/types").Services, resultFuncArgs_2: string[], resultFuncArgs_3: boolean, resultFuncArgs_4: string) => LayerWithServiceName[]) & {
|
|
394
|
-
clearCache: () => void;
|
|
395
|
-
resultsCount: () => number;
|
|
396
|
-
resetResultsCount: () => void;
|
|
397
|
-
};
|
|
398
|
-
lastResult: () => LayerWithServiceName[];
|
|
399
|
-
dependencies: [((state: LayerSelectModuleState) => string[]) & {
|
|
400
|
-
clearCache: () => void;
|
|
401
|
-
resultsCount: () => number;
|
|
402
|
-
resetResultsCount: () => void;
|
|
403
|
-
} & {
|
|
404
|
-
resultFunc: (resultFuncArgs_0: import("./types").ActiveServiceObject[]) => string[];
|
|
405
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("./types").ActiveServiceObject[]) => string[]) & {
|
|
406
|
-
clearCache: () => void;
|
|
407
|
-
resultsCount: () => number;
|
|
408
|
-
resetResultsCount: () => void;
|
|
409
|
-
};
|
|
410
|
-
lastResult: () => string[];
|
|
411
|
-
dependencies: [(state: LayerSelectModuleState) => import("./types").ActiveServiceObject[]];
|
|
412
|
-
recomputations: () => number;
|
|
413
|
-
resetRecomputations: () => void;
|
|
414
|
-
dependencyRecomputations: () => number;
|
|
415
|
-
resetDependencyRecomputations: () => void;
|
|
416
|
-
} & {
|
|
417
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
418
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
419
|
-
}, ((state: import("@opengeoweb/store").CoreAppStore) => import("dist/libs/store/src/store/map/types").Services) & {
|
|
420
|
-
clearCache: () => void;
|
|
421
|
-
resultsCount: () => number;
|
|
422
|
-
resetResultsCount: () => void;
|
|
423
|
-
} & {
|
|
424
|
-
resultFunc: (resultFuncArgs_0: import("dist/libs/store/src/store/map/types").ServiceState | undefined) => import("dist/libs/store/src/store/map/service/types").Services;
|
|
425
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("dist/libs/store/src/store/map/types").ServiceState | undefined) => import("dist/libs/store/src/store/map/service/types").Services) & {
|
|
426
|
-
clearCache: () => void;
|
|
427
|
-
resultsCount: () => number;
|
|
428
|
-
resetResultsCount: () => void;
|
|
429
|
-
};
|
|
430
|
-
lastResult: () => import("dist/libs/store/src/store/map/service/types").Services;
|
|
431
|
-
dependencies: [(store: import("@opengeoweb/store").CoreAppStore) => import("dist/libs/store/src/store/map/types").ServiceState | undefined];
|
|
432
|
-
recomputations: () => number;
|
|
433
|
-
resetRecomputations: () => void;
|
|
434
|
-
dependencyRecomputations: () => number;
|
|
435
|
-
resetDependencyRecomputations: () => void;
|
|
436
|
-
} & {
|
|
437
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
438
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
439
|
-
}, ((state: LayerSelectModuleState) => string[]) & {
|
|
440
|
-
clearCache: () => void;
|
|
441
|
-
resultsCount: () => number;
|
|
442
|
-
resetResultsCount: () => void;
|
|
443
|
-
} & {
|
|
444
|
-
resultFunc: (resultFuncArgs_0: Filter[]) => string[];
|
|
445
|
-
memoizedResultFunc: ((resultFuncArgs_0: Filter[]) => string[]) & {
|
|
446
|
-
clearCache: () => void;
|
|
447
|
-
resultsCount: () => number;
|
|
448
|
-
resetResultsCount: () => void;
|
|
449
|
-
};
|
|
450
|
-
lastResult: () => string[];
|
|
451
|
-
dependencies: [(state: LayerSelectModuleState) => Filter[]];
|
|
452
|
-
recomputations: () => number;
|
|
453
|
-
resetRecomputations: () => void;
|
|
454
|
-
dependencyRecomputations: () => number;
|
|
455
|
-
resetDependencyRecomputations: () => void;
|
|
456
|
-
} & {
|
|
457
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
458
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
459
|
-
}, ((state: LayerSelectModuleState) => boolean) & {
|
|
460
|
-
clearCache: () => void;
|
|
461
|
-
resultsCount: () => number;
|
|
462
|
-
resetResultsCount: () => void;
|
|
463
|
-
} & {
|
|
464
|
-
resultFunc: (resultFuncArgs_0: LayerSelectStoreType) => boolean;
|
|
465
|
-
memoizedResultFunc: ((resultFuncArgs_0: LayerSelectStoreType) => boolean) & {
|
|
466
|
-
clearCache: () => void;
|
|
467
|
-
resultsCount: () => number;
|
|
468
|
-
resetResultsCount: () => void;
|
|
469
|
-
};
|
|
470
|
-
lastResult: () => boolean;
|
|
471
|
-
dependencies: [(store: LayerSelectModuleState) => LayerSelectStoreType];
|
|
472
|
-
recomputations: () => number;
|
|
473
|
-
resetRecomputations: () => void;
|
|
474
|
-
dependencyRecomputations: () => number;
|
|
475
|
-
resetDependencyRecomputations: () => void;
|
|
476
|
-
} & {
|
|
477
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
478
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
479
|
-
}, ((state: LayerSelectModuleState) => string) & {
|
|
480
|
-
clearCache: () => void;
|
|
481
|
-
resultsCount: () => number;
|
|
482
|
-
resetResultsCount: () => void;
|
|
483
|
-
} & {
|
|
484
|
-
resultFunc: (resultFuncArgs_0: LayerSelectStoreType) => string;
|
|
485
|
-
memoizedResultFunc: ((resultFuncArgs_0: LayerSelectStoreType) => string) & {
|
|
486
|
-
clearCache: () => void;
|
|
487
|
-
resultsCount: () => number;
|
|
488
|
-
resetResultsCount: () => void;
|
|
489
|
-
};
|
|
490
|
-
lastResult: () => string;
|
|
491
|
-
dependencies: [(store: LayerSelectModuleState) => LayerSelectStoreType];
|
|
492
|
-
recomputations: () => number;
|
|
493
|
-
resetRecomputations: () => void;
|
|
494
|
-
dependencyRecomputations: () => number;
|
|
495
|
-
resetDependencyRecomputations: () => void;
|
|
496
|
-
} & {
|
|
497
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
498
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
499
|
-
}];
|
|
500
|
-
recomputations: () => number;
|
|
501
|
-
resetRecomputations: () => void;
|
|
502
|
-
dependencyRecomputations: () => number;
|
|
503
|
-
resetDependencyRecomputations: () => void;
|
|
504
|
-
} & {
|
|
505
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
506
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
507
|
-
}, (store: LayerSelectModuleState) => ActiveServiceObjectEntities, ((state: LayerSelectModuleState) => string) & {
|
|
508
|
-
clearCache: () => void;
|
|
509
|
-
resultsCount: () => number;
|
|
510
|
-
resetResultsCount: () => void;
|
|
511
|
-
} & {
|
|
512
|
-
resultFunc: (resultFuncArgs_0: LayerSelectStoreType) => string;
|
|
513
|
-
memoizedResultFunc: ((resultFuncArgs_0: LayerSelectStoreType) => string) & {
|
|
514
|
-
clearCache: () => void;
|
|
515
|
-
resultsCount: () => number;
|
|
516
|
-
resetResultsCount: () => void;
|
|
517
|
-
};
|
|
518
|
-
lastResult: () => string;
|
|
519
|
-
dependencies: [(store: LayerSelectModuleState) => LayerSelectStoreType];
|
|
520
|
-
recomputations: () => number;
|
|
521
|
-
resetRecomputations: () => void;
|
|
522
|
-
dependencyRecomputations: () => number;
|
|
523
|
-
resetDependencyRecomputations: () => void;
|
|
524
|
-
} & {
|
|
525
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
526
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
527
|
-
}];
|
|
528
|
-
recomputations: () => number;
|
|
529
|
-
resetRecomputations: () => void;
|
|
530
|
-
dependencyRecomputations: () => number;
|
|
531
|
-
resetDependencyRecomputations: () => void;
|
|
532
|
-
} & {
|
|
533
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
534
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
535
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/src/lib/store/store.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Store } from '@reduxjs/toolkit';
|
|
2
|
-
import type { WebMapStateModuleState, UIModuleState } from '@opengeoweb/store';
|
|
3
|
-
import type { LayerSelectModuleState } from './types';
|
|
4
|
-
export declare const layerSelectReducersMap: {
|
|
5
|
-
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>;
|
|
6
|
-
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>;
|
|
7
|
-
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>;
|
|
8
|
-
layerSelect: import("redux").Reducer<import("./types").LayerSelectStoreType>;
|
|
9
|
-
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>;
|
|
10
|
-
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>;
|
|
11
|
-
};
|
|
12
|
-
export declare const layerSelectMiddlewares: (import("@reduxjs/toolkit").ListenerMiddleware<import("./types").RootState, import("redux-thunk").ThunkDispatch<import("./types").RootState, unknown, import("redux").UnknownAction>, unknown> | import("@reduxjs/toolkit").ListenerMiddleware<import("@opengeoweb/snackbar").SnackbarModuleStore, import("redux-thunk").ThunkDispatch<import("@opengeoweb/snackbar").SnackbarModuleStore, unknown, import("redux").UnknownAction>, unknown>)[];
|
|
13
|
-
export declare const createMockStore: (mockState?: WebMapStateModuleState | LayerSelectModuleState | UIModuleState) => Store;
|
package/src/lib/store/types.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import type { EntityState } from '@reduxjs/toolkit';
|
|
2
|
-
import type { SystemScope } from '@opengeoweb/shared';
|
|
3
|
-
import type { CoreAppStore, serviceTypes } from '@opengeoweb/store';
|
|
4
|
-
export type RootState = CoreAppStore & LayerSelectModuleState;
|
|
5
|
-
export interface LayerWithServiceName extends serviceTypes.ServiceLayer {
|
|
6
|
-
serviceName: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ActiveServiceObject {
|
|
9
|
-
serviceId?: string;
|
|
10
|
-
serviceName?: string;
|
|
11
|
-
serviceUrl?: string;
|
|
12
|
-
abstract?: string;
|
|
13
|
-
enabled?: boolean;
|
|
14
|
-
filterIds?: string[];
|
|
15
|
-
scope?: SystemScope;
|
|
16
|
-
isLoading?: boolean;
|
|
17
|
-
keywords?: string[];
|
|
18
|
-
groups?: string[];
|
|
19
|
-
isInSearch?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export type FilterType = 'keywords' | 'groups';
|
|
22
|
-
export interface Filter {
|
|
23
|
-
id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
checked?: boolean;
|
|
26
|
-
amountVisible?: number;
|
|
27
|
-
type: FilterType;
|
|
28
|
-
}
|
|
29
|
-
export type ActiveServiceObjectEntities = Record<string, ActiveServiceObject>;
|
|
30
|
-
export type Filters = EntityState<Filter, string>;
|
|
31
|
-
export type ActiveServiceType = EntityState<ActiveServiceObject, string>;
|
|
32
|
-
export interface FiltersType {
|
|
33
|
-
searchFilter: string;
|
|
34
|
-
activeServices: ActiveServiceType;
|
|
35
|
-
filters: Filters;
|
|
36
|
-
}
|
|
37
|
-
export type PopupVariant = 'edit' | 'add' | 'save' | 'show';
|
|
38
|
-
export interface ServicePopupObject {
|
|
39
|
-
isOpen: boolean;
|
|
40
|
-
variant: PopupVariant;
|
|
41
|
-
url?: string;
|
|
42
|
-
serviceId?: string;
|
|
43
|
-
}
|
|
44
|
-
export interface LayerSelectStoreType {
|
|
45
|
-
filters: FiltersType;
|
|
46
|
-
allServicesEnabled: boolean;
|
|
47
|
-
servicePopup: ServicePopupObject;
|
|
48
|
-
}
|
|
49
|
-
export interface LayerSelectModuleState {
|
|
50
|
-
layerSelect?: LayerSelectStoreType;
|
|
51
|
-
}
|
|
52
|
-
export interface SetSearchFilterPayload {
|
|
53
|
-
filterText: string;
|
|
54
|
-
}
|
|
55
|
-
export interface SetAllServicesEnabledPayload {
|
|
56
|
-
allServicesEnabled: boolean;
|
|
57
|
-
}
|
|
58
|
-
export interface ToggleServicePopupPayload {
|
|
59
|
-
url?: string;
|
|
60
|
-
variant: PopupVariant;
|
|
61
|
-
serviceId?: string;
|
|
62
|
-
isOpen: boolean;
|
|
63
|
-
}
|
|
64
|
-
export interface LayerSelectRemoveServicePayload {
|
|
65
|
-
serviceId: string;
|
|
66
|
-
serviceUrl?: string;
|
|
67
|
-
}
|
|
68
|
-
export interface ToggleKeywordsPayload {
|
|
69
|
-
filterId: string;
|
|
70
|
-
only?: boolean;
|
|
71
|
-
}
|
package/src/lib/store/utils.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Draft, EntityAdapter } from '@reduxjs/toolkit';
|
|
2
|
-
import type { SystemScope } from '@opengeoweb/shared';
|
|
3
|
-
import type { serviceTypes } from '@opengeoweb/store';
|
|
4
|
-
import type { LayerProps } from '@opengeoweb/webmap';
|
|
5
|
-
import type { Filter, FilterType, LayerSelectStoreType } from './types';
|
|
6
|
-
export declare const getFilterId: (filterType: FilterType, filterName: string) => string;
|
|
7
|
-
export declare const produceFilters: (filterNames: string[], filterType: FilterType, draft: Draft<LayerSelectStoreType>, layerSelectFilterAdapter: EntityAdapter<Filter, string>) => void;
|
|
8
|
-
export declare const filterLayersFromService: (serviceId: string, services: serviceTypes.Services, filterIds: string[], allFiltersActive: boolean, searchString: string) => LayerProps[];
|
|
9
|
-
export declare const isUserAddedService: (scope: SystemScope) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/src/lib/utils/i18n.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import i18n from 'i18next';
|
|
2
|
-
import type { UseTranslationResponse } from 'react-i18next';
|
|
3
|
-
export declare const LAYER_SELECT_NAMESPACE = "layerselect";
|
|
4
|
-
export declare const initLayerSelectI18n: () => typeof i18n;
|
|
5
|
-
export declare const useLayerSelectTranslation: () => UseTranslationResponse<typeof LAYER_SELECT_NAMESPACE, typeof i18n>;
|
|
6
|
-
export declare const translateInTestsAndStories: (key: string, params?: Record<string, string | number> | undefined) => string;
|
|
7
|
-
export { i18n };
|