@opengeoweb/workspace 9.36.0 → 9.37.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 +9 -9
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -8,7 +8,7 @@ import { PROJECTION, getAxiosErrorMessage, isAxiosAuthError, isAxiosError as isA
|
|
|
8
8
|
import { snackbarTypes, snackbarActions, snackbarReducersMap, snackbarMiddlewares, SnackbarWrapperConnect } from '@opengeoweb/snackbar';
|
|
9
9
|
import { isAxiosError } from 'axios';
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
|
-
import { ThemeWrapper, lightTheme, Link, LinkOff, SplitVertical, SplitHorizontal, Expand, UnExpand, Close, Delete, Preset, PresetWorkspace, PresetTiles, CloudLoading, CloudIdle, WebAssetOff, Exclamation } from '@opengeoweb/theme';
|
|
11
|
+
import { ThemeWrapper, lightTheme, Link, LinkOff, SplitVertical, SplitHorizontal, Expand, UnExpand, Close, Delete, Preset, PresetWorkspace, PresetTiles, BackdropStyle, BackdropElement, CloudLoading, CloudIdle, WebAssetOff, Exclamation } from '@opengeoweb/theme';
|
|
12
12
|
import { Provider, useDispatch, useSelector, useStore, shallowEqual } from 'react-redux';
|
|
13
13
|
import { initReactI18next, useTranslation, I18nextProvider } from 'react-i18next';
|
|
14
14
|
import { AuthenticationProvider, useAuthenticationContext, GEOWEB_ROLE_PRESETS_ADMIN } from '@opengeoweb/authentication';
|
|
@@ -6991,17 +6991,17 @@ var ViewPresetMenu = function ViewPresetMenu(_ref) {
|
|
|
6991
6991
|
renderCounter.count(ViewPresetMenu.name);
|
|
6992
6992
|
return hideBackdrop ?
|
|
6993
6993
|
// Enable hiding backdrop from snapshot tests
|
|
6994
|
-
toolContainer :
|
|
6994
|
+
toolContainer : jsxs(Backdrop, {
|
|
6995
6995
|
"data-testid": "viewpresetMenuBackdrop",
|
|
6996
6996
|
open: true,
|
|
6997
|
-
sx: {
|
|
6997
|
+
sx: Object.assign({
|
|
6998
6998
|
'&.MuiBackdrop-root': {
|
|
6999
6999
|
position: 'absolute',
|
|
7000
7000
|
zIndex: 1002
|
|
7001
7001
|
}
|
|
7002
|
-
},
|
|
7002
|
+
}, BackdropStyle()),
|
|
7003
7003
|
onClick: closeMenu,
|
|
7004
|
-
children: toolContainer
|
|
7004
|
+
children: [BackdropElement(), toolContainer]
|
|
7005
7005
|
});
|
|
7006
7006
|
};
|
|
7007
7007
|
|
|
@@ -7905,16 +7905,16 @@ var WorkspaceMenu = function WorkspaceMenu(_ref) {
|
|
|
7905
7905
|
});
|
|
7906
7906
|
return hideBackdrop ?
|
|
7907
7907
|
// Enable hiding backdrop from snapshot tests
|
|
7908
|
-
toolContainer :
|
|
7908
|
+
toolContainer : jsxs(Backdrop, {
|
|
7909
7909
|
"data-testid": "workspaceMenuBackdrop",
|
|
7910
7910
|
open: true,
|
|
7911
|
-
sx: {
|
|
7911
|
+
sx: Object.assign({
|
|
7912
7912
|
'&.MuiBackdrop-root': {
|
|
7913
7913
|
top: '40px'
|
|
7914
7914
|
}
|
|
7915
|
-
},
|
|
7915
|
+
}, BackdropStyle()),
|
|
7916
7916
|
onClick: closeMenu,
|
|
7917
|
-
children: toolContainer
|
|
7917
|
+
children: [BackdropElement(), toolContainer]
|
|
7918
7918
|
});
|
|
7919
7919
|
};
|
|
7920
7920
|
|