@opengeoweb/workspace 21.2.0 → 21.3.0-nightly-20261127

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.
@@ -22,3 +22,4 @@ export { getEmptyMapWorkspace, createCustomEmptyMapWorkspace, } from './lib/stor
22
22
  export type { WorkspaceModuleStore } from './lib/store/types';
23
23
  export { workspaceReducersMap, workspaceMiddlewares, workspaceSentryStateMap, } from './lib/store';
24
24
  export * from './lib/api/workspace-api/fakeApi/fakeApi';
25
+ export { WorkspaceDataExplorerPanelConnect } from './lib/components/WorkspaceDataExplorerPanelConnect/WorkspaceDataExplorerPanelConnect';
@@ -1,8 +1,13 @@
1
1
  import React from 'react';
2
+ import type { AddDatasetTimeseries, AddDatasetMapLayer, RemoveDatasetMapLayer } from '@opengeoweb/data-explorer';
2
3
  /**
3
4
  * Coordinates the Data Explorer with the workspace and Timeseries panels.
4
5
  * Data Explorer itself does not depend on workspace or Timeseries.
5
6
  */
7
+ export declare const DataExplorerActionsConnect: React.FC<{
8
+ panelId?: string;
9
+ children: (addTimeseries: AddDatasetTimeseries, addMapLayer: AddDatasetMapLayer, removeMapLayer: RemoveDatasetMapLayer) => React.ReactNode;
10
+ }>;
6
11
  export declare const DataExplorerTimeseriesConnect: React.FC<{
7
12
  productConfigKey: string;
8
13
  }>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const WorkspaceDataExplorerPanelConnect: React.FC<{
3
+ panelId: string;
4
+ productConfigKey?: string;
5
+ }>;
@@ -1,8 +1,9 @@
1
1
  import type { Middleware, ReducersMapObject, Store } from '@reduxjs/toolkit';
2
+ import type { CrossSectionModuleState } from '@opengeoweb/cross-section';
2
3
  import type { SnackbarModuleStore } from '@opengeoweb/snackbar';
3
4
  import type { SoundingsModuleState } from '@opengeoweb/soundings';
4
5
  import type { WebMapStateModuleState, SynchronizationGroupModuleState, UIModuleState } from '@opengeoweb/store';
5
6
  import type { WorkspaceModuleStore } from './types';
6
7
  export declare const workspaceReducersMap: ReducersMapObject;
7
8
  export declare const workspaceMiddlewares: Middleware[];
8
- export declare const createMockStore: (mockState?: WebMapStateModuleState | WorkspaceModuleStore | UIModuleState | SynchronizationGroupModuleState | SnackbarModuleStore | SoundingsModuleState) => Store;
9
+ export declare const createMockStore: (mockState?: WebMapStateModuleState | WorkspaceModuleStore | UIModuleState | SynchronizationGroupModuleState | SnackbarModuleStore | SoundingsModuleState | CrossSectionModuleState) => Store;
@@ -1,4 +1,5 @@
1
1
  import type { Draft, PayloadAction } from '@reduxjs/toolkit';
2
+ import { CrossSectionTypes } from '@opengeoweb/cross-section';
2
3
  import { SoundingsTypes } from '@opengeoweb/soundings';
3
4
  import { layerTypes, mapEnums } from '@opengeoweb/store';
4
5
  import { TimeSeriesTypes } from '@opengeoweb/time-series';
@@ -15,6 +16,8 @@ export type SupportedTimeSeriesActionOrigins = TimeSeriesTypes.TimeSeriesActionO
15
16
  export declare const supportedTimeSeriesActionOrigins: SupportedTimeSeriesActionOrigins[];
16
17
  export type SupportedSoundingsActionOrigins = SoundingsTypes.SoundingsActionOrigin;
17
18
  export declare const supportedSoundingsActionOrigins: SupportedSoundingsActionOrigins[];
19
+ export type SupportedCrossSectionActionOrigins = CrossSectionTypes.CrossSectionActionOrigin;
20
+ export declare const supportedCrossSectionActionOrigins: SupportedCrossSectionActionOrigins[];
18
21
  export declare const viewPresetsReducer: import("redux").Reducer<ViewPresetState>, viewPresetActions: import("@reduxjs/toolkit").CaseReducerActions<{
19
22
  fetchViewPresets: (draft: Draft<ViewPresetState>, action: PayloadAction<FetchViewPresetsPayload>) => void;
20
23
  fetchedViewPreset: (draft: Draft<ViewPresetState>, action: PayloadAction<FetchedViewPresetPayload>) => void;
@@ -18,8 +18,8 @@ export declare const SUPPORTED_TIMESERIES_COMPONENT_TYPES: readonly ["TimeSeries
18
18
  export type SupportedTSComponentTypes = (typeof SUPPORTED_TIMESERIES_COMPONENT_TYPES)[number];
19
19
  export declare const WARNING_LIST_COMPONENT_TYPES: readonly ["WarningList", "MaritimeWarnings", "WarningsTimeline"];
20
20
  export type WarningsComponentType = (typeof WARNING_LIST_COMPONENT_TYPES)[number];
21
- export type WorkspaceSupportedComponentTypes = SupportedComponentTypes | SupportedTimeSeriesComponentTypes | SoundingsComponentType | CrossSectionComponentType | WarningListComponentType | WorkspaceViewPresetComponentsLookupType | PluginComponentType;
22
- export type LabelSupportedComponentTypes = SupportedComponentTypes | SupportedTimeSeriesComponentTypes | SoundingsComponentType | CrossSectionComponentType | WarningListComponentType | AviationComponentType | CapComponentType | 'TafModule' | 'TrajksModule' | 'SpaceweatherModule' | 'Plugin' | WorkspaceViewPresetComponentsLookupType;
21
+ export type WorkspaceSupportedComponentTypes = 'DataExplorer' | SupportedComponentTypes | SupportedTimeSeriesComponentTypes | SoundingsComponentType | CrossSectionComponentType | WarningListComponentType | WorkspaceViewPresetComponentsLookupType | PluginComponentType;
22
+ export type LabelSupportedComponentTypes = 'DataExplorer' | SupportedComponentTypes | SupportedTimeSeriesComponentTypes | SoundingsComponentType | CrossSectionComponentType | WarningListComponentType | AviationComponentType | CapComponentType | 'TafModule' | 'TrajksModule' | 'SpaceweatherModule' | 'Plugin' | WorkspaceViewPresetComponentsLookupType;
23
23
  export declare const ALL_COMPONENT_TYPES: readonly LabelSupportedComponentTypes[];
24
24
  export interface ViewPreset {
25
25
  id?: string;
@@ -0,0 +1,8 @@
1
+ import type { ListenerEffectAPI, ThunkDispatch, UnknownAction } from '@reduxjs/toolkit';
2
+ import type { AppStore } from '../types';
3
+ export declare const VIEW_PRESETS_DOWNLOAD_TIMEOUT_MS = 30000;
4
+ export declare const MAP_SIZES_TIMEOUT_MS = 10000;
5
+ type RestoreListenerApi = Pick<ListenerEffectAPI<AppStore, ThunkDispatch<AppStore, unknown, UnknownAction>>, 'getState' | 'dispatch' | 'condition'>;
6
+ /** Restores each zoom sync group's shared view once every view preset is downloaded and every member map has its size. */
7
+ export declare const restoreSyncGroupViews: (listenerApi: RestoreListenerApi) => Promise<void>;
8
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/workspace",
3
- "version": "21.2.0",
3
+ "version": "21.3.0-nightly-20261127",
4
4
  "description": "GeoWeb Workspace library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -21,37 +21,37 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "react-redux": "^9.2.0",
24
- "@opengeoweb/shared": "21.2.0",
25
- "@opengeoweb/store": "21.2.0",
26
- "@opengeoweb/api": "21.2.0",
24
+ "@opengeoweb/shared": "21.3.0-nightly-20261127",
25
+ "@opengeoweb/store": "21.3.0-nightly-20261127",
26
+ "@opengeoweb/api": "21.3.0-nightly-20261127",
27
27
  "react-hook-form": "^7.50.1",
28
- "@opengeoweb/theme": "21.2.0",
28
+ "@opengeoweb/theme": "21.3.0-nightly-20261127",
29
29
  "@reduxjs/toolkit": "^2.6.1",
30
- "@opengeoweb/snackbar": "21.2.0",
30
+ "@opengeoweb/snackbar": "21.3.0-nightly-20261127",
31
31
  "react-window": "^2.2.6",
32
32
  "lodash": "^4.18.1",
33
33
  "axios": "^1.20.0",
34
34
  "react-mosaic-component": "npm:react-mosaic-component-opengeoweb@^6.1.1-opengeoweb.1",
35
- "@opengeoweb/form-fields": "21.2.0",
36
- "@opengeoweb/time-series": "21.2.0",
37
- "@opengeoweb/data-explorer": "21.2.0",
35
+ "@opengeoweb/form-fields": "21.3.0-nightly-20261127",
36
+ "@opengeoweb/time-series": "21.3.0-nightly-20261127",
37
+ "@opengeoweb/data-explorer": "21.3.0-nightly-20261127",
38
38
  "uuid": "^11.1.1",
39
- "@opengeoweb/authentication": "21.2.0",
40
- "@opengeoweb/plugins": "21.2.0",
41
- "@opengeoweb/core": "21.2.0",
42
- "@opengeoweb/taf": "21.2.0",
43
- "@opengeoweb/sigmet-airmet": "21.2.0",
44
- "@opengeoweb/warnings": "21.2.0",
45
- "@opengeoweb/space-weather": "21.2.0",
46
- "i18next": "^25.0.1",
39
+ "@opengeoweb/authentication": "21.3.0-nightly-20261127",
40
+ "@opengeoweb/plugins": "21.3.0-nightly-20261127",
41
+ "@opengeoweb/core": "21.3.0-nightly-20261127",
42
+ "@opengeoweb/taf": "21.3.0-nightly-20261127",
43
+ "@opengeoweb/sigmet-airmet": "21.3.0-nightly-20261127",
44
+ "@opengeoweb/warnings": "21.3.0-nightly-20261127",
45
+ "@opengeoweb/space-weather": "21.3.0-nightly-20261127",
46
+ "i18next": "^26.3.4",
47
47
  "react-i18next": "^15.1.1",
48
48
  "@mui/material": "^9.0.1",
49
- "@opengeoweb/webmap-react": "21.2.0",
49
+ "@opengeoweb/webmap-react": "21.3.0-nightly-20261127",
50
50
  "@tanstack/react-query": "^5.85.5",
51
- "@opengeoweb/soundings": "21.2.0",
52
- "@opengeoweb/knmi-components": "21.2.0",
51
+ "@opengeoweb/soundings": "21.3.0-nightly-20261127",
52
+ "@opengeoweb/knmi-components": "21.3.0-nightly-20261127",
53
53
  "@mui/system": "^9.0.1",
54
- "@opengeoweb/cross-section": "21.2.0"
54
+ "@opengeoweb/cross-section": "21.3.0-nightly-20261127"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "react": "19",