@opengeoweb/workspace 19.5.1 → 19.6.1-nightly-20260912
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.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];
|
|
@@ -2723,8 +2724,7 @@ var slice = createSlice({
|
|
|
2723
2724
|
var entity = draft.views.byId[panelId];
|
|
2724
2725
|
if (entity) {
|
|
2725
2726
|
Object.keys(viewPreset).forEach(function (key) {
|
|
2726
|
-
//
|
|
2727
|
-
// @ts-ignore - For some reason the entity has a type of never, which prevents access with key
|
|
2727
|
+
// @ts-expect-error - For some reason the entity has a type of never, which prevents access with key
|
|
2728
2728
|
entity[key] = viewPreset[key];
|
|
2729
2729
|
});
|
|
2730
2730
|
}
|
|
@@ -7201,6 +7201,7 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7201
7201
|
onOpenPresetInfo == null || onOpenPresetInfo(workspacePreset);
|
|
7202
7202
|
};
|
|
7203
7203
|
var canDelete = (workspacePreset.scope === SystemScope.user && (auth == null ? void 0 : auth.username) === workspacePreset.username || isAdmin) && Boolean(workspacePreset.id);
|
|
7204
|
+
var isNewPreset = !workspacePreset.id || workspacePreset.id === LOCAL_SOUNDINGS_ID;
|
|
7204
7205
|
var menuItems = [{
|
|
7205
7206
|
text: t('workspace-duplicate'),
|
|
7206
7207
|
action: function action() {
|
|
@@ -7215,7 +7216,8 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7215
7216
|
text: testIdPrefix === 'viewpreset' ? t('workspace-copy-viewpreset-to-clipboard') : t('workspace-copy-to-clipboard'),
|
|
7216
7217
|
action: function action() {
|
|
7217
7218
|
return onClick(WorkspacePresetAction.COPY_TO_CLIPBOARD);
|
|
7218
|
-
}
|
|
7219
|
+
},
|
|
7220
|
+
isDisabled: isNewPreset
|
|
7219
7221
|
}];
|
|
7220
7222
|
// Show "Edit" if it's your own user-scoped preset OR you're an admin
|
|
7221
7223
|
if (workspacePreset.scope === SystemScope.user && (auth == null ? void 0 : auth.username) === workspacePreset.username || isAdmin) {
|
|
@@ -7239,10 +7241,10 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7239
7241
|
var description = (_workspacePreset$desc = workspacePreset == null ? void 0 : workspacePreset.description) != null ? _workspacePreset$desc : '';
|
|
7240
7242
|
var tooltipContent = jsxs(Box, {
|
|
7241
7243
|
children: [jsx(Typography, {
|
|
7242
|
-
variant: "body2",
|
|
7243
7244
|
sx: {
|
|
7244
7245
|
fontWeight: 600
|
|
7245
7246
|
},
|
|
7247
|
+
variant: "body2",
|
|
7246
7248
|
children: workspacePreset.title
|
|
7247
7249
|
}), !!description && jsx(Typography, {
|
|
7248
7250
|
variant: "body2",
|
|
@@ -7259,7 +7261,7 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7259
7261
|
}
|
|
7260
7262
|
var versions = workspacePreset.scope === 'plugin' ? (_workspacePreset$orig = (_workspacePreset$orig2 = workspacePreset.origin) == null ? void 0 : _workspacePreset$orig2.versions) != null ? _workspacePreset$orig : [] : [];
|
|
7261
7263
|
var showInfoIcon = !!workspacePreset.id && workspacePreset.id !== LOCAL_SOUNDINGS_ID;
|
|
7262
|
-
return
|
|
7264
|
+
return jsxs(ListItem, {
|
|
7263
7265
|
disablePadding: true,
|
|
7264
7266
|
sx: {
|
|
7265
7267
|
mb: 0.5,
|
|
@@ -7285,7 +7287,22 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7285
7287
|
color: 'geowebColors.typographyAndIcons.text'
|
|
7286
7288
|
}
|
|
7287
7289
|
},
|
|
7288
|
-
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, {
|
|
7289
7306
|
"aria-label": testIdPrefix,
|
|
7290
7307
|
"data-testid": testIdPrefix + "-selectListRow",
|
|
7291
7308
|
onClick: function onClick(event) {
|
|
@@ -7299,7 +7316,8 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7299
7316
|
role: "listitem",
|
|
7300
7317
|
selected: isSelected,
|
|
7301
7318
|
sx: {
|
|
7302
|
-
pl: 2,
|
|
7319
|
+
pl: isNewPreset ? 2 : 1,
|
|
7320
|
+
minWidth: 0,
|
|
7303
7321
|
pr: 1,
|
|
7304
7322
|
py: 1,
|
|
7305
7323
|
height: WORKSPACE_SELECT_LIST_ROW_HEIGHT + "px"
|
|
@@ -7400,7 +7418,7 @@ var WorkspaceSelectListRow = function WorkspaceSelectListRow(_ref) {
|
|
|
7400
7418
|
})]
|
|
7401
7419
|
})
|
|
7402
7420
|
})]
|
|
7403
|
-
})
|
|
7421
|
+
})]
|
|
7404
7422
|
});
|
|
7405
7423
|
};
|
|
7406
7424
|
|
|
@@ -10174,7 +10192,7 @@ var WorkspaceOptionsConnect = function WorkspaceOptionsConnect(_ref) {
|
|
|
10174
10192
|
}, [dispatch, t]);
|
|
10175
10193
|
return jsxs(Fragment, {
|
|
10176
10194
|
children: [jsx(WorkspaceOptions, {
|
|
10177
|
-
handleCopyToClipboard:
|
|
10195
|
+
handleCopyToClipboard: onCopyToClipboard,
|
|
10178
10196
|
handleDelete: getOnDelete(),
|
|
10179
10197
|
handleEdit: handleEdit(),
|
|
10180
10198
|
handlePasteFromClipboard: onPasteFromClipboard,
|
|
@@ -10449,12 +10467,12 @@ var WorkspacePresetsForm = function WorkspacePresetsForm(_ref) {
|
|
|
10449
10467
|
}
|
|
10450
10468
|
}), jsxs(Typography, {
|
|
10451
10469
|
component: "div",
|
|
10452
|
-
variant: "caption",
|
|
10453
10470
|
sx: {
|
|
10454
10471
|
marginBottom: 2,
|
|
10455
10472
|
marginLeft: 1,
|
|
10456
10473
|
marginTop: 1
|
|
10457
10474
|
},
|
|
10475
|
+
variant: "caption",
|
|
10458
10476
|
children: [jsxs(Typography, {
|
|
10459
10477
|
color: "textSecondary",
|
|
10460
10478
|
component: "span",
|
|
@@ -11095,12 +11113,12 @@ var ViewPresetsForm = function ViewPresetsForm(_ref) {
|
|
|
11095
11113
|
}
|
|
11096
11114
|
}), jsxs(Typography, {
|
|
11097
11115
|
component: "div",
|
|
11098
|
-
variant: "caption",
|
|
11099
11116
|
sx: {
|
|
11100
11117
|
marginBottom: 2,
|
|
11101
11118
|
marginLeft: 1,
|
|
11102
11119
|
marginTop: 1
|
|
11103
11120
|
},
|
|
11121
|
+
variant: "caption",
|
|
11104
11122
|
children: [jsxs(Typography, {
|
|
11105
11123
|
color: "textSecondary",
|
|
11106
11124
|
component: "span",
|
|
@@ -11927,7 +11945,7 @@ var workspacePresets = [
|
|
|
11927
11945
|
useLatestReferenceTime: true
|
|
11928
11946
|
},
|
|
11929
11947
|
{
|
|
11930
|
-
name: "
|
|
11948
|
+
name: "air_pressure_msl",
|
|
11931
11949
|
service: "https://geoservices.knmi.nl/adaguc-server?DATASET=uwcw-ha-det-dini-5p5km",
|
|
11932
11950
|
dimensions: [
|
|
11933
11951
|
{
|
|
@@ -11960,7 +11978,7 @@ var workspacePresets = [
|
|
|
11960
11978
|
useLatestReferenceTime: true
|
|
11961
11979
|
},
|
|
11962
11980
|
{
|
|
11963
|
-
name: "
|
|
11981
|
+
name: "total_precipitation_rate_gl",
|
|
11964
11982
|
service: "https://geoservices.knmi.nl/adaguc-server?DATASET=uwcw-ha-det-dini-5p5km",
|
|
11965
11983
|
dimensions: [
|
|
11966
11984
|
{
|
|
@@ -12066,37 +12084,19 @@ var workspacePresets = [
|
|
|
12066
12084
|
plotPreset: {
|
|
12067
12085
|
mapId: "view_knmi_timeseries_dini_wms",
|
|
12068
12086
|
plots: [
|
|
12069
|
-
{
|
|
12070
|
-
title: "Air pressure",
|
|
12071
|
-
plotId: "Plot_1"
|
|
12072
|
-
},
|
|
12073
12087
|
{
|
|
12074
12088
|
title: "Air temperature",
|
|
12075
|
-
plotId: "
|
|
12076
|
-
},
|
|
12077
|
-
{
|
|
12078
|
-
title: "precipitation",
|
|
12079
|
-
plotId: "Plot_3"
|
|
12089
|
+
plotId: "Plot_1"
|
|
12080
12090
|
},
|
|
12081
12091
|
{
|
|
12082
12092
|
title: "Relative humidity",
|
|
12083
|
-
plotId: "
|
|
12093
|
+
plotId: "Plot_2"
|
|
12084
12094
|
}
|
|
12085
12095
|
],
|
|
12086
12096
|
parameters: [
|
|
12087
|
-
{
|
|
12088
|
-
unit: "hPa",
|
|
12089
|
-
plotId: "Plot_1",
|
|
12090
|
-
plotType: "line",
|
|
12091
|
-
serviceId: "knmi_geoservices_edr",
|
|
12092
|
-
collectionId: "uwcw-ha-det-dini-5p5km.hagl",
|
|
12093
|
-
propertyName: "air_pressure_at_mean_sea_level_hagl",
|
|
12094
|
-
id: "timeseriesparamid_2ceef258-edf0-4170-b8ec-a998e1175839",
|
|
12095
|
-
opacity: 70
|
|
12096
|
-
},
|
|
12097
12097
|
{
|
|
12098
12098
|
unit: "C",
|
|
12099
|
-
plotId: "
|
|
12099
|
+
plotId: "Plot_1",
|
|
12100
12100
|
plotType: "line",
|
|
12101
12101
|
serviceId: "knmi_geoservices_edr",
|
|
12102
12102
|
collectionId: "uwcw-ha-det-dini-5p5km.hagl",
|
|
@@ -12104,19 +12104,9 @@ var workspacePresets = [
|
|
|
12104
12104
|
id: "timeseriesparamid_fbbe34f2-2aaa-4636-9dae-6d9c6b8530db",
|
|
12105
12105
|
opacity: 70
|
|
12106
12106
|
},
|
|
12107
|
-
{
|
|
12108
|
-
unit: "mm/hr",
|
|
12109
|
-
plotId: "Plot_3",
|
|
12110
|
-
plotType: "bar",
|
|
12111
|
-
serviceId: "knmi_geoservices_edr",
|
|
12112
|
-
collectionId: "uwcw-ha-det-dini-5p5km.hagl",
|
|
12113
|
-
propertyName: "total_precipitation_rate_hagl",
|
|
12114
|
-
id: "timeseriesparamid_7a02c8f2-8401-4231-81d7-5b1dc9c24fb1",
|
|
12115
|
-
opacity: 70
|
|
12116
|
-
},
|
|
12117
12107
|
{
|
|
12118
12108
|
unit: "%",
|
|
12119
|
-
plotId: "
|
|
12109
|
+
plotId: "Plot_2",
|
|
12120
12110
|
plotType: "line",
|
|
12121
12111
|
serviceId: "knmi_geoservices_edr",
|
|
12122
12112
|
collectionId: "uwcw-ha-det-dini-5p5km.hagl",
|
|
@@ -12294,7 +12284,34 @@ var workspacePresets = [
|
|
|
12294
12284
|
views: [
|
|
12295
12285
|
{
|
|
12296
12286
|
mosaicNodeId: "view-1",
|
|
12297
|
-
|
|
12287
|
+
componentType: "HarmonieTempAndPrecipPreset",
|
|
12288
|
+
initialProps: {
|
|
12289
|
+
layers: {
|
|
12290
|
+
topRow: {
|
|
12291
|
+
service: "https://geoservices.knmi.nl/adaguc-server?DATASET=uwcw-ha-det-dini-5p5km",
|
|
12292
|
+
name: "air_temperature_hagl",
|
|
12293
|
+
style: "temperature_wow/shaded",
|
|
12294
|
+
id: "layerid_18",
|
|
12295
|
+
layerType: "mapLayer",
|
|
12296
|
+
enabled: true
|
|
12297
|
+
},
|
|
12298
|
+
bottomRow: {
|
|
12299
|
+
service: "https://geoservices.knmi.nl/adaguc-server?DATASET=uwcw-ha-det-dini-5p5km",
|
|
12300
|
+
name: "total_precipitation_rate_gl",
|
|
12301
|
+
id: "layerid_19",
|
|
12302
|
+
layerType: "mapLayer",
|
|
12303
|
+
enabled: true
|
|
12304
|
+
},
|
|
12305
|
+
topRowSyncGroups: [
|
|
12306
|
+
"timeLayerGroupA",
|
|
12307
|
+
"areaLayerGroupA"
|
|
12308
|
+
],
|
|
12309
|
+
bottomRowSyncGroups: [
|
|
12310
|
+
"timeLayerGroupA",
|
|
12311
|
+
"areaLayerGroupA"
|
|
12312
|
+
]
|
|
12313
|
+
}
|
|
12314
|
+
}
|
|
12298
12315
|
}
|
|
12299
12316
|
],
|
|
12300
12317
|
syncGroups: [
|
|
@@ -12339,7 +12356,7 @@ var workspacePresets = [
|
|
|
12339
12356
|
},
|
|
12340
12357
|
bottomRow: {
|
|
12341
12358
|
service: "https://geoservices.knmi.nl/adaguc-server?DATASET=uwcw-ha-det-dini-5p5km",
|
|
12342
|
-
name: "
|
|
12359
|
+
name: "total_precipitation_rate_gl",
|
|
12343
12360
|
id: "layerid_19",
|
|
12344
12361
|
layerType: "mapLayer",
|
|
12345
12362
|
enabled: true
|
|
@@ -12655,20 +12672,6 @@ var workspacePresets = [
|
|
|
12655
12672
|
mosaicNode: "radarView",
|
|
12656
12673
|
username: "user.name"
|
|
12657
12674
|
},
|
|
12658
|
-
{
|
|
12659
|
-
id: "workspaceHarmonie",
|
|
12660
|
-
title: "Harmonie workspace",
|
|
12661
|
-
scope: "system",
|
|
12662
|
-
abstract: "",
|
|
12663
|
-
viewType: "singleWindow",
|
|
12664
|
-
views: [
|
|
12665
|
-
{
|
|
12666
|
-
mosaicNodeId: "harmView",
|
|
12667
|
-
viewPresetId: "viewHarmonie"
|
|
12668
|
-
}
|
|
12669
|
-
],
|
|
12670
|
-
mosaicNode: "harmView"
|
|
12671
|
-
},
|
|
12672
12675
|
{
|
|
12673
12676
|
id: "capWorkspace",
|
|
12674
12677
|
title: "Cap Warnings",
|
|
@@ -12987,13 +12990,6 @@ var workspaceEndpoints = [http["delete"](/^.*\/workspacepreset\/(.*)$/, /*#__PUR
|
|
|
12987
12990
|
return _context6.a(2, HttpResponse.json(LABELS_CONFIG_DEFAULT));
|
|
12988
12991
|
}
|
|
12989
12992
|
}, _callee6);
|
|
12990
|
-
}))), http.get(/.*plugins\/metadata.*/, /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7() {
|
|
12991
|
-
return _regenerator().w(function (_context7) {
|
|
12992
|
-
while (1) switch (_context7.n) {
|
|
12993
|
-
case 0:
|
|
12994
|
-
return _context7.a(2, HttpResponse.json({}));
|
|
12995
|
-
}
|
|
12996
|
-
}, _callee7);
|
|
12997
12993
|
})))];
|
|
12998
12994
|
|
|
12999
12995
|
export { ALL_COMPONENT_TYPES, AVIATION_COMPONENT_TYPES, CAP_COMPONENT_TYPES, ComponentsLookUpWrapper, DemoWrapper, PresetAction, SUPPORTED_COMPONENT_TYPES, SUPPORTED_TIMESERIES_COMPONENT_TYPES, ViewPresetErrorComponent, ViewPresetErrorType, WARNING_LIST_COMPONENT_TYPES, WORKSPACE_NAMESPACE, WorkspaceDetail, WorkspaceErrorType, WorkspaceI18nProvider, WorkspacePresetAction, WorkspaceStoreWrapper, WorkspaceThemeProvider, WorkspaceTopBar, WorkspaceViewConnect, WorkspaceWrapperProviderWithStore, createBalancedMosaicNode, createCustomEmptyMapWorkspace, defaultAuthConfig, defaultViewPresetsFilters, getEmptyMapWorkspace, getWorkspaceRouteUrl, selectors$1 as selectors, viewPresetActions, viewPresetsListener, viewPresetsReducer, workspaceActions, workspaceEndpoints, workspaceListActions, workspaceListListener, workspaceListReducer, workspaceListener, workspaceMiddlewares, workspaceReducer, workspaceReducersMap, routes as workspaceRoutes, workspaceTranslations };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Middleware, ReducersMapObject, Store } from '@reduxjs/toolkit';
|
|
2
2
|
import type { SnackbarModuleStore } from '@opengeoweb/snackbar';
|
|
3
|
+
import type { SoundingsModuleState } from '@opengeoweb/soundings';
|
|
3
4
|
import type { WebMapStateModuleState, SynchronizationGroupModuleState, UIModuleState } from '@opengeoweb/store';
|
|
4
5
|
import type { WorkspaceModuleStore } from './types';
|
|
5
6
|
export declare const workspaceReducersMap: ReducersMapObject;
|
|
6
7
|
export declare const workspaceMiddlewares: Middleware[];
|
|
7
|
-
export declare const createMockStore: (mockState?: WebMapStateModuleState | WorkspaceModuleStore | UIModuleState | SynchronizationGroupModuleState | SnackbarModuleStore) => Store;
|
|
8
|
+
export declare const createMockStore: (mockState?: WebMapStateModuleState | WorkspaceModuleStore | UIModuleState | SynchronizationGroupModuleState | SnackbarModuleStore | SoundingsModuleState) => Store;
|
|
@@ -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-20260912",
|
|
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-20260912",
|
|
25
|
+
"@opengeoweb/store": "19.6.1-nightly-20260912",
|
|
26
|
+
"@opengeoweb/api": "19.6.1-nightly-20260912",
|
|
27
|
+
"react-hook-form": "^7.50.1",
|
|
28
|
+
"@opengeoweb/theme": "19.6.1-nightly-20260912",
|
|
29
|
+
"@reduxjs/toolkit": "^2.6.1",
|
|
30
|
+
"@opengeoweb/snackbar": "19.6.1-nightly-20260912",
|
|
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-20260912",
|
|
36
|
+
"@opengeoweb/time-series": "19.6.1-nightly-20260912",
|
|
37
|
+
"@opengeoweb/authentication": "19.6.1-nightly-20260912",
|
|
38
|
+
"@opengeoweb/plugins": "19.6.1-nightly-20260912",
|
|
39
|
+
"@opengeoweb/core": "19.6.1-nightly-20260912",
|
|
40
|
+
"@opengeoweb/taf": "19.6.1-nightly-20260912",
|
|
41
|
+
"@opengeoweb/sigmet-airmet": "19.6.1-nightly-20260912",
|
|
42
|
+
"@opengeoweb/warnings": "19.6.1-nightly-20260912",
|
|
43
|
+
"@opengeoweb/space-weather": "19.6.1-nightly-20260912",
|
|
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-20260912",
|
|
48
|
+
"@tanstack/react-query": "^5.85.5",
|
|
49
|
+
"@opengeoweb/soundings": "19.6.1-nightly-20260912",
|
|
50
|
+
"@opengeoweb/knmi-components": "19.6.1-nightly-20260912",
|
|
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
|
+
}
|