@opengeoweb/workspace 19.6.0 → 19.6.1-nightly-20260913
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/index.esm.js
CHANGED
|
@@ -15,7 +15,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
15
15
|
import { useTranslation, I18nextProvider } from 'react-i18next';
|
|
16
16
|
import { Provider, useDispatch, useSelector, useStore, shallowEqual } from 'react-redux';
|
|
17
17
|
import { AuthenticationProvider, useAuthenticationContext, GEOWEB_ROLE_PRESETS_ADMIN } from '@opengeoweb/authentication';
|
|
18
|
-
import { ThemeWrapper, lightTheme, Link, LinkOff, SplitHorizontal, SplitVertical, SplitHorizontalWithContent, SplitVerticalWithContent, Expand, UnExpand, ChevronDown, Close, ChevronUp, LockLocked, Info, WorkspacePresetsSystemIcon, WorkspacePresetsPluginIcon, SharedPresetsMyUser, SharedPresetsOtherUsers, WorkspacePresetsMyIcon, BackdropStyle, Options, CloudLoading, CloudIdle, WebAssetOff, Exclamation } from '@opengeoweb/theme';
|
|
18
|
+
import { ThemeWrapper, lightTheme, Link, LinkOff, SplitHorizontal, SplitVertical, SplitHorizontalWithContent, SplitVerticalWithContent, Expand, UnExpand, ChevronDown, Close, ChevronUp, LockLocked, StarOutline, Info, WorkspacePresetsSystemIcon, WorkspacePresetsPluginIcon, SharedPresetsMyUser, SharedPresetsOtherUsers, WorkspacePresetsMyIcon, BackdropStyle, Options, CloudLoading, CloudIdle, WebAssetOff, Exclamation } from '@opengeoweb/theme';
|
|
19
19
|
import i18n from 'i18next';
|
|
20
20
|
import { coreTranslations, CORE_NAMESPACE, LoadingIndicatorProgressBar } from '@opengeoweb/core';
|
|
21
21
|
import { formFieldsTranslations, FORM_FIELDS_NAMESPACE, ReactHookFormHiddenInput, ReactHookFormTextField, ReactHookFormProvider, defaultFormOptions } from '@opengeoweb/form-fields';
|
|
@@ -28,6 +28,7 @@ import { List as List$1 } from 'react-window';
|
|
|
28
28
|
import { http, HttpResponse, delay } from 'msw';
|
|
29
29
|
|
|
30
30
|
var en = {
|
|
31
|
+
"workspace-add-favourite": "Add {{title}} to favourites",
|
|
31
32
|
"workspace-menu": "Workspace menu",
|
|
32
33
|
"workspace-new": "New workspace",
|
|
33
34
|
"workspace-new-soundings": "New soundings workspace",
|
|
@@ -1816,7 +1817,7 @@ var viewPresetsAdapter = createEntityAdapter({
|
|
|
1816
1817
|
var initialState$1 = viewPresetsAdapter.getInitialState();
|
|
1817
1818
|
var warningsPresetChangeActions = [warningsFiltersActions.setWarningFilters, warningsFiltersActions.setExpandedSectionsForPanel];
|
|
1818
1819
|
var syncGroupChangeActions = [syncGroupsActions.syncGroupRemoveTarget, syncGroupsActions.syncGroupAddTarget];
|
|
1819
|
-
var mapPresetChangeActions = [layerActions.setBaseLayers, layerActions.layerDelete, layerActions.addLayer, layerActions.duplicateMapLayer, layerActions.layerChangeEnabled, layerActions.layerChangeName, layerActions.layerChangeStyle, layerActions.layerChangeOpacity, layerActions.layerChangeDimension, layerActions.layerChangeAcceptanceTime, layerActions.SetLayerLegendVisibilityPayload, mapActions.layerMoveLayer, mapActions.setAutoLayerId, mapActions.setAutoTimestepLayerId, mapActions.setAutoUpdateLayerId, mapActions.toggleAutoUpdate, mapActions.mapStartAnimation, mapActions.mapStopAnimation, mapActions.toggleTimeSliderIsVisible, mapActions.setTimeStep, mapActions.setTimeSliderSpan, mapActions.toggleTimeSpanAuto, mapActions.setAnimationDelay, mapActions.toggleTimestepAuto, mapActions.setAnimationStartTime, mapActions.setAnimationEndTime, mapActions.changeOverlayer, uiActions.setActiveMapIdForDialog, uiActions.setToggleOpenDialog, genericActions.setBbox, mapActions.setBbox, mapActions.toggleClock, mapActions.toggleClockOptions, mapActions.setClockPositionSize, mapActions.setLegendPositionSize, mapActions.setDockedLayerManagerSize, mapActions.setDockedLayerManagerPosition, mapActions.setDockedLayerManagerDimensions];
|
|
1820
|
+
var mapPresetChangeActions = [layerActions.setBaseLayers, layerActions.layerDelete, layerActions.addLayer, layerActions.duplicateMapLayer, layerActions.layerChangeEnabled, layerActions.layerChangeName, layerActions.layerChangeStyle, layerActions.layerChangeOpacity, layerActions.layerChangeDimension, layerActions.layerChangeAcceptanceTime, layerActions.SetLayerLegendVisibilityPayload, mapActions.layerMoveLayer, mapActions.setAutoLayerId, mapActions.setAutoTimestepLayerId, mapActions.setAutoUpdateLayerId, mapActions.toggleAutoUpdate, mapActions.mapStartAnimation, mapActions.mapStopAnimation, mapActions.toggleTimeSliderIsVisible, mapActions.setTimeStep, mapActions.setTimeSliderSpan, mapActions.toggleTimeSpanAuto, mapActions.setAnimationDelay, mapActions.toggleTimestepAuto, mapActions.setAnimationStartTime, mapActions.setAnimationEndTime, mapActions.setAnimationLength, mapActions.changeOverlayer, uiActions.setActiveMapIdForDialog, uiActions.setToggleOpenDialog, genericActions.setBbox, mapActions.setBbox, mapActions.toggleClock, mapActions.toggleClockOptions, mapActions.setClockPositionSize, mapActions.setLegendPositionSize, mapActions.setDockedLayerManagerSize, mapActions.setDockedLayerManagerPosition, mapActions.setDockedLayerManagerDimensions];
|
|
1820
1821
|
var pluginPresetChangeActions = [pluginsActions.setGeoWebPluginState];
|
|
1821
1822
|
var timeSeriesPresetChangeActions = [timeSeriesActions.addParameter, timeSeriesActions.addPlot, timeSeriesActions.deleteParameter, timeSeriesActions.deletePlot, timeSeriesActions.moveParameter, timeSeriesActions.movePlot, timeSeriesActions.toggleParameter, timeSeriesActions.togglePlot, timeSeriesActions.patchParameter, timeSeriesActions.updateTitle, timeSeriesActions.setLocationMenuSizeAndPosition, timeSeriesActions.setLocationsDialogOpen];
|
|
1822
1823
|
var soundingsChangeActions = [soundingsActions.updateSelectedSource, soundingsActions.updateSelectedLocation, soundingsActions.updateDiagramType, soundingsActions.toggleLocationMarkers, soundingsActions.updateProfileDataPreferences, soundingsActions.changeSoundingPanelOrder, soundingsActions.toggleSoundingPanelVisibility, soundingsActions.setPanelIsOpen, soundingsActions.setPanelCustomWidth, soundingsActions.toggleLegendVisibility, soundingsActions.updateSelectedTime, soundingsActions.toggleTimeSliderVisibility, soundingsActions.setLocationMenuSizeAndPosition, soundingsActions.setLocationsMenuOpen];
|
|
@@ -7260,7 +7261,7 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7260
7261
|
}
|
|
7261
7262
|
var versions = workspacePreset.scope === 'plugin' ? (_workspacePreset$orig = (_workspacePreset$orig2 = workspacePreset.origin) == null ? void 0 : _workspacePreset$orig2.versions) != null ? _workspacePreset$orig : [] : [];
|
|
7262
7263
|
var showInfoIcon = !!workspacePreset.id && workspacePreset.id !== LOCAL_SOUNDINGS_ID;
|
|
7263
|
-
return
|
|
7264
|
+
return jsxs(ListItem, {
|
|
7264
7265
|
disablePadding: true,
|
|
7265
7266
|
sx: {
|
|
7266
7267
|
mb: 0.5,
|
|
@@ -7286,7 +7287,22 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7286
7287
|
color: 'geowebColors.typographyAndIcons.text'
|
|
7287
7288
|
}
|
|
7288
7289
|
},
|
|
7289
|
-
children:
|
|
7290
|
+
children: [!isNewPreset && jsx(Box, {
|
|
7291
|
+
sx: {
|
|
7292
|
+
pl: 1,
|
|
7293
|
+
flexShrink: 0
|
|
7294
|
+
},
|
|
7295
|
+
children: jsx(CustomIconButton, {
|
|
7296
|
+
disabled: true,
|
|
7297
|
+
tooltipTitle: t('workspace-add-favourite', {
|
|
7298
|
+
title: workspacePreset.title
|
|
7299
|
+
}),
|
|
7300
|
+
variant: "flat",
|
|
7301
|
+
children: jsx(StarOutline, {
|
|
7302
|
+
fontSize: "small"
|
|
7303
|
+
})
|
|
7304
|
+
})
|
|
7305
|
+
}), jsxs(ListItemButton, {
|
|
7290
7306
|
"aria-label": testIdPrefix,
|
|
7291
7307
|
"data-testid": testIdPrefix + "-selectListRow",
|
|
7292
7308
|
onClick: function onClick(event) {
|
|
@@ -7300,7 +7316,8 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7300
7316
|
role: "listitem",
|
|
7301
7317
|
selected: isSelected,
|
|
7302
7318
|
sx: {
|
|
7303
|
-
pl: 2,
|
|
7319
|
+
pl: isNewPreset ? 2 : 1,
|
|
7320
|
+
minWidth: 0,
|
|
7304
7321
|
pr: 1,
|
|
7305
7322
|
py: 1,
|
|
7306
7323
|
height: WORKSPACE_SELECT_LIST_ROW_HEIGHT + "px"
|
|
@@ -7401,7 +7418,7 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7401
7418
|
})]
|
|
7402
7419
|
})
|
|
7403
7420
|
})]
|
|
7404
|
-
})
|
|
7421
|
+
})]
|
|
7405
7422
|
});
|
|
7406
7423
|
};
|
|
7407
7424
|
|
|
@@ -304,18 +304,18 @@ export declare const getViewType: ((state: AppStore) => "" | import("./types").V
|
|
|
304
304
|
* @param {object} store store: object - Store object
|
|
305
305
|
* @returns {string} returnType: string
|
|
306
306
|
*/
|
|
307
|
-
export declare const getSelectedWorkspaceScope: ((state: AppStore) => import("
|
|
307
|
+
export declare const getSelectedWorkspaceScope: ((state: AppStore) => import("libs/shared/dist").SystemScope) & {
|
|
308
308
|
clearCache: () => void;
|
|
309
309
|
resultsCount: () => number;
|
|
310
310
|
resetResultsCount: () => void;
|
|
311
311
|
} & {
|
|
312
|
-
resultFunc: (resultFuncArgs_0: WorkspaceState) => import("
|
|
313
|
-
memoizedResultFunc: ((resultFuncArgs_0: WorkspaceState) => import("
|
|
312
|
+
resultFunc: (resultFuncArgs_0: WorkspaceState) => import("libs/shared/dist").SystemScope;
|
|
313
|
+
memoizedResultFunc: ((resultFuncArgs_0: WorkspaceState) => import("libs/shared/dist").SystemScope) & {
|
|
314
314
|
clearCache: () => void;
|
|
315
315
|
resultsCount: () => number;
|
|
316
316
|
resetResultsCount: () => void;
|
|
317
317
|
};
|
|
318
|
-
lastResult: () => import("
|
|
318
|
+
lastResult: () => import("libs/shared/dist").SystemScope;
|
|
319
319
|
dependencies: [(store: AppStore) => WorkspaceState];
|
|
320
320
|
recomputations: () => number;
|
|
321
321
|
resetRecomputations: () => void;
|
package/package.json
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
2
|
+
"name": "@opengeoweb/workspace",
|
|
3
|
+
"version": "19.6.1-nightly-20260913",
|
|
4
|
+
"description": "GeoWeb Workspace library for the opengeoweb project",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
|
+
},
|
|
10
|
+
"main": "./dist/index.esm.js",
|
|
11
|
+
"module": "./dist/index.esm.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
"./package.json": "./package.json",
|
|
15
|
+
".": {
|
|
16
|
+
"@opengeoweb/source": "./src/index.ts",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"import": "./dist/index.esm.js",
|
|
19
|
+
"default": "./dist/index.esm.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"react-redux": "^9.2.0",
|
|
24
|
+
"@opengeoweb/shared": "19.6.1-nightly-20260913",
|
|
25
|
+
"@opengeoweb/store": "19.6.1-nightly-20260913",
|
|
26
|
+
"@opengeoweb/api": "19.6.1-nightly-20260913",
|
|
27
|
+
"react-hook-form": "^7.50.1",
|
|
28
|
+
"@opengeoweb/theme": "19.6.1-nightly-20260913",
|
|
29
|
+
"@reduxjs/toolkit": "^2.6.1",
|
|
30
|
+
"@opengeoweb/snackbar": "19.6.1-nightly-20260913",
|
|
31
|
+
"react-window": "^2.2.6",
|
|
32
|
+
"lodash": "^4.18.1",
|
|
33
|
+
"axios": "^1.18.0",
|
|
34
|
+
"react-mosaic-component": "npm:react-mosaic-component-opengeoweb@^6.1.1-opengeoweb.1",
|
|
35
|
+
"@opengeoweb/form-fields": "19.6.1-nightly-20260913",
|
|
36
|
+
"@opengeoweb/time-series": "19.6.1-nightly-20260913",
|
|
37
|
+
"@opengeoweb/authentication": "19.6.1-nightly-20260913",
|
|
38
|
+
"@opengeoweb/plugins": "19.6.1-nightly-20260913",
|
|
39
|
+
"@opengeoweb/core": "19.6.1-nightly-20260913",
|
|
40
|
+
"@opengeoweb/taf": "19.6.1-nightly-20260913",
|
|
41
|
+
"@opengeoweb/sigmet-airmet": "19.6.1-nightly-20260913",
|
|
42
|
+
"@opengeoweb/warnings": "19.6.1-nightly-20260913",
|
|
43
|
+
"@opengeoweb/space-weather": "19.6.1-nightly-20260913",
|
|
44
|
+
"i18next": "^25.0.1",
|
|
45
|
+
"react-i18next": "^15.1.1",
|
|
46
|
+
"@mui/material": "^9.0.1",
|
|
47
|
+
"@opengeoweb/webmap-react": "19.6.1-nightly-20260913",
|
|
48
|
+
"@tanstack/react-query": "^5.85.5",
|
|
49
|
+
"@opengeoweb/soundings": "19.6.1-nightly-20260913",
|
|
50
|
+
"@opengeoweb/knmi-components": "19.6.1-nightly-20260913",
|
|
51
|
+
"@mui/system": "^9.0.1"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"react": "19",
|
|
55
|
+
"@emotion/react": "*",
|
|
56
|
+
"@emotion/styled": "*"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"eslint-plugin-storybook": "10.3.3",
|
|
60
|
+
"msw": "^2.7.3"
|
|
61
|
+
},
|
|
62
|
+
"files": [
|
|
63
|
+
"dist",
|
|
64
|
+
"!dist/package.json",
|
|
65
|
+
"README.md",
|
|
66
|
+
"package.json"
|
|
67
|
+
]
|
|
68
|
+
}
|