@overmap-ai/core 1.0.60-geo-images.7 → 1.0.60-geo-images.8
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/overmap-core.js
CHANGED
|
@@ -2376,6 +2376,7 @@ const {
|
|
|
2376
2376
|
removeProjectFilesOfProject,
|
|
2377
2377
|
resetProjectFileObjectUrls
|
|
2378
2378
|
} = projectFileSlice.actions;
|
|
2379
|
+
const selectProjectFileMapping = (state) => state.projectFileReducer.projectFiles;
|
|
2379
2380
|
const selectEnabledProjectFiles = (state) => state.projectFileReducer.enabledProjectFiles;
|
|
2380
2381
|
const selectProjectFileVisibility = createSelector(
|
|
2381
2382
|
[selectEnabledProjectFiles],
|
|
@@ -2396,6 +2397,14 @@ const selectProjectFiles = createSelector(
|
|
|
2396
2397
|
);
|
|
2397
2398
|
const selectActiveProjectFileId = (state) => state.projectFileReducer.activeProjectFileId;
|
|
2398
2399
|
const selectIsImportingProjectFile = (state) => state.projectFileReducer.isImportingProjectFile;
|
|
2400
|
+
const selectProjectFileById = restructureCreateSelectorWithArgs(
|
|
2401
|
+
createSelector(
|
|
2402
|
+
[selectProjectFileMapping, (_, projectFileId) => projectFileId],
|
|
2403
|
+
(projectFileMapping, projectFileId) => {
|
|
2404
|
+
return projectFileMapping[projectFileId];
|
|
2405
|
+
}
|
|
2406
|
+
)
|
|
2407
|
+
);
|
|
2399
2408
|
const projectFileReducer = projectFileSlice.reducer;
|
|
2400
2409
|
const projectAttachmentAdapter = createModelAdapter((attachment) => attachment.offline_id);
|
|
2401
2410
|
const initialState$h = projectAttachmentAdapter.getInitialState({});
|
|
@@ -7809,6 +7818,8 @@ export {
|
|
|
7809
7818
|
selectProjectAccesses,
|
|
7810
7819
|
selectProjectAttachment,
|
|
7811
7820
|
selectProjectAttachmentMapping,
|
|
7821
|
+
selectProjectFileById,
|
|
7822
|
+
selectProjectFileMapping,
|
|
7812
7823
|
selectProjectFileVisibility,
|
|
7813
7824
|
selectProjectFiles,
|
|
7814
7825
|
selectProjectUsersAsMapping,
|