@opengeoweb/workspace 14.1.0 → 14.2.2
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
CHANGED
|
@@ -9,7 +9,7 @@ import { snackbarTypes, snackbarActions, snackbarListener, snackbarReducer, Snac
|
|
|
9
9
|
import { getAxiosErrorMessage, isAxiosAuthError, isAxiosError as isAxiosError$1, safelyInitI18nForTestsAndStories, sharedTranslations, SHARED_NAMESPACE, ConfirmationServiceProvider, usePrevious, AlertBanner, sessionStorageProvider, SystemScope, CustomTooltip, SearchHighlight, ToggleMenu, CustomIconButton, Filter, LastUpdateTime, renderCounter, CustomDialog, ToolContainer, CustomToggleButton, useConfirmationDialog, ConfirmationButtons } from '@opengeoweb/shared';
|
|
10
10
|
import { isAxiosError } from 'axios';
|
|
11
11
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
12
|
-
import { ThemeWrapper, lightTheme, SharedPresetsMyUser, SharedPresetsOtherUsers, Delete, Preset, PresetWorkspace, PresetTiles, CloudLoading, CloudIdle, Options, Link, LinkOff, SplitVertical, SplitHorizontal, Expand, UnExpand, Close, WebAssetOff, Exclamation } from '@opengeoweb/theme';
|
|
12
|
+
import { ThemeWrapper, lightTheme, SharedPresetsMyUser, SharedPresetsOtherUsers, Delete, Preset, PresetWorkspace, PresetTiles, BackdropStyle, CloudLoading, CloudIdle, Options, Link, LinkOff, SplitVertical, SplitHorizontal, Expand, UnExpand, Close, WebAssetOff, Exclamation } from '@opengeoweb/theme';
|
|
13
13
|
import { Provider, useDispatch, useSelector, useStore, shallowEqual } from 'react-redux';
|
|
14
14
|
import { useTranslation, I18nextProvider } from 'react-i18next';
|
|
15
15
|
import { AuthenticationProvider, useAuthenticationContext, GEOWEB_ROLE_PRESETS_ADMIN } from '@opengeoweb/authentication';
|
|
@@ -7195,9 +7195,9 @@ var WorkspaceMenu = function WorkspaceMenu(_ref) {
|
|
|
7195
7195
|
},
|
|
7196
7196
|
slotProps: {
|
|
7197
7197
|
backdrop: {
|
|
7198
|
-
style: {
|
|
7198
|
+
style: Object.assign({
|
|
7199
7199
|
top: 40
|
|
7200
|
-
}
|
|
7200
|
+
}, BackdropStyle())
|
|
7201
7201
|
},
|
|
7202
7202
|
root: {
|
|
7203
7203
|
style: {
|
|
@@ -7514,7 +7514,6 @@ var WorkspaceViewTitleConnectNoMemo = function WorkspaceViewTitleConnectNoMemo(_
|
|
|
7514
7514
|
});
|
|
7515
7515
|
var presetAbstract = workspaceView == null ? void 0 : workspaceView["abstract"];
|
|
7516
7516
|
var isNewActive = activeViewPresetId === '';
|
|
7517
|
-
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
7518
7517
|
var title = workspaceView.title || t('workspace-mappreset-new');
|
|
7519
7518
|
var fullTitle = getPresetTitle(title, hasViewPresetChanges, isNewActive, t);
|
|
7520
7519
|
var openViewPresetsDialog = React.useCallback(function (viewPresetDialogOptions) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/workspace",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.2.2",
|
|
4
4
|
"description": "GeoWeb Workspace library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -9,32 +9,33 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"react-redux": "^9.2.0",
|
|
12
|
-
"@opengeoweb/shared": "14.
|
|
13
|
-
"@opengeoweb/store": "14.
|
|
14
|
-
"@opengeoweb/api": "14.
|
|
12
|
+
"@opengeoweb/shared": "14.2.2",
|
|
13
|
+
"@opengeoweb/store": "14.2.2",
|
|
14
|
+
"@opengeoweb/api": "14.2.2",
|
|
15
15
|
"react-hook-form": "^7.50.1",
|
|
16
|
-
"@opengeoweb/theme": "14.
|
|
16
|
+
"@opengeoweb/theme": "14.2.2",
|
|
17
17
|
"@reduxjs/toolkit": "^2.6.1",
|
|
18
|
-
"@opengeoweb/snackbar": "14.
|
|
18
|
+
"@opengeoweb/snackbar": "14.2.2",
|
|
19
19
|
"react-window": "^1.8.10",
|
|
20
20
|
"lodash": "^4.17.21",
|
|
21
21
|
"axios": "^1.7.7",
|
|
22
22
|
"react-virtualized-auto-sizer": "^1.0.21",
|
|
23
23
|
"react-mosaic-component": "^6.1.0",
|
|
24
|
-
"@opengeoweb/form-fields": "14.
|
|
25
|
-
"@opengeoweb/time-series": "14.
|
|
26
|
-
"@opengeoweb/authentication": "14.
|
|
27
|
-
"@opengeoweb/core": "14.
|
|
28
|
-
"@opengeoweb/taf": "14.
|
|
29
|
-
"@opengeoweb/sigmet-airmet": "14.
|
|
30
|
-
"@opengeoweb/warnings": "14.
|
|
31
|
-
"@opengeoweb/space-weather": "14.
|
|
24
|
+
"@opengeoweb/form-fields": "14.2.2",
|
|
25
|
+
"@opengeoweb/time-series": "14.2.2",
|
|
26
|
+
"@opengeoweb/authentication": "14.2.2",
|
|
27
|
+
"@opengeoweb/core": "14.2.2",
|
|
28
|
+
"@opengeoweb/taf": "14.2.2",
|
|
29
|
+
"@opengeoweb/sigmet-airmet": "14.2.2",
|
|
30
|
+
"@opengeoweb/warnings": "14.2.2",
|
|
31
|
+
"@opengeoweb/space-weather": "14.2.2",
|
|
32
32
|
"i18next": "^25.0.1",
|
|
33
33
|
"react-i18next": "^15.1.1",
|
|
34
34
|
"@mui/material": "^7.0.1",
|
|
35
|
-
"@opengeoweb/webmap-react": "14.
|
|
35
|
+
"@opengeoweb/webmap-react": "14.2.2",
|
|
36
36
|
"@tanstack/react-query": "^5.85.5",
|
|
37
|
-
"@opengeoweb/soundings": "14.
|
|
37
|
+
"@opengeoweb/soundings": "14.2.2",
|
|
38
|
+
"@opengeoweb/knmi-components": "14.2.2"
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|
|
40
41
|
"react": "18",
|
package/src/lib/utils/i18n.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import i18n
|
|
1
|
+
import i18n from 'i18next';
|
|
2
2
|
import { UseTranslationResponse } from 'react-i18next';
|
|
3
3
|
export declare const WORKSPACE_NAMESPACE = "workspace";
|
|
4
4
|
export declare const initWorkspaceTestI18n: () => void;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const translateInTestsAndStories: (key: string, params?: Record<string, string | number> | undefined) => string;
|
|
6
6
|
export declare const useWorkspaceTranslation: () => UseTranslationResponse<typeof WORKSPACE_NAMESPACE, typeof i18n>;
|
|
7
7
|
export { i18n };
|