@opengeoweb/workspace 9.28.0 → 9.29.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 +756 -381
- package/package.json +1 -1
- package/src/index.d.ts +17 -17
- package/src/lib/Workspace.stories.d.ts +23 -23
- package/src/lib/WorkspaceAdmin.stories.d.ts +9 -0
- package/src/lib/components/ComponentsLookUpWrapper/ComponentsLookUpWrapper.d.ts +12 -12
- package/src/lib/components/ComponentsLookUpWrapper/ComponentsLookUpWrapper.spec.d.ts +1 -1
- package/src/lib/components/ComponentsLookUpWrapper/index.d.ts +1 -1
- package/src/lib/components/DefaultComponentsLookUp/DefaultComponentsLookUp.d.ts +17 -17
- package/src/lib/components/DefaultComponentsLookUp/DefaultComponentsLookUp.spec.d.ts +1 -1
- package/src/lib/components/DefaultComponentsLookUp/index.d.ts +1 -1
- package/src/lib/components/Providers/Providers.d.ts +27 -27
- package/src/lib/components/Providers/WorkspaceModuleProvider.d.ts +7 -7
- package/src/lib/components/Providers/WorkspaceModuleProvider.spec.d.ts +1 -1
- package/src/lib/components/Providers/index.d.ts +2 -2
- package/src/lib/components/ResizeMenu/ResizeMenu.d.ts +6 -6
- package/src/lib/components/ResizeMenu/ResizeMenu.spec.d.ts +1 -1
- package/src/lib/components/ResizeMenu/index.d.ts +1 -1
- package/src/lib/components/ViewPresetMenu/ViewPresetMenu.d.ts +8 -8
- package/src/lib/components/ViewPresetMenu/ViewPresetMenu.spec.d.ts +1 -1
- package/src/lib/components/ViewPresetMenu/ViewPresetMenu.stories.d.ts +25 -25
- package/src/lib/components/ViewPresetMenu/ViewPresetMenuListConnect.d.ts +6 -6
- package/src/lib/components/ViewPresetMenu/ViewPresetMenuListConnect.spec.d.ts +1 -1
- package/src/lib/components/ViewPresetMenu/ViewPresetsError.stories.d.ts +23 -23
- package/src/lib/components/ViewPresetMenu/index.d.ts +1 -1
- package/src/lib/components/ViewPresetsFormDialog/ViewPresetsForm.d.ts +16 -16
- package/src/lib/components/ViewPresetsFormDialog/ViewPresetsForm.spec.d.ts +1 -1
- package/src/lib/components/ViewPresetsFormDialog/ViewPresetsFormDialog.d.ts +15 -15
- package/src/lib/components/ViewPresetsFormDialog/ViewPresetsFormDialog.spec.d.ts +1 -1
- package/src/lib/components/ViewPresetsFormDialog/ViewPresetsFormDialog.stories.d.ts +25 -25
- package/src/lib/components/ViewPresetsFormDialog/ViewPresetsFormDialogConnect.d.ts +3 -3
- package/src/lib/components/ViewPresetsFormDialog/ViewPresetsFormDialogConnect.spec.d.ts +1 -1
- package/src/lib/components/ViewPresetsFormDialog/index.d.ts +1 -1
- package/src/lib/components/WorkspaceDetail/WorkspaceDetail.d.ts +10 -10
- package/src/lib/components/WorkspaceDetail/WorkspaceDetail.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceDetail/WorkspaceDetail.stories.d.ts +9 -9
- package/src/lib/components/WorkspaceDetail/WorkspaceDetailError.stories.d.ts +11 -11
- package/src/lib/components/WorkspaceDetail/index.d.ts +1 -1
- package/src/lib/components/WorkspaceMenu/WorkspaceMenu.d.ts +6 -6
- package/src/lib/components/WorkspaceMenu/WorkspaceMenu.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceMenu/WorkspaceMenu.stories.d.ts +13 -13
- package/src/lib/components/WorkspaceMenu/WorkspaceMenuButton.d.ts +7 -7
- package/src/lib/components/WorkspaceMenu/WorkspaceMenuButton.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceMenu/WorkspaceMenuButton.stories.d.ts +23 -23
- package/src/lib/components/WorkspaceMenu/WorkspaceMenuButtonConnect.d.ts +2 -2
- package/src/lib/components/WorkspaceMenu/WorkspaceMenuButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceMenu/index.d.ts +2 -2
- package/src/lib/components/WorkspaceOptions/WorkspaceOptions.d.ts +20 -19
- package/src/lib/components/WorkspaceOptions/WorkspaceOptions.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceOptions/WorkspaceOptions.stories.d.ts +39 -39
- package/src/lib/components/WorkspaceOptions/WorkspaceOptionsConnect.d.ts +7 -7
- package/src/lib/components/WorkspaceOptions/WorkspaceOptionsConnect.spec.d.ts +1 -1
- package/src/lib/components/WorkspacePresetsFormDialog/WorkspacePresetsForm.d.ts +19 -16
- package/src/lib/components/WorkspacePresetsFormDialog/WorkspacePresetsForm.spec.d.ts +1 -1
- package/src/lib/components/WorkspacePresetsFormDialog/WorkspacePresetsFormDialog.d.ts +16 -15
- package/src/lib/components/WorkspacePresetsFormDialog/WorkspacePresetsFormDialog.spec.d.ts +1 -1
- package/src/lib/components/WorkspacePresetsFormDialog/WorkspacePresetsFormDialog.stories.d.ts +78 -48
- package/src/lib/components/WorkspacePresetsFormDialog/WorkspaceSystemPresetsForm.d.ts +7 -12
- package/src/lib/components/WorkspacePresetsFormDialog/WorkspaceSystemPresetsForm.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceSelectList/WorkspaceSelectList.d.ts +17 -16
- package/src/lib/components/WorkspaceSelectList/WorkspaceSelectList.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceSelectList/WorkspaceSelectListConnect.d.ts +2 -2
- package/src/lib/components/WorkspaceSelectList/WorkspaceSelectListConnect.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceSelectList/WorkspaceSelectListError.stories.d.ts +6 -6
- package/src/lib/components/WorkspaceSelectList/WorkspaceSelectListRow.d.ts +17 -16
- package/src/lib/components/WorkspaceSelectList/WorkspaceSelectListRow.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceSelectList/WorkspaceSelectListRow.stories.d.ts +19 -19
- package/src/lib/components/WorkspaceTab/WorkspaceTab.d.ts +7 -7
- package/src/lib/components/WorkspaceTab/WorkspaceTab.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceTab/WorkspaceTabConnect.d.ts +6 -6
- package/src/lib/components/WorkspaceTab/WorkspaceTabConnect.integration.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceTab/WorkspaceTabConnect.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceTab/index.d.ts +1 -1
- package/src/lib/components/WorkspaceTopBar/WorkspaceTopBar.d.ts +6 -6
- package/src/lib/components/WorkspaceTopBar/WorkspaceTopBar.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceTopBar/WorkspaceTopBar.stories.d.ts +53 -53
- package/src/lib/components/WorkspaceTopBar/index.d.ts +1 -1
- package/src/lib/components/WorkspaceView/LoadingIndicator/LoadingIndicatorConnect.d.ts +6 -6
- package/src/lib/components/WorkspaceView/LoadingIndicator/LoadingIndicatorConnect.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceView/WorkspaceControls.d.ts +9 -9
- package/src/lib/components/WorkspaceView/WorkspaceControls.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceView/WorkspaceTileConnect.d.ts +12 -12
- package/src/lib/components/WorkspaceView/WorkspaceTileConnect.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceView/WorkspaceView.d.ts +16 -16
- package/src/lib/components/WorkspaceView/WorkspaceView.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceView/WorkspaceViewConnect.d.ts +7 -7
- package/src/lib/components/WorkspaceView/WorkspaceViewConnect.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceView/helpers.d.ts +3 -3
- package/src/lib/components/WorkspaceView/helpers.spec.d.ts +1 -1
- package/src/lib/components/WorkspaceView/index.d.ts +2 -2
- package/src/lib/components/WorkspaceViewTitle/WorkspaceViewTitleConnect.d.ts +11 -11
- package/src/lib/components/WorkspaceViewTitle/WorkspaceViewTitleConnect.spec.d.ts +1 -1
- package/src/lib/store/config.d.ts +5 -5
- package/src/lib/store/index.d.ts +1 -1
- package/src/lib/store/store.d.ts +2 -2
- package/src/lib/store/types.d.ts +13 -13
- package/src/lib/store/viewPresets/index.d.ts +2 -2
- package/src/lib/store/viewPresets/listener.d.ts +6 -2
- package/src/lib/store/viewPresets/listener.integration.spec.d.ts +1 -1
- package/src/lib/store/viewPresets/reducer.d.ts +35 -35
- package/src/lib/store/viewPresets/reducer.spec.d.ts +1 -1
- package/src/lib/store/viewPresets/selectors.d.ts +60 -60
- package/src/lib/store/viewPresets/selectors.spec.d.ts +1 -1
- package/src/lib/store/viewPresets/types.d.ts +133 -133
- package/src/lib/store/viewPresets/utils.d.ts +8 -7
- package/src/lib/store/viewPresets/utils.spec.d.ts +1 -1
- package/src/lib/store/viewPresetsList/index.d.ts +2 -2
- package/src/lib/store/viewPresetsList/reducer.d.ts +5 -5
- package/src/lib/store/viewPresetsList/reducer.spec.d.ts +1 -1
- package/src/lib/store/viewPresetsList/selectors.d.ts +10 -10
- package/src/lib/store/viewPresetsList/selectors.spec.d.ts +1 -1
- package/src/lib/store/viewPresetsList/types.d.ts +17 -17
- package/src/lib/store/workspace/listener.d.ts +4 -4
- package/src/lib/store/workspace/listener.spec.d.ts +1 -1
- package/src/lib/store/workspace/reducer.d.ts +21 -21
- package/src/lib/store/workspace/reducer.spec.d.ts +1 -1
- package/src/lib/store/workspace/selectors.d.ts +174 -170
- package/src/lib/store/workspace/selectors.spec.d.ts +1 -1
- package/src/lib/store/workspace/types.d.ts +147 -145
- package/src/lib/store/workspace/utils.d.ts +29 -29
- package/src/lib/store/workspace/utils.spec.d.ts +1 -1
- package/src/lib/store/workspaceList/index.d.ts +1 -1
- package/src/lib/store/workspaceList/listener.d.ts +11 -11
- package/src/lib/store/workspaceList/listener.spec.d.ts +1 -1
- package/src/lib/store/workspaceList/reducer.d.ts +24 -21
- package/src/lib/store/workspaceList/reducer.spec.d.ts +1 -1
- package/src/lib/store/workspaceList/selectors.d.ts +101 -41
- package/src/lib/store/workspaceList/selectors.spec.d.ts +1 -1
- package/src/lib/store/workspaceList/types.d.ts +100 -77
- package/src/lib/store/workspaceList/utils.d.ts +12 -11
- package/src/lib/store/workspaceList/utils.spec.d.ts +1 -1
- package/src/lib/storyUtils/ActionsExampleComponent.d.ts +6 -6
- package/src/lib/storyUtils/StoryWrapper.d.ts +19 -19
- package/src/lib/storyUtils/componentsLookUp.d.ts +12 -12
- package/src/lib/storyUtils/componentsLookUp.stories.d.ts +46 -46
- package/src/lib/storyUtils/useFirstTimeError.d.ts +4 -4
- package/src/lib/storyUtils/useFirstTimeError.spec.d.ts +1 -1
- package/src/lib/utils/api.d.ts +28 -28
- package/src/lib/utils/api.spec.d.ts +1 -1
- package/src/lib/utils/fakeApi.d.ts +12 -12
- package/src/lib/utils/fakeApi.spec.d.ts +1 -1
- package/src/lib/utils/fakeApi.stories.d.ts +6 -6
- package/src/lib/utils/i18n.d.ts +7 -7
- package/src/lib/utils/routes.d.ts +8 -8
- package/src/lib/utils/routes.spec.d.ts +1 -1
- package/src/lib/utils/utils.d.ts +3 -3
- package/src/lib/utils/utils.spec.d.ts +1 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { syncGroupsTypes } from '@opengeoweb/store';
|
|
2
|
-
import { MosaicNode } from 'react-mosaic-component';
|
|
3
|
-
import { AxiosError } from 'axios';
|
|
4
|
-
import { PresetsApi } from '../../utils/api';
|
|
5
|
-
import { WorkspacePreset, WorkspacePresetFromBE, WorkspaceViewsFromBE, ViewType, WorkspaceViewPresetComponentsLookupType, WorkspaceSyncGroup } from './types';
|
|
6
|
-
export declare const getWorkspaceApi: () => PresetsApi;
|
|
7
|
-
export declare const getViewPresetState: (viewPresetId: string, mosaicNodeId: string, state: 'loading' | 'error') => {
|
|
8
|
-
title: string;
|
|
9
|
-
id: string;
|
|
10
|
-
mosaicNodeId: string;
|
|
11
|
-
componentType: WorkspaceViewPresetComponentsLookupType;
|
|
12
|
-
};
|
|
13
|
-
export declare const getLoadingWorkspace: (workspacePreset: WorkspacePresetFromBE) => WorkspacePreset;
|
|
14
|
-
export declare const getListInChunks: (views: WorkspaceViewsFromBE[]) => WorkspaceViewsFromBE[][];
|
|
15
|
-
export declare const defaultSyncGroups: {
|
|
16
|
-
groupId: string;
|
|
17
|
-
title: string;
|
|
18
|
-
type: syncGroupsTypes.SyncType;
|
|
19
|
-
}[];
|
|
20
|
-
export declare const getSyncGroups: (syncGroups?: WorkspaceSyncGroup[]) => syncGroupsTypes.SyncGroupAddGroupPayload[];
|
|
21
|
-
export declare const tiledWindowComponentTypes: string[];
|
|
22
|
-
export declare const getViewType: (numViews: number, firstViewComponentType: string) => ViewType;
|
|
23
|
-
/**
|
|
24
|
-
* Get all view ids from the mosaicnode state
|
|
25
|
-
* @param mNode MosaicNode state
|
|
26
|
-
* @returns List if string ids of all mosaic nodes.
|
|
27
|
-
*/
|
|
28
|
-
export declare const makeListOfViewIds: (mNode: MosaicNode<string>) => string[];
|
|
29
|
-
export declare const getErrorMessage: (error: AxiosError<unknown>) => string;
|
|
1
|
+
import { syncGroupsTypes } from '@opengeoweb/store';
|
|
2
|
+
import { MosaicNode } from 'react-mosaic-component';
|
|
3
|
+
import { AxiosError } from 'axios';
|
|
4
|
+
import { PresetsApi } from '../../utils/api';
|
|
5
|
+
import { WorkspacePreset, WorkspacePresetFromBE, WorkspaceViewsFromBE, ViewType, WorkspaceViewPresetComponentsLookupType, WorkspaceSyncGroup } from './types';
|
|
6
|
+
export declare const getWorkspaceApi: () => PresetsApi;
|
|
7
|
+
export declare const getViewPresetState: (viewPresetId: string, mosaicNodeId: string, state: 'loading' | 'error') => {
|
|
8
|
+
title: string;
|
|
9
|
+
id: string;
|
|
10
|
+
mosaicNodeId: string;
|
|
11
|
+
componentType: WorkspaceViewPresetComponentsLookupType;
|
|
12
|
+
};
|
|
13
|
+
export declare const getLoadingWorkspace: (workspacePreset: WorkspacePresetFromBE) => WorkspacePreset;
|
|
14
|
+
export declare const getListInChunks: (views: WorkspaceViewsFromBE[]) => WorkspaceViewsFromBE[][];
|
|
15
|
+
export declare const defaultSyncGroups: {
|
|
16
|
+
groupId: string;
|
|
17
|
+
title: string;
|
|
18
|
+
type: syncGroupsTypes.SyncType;
|
|
19
|
+
}[];
|
|
20
|
+
export declare const getSyncGroups: (syncGroups?: WorkspaceSyncGroup[]) => syncGroupsTypes.SyncGroupAddGroupPayload[];
|
|
21
|
+
export declare const tiledWindowComponentTypes: string[];
|
|
22
|
+
export declare const getViewType: (numViews: number, firstViewComponentType: string) => ViewType;
|
|
23
|
+
/**
|
|
24
|
+
* Get all view ids from the mosaicnode state
|
|
25
|
+
* @param mNode MosaicNode state
|
|
26
|
+
* @returns List if string ids of all mosaic nodes.
|
|
27
|
+
*/
|
|
28
|
+
export declare const makeListOfViewIds: (mNode: MosaicNode<string>) => string[];
|
|
29
|
+
export declare const getErrorMessage: (error: AxiosError<unknown>) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as workspaceListSelectors from './selectors';
|
|
1
|
+
export * as workspaceListSelectors from './selectors';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ToolkitStore } from '@reduxjs/toolkit/dist/configureStore';
|
|
2
|
-
import { WorkspacePresetFromBE } from '../workspace/types';
|
|
3
|
-
import { ViewPresetEntity } from '../viewPresets/types';
|
|
4
|
-
import { WorkspaceModuleStore } from '../types';
|
|
5
|
-
export declare const emptyWorkspaceBEData: WorkspacePresetFromBE;
|
|
6
|
-
export declare const saveAllViewPresets: (viewPresetEntity: ViewPresetEntity, workspaceTitle: string, store: ToolkitStore) => Promise<{
|
|
7
|
-
mosaicNodeId: string;
|
|
8
|
-
viewPresetId: string;
|
|
9
|
-
title
|
|
10
|
-
} | string>;
|
|
11
|
-
export declare const workspaceListListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WorkspaceModuleStore, import("@reduxjs/toolkit").ThunkDispatch<WorkspaceModuleStore, unknown, import("redux").AnyAction>, unknown>;
|
|
1
|
+
import { ToolkitStore } from '@reduxjs/toolkit/dist/configureStore';
|
|
2
|
+
import { WorkspacePresetFromBE } from '../workspace/types';
|
|
3
|
+
import { ViewPresetEntity } from '../viewPresets/types';
|
|
4
|
+
import { WorkspaceModuleStore } from '../types';
|
|
5
|
+
export declare const emptyWorkspaceBEData: WorkspacePresetFromBE;
|
|
6
|
+
export declare const saveAllViewPresets: (viewPresetEntity: ViewPresetEntity, workspaceTitle: string, store: ToolkitStore, emptyMapPresetTitle: string) => Promise<{
|
|
7
|
+
mosaicNodeId: string;
|
|
8
|
+
viewPresetId: string;
|
|
9
|
+
title?: string;
|
|
10
|
+
} | string>;
|
|
11
|
+
export declare const workspaceListListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WorkspaceModuleStore, import("@reduxjs/toolkit").ThunkDispatch<WorkspaceModuleStore, unknown, import("redux").AnyAction>, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import { Draft, PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { WorkspacePresetListItem } from '../workspace/types';
|
|
3
|
-
import { OpenWorkspaceActionDialogPayload, FetchedWorkspaceList, WorkspaceListState, ErrorWorkspaceList, OnSuccesWorkspacePresetActionPayload, ToggleListDialogPayload, ToggleSelectFilterChip, WorkspaceListFilter, FetchWorkspaceList, SearchWorkspaceFilter, SubmitFormWorkspaceActionDialogPayload, OnErrorWorkspacePresetActionPayload } from './types';
|
|
4
|
-
export declare const workspaceListFilterOptions: WorkspaceListFilter[];
|
|
5
|
-
export declare const workspaceListAdapter: import("@reduxjs/toolkit").EntityAdapter<WorkspacePresetListItem>;
|
|
6
|
-
export declare const initialState: WorkspaceListState;
|
|
7
|
-
export declare const reducer: import("redux").Reducer<WorkspaceListState
|
|
8
|
-
export declare const workspaceListActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
9
|
-
fetchWorkspaceList: (draft: Draft<WorkspaceListState>, action: PayloadAction<FetchWorkspaceList>) => void;
|
|
10
|
-
fetchedWorkspaceList: (draft: Draft<WorkspaceListState>, action: PayloadAction<FetchedWorkspaceList>) => void;
|
|
11
|
-
errorWorkspaceList: (draft: Draft<WorkspaceListState>, action: PayloadAction<ErrorWorkspaceList>) => void;
|
|
12
|
-
openWorkspaceActionDialogOptions: (draft: Draft<WorkspaceListState>, action: PayloadAction<OpenWorkspaceActionDialogPayload>) => void;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { Draft, PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { WorkspacePresetListItem } from '../workspace/types';
|
|
3
|
+
import { OpenWorkspaceActionDialogPayload, FetchedWorkspaceList, WorkspaceListState, ErrorWorkspaceList, OnSuccesWorkspacePresetActionPayload, ToggleListDialogPayload, ToggleSelectFilterChip, WorkspaceListFilter, FetchWorkspaceList, SearchWorkspaceFilter, SubmitFormWorkspaceActionDialogPayload, OnErrorWorkspacePresetActionPayload } from './types';
|
|
4
|
+
export declare const workspaceListFilterOptions: WorkspaceListFilter[];
|
|
5
|
+
export declare const workspaceListAdapter: import("@reduxjs/toolkit").EntityAdapter<WorkspacePresetListItem>;
|
|
6
|
+
export declare const initialState: WorkspaceListState;
|
|
7
|
+
export declare const reducer: import("redux").Reducer<WorkspaceListState>;
|
|
8
|
+
export declare const workspaceListActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
9
|
+
fetchWorkspaceList: (draft: Draft<WorkspaceListState>, action: PayloadAction<FetchWorkspaceList>) => void;
|
|
10
|
+
fetchedWorkspaceList: (draft: Draft<WorkspaceListState>, action: PayloadAction<FetchedWorkspaceList>) => void;
|
|
11
|
+
errorWorkspaceList: (draft: Draft<WorkspaceListState>, action: PayloadAction<ErrorWorkspaceList>) => void;
|
|
12
|
+
openWorkspaceActionDialogOptions: (draft: Draft<WorkspaceListState>, action: PayloadAction<OpenWorkspaceActionDialogPayload>) => void;
|
|
13
|
+
onSuccessWorkspaceSaveDialog: (draft: Draft<WorkspaceListState>, action: PayloadAction<{
|
|
14
|
+
presetId: string;
|
|
15
|
+
}>) => void;
|
|
16
|
+
submitFormWorkspaceActionDialogOptions: (draft: Draft<WorkspaceListState>, action: PayloadAction<SubmitFormWorkspaceActionDialogPayload>) => void;
|
|
17
|
+
closeWorkspaceActionDialogOptions: (draft: Draft<WorkspaceListState>) => void;
|
|
18
|
+
onSuccessWorkspacePresetAction: (draft: Draft<WorkspaceListState>, action: PayloadAction<OnSuccesWorkspacePresetActionPayload>) => void;
|
|
19
|
+
onErrorWorkspacePresetAction: (draft: Draft<WorkspaceListState>, action: PayloadAction<OnErrorWorkspacePresetActionPayload>) => void;
|
|
20
|
+
toggleWorkspaceDialog: (draft: Draft<WorkspaceListState>, action: PayloadAction<ToggleListDialogPayload>) => void;
|
|
21
|
+
toggleSelectFilterChip: (draft: Draft<WorkspaceListState>, action: PayloadAction<ToggleSelectFilterChip>) => void;
|
|
22
|
+
setSelectAllFilterChip: (draft: Draft<WorkspaceListState>) => void;
|
|
23
|
+
searchFilter: (draft: Draft<WorkspaceListState>, action: PayloadAction<SearchWorkspaceFilter>) => void;
|
|
24
|
+
}, "workspaceList">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,41 +1,101 @@
|
|
|
1
|
-
import { WorkspaceListFilter, WorkspaceListState } from './types';
|
|
2
|
-
import { AppStore } from '../types';
|
|
3
|
-
import { PresetScope } from '../workspace/types';
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
clearCache: () => void;
|
|
19
|
-
}> & {
|
|
20
|
-
clearCache: () => void;
|
|
21
|
-
};
|
|
22
|
-
export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => false |
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
import { WorkspaceDialogView, WorkspaceListFilter, WorkspaceListState } from './types';
|
|
2
|
+
import { AppStore } from '../types';
|
|
3
|
+
import { PresetScope, WorkspaceState } from '../workspace/types';
|
|
4
|
+
import { ViewPresetState } from '../viewPresets/types';
|
|
5
|
+
export declare const getWorkspaceListStore: (store: AppStore) => WorkspaceListState;
|
|
6
|
+
export declare const getWorkspaceList: (state: AppStore) => import("../workspace/types").WorkspacePresetListItem[];
|
|
7
|
+
export declare const getIsWorkspaceListFetching: ((state: AppStore) => boolean) & import("reselect").OutputSelectorFields<(args_0: WorkspaceListState, args_1: AppStore) => boolean, {
|
|
8
|
+
clearCache: () => void;
|
|
9
|
+
}> & {
|
|
10
|
+
clearCache: () => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const getWorkspaceDialogIsSaved: ((state: AppStore) => boolean) & import("reselect").OutputSelectorFields<(args_0: WorkspaceListState, args_1: AppStore) => boolean, {
|
|
13
|
+
clearCache: () => void;
|
|
14
|
+
}> & {
|
|
15
|
+
clearCache: () => void;
|
|
16
|
+
};
|
|
17
|
+
export declare const getWorkspaceListError: ((state: AppStore) => import("./types").TranslatableWorkspaceListError | import("./types").VerbatimWorkspaceListError | undefined) & import("reselect").OutputSelectorFields<(args_0: WorkspaceListState, args_1: AppStore) => import("./types").TranslatableWorkspaceListError | import("./types").VerbatimWorkspaceListError | undefined, {
|
|
18
|
+
clearCache: () => void;
|
|
19
|
+
}> & {
|
|
20
|
+
clearCache: () => void;
|
|
21
|
+
};
|
|
22
|
+
export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => false | {
|
|
23
|
+
formValues: {
|
|
24
|
+
views?: WorkspaceDialogView[] | {
|
|
25
|
+
mosaicNodeId: string;
|
|
26
|
+
viewPresetId: string;
|
|
27
|
+
isSelected: boolean;
|
|
28
|
+
title: string | undefined;
|
|
29
|
+
error: import("../viewPresets/types").ViewPresetError;
|
|
30
|
+
isFetching: boolean | undefined;
|
|
31
|
+
hasChanges: boolean | undefined;
|
|
32
|
+
}[] | undefined;
|
|
33
|
+
id?: string | undefined;
|
|
34
|
+
title?: string | undefined;
|
|
35
|
+
abstract?: string | undefined;
|
|
36
|
+
scope?: PresetScope | undefined;
|
|
37
|
+
} | {
|
|
38
|
+
views: import("../workspace/types").WorkspaceViewsFromBE[];
|
|
39
|
+
id?: string | undefined;
|
|
40
|
+
title: string;
|
|
41
|
+
syncGroups?: import("../workspace/types").WorkspaceSyncGroup[] | undefined;
|
|
42
|
+
viewType?: import("../workspace/types").ViewType | undefined;
|
|
43
|
+
mosaicNode: import("react-mosaic-component").MosaicNode<string>;
|
|
44
|
+
scope?: PresetScope | undefined;
|
|
45
|
+
abstract?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
action: import("../workspace/types").WorkspacePresetAction;
|
|
48
|
+
presetId: string;
|
|
49
|
+
error?: import("./types").WorkspaceListError;
|
|
50
|
+
isFetching?: boolean | undefined;
|
|
51
|
+
hasSaved?: boolean | undefined;
|
|
52
|
+
}) & import("reselect").OutputSelectorFields<(args_0: WorkspaceListState, args_1: WorkspaceState, args_2: ViewPresetState) => false | {
|
|
53
|
+
formValues: {
|
|
54
|
+
views?: WorkspaceDialogView[] | {
|
|
55
|
+
mosaicNodeId: string;
|
|
56
|
+
viewPresetId: string;
|
|
57
|
+
isSelected: boolean;
|
|
58
|
+
title: string | undefined;
|
|
59
|
+
error: import("../viewPresets/types").ViewPresetError;
|
|
60
|
+
isFetching: boolean | undefined;
|
|
61
|
+
hasChanges: boolean | undefined;
|
|
62
|
+
}[] | undefined;
|
|
63
|
+
id?: string | undefined;
|
|
64
|
+
title?: string | undefined;
|
|
65
|
+
abstract?: string | undefined;
|
|
66
|
+
scope?: PresetScope | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
views: import("../workspace/types").WorkspaceViewsFromBE[];
|
|
69
|
+
id?: string | undefined;
|
|
70
|
+
title: string;
|
|
71
|
+
syncGroups?: import("../workspace/types").WorkspaceSyncGroup[] | undefined;
|
|
72
|
+
viewType?: import("../workspace/types").ViewType | undefined;
|
|
73
|
+
mosaicNode: import("react-mosaic-component").MosaicNode<string>;
|
|
74
|
+
scope?: PresetScope | undefined;
|
|
75
|
+
abstract?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
action: import("../workspace/types").WorkspacePresetAction;
|
|
78
|
+
presetId: string;
|
|
79
|
+
error?: import("./types").WorkspaceListError;
|
|
80
|
+
isFetching?: boolean | undefined;
|
|
81
|
+
hasSaved?: boolean | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
clearCache: () => void;
|
|
84
|
+
}> & {
|
|
85
|
+
clearCache: () => void;
|
|
86
|
+
};
|
|
87
|
+
export declare const getIsWorkspaceListDialogOpen: ((state: AppStore) => boolean) & import("reselect").OutputSelectorFields<(args_0: WorkspaceListState, args_1: AppStore) => boolean, {
|
|
88
|
+
clearCache: () => void;
|
|
89
|
+
}> & {
|
|
90
|
+
clearCache: () => void;
|
|
91
|
+
};
|
|
92
|
+
export declare const getWorkspaceListFilters: ((state: AppStore, scope?: PresetScope | undefined) => WorkspaceListFilter[]) & import("reselect").OutputSelectorFields<(args_0: WorkspaceListState, args_1: PresetScope | undefined) => WorkspaceListFilter[], {
|
|
93
|
+
clearCache: () => void;
|
|
94
|
+
}> & {
|
|
95
|
+
clearCache: () => void;
|
|
96
|
+
};
|
|
97
|
+
export declare const getWorkspaceListSearchQuery: ((state: AppStore) => string) & import("reselect").OutputSelectorFields<(args_0: WorkspaceListState, args_1: AppStore) => string, {
|
|
98
|
+
clearCache: () => void;
|
|
99
|
+
}> & {
|
|
100
|
+
clearCache: () => void;
|
|
101
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,77 +1,100 @@
|
|
|
1
|
-
import { EntityState } from '@reduxjs/toolkit';
|
|
2
|
-
import { WorkspacePresetListItem, WorkspacePresetAction, PresetScope, WorkspacePresetFromBE } from '../workspace/types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
type:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
export interface
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
export interface
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
1
|
+
import { EntityState } from '@reduxjs/toolkit';
|
|
2
|
+
import { WorkspacePresetListItem, WorkspacePresetAction, PresetScope, WorkspacePresetFromBE, WorkspaceViewsFromBE } from '../workspace/types';
|
|
3
|
+
import { ViewPresetError } from '../viewPresets/types';
|
|
4
|
+
export declare enum WorkspaceListErrorCategory {
|
|
5
|
+
AUTH = "AUTH",
|
|
6
|
+
GENERIC = "GENERIC"
|
|
7
|
+
}
|
|
8
|
+
export declare enum WorkspaceListErrorType {
|
|
9
|
+
TRANSLATABLE_ERROR = "TRANSLATABLE_ERROR",
|
|
10
|
+
VERBATIM_ERROR = "VERBATIM_ERROR"
|
|
11
|
+
}
|
|
12
|
+
export type WorkspaceListError = TranslatableWorkspaceListError | VerbatimWorkspaceListError | undefined;
|
|
13
|
+
export interface TranslatableWorkspaceListError {
|
|
14
|
+
type: WorkspaceListErrorType.TRANSLATABLE_ERROR;
|
|
15
|
+
category: WorkspaceListErrorCategory;
|
|
16
|
+
key: string;
|
|
17
|
+
params?: Record<string, string | number> | undefined;
|
|
18
|
+
}
|
|
19
|
+
export interface VerbatimWorkspaceListError {
|
|
20
|
+
type: WorkspaceListErrorType.VERBATIM_ERROR;
|
|
21
|
+
category: WorkspaceListErrorCategory;
|
|
22
|
+
message: string;
|
|
23
|
+
}
|
|
24
|
+
export interface WorkspaceListFilter {
|
|
25
|
+
label: string;
|
|
26
|
+
id: string;
|
|
27
|
+
type: 'scope' | 'keyword';
|
|
28
|
+
isSelected?: boolean;
|
|
29
|
+
isDisabled?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface FetchWorkspaceParams {
|
|
32
|
+
scope?: string;
|
|
33
|
+
search?: string;
|
|
34
|
+
}
|
|
35
|
+
export type WorkspaceListEntityState = EntityState<WorkspacePresetListItem>;
|
|
36
|
+
export type WorkspaceDialogView = {
|
|
37
|
+
hasChanges: boolean;
|
|
38
|
+
title: string;
|
|
39
|
+
isSelected: boolean;
|
|
40
|
+
error?: ViewPresetError;
|
|
41
|
+
} & WorkspaceViewsFromBE;
|
|
42
|
+
export interface WorkspaceFormValues {
|
|
43
|
+
id?: string;
|
|
44
|
+
title?: string;
|
|
45
|
+
abstract?: string;
|
|
46
|
+
scope?: PresetScope;
|
|
47
|
+
views?: WorkspaceDialogView[];
|
|
48
|
+
}
|
|
49
|
+
export type WorkspacePresetFormValues = WorkspaceFormValues | WorkspacePresetFromBE;
|
|
50
|
+
export interface WorkspaceActionDialogType {
|
|
51
|
+
action: WorkspacePresetAction;
|
|
52
|
+
presetId: string;
|
|
53
|
+
formValues: WorkspacePresetFormValues;
|
|
54
|
+
error?: WorkspaceListError;
|
|
55
|
+
isFetching?: boolean;
|
|
56
|
+
hasSaved?: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface WorkspaceListState extends WorkspaceListEntityState {
|
|
59
|
+
isFetching: boolean;
|
|
60
|
+
error: WorkspaceListError;
|
|
61
|
+
isWorkspaceListDialogOpen: boolean;
|
|
62
|
+
workspaceActionDialog?: WorkspaceActionDialogType;
|
|
63
|
+
searchQuery?: string;
|
|
64
|
+
workspaceListFilters?: WorkspaceListFilter[];
|
|
65
|
+
}
|
|
66
|
+
export type FetchWorkspaceList = FetchWorkspaceParams;
|
|
67
|
+
export interface FetchedWorkspaceList {
|
|
68
|
+
workspaceList: WorkspacePresetListItem[];
|
|
69
|
+
}
|
|
70
|
+
export interface ErrorWorkspaceList {
|
|
71
|
+
error: WorkspaceListError;
|
|
72
|
+
}
|
|
73
|
+
export interface ToggleListDialogPayload {
|
|
74
|
+
isWorkspaceListDialogOpen: boolean;
|
|
75
|
+
}
|
|
76
|
+
export interface ToggleSelectFilterChip {
|
|
77
|
+
id: string;
|
|
78
|
+
isSelected: boolean;
|
|
79
|
+
}
|
|
80
|
+
export interface SearchWorkspaceFilter {
|
|
81
|
+
searchQuery: string;
|
|
82
|
+
}
|
|
83
|
+
export type OpenWorkspaceActionDialogPayload = WorkspaceActionDialogType;
|
|
84
|
+
export interface SubmitFormWorkspaceActionDialogPayload {
|
|
85
|
+
presetAction: WorkspacePresetAction;
|
|
86
|
+
presetId: string;
|
|
87
|
+
data: WorkspacePresetFromBE;
|
|
88
|
+
emptyMapPresetTitle: string;
|
|
89
|
+
}
|
|
90
|
+
export interface OnSuccesWorkspacePresetActionPayload {
|
|
91
|
+
workspaceId: string;
|
|
92
|
+
action: WorkspacePresetAction;
|
|
93
|
+
title: string;
|
|
94
|
+
abstract?: string;
|
|
95
|
+
currentActiveWorkspaceId?: string;
|
|
96
|
+
scope: PresetScope;
|
|
97
|
+
}
|
|
98
|
+
export interface OnErrorWorkspacePresetActionPayload {
|
|
99
|
+
error: WorkspaceListError;
|
|
100
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { MapPreset } from '@opengeoweb/store';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
1
|
+
import { MapPreset } from '@opengeoweb/store';
|
|
2
|
+
import { snackbarTypes } from '@opengeoweb/snackbar';
|
|
3
|
+
import { WorkspacePreset, WorkspacePresetAction, WorkspacePresetListItem } from '../workspace/types';
|
|
4
|
+
import { FetchWorkspaceParams, WorkspaceListFilter } from './types';
|
|
5
|
+
export declare const getSnackbarMessage: (action: WorkspacePresetAction, title: string) => snackbarTypes.TranslatableMessage;
|
|
6
|
+
export declare const getEmptyWorkspaceListItem: () => WorkspacePresetListItem;
|
|
7
|
+
export declare const emptyMapWorkspace: WorkspacePreset;
|
|
8
|
+
export declare const getEmptyWorkspacePreset: () => WorkspacePreset;
|
|
9
|
+
export declare const createCustomEmptyMapWorkspace: (customMapPreset?: MapPreset) => WorkspacePreset;
|
|
10
|
+
export declare const constructFilterParams: (filters: WorkspaceListFilter[], searchQuery: string) => FetchWorkspaceParams;
|
|
11
|
+
export declare const generateUID: () => string;
|
|
12
|
+
export declare const getGeneratedViewPresetTitle: (workspaceTitle: string, uid: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ActionExampleComponentProps {
|
|
3
|
-
viewId: string;
|
|
4
|
-
}
|
|
5
|
-
declare const ActionExampleComponent: React.FC<ActionExampleComponentProps>;
|
|
6
|
-
export default ActionExampleComponent;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ActionExampleComponentProps {
|
|
3
|
+
viewId: string;
|
|
4
|
+
}
|
|
5
|
+
declare const ActionExampleComponent: React.FC<ActionExampleComponentProps>;
|
|
6
|
+
export default ActionExampleComponent;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Theme } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface WorkspaceAppProps {
|
|
4
|
-
isSnapshot?: boolean;
|
|
5
|
-
workspaceId?: string;
|
|
6
|
-
shouldShowListOnOpen?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const WorkspaceApp: ({ isSnapshot, workspaceId, shouldShowListOnOpen, }: WorkspaceAppProps) => React.ReactElement;
|
|
9
|
-
interface StoryWrapperProps {
|
|
10
|
-
theme?: Theme;
|
|
11
|
-
isSnapshot?: boolean;
|
|
12
|
-
createApi?: () => void;
|
|
13
|
-
workspaceId?: string;
|
|
14
|
-
isLoggedIn?: boolean;
|
|
15
|
-
shouldShowListOnOpen?: boolean;
|
|
16
|
-
isAdmin?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const StoryWrapper: ({ theme, isSnapshot, createApi, workspaceId, isLoggedIn, shouldShowListOnOpen, isAdmin, }: StoryWrapperProps) => React.ReactElement;
|
|
19
|
-
export {};
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface WorkspaceAppProps {
|
|
4
|
+
isSnapshot?: boolean;
|
|
5
|
+
workspaceId?: string;
|
|
6
|
+
shouldShowListOnOpen?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const WorkspaceApp: ({ isSnapshot, workspaceId, shouldShowListOnOpen, }: WorkspaceAppProps) => React.ReactElement;
|
|
9
|
+
interface StoryWrapperProps {
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
isSnapshot?: boolean;
|
|
12
|
+
createApi?: () => void;
|
|
13
|
+
workspaceId?: string;
|
|
14
|
+
isLoggedIn?: boolean;
|
|
15
|
+
shouldShowListOnOpen?: boolean;
|
|
16
|
+
isAdmin?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const StoryWrapper: ({ theme, isSnapshot, createApi, workspaceId, isLoggedIn, shouldShowListOnOpen, isAdmin, }: StoryWrapperProps) => React.ReactElement;
|
|
19
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentsLookUpPayload as CoreComponentsLookUpPayload } from '@opengeoweb/core';
|
|
3
|
-
import { ComponentsLookUpPayload as TimeseriesComponentsLookUpPayload } from '@opengeoweb/timeseries';
|
|
4
|
-
import { ComponentsLookUpPayload as TafComponentsLookUpPayload } from '@opengeoweb/taf';
|
|
5
|
-
import { SigmetComponentsLookUpPayload, AirmetComponentsLookUpPayload } from '@opengeoweb/sigmet-airmet';
|
|
6
|
-
import { ComponentsLookUpPayload as WarningListComponentsLookUpPayLoad } from '@opengeoweb/warnings';
|
|
7
|
-
/**
|
|
8
|
-
* The lookup table is for registering your own components with the workspace.
|
|
9
|
-
* @param payload
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
export declare const componentsLookUp: (payload: CoreComponentsLookUpPayload | TimeseriesComponentsLookUpPayload | TafComponentsLookUpPayload | SigmetComponentsLookUpPayload | AirmetComponentsLookUpPayload | WarningListComponentsLookUpPayLoad) => React.ReactElement;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ComponentsLookUpPayload as CoreComponentsLookUpPayload } from '@opengeoweb/core';
|
|
3
|
+
import { ComponentsLookUpPayload as TimeseriesComponentsLookUpPayload } from '@opengeoweb/timeseries';
|
|
4
|
+
import { ComponentsLookUpPayload as TafComponentsLookUpPayload } from '@opengeoweb/taf';
|
|
5
|
+
import { SigmetComponentsLookUpPayload, AirmetComponentsLookUpPayload } from '@opengeoweb/sigmet-airmet';
|
|
6
|
+
import { ComponentsLookUpPayload as WarningListComponentsLookUpPayLoad } from '@opengeoweb/warnings';
|
|
7
|
+
/**
|
|
8
|
+
* The lookup table is for registering your own components with the workspace.
|
|
9
|
+
* @param payload
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare const componentsLookUp: (payload: CoreComponentsLookUpPayload | TimeseriesComponentsLookUpPayload | TafComponentsLookUpPayload | SigmetComponentsLookUpPayload | AirmetComponentsLookUpPayload | WarningListComponentsLookUpPayLoad) => React.ReactElement;
|