@opengeoweb/workspace 15.0.0 → 15.2.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 +2538 -2453
- package/package.json +18 -19
- package/src/index.d.ts +1 -0
- package/src/lib/WorkspaceAdmin.stories.d.ts +0 -1
- package/src/lib/api/types.d.ts +2 -0
- package/src/lib/api/utils.d.ts +3 -0
- package/src/lib/api/viewpreset-api/api.d.ts +10 -0
- package/src/lib/api/{viewpresets-api → viewpreset-api}/fakeApi/mockData.d.ts +22 -0
- package/src/lib/api/viewpreset-api/hooks.d.ts +17 -0
- package/src/lib/api/viewpreset-api/queryOptions.d.ts +43 -0
- package/src/lib/api/workspace-api/api.d.ts +5 -1
- package/src/lib/api/workspace-api/fakeApi/mockData.d.ts +1 -0
- package/src/lib/api/workspace-api/hooks.d.ts +3 -6
- package/src/lib/api/workspace-api/queryOptions.d.ts +31 -1
- package/src/lib/components/Providers/Providers.d.ts +0 -1
- package/src/lib/components/Providers/index.d.ts +0 -1
- package/src/lib/components/ViewPresetMenu/ViewPresetsError.stories.d.ts +19 -7
- package/src/lib/components/ViewPresetsFormDialog/ViewPresetsFormDialog.d.ts +1 -1
- package/src/lib/components/ViewPresetsFormDialog/ViewPresetsFormDialog.stories.d.ts +8 -1
- package/src/lib/components/WorkspaceDetail/WorkspaceDetail.stories.d.ts +2 -6
- package/src/lib/components/WorkspaceDetail/WorkspaceDetailError.stories.d.ts +1 -3
- package/src/lib/components/WorkspaceSelectList/WorkspaceSelectListError.stories.d.ts +8 -1
- package/src/lib/components/WorkspaceSelectList/WorkspaceSelectListRow.d.ts +1 -1
- package/src/lib/store/store.d.ts +2 -1
- package/src/lib/store/viewPresets/listener.d.ts +4 -5
- package/src/lib/store/viewPresets/reducer.d.ts +3 -0
- package/src/lib/store/viewPresets/types.d.ts +3 -0
- package/src/lib/store/viewPresets/utils.d.ts +0 -2
- package/src/lib/store/workspace/reducer.d.ts +1 -0
- package/src/lib/store/workspace/utils.d.ts +0 -7
- package/src/lib/store/workspaceList/selectors.d.ts +8 -8
- package/src/lib/storyUtils/StoryWrapper.d.ts +1 -2
- package/src/lib/storyUtils/componentsLookUp.stories.d.ts +1 -1
- package/src/lib/utils/fakeApi.stories.d.ts +1 -3
- package/src/lib/api/viewpresets-api/api.d.ts +0 -5
- package/src/lib/api/viewpresets-api/hooks.d.ts +0 -9
- package/src/lib/api/viewpresets-api/queryOptions.d.ts +0 -12
- package/src/lib/components/Providers/WorkspaceModuleProvider.d.ts +0 -7
- package/src/lib/utils/api.d.ts +0 -22
- package/src/lib/utils/api.spec.d.ts +0 -1
- package/src/lib/utils/fakeApi.d.ts +0 -12
- package/src/lib/utils/fakeApi.spec.d.ts +0 -1
- /package/src/lib/api/{viewpresets-api → viewpreset-api}/fakeApi/fakeApi.d.ts +0 -0
- /package/src/lib/{components/Providers/WorkspaceModuleProvider.spec.d.ts → store/viewPresets/listener.spec.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/workspace",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.2.0",
|
|
4
4
|
"description": "GeoWeb Workspace library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -9,33 +9,32 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"react-redux": "^9.2.0",
|
|
12
|
-
"@opengeoweb/shared": "15.
|
|
13
|
-
"@opengeoweb/store": "15.
|
|
14
|
-
"@opengeoweb/api": "15.
|
|
12
|
+
"@opengeoweb/shared": "15.2.0",
|
|
13
|
+
"@opengeoweb/store": "15.2.0",
|
|
14
|
+
"@opengeoweb/api": "15.2.0",
|
|
15
15
|
"react-hook-form": "^7.50.1",
|
|
16
|
-
"@opengeoweb/theme": "15.
|
|
16
|
+
"@opengeoweb/theme": "15.2.0",
|
|
17
17
|
"@reduxjs/toolkit": "^2.6.1",
|
|
18
|
-
"@opengeoweb/snackbar": "15.
|
|
19
|
-
"react-window": "^
|
|
18
|
+
"@opengeoweb/snackbar": "15.2.0",
|
|
19
|
+
"react-window": "^2.2.6",
|
|
20
20
|
"lodash": "^4.17.21",
|
|
21
21
|
"axios": "^1.7.7",
|
|
22
|
-
"react-virtualized-auto-sizer": "^1.0.21",
|
|
23
22
|
"react-mosaic-component": "^6.1.0",
|
|
24
|
-
"@opengeoweb/form-fields": "15.
|
|
25
|
-
"@opengeoweb/time-series": "15.
|
|
26
|
-
"@opengeoweb/authentication": "15.
|
|
27
|
-
"@opengeoweb/core": "15.
|
|
28
|
-
"@opengeoweb/taf": "15.
|
|
29
|
-
"@opengeoweb/sigmet-airmet": "15.
|
|
30
|
-
"@opengeoweb/warnings": "15.
|
|
31
|
-
"@opengeoweb/space-weather": "15.
|
|
23
|
+
"@opengeoweb/form-fields": "15.2.0",
|
|
24
|
+
"@opengeoweb/time-series": "15.2.0",
|
|
25
|
+
"@opengeoweb/authentication": "15.2.0",
|
|
26
|
+
"@opengeoweb/core": "15.2.0",
|
|
27
|
+
"@opengeoweb/taf": "15.2.0",
|
|
28
|
+
"@opengeoweb/sigmet-airmet": "15.2.0",
|
|
29
|
+
"@opengeoweb/warnings": "15.2.0",
|
|
30
|
+
"@opengeoweb/space-weather": "15.2.0",
|
|
32
31
|
"i18next": "^25.0.1",
|
|
33
32
|
"react-i18next": "^15.1.1",
|
|
34
33
|
"@mui/material": "^7.0.1",
|
|
35
|
-
"@opengeoweb/webmap-react": "15.
|
|
34
|
+
"@opengeoweb/webmap-react": "15.2.0",
|
|
36
35
|
"@tanstack/react-query": "^5.85.5",
|
|
37
|
-
"@opengeoweb/soundings": "15.
|
|
38
|
-
"@opengeoweb/knmi-components": "15.
|
|
36
|
+
"@opengeoweb/soundings": "15.2.0",
|
|
37
|
+
"@opengeoweb/knmi-components": "15.2.0",
|
|
39
38
|
"@mui/system": "^7.3.5"
|
|
40
39
|
},
|
|
41
40
|
"peerDependencies": {
|
package/src/index.d.ts
CHANGED
|
@@ -21,3 +21,4 @@ export { routes as workspaceRoutes, getWorkspaceRouteUrl, } from './lib/utils/ro
|
|
|
21
21
|
export { getEmptyMapWorkspace, createCustomEmptyMapWorkspace, } from './lib/store/workspaceList/utils';
|
|
22
22
|
export type { WorkspaceModuleStore } from './lib/store/types';
|
|
23
23
|
export { workspaceReducersMap, workspaceMiddlewares } from './lib/store';
|
|
24
|
+
export * from './lib/api/workspace-api/fakeApi/fakeApi';
|
package/src/lib/api/utils.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
export type MutationReturnType<T> = UseMutationResult<Headers | null, Error, T>;
|
|
1
3
|
export declare const LIB_KEY = "workspace-lib";
|
|
2
4
|
export declare const getPresetBaseUrl: () => string;
|
|
5
|
+
export declare const getIdFromUrl: (url: string) => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Credentials } from '@opengeoweb/api';
|
|
2
|
+
import type { ViewPreset } from '../../store/viewPresets/types';
|
|
3
|
+
import type { FetchViewPresetsListParams } from '../../store/viewPresetsList/types';
|
|
4
|
+
import type { ViewPresetListItem } from '../../store/workspace/types';
|
|
5
|
+
export declare const getViewPreset: (viewpresetId: string, auth?: Credentials) => Promise<ViewPreset>;
|
|
6
|
+
export declare const getViewPresets: (auth?: Credentials, params?: FetchViewPresetsListParams) => Promise<ViewPresetListItem[]>;
|
|
7
|
+
export declare const updateViewPreset: (viewpresetId: string, data: ViewPreset, auth?: Credentials) => Promise<null>;
|
|
8
|
+
export declare const saveViewPreset: (viewPresetId: string, data: ViewPreset, auth?: Credentials) => Promise<void>;
|
|
9
|
+
export declare const saveViewPresetAs: (data: ViewPreset, auth?: Credentials) => Promise<string>;
|
|
10
|
+
export declare const deleteViewPreset: (viewPresetId: string, auth: Credentials) => Promise<Headers | null>;
|
|
@@ -24,3 +24,25 @@ export declare const viewPresetMockData: {
|
|
|
24
24
|
syncGroupsIds: string[];
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
+
export declare const viewPresetList: ({
|
|
28
|
+
title: string;
|
|
29
|
+
abstract: string;
|
|
30
|
+
id: string;
|
|
31
|
+
date: string;
|
|
32
|
+
scope: string;
|
|
33
|
+
username?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
title: string;
|
|
36
|
+
id: string;
|
|
37
|
+
date: string;
|
|
38
|
+
scope: string;
|
|
39
|
+
username: string;
|
|
40
|
+
abstract?: undefined;
|
|
41
|
+
} | {
|
|
42
|
+
id: string;
|
|
43
|
+
title: string;
|
|
44
|
+
date: string;
|
|
45
|
+
scope: string;
|
|
46
|
+
abstract?: undefined;
|
|
47
|
+
username?: undefined;
|
|
48
|
+
})[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import type { ViewPreset } from '../../store/viewPresets/types';
|
|
3
|
+
import type { FetchViewPresetsListParams } from '../../store/viewPresetsList/types';
|
|
4
|
+
import type { ViewPresetListItem } from '../../store/workspace/types';
|
|
5
|
+
import type { MutationReturnType } from '../types';
|
|
6
|
+
export declare const useDeleteViewPreset: () => MutationReturnType<Headers | null, {
|
|
7
|
+
id: string;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const useSaveViewPreset: () => MutationReturnType<void, {
|
|
10
|
+
id: string;
|
|
11
|
+
data: ViewPreset;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const useSaveViewPresetAs: () => MutationReturnType<string, {
|
|
14
|
+
data: ViewPreset;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const useGetViewPreset: (id: string) => UseQueryResult<ViewPreset>;
|
|
17
|
+
export declare const useGetViewPresets: (params?: FetchViewPresetsListParams) => UseQueryResult<ViewPresetListItem[]>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { Credentials } from '@opengeoweb/authentication';
|
|
2
|
+
import type { ViewPreset } from '../../store/viewPresets/types';
|
|
3
|
+
import type { FetchViewPresetsListParams } from '../../store/viewPresetsList/types';
|
|
4
|
+
import type { ViewPresetListItem } from '../../store/workspace/types';
|
|
5
|
+
export declare const viewpresetQueryOptions: {
|
|
6
|
+
readonly keys: {
|
|
7
|
+
readonly all: () => string[];
|
|
8
|
+
readonly views: () => string[];
|
|
9
|
+
readonly lists: () => string[];
|
|
10
|
+
};
|
|
11
|
+
readonly getViewPreset: (id: string, credentials?: Credentials) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ViewPreset, Error, ViewPreset, string[]>, "queryFn"> & {
|
|
12
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<ViewPreset, string[], never> | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
queryKey: string[] & {
|
|
15
|
+
[dataTagSymbol]: ViewPreset;
|
|
16
|
+
[dataTagErrorSymbol]: Error;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
readonly getViewPresets: (params?: FetchViewPresetsListParams, credentials?: Credentials) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ViewPresetListItem[], Error, ViewPresetListItem[], string[]>, "queryFn"> & {
|
|
20
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<ViewPresetListItem[], string[], never> | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
queryKey: string[] & {
|
|
23
|
+
[dataTagSymbol]: ViewPresetListItem[];
|
|
24
|
+
[dataTagErrorSymbol]: Error;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
readonly saveViewPreset: (id: string, data: ViewPreset, credentials?: Credentials) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<void, Error, void, string[]>, "queryFn"> & {
|
|
28
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<void, string[], never> | undefined;
|
|
29
|
+
} & {
|
|
30
|
+
queryKey: string[] & {
|
|
31
|
+
[dataTagSymbol]: void;
|
|
32
|
+
[dataTagErrorSymbol]: Error;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
readonly saveViewPresetAs: (data: ViewPreset, credentials?: Credentials) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<string, Error, string, string[]>, "queryFn"> & {
|
|
36
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<string, string[], never> | undefined;
|
|
37
|
+
} & {
|
|
38
|
+
queryKey: string[] & {
|
|
39
|
+
[dataTagSymbol]: string;
|
|
40
|
+
[dataTagErrorSymbol]: Error;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { Credentials } from '@opengeoweb/api';
|
|
2
|
-
import type { WorkspaceLabelsConfigResponse, WorkspacePresetForBE, WorkspacePresetFromBE } from '../../store/workspace/types';
|
|
2
|
+
import type { WorkspaceLabelsConfigResponse, WorkspacePresetForBE, WorkspacePresetFromBE, WorkspacePresetListItem } from '../../store/workspace/types';
|
|
3
|
+
import type { FetchWorkspaceParams } from '../../store/workspaceList/types';
|
|
3
4
|
export declare const getWorkspaceLabelsConfig: (auth: Credentials) => Promise<WorkspaceLabelsConfigResponse>;
|
|
5
|
+
export declare const getWorkspacePreset: (workspaceId: string, auth?: Credentials) => Promise<WorkspacePresetFromBE>;
|
|
6
|
+
export declare const getWorkspacePresets: (auth?: Credentials, params?: FetchWorkspaceParams) => Promise<WorkspacePresetListItem[]>;
|
|
4
7
|
export declare const getWorkspace: (workspaceId: string, auth: Credentials) => Promise<WorkspacePresetFromBE>;
|
|
5
8
|
export declare const deleteWorkspace: (workspaceId: string, auth: Credentials) => Promise<null>;
|
|
6
9
|
export declare const updateWorkspace: (workspaceId: string, data: WorkspacePresetForBE, auth: Credentials) => Promise<null>;
|
|
7
10
|
export declare const saveWorkspacePreset: (workspaceId: string, data: WorkspacePresetForBE, auth?: Credentials) => Promise<void>;
|
|
8
11
|
export declare const createWorkspace: (data: WorkspacePresetForBE, auth: Credentials) => Promise<Headers>;
|
|
12
|
+
export declare const saveWorkspacePresetAs: (data: WorkspacePresetForBE, auth?: Credentials) => Promise<string>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { UseMutationResult, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import type { WorkspaceLabelsConfigResponse, WorkspacePresetForBE } from '../../store/workspace/types';
|
|
2
|
+
import type { WorkspaceLabelsConfigResponse, WorkspacePresetForBE, WorkspacePresetListItem } from '../../store/workspace/types';
|
|
3
3
|
import { WorkspacePresetAction } from '../../store/workspace/types';
|
|
4
|
+
import type { FetchWorkspaceParams } from '../../store/workspaceList/types';
|
|
4
5
|
export declare const useWorkspaceLabelsConfig: () => UseQueryResult<WorkspaceLabelsConfigResponse>;
|
|
6
|
+
export declare const useGetWorkspacePresets: (params?: FetchWorkspaceParams) => UseQueryResult<WorkspacePresetListItem[]>;
|
|
5
7
|
type MutationReturnType<T> = UseMutationResult<Headers | null, Error, T>;
|
|
6
8
|
export declare const useDeleteWorkspacePreset: () => MutationReturnType<{
|
|
7
9
|
id: string;
|
|
@@ -10,9 +12,4 @@ export declare const useCreateWorkspacePreset: () => MutationReturnType<{
|
|
|
10
12
|
data: WorkspacePresetForBE;
|
|
11
13
|
action?: WorkspacePresetAction.DUPLICATE;
|
|
12
14
|
}>;
|
|
13
|
-
export declare const useUpdateWorkspacePreset: () => MutationReturnType<{
|
|
14
|
-
id: string;
|
|
15
|
-
data: WorkspacePresetForBE;
|
|
16
|
-
action?: WorkspacePresetAction.SAVE | WorkspacePresetAction.SAVE_SYSTEM_PRESET;
|
|
17
|
-
}>;
|
|
18
15
|
export {};
|
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
import type { Credentials } from '@opengeoweb/authentication';
|
|
2
|
-
import type { WorkspacePresetForBE } from '../../store/workspace/types';
|
|
2
|
+
import type { WorkspacePresetForBE, WorkspacePresetFromBE, WorkspacePresetListItem } from '../../store/workspace/types';
|
|
3
|
+
import type { FetchWorkspaceParams } from '../../store/workspaceList/types';
|
|
3
4
|
export declare const workspaceQueryOptions: {
|
|
5
|
+
readonly keys: {
|
|
6
|
+
readonly all: () => string[];
|
|
7
|
+
readonly workspaces: () => string[];
|
|
8
|
+
readonly lists: () => string[];
|
|
9
|
+
};
|
|
10
|
+
readonly getWorkspacePreset: (id: string, credentials?: Credentials) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<WorkspacePresetFromBE, Error, WorkspacePresetFromBE, string[]>, "queryFn"> & {
|
|
11
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<WorkspacePresetFromBE, string[], never> | undefined;
|
|
12
|
+
} & {
|
|
13
|
+
queryKey: string[] & {
|
|
14
|
+
[dataTagSymbol]: WorkspacePresetFromBE;
|
|
15
|
+
[dataTagErrorSymbol]: Error;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly getWorkspacePresets: (params?: FetchWorkspaceParams, credentials?: Credentials) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<WorkspacePresetListItem[], Error, WorkspacePresetListItem[], string[]>, "queryFn"> & {
|
|
19
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<WorkspacePresetListItem[], string[], never> | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
queryKey: string[] & {
|
|
22
|
+
[dataTagSymbol]: WorkspacePresetListItem[];
|
|
23
|
+
[dataTagErrorSymbol]: Error;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
4
26
|
readonly saveWorkspacePreset: (id: string, data: WorkspacePresetForBE, credentials?: Credentials) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<void, Error, void, string[]>, "queryFn"> & {
|
|
5
27
|
queryFn?: import("@tanstack/react-query").QueryFunction<void, string[], never> | undefined;
|
|
6
28
|
} & {
|
|
@@ -9,4 +31,12 @@ export declare const workspaceQueryOptions: {
|
|
|
9
31
|
[dataTagErrorSymbol]: Error;
|
|
10
32
|
};
|
|
11
33
|
};
|
|
34
|
+
readonly saveWorkspacePresetAs: (data: WorkspacePresetForBE, credentials?: Credentials) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<string, Error, string, string[]>, "queryFn"> & {
|
|
35
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<string, string[], never> | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
queryKey: string[] & {
|
|
38
|
+
[dataTagSymbol]: string;
|
|
39
|
+
[dataTagErrorSymbol]: Error;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
12
42
|
};
|
|
@@ -6,7 +6,6 @@ export declare const WorkspaceThemeProvider: React.FC<ThemeProviderProps>;
|
|
|
6
6
|
export declare const DemoWrapper: React.FC<ThemeProviderProps>;
|
|
7
7
|
interface WorkspaceStoreWrapperProps {
|
|
8
8
|
store?: Store;
|
|
9
|
-
createApi?: () => void;
|
|
10
9
|
auth?: AuthenticationDefaultStateProps;
|
|
11
10
|
}
|
|
12
11
|
export declare const defaultAuthConfig: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { HttpHandler } from 'msw';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
@@ -9,41 +10,52 @@ export declare const GetViewPresetError: {
|
|
|
9
10
|
storyName: string;
|
|
10
11
|
parameters: {
|
|
11
12
|
msw: {
|
|
12
|
-
handlers:
|
|
13
|
+
handlers: HttpHandler[];
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
16
|
};
|
|
16
17
|
export declare const GetViewPresetsError: {
|
|
17
18
|
(): React.ReactElement;
|
|
18
19
|
storyName: string;
|
|
20
|
+
parameters: {
|
|
21
|
+
msw: {
|
|
22
|
+
handlers: HttpHandler[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
19
25
|
};
|
|
20
26
|
export declare const DeleteViewPresetError: {
|
|
21
27
|
(): React.ReactElement;
|
|
22
28
|
storyName: string;
|
|
23
29
|
parameters: {
|
|
24
30
|
msw: {
|
|
25
|
-
handlers:
|
|
26
|
-
viewPresets: import("msw").HttpHandler[];
|
|
27
|
-
};
|
|
31
|
+
handlers: HttpHandler[];
|
|
28
32
|
};
|
|
29
33
|
};
|
|
30
34
|
};
|
|
31
35
|
export declare const DuplicateViewPresetError: {
|
|
32
36
|
(): React.ReactElement;
|
|
33
37
|
storyName: string;
|
|
38
|
+
parameters: {
|
|
39
|
+
msw: {
|
|
40
|
+
handlers: HttpHandler[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
34
43
|
};
|
|
35
44
|
export declare const SaveViewPresetError: {
|
|
36
45
|
(): React.ReactElement;
|
|
37
46
|
storyName: string;
|
|
47
|
+
parameters: {
|
|
48
|
+
msw: {
|
|
49
|
+
handlers: HttpHandler[];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
38
52
|
};
|
|
39
53
|
export declare const MissingProjectionError: {
|
|
40
54
|
(): React.ReactElement;
|
|
41
55
|
storyName: string;
|
|
42
56
|
parameters: {
|
|
43
57
|
msw: {
|
|
44
|
-
handlers:
|
|
45
|
-
viewPresets: import("msw").HttpHandler[];
|
|
46
|
-
};
|
|
58
|
+
handlers: HttpHandler[];
|
|
47
59
|
};
|
|
48
60
|
};
|
|
49
61
|
};
|
|
@@ -14,7 +14,7 @@ export interface ViewPresetsFormDialogProps {
|
|
|
14
14
|
onReset: (viewPresetId: string) => void;
|
|
15
15
|
onDelete: (variables: {
|
|
16
16
|
id: string;
|
|
17
|
-
}) => Promise<
|
|
17
|
+
}) => Promise<Headers | null>;
|
|
18
18
|
}
|
|
19
19
|
declare const ViewPresetsFormDialogWrapper: React.FC<ViewPresetsFormDialogProps>;
|
|
20
20
|
export default ViewPresetsFormDialogWrapper;
|
|
@@ -10,7 +10,14 @@ export declare const DeleteDemoLightTheme: Story;
|
|
|
10
10
|
export declare const DeleteDemoDarkTheme: Story;
|
|
11
11
|
export declare const EditDemoLightTheme: Story;
|
|
12
12
|
export declare const EditDemoDarkTheme: Story;
|
|
13
|
-
export declare const SaveAsWithError:
|
|
13
|
+
export declare const SaveAsWithError: {
|
|
14
|
+
(): React.ReactElement;
|
|
15
|
+
parameters: {
|
|
16
|
+
msw: {
|
|
17
|
+
handlers: import("msw").HttpHandler[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
14
21
|
export declare const DeleteWithError: {
|
|
15
22
|
(): React.ReactElement;
|
|
16
23
|
storyName: string;
|
|
@@ -11,9 +11,7 @@ export declare const UiDialogsDemo: {
|
|
|
11
11
|
(): React.ReactElement;
|
|
12
12
|
parameters: {
|
|
13
13
|
msw: {
|
|
14
|
-
handlers:
|
|
15
|
-
viewPresets: import("msw").HttpHandler[];
|
|
16
|
-
};
|
|
14
|
+
handlers: import("msw").HttpHandler[];
|
|
17
15
|
};
|
|
18
16
|
};
|
|
19
17
|
};
|
|
@@ -21,9 +19,7 @@ export declare const ScreenConfigWithNonExistingLayer: {
|
|
|
21
19
|
(): React.ReactElement;
|
|
22
20
|
parameters: {
|
|
23
21
|
msw: {
|
|
24
|
-
handlers:
|
|
25
|
-
viewPresets: import("msw").HttpHandler[];
|
|
26
|
-
};
|
|
22
|
+
handlers: import("msw").HttpHandler[];
|
|
27
23
|
};
|
|
28
24
|
};
|
|
29
25
|
};
|
|
@@ -4,4 +4,11 @@ declare const _default: {
|
|
|
4
4
|
tags: string[];
|
|
5
5
|
};
|
|
6
6
|
export default _default;
|
|
7
|
-
export declare const WorkspaceSelectListFetchError:
|
|
7
|
+
export declare const WorkspaceSelectListFetchError: {
|
|
8
|
+
render: () => React.ReactElement;
|
|
9
|
+
parameters: {
|
|
10
|
+
msw: {
|
|
11
|
+
handlers: import("msw").HttpHandler[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { WorkspacePresetListItem } from '../../store/workspace/types';
|
|
3
3
|
import { WorkspacePresetAction } from '../../store/workspace/types';
|
|
4
|
-
export declare const WORKSPACE_SELECT_LIST_ROW_HEIGHT =
|
|
4
|
+
export declare const WORKSPACE_SELECT_LIST_ROW_HEIGHT = 40;
|
|
5
5
|
export declare const getPresetIcon: (preset: WorkspacePresetListItem, currentUsername?: string) => React.ReactElement | null;
|
|
6
6
|
interface WorkspaceSelectListRowProps {
|
|
7
7
|
workspacePreset: WorkspacePresetListItem;
|
package/src/lib/store/store.d.ts
CHANGED
|
@@ -13,7 +13,8 @@ export declare const workspaceReducersMap: {
|
|
|
13
13
|
workspaceList: import("redux").Reducer<import("./workspaceList/types").WorkspaceListState>;
|
|
14
14
|
viewPresetsList: import("redux").Reducer<import("./viewPresetsList/types").ViewPresetListState>;
|
|
15
15
|
viewPresets: import("redux").Reducer<import("./viewPresets/types").ViewPresetState>;
|
|
16
|
-
timeSeries: import("redux").Reducer<import("dist/libs/time-series/src/lib/store/types").
|
|
16
|
+
timeSeries: import("redux").Reducer<import("dist/libs/time-series/src/lib/store/types").TimeSeriesState>;
|
|
17
|
+
soundings: import("redux").Reducer<import("dist/libs/soundings/src/lib/store/types").SoundingsState>;
|
|
17
18
|
snackbar: import("redux").Reducer<import("dist/libs/snackbar/src/lib/store/types").SnackbarState, import("redux").UnknownAction, import("dist/libs/snackbar/src/lib/store/types").SnackbarState>;
|
|
18
19
|
};
|
|
19
20
|
export declare const workspaceMiddlewares: (import("@reduxjs/toolkit").ListenerMiddleware<import("./types").AppStore, import("redux-thunk").ThunkDispatch<import("./types").AppStore, unknown, import("redux").UnknownAction>, unknown> | import("@reduxjs/toolkit").ListenerMiddleware<SnackbarModuleStore, import("redux-thunk").ThunkDispatch<SnackbarModuleStore, unknown, import("redux").UnknownAction>, unknown>)[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { UnknownAction, ListenerEffectAPI, PayloadAction, ThunkDispatch } from '@reduxjs/toolkit';
|
|
2
|
-
import type {
|
|
3
|
-
import type { SaveViewPresetPayload
|
|
4
|
-
export declare const viewPresetsListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const saveViewPresetEffect: ({ payload }: PayloadAction<SaveViewPresetPayload>, listenerApi: ListenerEffectAPI<WorkspaceModuleStore, ThunkDispatch<WorkspaceModuleStore, unknown, UnknownAction>>) => Promise<ViewPreset | Error | void>;
|
|
2
|
+
import type { AppStore } from '../types';
|
|
3
|
+
import type { SaveViewPresetPayload } from './types';
|
|
4
|
+
export declare const viewPresetsListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<AppStore, ThunkDispatch<AppStore, unknown, UnknownAction>, unknown>;
|
|
5
|
+
export declare const saveViewPresetEffect: ({ payload }: PayloadAction<SaveViewPresetPayload>, listenerApi: ListenerEffectAPI<AppStore, ThunkDispatch<AppStore, unknown, UnknownAction>>) => Promise<void>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Draft, PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { SoundingsTypes } from '@opengeoweb/soundings';
|
|
2
3
|
import { layerTypes, mapEnums } from '@opengeoweb/store';
|
|
3
4
|
import { TimeSeriesTypes } from '@opengeoweb/time-series';
|
|
4
5
|
import type { ClearViewPresetLabelFiltersPayload, ErrorViewPresetPayload, FetchedViewPresetPayload, FetchedViewPresetsPayload, FetchViewPresetsPayload, OnSuccesViewPresetActionPayload, OpenViewPresetDialogPayload, RegisterViewPresetPayload, SavedViewPresetPayload, SaveViewPresetPayload, SearchWorkspaceFilter, SelectViewPresetPayload, SetActiveViewPresetIdPayload, SetFilterChipsPayload, SetSelectAllFilterChip, SetViewPresetHasChangePayload, SetViewPresetInlineOverridePayload, SetViewPresetLabelFiltersPayload, ToggleSelectFilterChip, ToggleViewPresetListDialogPayload, UnregisterViewPresetPayload, ViewPresetEntity, ViewPresetState } from './types';
|
|
@@ -8,6 +9,8 @@ export type SupportedMapActionOrigins = layerTypes.LayerActionOrigin | mapEnums.
|
|
|
8
9
|
export declare const supportedMapActionOrigins: SupportedMapActionOrigins[];
|
|
9
10
|
export type SupportedTimeSeriesActionOrigins = TimeSeriesTypes.TimeSeriesActionOrigin;
|
|
10
11
|
export declare const supportedTimeSeriesActionOrigins: SupportedTimeSeriesActionOrigins[];
|
|
12
|
+
export type SupportedSoundingsActionOrigins = SoundingsTypes.SoundingsActionOrigin;
|
|
13
|
+
export declare const supportedSoundingsActionOrigins: SupportedSoundingsActionOrigins[];
|
|
11
14
|
export declare const viewPresetsReducer: import("redux").Reducer<ViewPresetState>, viewPresetActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
12
15
|
fetchViewPresets: (draft: Draft<ViewPresetState>, action: PayloadAction<FetchViewPresetsPayload>) => void;
|
|
13
16
|
fetchedViewPresets: (draft: Draft<ViewPresetState>, action: PayloadAction<FetchedViewPresetsPayload>) => void;
|
|
@@ -81,6 +81,7 @@ export interface ViewPresetDialog {
|
|
|
81
81
|
viewPresetId: string;
|
|
82
82
|
panelId: string;
|
|
83
83
|
formValues: ViewPresetFormValues;
|
|
84
|
+
shouldSetActiveViewPreset?: boolean;
|
|
84
85
|
}
|
|
85
86
|
export interface ViewPresetState extends EntityState<ViewPresetEntity, string> {
|
|
86
87
|
viewPresetDialog?: ViewPresetDialog;
|
|
@@ -133,6 +134,8 @@ export interface SetViewPresetInlineOverridePayload extends ViewPresetAction {
|
|
|
133
134
|
}
|
|
134
135
|
export interface OnSuccesViewPresetActionPayload extends ViewPresetAction {
|
|
135
136
|
viewPresetId: string;
|
|
137
|
+
activeViewPresetId?: string;
|
|
138
|
+
shouldSetActiveViewPreset?: boolean;
|
|
136
139
|
action: PresetAction;
|
|
137
140
|
title: string;
|
|
138
141
|
description?: string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { snackbarTypes } from '@opengeoweb/snackbar';
|
|
2
2
|
import type { ViewPreset, WorkspaceSupportedComponentTypes } from './types';
|
|
3
3
|
import { PresetAction } from './types';
|
|
4
|
-
import type { PresetsApi } from '../../utils/api';
|
|
5
4
|
export declare const getSnackbarMessage: (action: PresetAction, title: string, is_shared?: boolean) => snackbarTypes.TranslatableMessage;
|
|
6
|
-
export declare const getPresetsApi: () => PresetsApi;
|
|
7
5
|
export declare const emptyViewPreset: (componentType?: WorkspaceSupportedComponentTypes | undefined) => ViewPreset;
|
|
@@ -5,6 +5,7 @@ export declare const workspaceReducer: Reducer<WorkspaceState>;
|
|
|
5
5
|
export declare const workspaceActions: {
|
|
6
6
|
addWorkspaceView: import("@reduxjs/toolkit").ActionCreatorWithPayload<WorkspaceAddViewPayload, "workspace/addWorkspaceView">;
|
|
7
7
|
setNewWorkspaceView: import("@reduxjs/toolkit").ActionCreatorWithPayload<WorkspaceSetNewViewPayload, "workspace/setNewWorkspaceView">;
|
|
8
|
+
teardownComplete: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"workspace/teardownComplete">;
|
|
8
9
|
deleteWorkspaceView: import("@reduxjs/toolkit").ActionCreatorWithPayload<WorkspaceDeleteViewPayload, "workspace/deleteWorkspaceView">;
|
|
9
10
|
updateWorkspaceViews: import("@reduxjs/toolkit").ActionCreatorWithPayload<WorkspaceUpdateViewsPayload, "workspace/updateWorkspaceViews">;
|
|
10
11
|
updateWorkspaceView: import("@reduxjs/toolkit").ActionCreatorWithPayload<WorkspaceUpdateViewPayload, "workspace/updateWorkspaceView">;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import type { PayloadAction } from '@reduxjs/toolkit';
|
|
2
1
|
import type { AxiosError } from 'axios';
|
|
3
2
|
import type { MosaicNode } from 'react-mosaic-component';
|
|
4
|
-
import type { SystemScope } from '@opengeoweb/shared';
|
|
5
3
|
import { syncGroupsTypes } from '@opengeoweb/store';
|
|
6
4
|
import type { WorkspacePreset, WorkspacePresetForBE, WorkspaceViewsFromBE, ViewType, WorkspaceViewPresetComponentsLookupType, WorkspaceSyncGroup, WorkspaceViews } from './types';
|
|
7
|
-
import type { PresetsApi } from '../../utils/api';
|
|
8
|
-
import type { SaveViewPresetPayload, ViewPreset } from '../viewPresets/types';
|
|
9
|
-
import type { WorkspaceDialogView } from '../workspaceList/types';
|
|
10
|
-
export declare const getWorkspaceApi: () => PresetsApi;
|
|
11
5
|
export declare const getViewPresetState: (viewPresetId: string, mosaicNodeId: string, state: "loading" | "error") => {
|
|
12
6
|
title: string;
|
|
13
7
|
id: string;
|
|
@@ -31,5 +25,4 @@ export declare const getViewType: (numViews: number, firstViewComponentType: str
|
|
|
31
25
|
*/
|
|
32
26
|
export declare const makeListOfViewIds: (mNode: MosaicNode<string>) => string[];
|
|
33
27
|
export declare const getErrorMessage: (error: AxiosError<unknown>) => string;
|
|
34
|
-
export declare const updateViewPresets: (saveViewPreset: (payloadAction: PayloadAction<SaveViewPresetPayload>, saveAs?: boolean) => Promise<ViewPreset | Error>, getViewPresetEntity: (view: WorkspaceDialogView) => ViewPreset, data: WorkspacePresetForBE, scope: SystemScope) => Promise<(Error | ViewPreset)[]>;
|
|
35
28
|
export declare const toViewsArray: (wsViews: WorkspaceViewsFromBE[] | WorkspaceViews | null | undefined) => WorkspaceViewsFromBE[];
|
|
@@ -97,7 +97,7 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
|
|
|
97
97
|
abstract: string | undefined;
|
|
98
98
|
componentType: string;
|
|
99
99
|
scope: SystemScope;
|
|
100
|
-
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | undefined;
|
|
100
|
+
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | import("@opengeoweb/core").InitialSoundingsProps | undefined;
|
|
101
101
|
originalViewPresetId: string | undefined;
|
|
102
102
|
})[];
|
|
103
103
|
id?: string;
|
|
@@ -116,7 +116,7 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
|
|
|
116
116
|
abstract: string | undefined;
|
|
117
117
|
componentType: string;
|
|
118
118
|
scope: SystemScope;
|
|
119
|
-
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | undefined;
|
|
119
|
+
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | import("@opengeoweb/core").InitialSoundingsProps | undefined;
|
|
120
120
|
originalViewPresetId: string | undefined;
|
|
121
121
|
})[];
|
|
122
122
|
id?: string;
|
|
@@ -152,7 +152,7 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
|
|
|
152
152
|
abstract: string | undefined;
|
|
153
153
|
componentType: string;
|
|
154
154
|
scope: SystemScope;
|
|
155
|
-
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | undefined;
|
|
155
|
+
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | import("@opengeoweb/core").InitialSoundingsProps | undefined;
|
|
156
156
|
originalViewPresetId: string | undefined;
|
|
157
157
|
})[];
|
|
158
158
|
id?: string;
|
|
@@ -171,7 +171,7 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
|
|
|
171
171
|
abstract: string | undefined;
|
|
172
172
|
componentType: string;
|
|
173
173
|
scope: SystemScope;
|
|
174
|
-
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | undefined;
|
|
174
|
+
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | import("@opengeoweb/core").InitialSoundingsProps | undefined;
|
|
175
175
|
originalViewPresetId: string | undefined;
|
|
176
176
|
})[];
|
|
177
177
|
id?: string;
|
|
@@ -203,7 +203,7 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
|
|
|
203
203
|
abstract: string | undefined;
|
|
204
204
|
componentType: string;
|
|
205
205
|
scope: SystemScope;
|
|
206
|
-
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | undefined;
|
|
206
|
+
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | import("@opengeoweb/core").InitialSoundingsProps | undefined;
|
|
207
207
|
originalViewPresetId: string | undefined;
|
|
208
208
|
})[];
|
|
209
209
|
id?: string;
|
|
@@ -222,7 +222,7 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
|
|
|
222
222
|
abstract: string | undefined;
|
|
223
223
|
componentType: string;
|
|
224
224
|
scope: SystemScope;
|
|
225
|
-
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | undefined;
|
|
225
|
+
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | import("@opengeoweb/core").InitialSoundingsProps | undefined;
|
|
226
226
|
originalViewPresetId: string | undefined;
|
|
227
227
|
})[];
|
|
228
228
|
id?: string;
|
|
@@ -258,7 +258,7 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
|
|
|
258
258
|
abstract: string | undefined;
|
|
259
259
|
componentType: string;
|
|
260
260
|
scope: SystemScope;
|
|
261
|
-
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | undefined;
|
|
261
|
+
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | import("@opengeoweb/core").InitialSoundingsProps | undefined;
|
|
262
262
|
originalViewPresetId: string | undefined;
|
|
263
263
|
})[];
|
|
264
264
|
id?: string;
|
|
@@ -277,7 +277,7 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
|
|
|
277
277
|
abstract: string | undefined;
|
|
278
278
|
componentType: string;
|
|
279
279
|
scope: SystemScope;
|
|
280
|
-
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | undefined;
|
|
280
|
+
initialProps: Record<string, unknown> | import("@opengeoweb/core").InitialMultiMapProps | import("@opengeoweb/core").InitialHarmTempAndPrecipProps | import("dist/libs/core/src/lib/components/MultiMapViewConnect/ModelRunInterval").ModelRunIntervalProps | import("@opengeoweb/store").MapPresetInitialProps | import("@opengeoweb/core").InitialSliderProps | import("@opengeoweb/core").InitialTimeSeriesProps | import("@opengeoweb/core").InitialSoundingsProps | undefined;
|
|
281
281
|
originalViewPresetId: string | undefined;
|
|
282
282
|
})[];
|
|
283
283
|
id?: string;
|