@opengeoweb/workspace 9.32.1 → 9.34.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/workspace",
3
- "version": "9.32.1",
3
+ "version": "9.34.0",
4
4
  "description": "GeoWeb Workspace library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -31,6 +31,7 @@
31
31
  "@opengeoweb/taf": "*",
32
32
  "@opengeoweb/sigmet-airmet": "*",
33
33
  "@opengeoweb/warnings": "*",
34
+ "@opengeoweb/spaceweather": "*",
34
35
  "i18next": "^23.11.5",
35
36
  "react-i18next": "^15.1.1",
36
37
  "@mui/material": "^6.1.1",
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface SelectMenuProps {
3
+ panelId: string;
4
+ }
5
+ declare const LinkMenuConnect: React.FC<SelectMenuProps>;
6
+ export default LinkMenuConnect;
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { MosaicBranch, MosaicNode } from 'react-mosaic-component';
3
3
  interface WorkspaceControlsProps {
4
+ panelId: string;
4
5
  path: MosaicBranch[];
5
6
  createNode?: () => MosaicNode<string>;
6
7
  shouldPreventCloseView?: boolean;
@@ -41,7 +41,12 @@ export declare const getMosaicNode: ((state: AppStore) => import("react-mosaic-c
41
41
  * @param {string} viewId viewId: string - view id
42
42
  * @returns {object} returnType: WorkspaceViewType
43
43
  */
44
- export declare const getViewById: ((state: AppStore, viewId: string) => import("./types").WorkspaceViewType | undefined) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState, args_1: string) => import("./types").WorkspaceViewType | undefined, {
44
+ export declare const getViewById: ((state: AppStore, viewId: string) => import("./types").WorkspaceViewType) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState, args_1: string) => import("./types").WorkspaceViewType, {
45
+ clearCache: () => void;
46
+ }> & {
47
+ clearCache: () => void;
48
+ };
49
+ export declare const getViewsById: ((state: AppStore) => Record<string, import("./types").WorkspaceViewType>) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => Record<string, import("./types").WorkspaceViewType>, {
45
50
  clearCache: () => void;
46
51
  }> & {
47
52
  clearCache: () => void;
@@ -64,7 +69,7 @@ export declare const getViewIds: ((state: AppStore) => string[]) & import("resel
64
69
  * @param {string} viewId viewId: string - view id
65
70
  * @returns {boolean} returnType: boolean
66
71
  */
67
- export declare const getShouldPreventClose: ((state: AppStore, viewId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").WorkspaceViewType | undefined) => boolean, {
72
+ export declare const getShouldPreventClose: ((state: AppStore, viewId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").WorkspaceViewType) => boolean, {
68
73
  clearCache: () => void;
69
74
  }> & {
70
75
  clearCache: () => void;
@@ -158,14 +163,14 @@ export declare const getWorkspaceData: ((state: AppStore & import("@opengeoweb/s
158
163
  }> & {
159
164
  clearCache: () => void;
160
165
  };
161
- export declare const getViewComponentType: ((state: AppStore, viewId: string) => WorkspaceSupportedComponentTypes) & import("reselect").OutputSelectorFields<(args_0: import("./types").WorkspaceViewType | undefined) => WorkspaceSupportedComponentTypes, {
166
+ export declare const getViewComponentType: ((state: AppStore, viewId: string) => WorkspaceSupportedComponentTypes) & import("reselect").OutputSelectorFields<(args_0: import("./types").WorkspaceViewType) => WorkspaceSupportedComponentTypes, {
162
167
  clearCache: () => void;
163
168
  }> & {
164
169
  clearCache: () => void;
165
170
  };
166
171
  export declare const getViewPresetToSendToBackend: ((state: any, viewId: any) => Omit<ViewPreset, "title"> & {
167
172
  title?: string | undefined;
168
- }) & import("reselect").OutputSelectorFields<(args_0: import("./types").WorkspaceViewType | undefined, args_1: WorkspaceSupportedComponentTypes, args_2: import("@opengeoweb/store").MapPreset, args_3: string[], args_4: import("dist/libs/timeseries/src/lib/store/types").TimeSeriesPreset | undefined) => Omit<ViewPreset, "title"> & {
173
+ }) & import("reselect").OutputSelectorFields<(args_0: import("./types").WorkspaceViewType, args_1: WorkspaceSupportedComponentTypes, args_2: import("@opengeoweb/store").MapPreset, args_3: string[], args_4: import("dist/libs/timeseries/src/lib/store/types").TimeSeriesPreset | undefined) => Omit<ViewPreset, "title"> & {
169
174
  title?: string | undefined;
170
175
  }, {
171
176
  clearCache: () => void;
@@ -14,7 +14,7 @@ export interface WorkspaceViewType {
14
14
  keywords?: string;
15
15
  }
16
16
  export interface WorkspaceViews {
17
- byId?: Record<string, WorkspaceViewType>;
17
+ byId: Record<string, WorkspaceViewType>;
18
18
  allIds: string[];
19
19
  }
20
20
  export interface WorkspaceViewsFromBE {
@@ -4,9 +4,10 @@ import { ComponentsLookUpPayload as TimeseriesComponentsLookUpPayload } from '@o
4
4
  import { ComponentsLookUpPayload as TafComponentsLookUpPayload } from '@opengeoweb/taf';
5
5
  import { SigmetComponentsLookUpPayload, AirmetComponentsLookUpPayload } from '@opengeoweb/sigmet-airmet';
6
6
  import { ComponentsLookUpPayload as WarningListComponentsLookUpPayLoad } from '@opengeoweb/warnings';
7
+ import { ComponentsLookUpPayload as SpaceweatherComponentsLookUpPayLoad } from '@opengeoweb/spaceweather';
7
8
  /**
8
9
  * The lookup table is for registering your own components with the workspace.
9
10
  * @param payload
10
11
  * @returns
11
12
  */
12
- export declare const componentsLookUp: (payload: CoreComponentsLookUpPayload | TimeseriesComponentsLookUpPayload | TafComponentsLookUpPayload | SigmetComponentsLookUpPayload | AirmetComponentsLookUpPayload | WarningListComponentsLookUpPayLoad) => React.ReactElement;
13
+ export declare const componentsLookUp: (payload: CoreComponentsLookUpPayload | TimeseriesComponentsLookUpPayload | TafComponentsLookUpPayload | SigmetComponentsLookUpPayload | AirmetComponentsLookUpPayload | WarningListComponentsLookUpPayLoad | SpaceweatherComponentsLookUpPayLoad) => React.ReactElement;
@@ -44,3 +44,7 @@ export declare const WarningList: {
44
44
  (): React.ReactElement;
45
45
  storyName: string;
46
46
  };
47
+ export declare const SpaceweatherModule: {
48
+ (): React.ReactElement;
49
+ storyName: string;
50
+ };