@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/index.esm.js +3710 -6783
- package/package.json +2 -1
- package/src/lib/components/WorkspaceView/LinkMenu/LinkMenuConnect.d.ts +6 -0
- package/src/lib/components/WorkspaceView/LinkMenu/LinkMenuConnect.spec.d.ts +1 -0
- package/src/lib/components/WorkspaceView/WorkspaceControls.d.ts +1 -0
- package/src/lib/store/workspace/selectors.d.ts +9 -4
- package/src/lib/store/workspace/types.d.ts +1 -1
- package/src/lib/storyUtils/componentsLookUp.d.ts +2 -1
- package/src/lib/storyUtils/componentsLookUp.stories.d.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/workspace",
|
|
3
|
-
"version": "9.
|
|
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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;
|
|
@@ -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;
|