@opengeoweb/warnings 16.0.0 → 17.0.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 +2173 -935
- package/package.json +13 -13
- package/src/index.d.ts +0 -12
- package/src/lib/Warnings.stories.d.ts +0 -7
- package/src/lib/api/api-utils.d.ts +0 -12
- package/src/lib/api/api-utils.spec.d.ts +0 -1
- package/src/lib/api/aviation-api/api.d.ts +0 -23
- package/src/lib/api/aviation-api/errorHandling.d.ts +0 -1
- package/src/lib/api/aviation-api/fakeApi.d.ts +0 -8
- package/src/lib/api/aviation-api/hooks.d.ts +0 -43
- package/src/lib/api/aviation-api/queryOptions.d.ts +0 -68
- package/src/lib/api/hooks.spec.d.ts +0 -1
- package/src/lib/api/warning-api/api.d.ts +0 -18
- package/src/lib/api/warning-api/hooks.d.ts +0 -57
- package/src/lib/components/AreaObjectLoader/AreaObjectFilter.d.ts +0 -9
- package/src/lib/components/AreaObjectLoader/AreaObjectFilter.spec.d.ts +0 -1
- package/src/lib/components/AreaObjectLoader/AreaObjectLoader.d.ts +0 -28
- package/src/lib/components/AreaObjectLoader/AreaObjectLoader.spec.d.ts +0 -1
- package/src/lib/components/AreaObjectLoader/AreaObjectLoader.stories.d.ts +0 -16
- package/src/lib/components/AreaObjectLoader/AreaObjectLoaderConnect.d.ts +0 -6
- package/src/lib/components/AreaObjectLoader/AreaObjectLoaderConnect.integration.spec.d.ts +0 -1
- package/src/lib/components/AreaObjectLoader/AreaObjectLoaderConnect.stories.d.ts +0 -15
- package/src/lib/components/AreaObjectLoader/AreasObjects.d.ts +0 -28
- package/src/lib/components/AreaObjectLoader/AreasObjects.spec.d.ts +0 -1
- package/src/lib/components/ComponentsLookUp/ComponentsLookUp.d.ts +0 -20
- package/src/lib/components/ComponentsLookUp/ComponentsLookUp.spec.d.ts +0 -1
- package/src/lib/components/ComponentsLookUp/index.d.ts +0 -1
- package/src/lib/components/DrawingTool/DrawingTool.stories.d.ts +0 -11
- package/src/lib/components/DrawingTool/DrawingToolConnect.d.ts +0 -16
- package/src/lib/components/DrawingTool/DrawingToolConnect.spec.d.ts +0 -1
- package/src/lib/components/DrawingTool/DrawingToolConnect.stories.d.ts +0 -6
- package/src/lib/components/DrawingTool/DrawingToolDialog.d.ts +0 -19
- package/src/lib/components/DrawingTool/DrawingToolDialog.spec.d.ts +0 -1
- package/src/lib/components/DrawingTool/DrawingToolMapButtonConnect.d.ts +0 -8
- package/src/lib/components/DrawingTool/DrawingToolMapButtonConnect.spec.d.ts +0 -1
- package/src/lib/components/DrawingTool/index.d.ts +0 -3
- package/src/lib/components/DrawingTool/useObjectDrawDialogAction.d.ts +0 -25
- package/src/lib/components/DrawingTool/useObjectDrawDialogAction.spec.d.ts +0 -1
- package/src/lib/components/DrawingToolForm/DrawingToolForm.d.ts +0 -26
- package/src/lib/components/DrawingToolForm/DrawingToolForm.spec.d.ts +0 -1
- package/src/lib/components/DrawingToolForm/DrawingToolFormConnect.d.ts +0 -2
- package/src/lib/components/DrawingToolForm/DrawingToolFormConnect.integration.spec.d.ts +0 -1
- package/src/lib/components/DrawingToolForm/DrawingToolFormContents.d.ts +0 -28
- package/src/lib/components/DrawingToolForm/index.d.ts +0 -2
- package/src/lib/components/FilterList/ExpandableFilterChip.d.ts +0 -9
- package/src/lib/components/FilterList/ExpandableFilterChip.spec.d.ts +0 -1
- package/src/lib/components/FilterList/ExpandableFilterChip.stories.d.ts +0 -20
- package/src/lib/components/FilterList/FilterList.d.ts +0 -13
- package/src/lib/components/FilterList/TimeFilterChip.d.ts +0 -7
- package/src/lib/components/FilterList/filter-hooks.d.ts +0 -30
- package/src/lib/components/FilterList/filter-hooks.spec.d.ts +0 -1
- package/src/lib/components/FilterList/filter-styles.d.ts +0 -2
- package/src/lib/components/FilterList/filter-utils.d.ts +0 -111
- package/src/lib/components/FilterList/filter-utils.spec.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/AreaList/AreaList.d.ts +0 -11
- package/src/lib/components/MaritimeWarningsForm/AreaList/AreaList.spec.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/AreaList/index.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/AssignedAreas/AssignedAreas.d.ts +0 -13
- package/src/lib/components/MaritimeWarningsForm/AssignedAreas/AssignedAreas.spec.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/MaritimeWarningsAvatar.d.ts +0 -8
- package/src/lib/components/MaritimeWarningsForm/MaritimeWarningsForm.d.ts +0 -33
- package/src/lib/components/MaritimeWarningsForm/MaritimeWarningsForm.spec.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/MaritimeWarningsForm.stories.d.ts +0 -15
- package/src/lib/components/MaritimeWarningsForm/MaritimeWarningsFormConnect.d.ts +0 -8
- package/src/lib/components/MaritimeWarningsForm/MaritimeWarningsFormConnect.spec.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/MaritimeWarningsFormConnect.stories.d.ts +0 -14
- package/src/lib/components/MaritimeWarningsForm/WarningList/WarningList.d.ts +0 -18
- package/src/lib/components/MaritimeWarningsForm/WarningList/WarningListDragHandle.d.ts +0 -2
- package/src/lib/components/MaritimeWarningsForm/WarningList/WarningListItem.d.ts +0 -17
- package/src/lib/components/MaritimeWarningsForm/WarningList/WarningListItem.spec.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/WarningList/WarningListSelect.d.ts +0 -21
- package/src/lib/components/MaritimeWarningsForm/WarningList/WarningListSelect.spec.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/WarningList/WindForceSelect.d.ts +0 -24
- package/src/lib/components/MaritimeWarningsForm/WarningList/WindForceSelect.spec.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/index.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/testUtils.d.ts +0 -3
- package/src/lib/components/MaritimeWarningsForm/types.d.ts +0 -51
- package/src/lib/components/MaritimeWarningsForm/useConfirmDeleteDialog.d.ts +0 -12
- package/src/lib/components/MaritimeWarningsForm/useFilterChipSelect.d.ts +0 -12
- package/src/lib/components/MaritimeWarningsForm/useFilterChipSelect.spec.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/useMaritimeWarningsFormState.d.ts +0 -63
- package/src/lib/components/MaritimeWarningsForm/useMaritimeWarningsFormState.spec.d.ts +0 -1
- package/src/lib/components/MaritimeWarningsForm/utils.d.ts +0 -7
- package/src/lib/components/MaritimeWarningsForm/utils.spec.d.ts +0 -1
- package/src/lib/components/ObjectManager/ConfirmDeleteDialog.d.ts +0 -10
- package/src/lib/components/ObjectManager/ConfirmDeleteDialog.spec.d.ts +0 -1
- package/src/lib/components/ObjectManager/ObjectManager.d.ts +0 -25
- package/src/lib/components/ObjectManager/ObjectManager.spec.d.ts +0 -1
- package/src/lib/components/ObjectManager/ObjectManager.stories.d.ts +0 -38
- package/src/lib/components/ObjectManager/ObjectManagerConnect.d.ts +0 -6
- package/src/lib/components/ObjectManager/ObjectManagerConnect.integration.spec.d.ts +0 -1
- package/src/lib/components/ObjectManager/ObjectManagerConnect.stories.d.ts +0 -10
- package/src/lib/components/ObjectManager/ObjectManagerConnectErrors.stories.d.ts +0 -38
- package/src/lib/components/ObjectManager/ObjectManagerMapButtonConnect.d.ts +0 -6
- package/src/lib/components/ObjectManager/ObjectManagerMapButtonConnect.spec.d.ts +0 -1
- package/src/lib/components/ObjectManager/Objects.d.ts +0 -22
- package/src/lib/components/ObjectManager/Objects.spec.d.ts +0 -1
- package/src/lib/components/ObjectManager/index.d.ts +0 -2
- package/src/lib/components/Providers/Providers.d.ts +0 -29
- package/src/lib/components/Providers/Providers.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/ConfirmWarningDialog.d.ts +0 -14
- package/src/lib/components/PublicWarningList/ConfirmWarningDialog.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/NewWarningButton/NewWarningButton.d.ts +0 -9
- package/src/lib/components/PublicWarningList/NewWarningButton/NewWarningButton.stories.d.ts +0 -12
- package/src/lib/components/PublicWarningList/PublicWarningList.d.ts +0 -23
- package/src/lib/components/PublicWarningList/PublicWarningList.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/PublicWarningList.stories.d.ts +0 -64
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.aviation.drawTools.integration.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.aviation.saveAndPublish.integration.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.confirmation.integration.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.d.ts +0 -7
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.draft.integration.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.editorToggle.integration.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.filter.integration.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.integration.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.maritime.integration.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.published.integration.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/PublicWarningListConnect.stories.d.ts +0 -60
- package/src/lib/components/PublicWarningList/WarningListColumnContent.d.ts +0 -10
- package/src/lib/components/PublicWarningList/WarningListHeaderContent.d.ts +0 -11
- package/src/lib/components/PublicWarningList/WarningListHeaderContent.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/WarningListItem.d.ts +0 -12
- package/src/lib/components/PublicWarningList/WarningListItem.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/WarningListItemMenu.d.ts +0 -20
- package/src/lib/components/PublicWarningList/WarningListItemMenu.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningList/WarningListItemSeperator.d.ts +0 -11
- package/src/lib/components/PublicWarningList/index.d.ts +0 -2
- package/src/lib/components/PublicWarningsForm/AreaField/AreaField.d.ts +0 -9
- package/src/lib/components/PublicWarningsForm/AreaField/AreaField.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/AreaField/AreaField.stories.d.ts +0 -24
- package/src/lib/components/PublicWarningsForm/AreaField/index.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/DescriptionField/DescriptionField.d.ts +0 -5
- package/src/lib/components/PublicWarningsForm/DescriptionField/DescriptionField.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/DescriptionField/DescriptionField.stories.d.ts +0 -10
- package/src/lib/components/PublicWarningsForm/DescriptionField/index.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/LevelField/LevelField.d.ts +0 -22
- package/src/lib/components/PublicWarningsForm/LevelField/LevelField.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/LevelField/index.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/PhenomenonField/PhenomenonField.d.ts +0 -11
- package/src/lib/components/PublicWarningsForm/PhenomenonField/PhenomenonField.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/PhenomenonField/index.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/ProbabilityField/ProbabilityField.d.ts +0 -7
- package/src/lib/components/PublicWarningsForm/ProbabilityField/ProbabilityField.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/ProbabilityField/index.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/PublicWarningsForm.d.ts +0 -45
- package/src/lib/components/PublicWarningsForm/PublicWarningsForm.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/PublicWarningsForm.stories.d.ts +0 -34
- package/src/lib/components/PublicWarningsForm/PublicWarningsFormConnect.d.ts +0 -14
- package/src/lib/components/PublicWarningsForm/PublicWarningsFormConnect.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/PublicWarningsFormConnect.stories.d.ts +0 -8
- package/src/lib/components/PublicWarningsForm/PublicWarningsFormConnectErrors.stories.d.ts +0 -24
- package/src/lib/components/PublicWarningsForm/ValidFromField/ValidFromField.d.ts +0 -19
- package/src/lib/components/PublicWarningsForm/ValidFromField/ValidFromField.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/ValidFromField/index.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/ValidUntilField/ValidUntilField.d.ts +0 -11
- package/src/lib/components/PublicWarningsForm/ValidUntilField/ValidUntilField.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/ValidUntilField/index.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/index.d.ts +0 -2
- package/src/lib/components/PublicWarningsFormDialog/AviationWarningCancelDialogContent.d.ts +0 -8
- package/src/lib/components/PublicWarningsFormDialog/AviationWarningCancelDialogContent.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsFormDialog/CancelAviationConfirmDialog.d.ts +0 -18
- package/src/lib/components/PublicWarningsFormDialog/PublicWarningsFormDialog.d.ts +0 -25
- package/src/lib/components/PublicWarningsFormDialog/PublicWarningsFormDialog.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsFormDialog/PublicWarningsFormDialog.stories.d.ts +0 -18
- package/src/lib/components/PublicWarningsFormDialog/PublicWarningsFormDialogConnect.d.ts +0 -13
- package/src/lib/components/PublicWarningsFormDialog/PublicWarningsFormDialogConnect.spec.d.ts +0 -1
- package/src/lib/components/PublicWarningsFormDialog/PublicWarningsFormDialogConnect.stories.d.ts +0 -9
- package/src/lib/components/PublicWarningsFormDialog/WarningsAvatar.d.ts +0 -9
- package/src/lib/components/PublicWarningsFormDialog/index.d.ts +0 -2
- package/src/lib/components/WarningsMapView/WarningsMapView.d.ts +0 -11
- package/src/lib/components/WarningsMapView/WarningsMapView.spec.d.ts +0 -1
- package/src/lib/components/WarningsTimeline/WarningBlock.d.ts +0 -10
- package/src/lib/components/WarningsTimeline/WarningsTimeline.d.ts +0 -6
- package/src/lib/components/WarningsTimeline/WarningsTimeline.spec.d.ts +0 -1
- package/src/lib/components/WarningsTimeline/WarningsTimeline.stories.d.ts +0 -12
- package/src/lib/components/WarningsTimeline/WarningsTimelineConnect.d.ts +0 -5
- package/src/lib/components/WarningsTimeline/WarningsTimelineConnect.spec.d.ts +0 -1
- package/src/lib/components/WarningsTimeline/index.d.ts +0 -4
- package/src/lib/components/WarningsTimeline/warningBlockColors.d.ts +0 -16
- package/src/lib/components/WarningsTimeline/warningBlockColors.spec.d.ts +0 -1
- package/src/lib/components/WarningsTimeline/warningsTimelineUtils.d.ts +0 -15
- package/src/lib/components/WarningsTimeline/warningsTimelineUtils.spec.d.ts +0 -1
- package/src/lib/store/index.d.ts +0 -4
- package/src/lib/store/store.d.ts +0 -17
- package/src/lib/store/types.d.ts +0 -9
- package/src/lib/store/warningsDrawings/index.d.ts +0 -1
- package/src/lib/store/warningsDrawings/reducer.d.ts +0 -12
- package/src/lib/store/warningsDrawings/reducer.spec.d.ts +0 -1
- package/src/lib/store/warningsDrawings/selectors.d.ts +0 -45
- package/src/lib/store/warningsDrawings/selectors.spec.d.ts +0 -1
- package/src/lib/store/warningsDrawings/types.d.ts +0 -33
- package/src/lib/store/warningsDrawings/utils.d.ts +0 -4
- package/src/lib/store/warningsFilters/index.d.ts +0 -1
- package/src/lib/store/warningsFilters/reducer.d.ts +0 -11
- package/src/lib/store/warningsFilters/selectors.d.ts +0 -62
- package/src/lib/store/warningsFilters/selectors.spec.d.ts +0 -1
- package/src/lib/store/warningsFilters/types.d.ts +0 -7
- package/src/lib/store/warningsForm/index.d.ts +0 -2
- package/src/lib/store/warningsForm/listener.d.ts +0 -2
- package/src/lib/store/warningsForm/reducer.d.ts +0 -53
- package/src/lib/store/warningsForm/reducer.spec.d.ts +0 -1
- package/src/lib/store/warningsForm/selectors.d.ts +0 -192
- package/src/lib/store/warningsForm/selectors.spec.d.ts +0 -1
- package/src/lib/store/warningsForm/types.d.ts +0 -72
- package/src/lib/store/warningsForm/utils.d.ts +0 -2
- package/src/lib/storybookUtils/SimpleLinkMenu.d.ts +0 -6
- package/src/lib/storybookUtils/defaultStorySettings.d.ts +0 -18
- package/src/lib/storybookUtils/storyComponents.d.ts +0 -5
- package/src/lib/storybookUtils/testUtils.d.ts +0 -11
- package/src/lib/utils/constants.d.ts +0 -1
- package/src/lib/utils/fakeApi/index.d.ts +0 -20
- package/src/lib/utils/fakeSigmetAirmet.d.ts +0 -3
- package/src/lib/utils/i18n.d.ts +0 -7
- package/src/lib/utils/sig-airmet-util.d.ts +0 -20
- package/src/lib/utils/sig-airmet-util.spec.d.ts +0 -1
- package/src/lib/utils/useFormDirty.d.ts +0 -7
- package/src/lib/utils/useFormDirty.spec.d.ts +0 -1
- package/src/lib/utils/warningUtils.d.ts +0 -18
- package/src/lib/utils/warningUtils.spec.d.ts +0 -1
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare const getDeleteDescription: (objectName: string, t: TFunction) => string;
|
|
4
|
-
export declare const getDeleteSucces: (objectName: string, t: TFunction) => string;
|
|
5
|
-
export declare const ConfirmDeleteDialog: React.FC<{
|
|
6
|
-
objectId: string;
|
|
7
|
-
objectName: string;
|
|
8
|
-
onDeleteSucces: (objectId: string) => void;
|
|
9
|
-
onClose: () => void;
|
|
10
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HeaderSize, Position, DraggableSize } from '@opengeoweb/shared';
|
|
3
|
-
import type { uiTypes } from '@opengeoweb/store';
|
|
4
|
-
import type { DrawingListItem } from '../../store/warningsDrawings/types';
|
|
5
|
-
export declare const ObjectManager: React.FC<{
|
|
6
|
-
bounds?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
onClose: () => void;
|
|
9
|
-
onMouseDown?: () => void;
|
|
10
|
-
isOpen: boolean;
|
|
11
|
-
order?: number;
|
|
12
|
-
source?: uiTypes.Source;
|
|
13
|
-
size?: DraggableSize;
|
|
14
|
-
startPosition?: Position;
|
|
15
|
-
headerSize?: HeaderSize;
|
|
16
|
-
drawingListItems: DrawingListItem[];
|
|
17
|
-
onClickDrawing?: (drawing: DrawingListItem) => void;
|
|
18
|
-
onEditDrawing?: (drawingId: string) => void;
|
|
19
|
-
onDeleteDrawing?: (drawingId: string) => void;
|
|
20
|
-
onShareObject?: (object: DrawingListItem) => void;
|
|
21
|
-
onCreateNewObject?: () => void;
|
|
22
|
-
activeDrawingId?: string;
|
|
23
|
-
error?: string;
|
|
24
|
-
isLoading?: boolean;
|
|
25
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import { ObjectManager } from './ObjectManager';
|
|
3
|
-
import type { DrawingListItem } from '../../store/warningsDrawings/types';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: import("react").FC<{
|
|
7
|
-
bounds?: string;
|
|
8
|
-
title?: string;
|
|
9
|
-
onClose: () => void;
|
|
10
|
-
onMouseDown?: () => void;
|
|
11
|
-
isOpen: boolean;
|
|
12
|
-
order?: number;
|
|
13
|
-
source?: import("@opengeoweb/shared").Source;
|
|
14
|
-
size?: import("@opengeoweb/shared").DraggableSize;
|
|
15
|
-
startPosition?: import("@opengeoweb/shared").Position;
|
|
16
|
-
headerSize?: import("@opengeoweb/shared").HeaderSize;
|
|
17
|
-
drawingListItems: DrawingListItem[];
|
|
18
|
-
onClickDrawing?: (drawing: DrawingListItem) => void;
|
|
19
|
-
onEditDrawing?: (drawingId: string) => void;
|
|
20
|
-
onDeleteDrawing?: (drawingId: string) => void;
|
|
21
|
-
onShareObject?: (object: DrawingListItem) => void;
|
|
22
|
-
onCreateNewObject?: () => void;
|
|
23
|
-
activeDrawingId?: string;
|
|
24
|
-
error?: string;
|
|
25
|
-
isLoading?: boolean;
|
|
26
|
-
}>;
|
|
27
|
-
tags: string[];
|
|
28
|
-
};
|
|
29
|
-
export default _default;
|
|
30
|
-
type Story = StoryObj<typeof ObjectManager>;
|
|
31
|
-
export declare const ObjectManagerSmall: Story;
|
|
32
|
-
export declare const ObjectManagerLight: Story;
|
|
33
|
-
export declare const ObjectManagerDark: Story;
|
|
34
|
-
export declare const ObjectManagerLightNoResults: Story;
|
|
35
|
-
export declare const ObjectManagerDarkNoResults: Story;
|
|
36
|
-
export declare const ObjectManagerLoading: Story;
|
|
37
|
-
export declare const ObjectManagerErrorLight: Story;
|
|
38
|
-
export declare const ObjectManagerErrorDark: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import { ObjectManagerConnect } from './ObjectManagerConnect';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
tags: string[];
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
type Story = StoryObj<typeof ObjectManagerConnect>;
|
|
9
|
-
export declare const ObjectManagerConnectLight: Story;
|
|
10
|
-
export declare const ObjectManagerConnectDark: Story;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
tags: string[];
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const ErrorSaveDrawing: {
|
|
8
|
-
(): React.ReactElement;
|
|
9
|
-
parameters: {
|
|
10
|
-
msw: {
|
|
11
|
-
handlers: import("msw").HttpHandler[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const ErrorGetList: {
|
|
16
|
-
(): React.ReactElement;
|
|
17
|
-
parameters: {
|
|
18
|
-
msw: {
|
|
19
|
-
handlers: import("msw").HttpHandler[];
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export declare const ErrorEditDrawing: {
|
|
24
|
-
(): React.ReactElement;
|
|
25
|
-
parameters: {
|
|
26
|
-
msw: {
|
|
27
|
-
handlers: import("msw").HttpHandler[];
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export declare const ErrorDeleteDrawing: {
|
|
32
|
-
(): React.ReactElement;
|
|
33
|
-
parameters: {
|
|
34
|
-
msw: {
|
|
35
|
-
handlers: import("msw").HttpHandler[];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { DrawingListItem } from '../../store/warningsDrawings/types';
|
|
3
|
-
export declare const BUTTON_AIRMET = "AIRMET";
|
|
4
|
-
export declare const BUTTON_SIGMET = "SIGMET";
|
|
5
|
-
type ListInclHeadersType = {
|
|
6
|
-
isObject: boolean;
|
|
7
|
-
index: number;
|
|
8
|
-
}[];
|
|
9
|
-
export declare const getListInclHeaders: (objects: DrawingListItem[]) => {
|
|
10
|
-
listInclHeaders: ListInclHeadersType;
|
|
11
|
-
headerList: string[];
|
|
12
|
-
};
|
|
13
|
-
export declare const Objects: FC<{
|
|
14
|
-
objects: DrawingListItem[];
|
|
15
|
-
onClickObject: (object: DrawingListItem) => void;
|
|
16
|
-
onClickEdit: (objectId: string) => void;
|
|
17
|
-
onClickDelete: (drawingId: string) => void;
|
|
18
|
-
onClickShare: (object: DrawingListItem) => void;
|
|
19
|
-
activeObject: string;
|
|
20
|
-
isLoading?: boolean;
|
|
21
|
-
}>;
|
|
22
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { Theme } from '@mui/material';
|
|
2
|
-
import type { Store } from '@reduxjs/toolkit';
|
|
3
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
interface WarningsClientProviderProps {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
optionalQueryClient?: QueryClient;
|
|
8
|
-
}
|
|
9
|
-
export interface WarningsThemeProviderProps extends WarningsClientProviderProps {
|
|
10
|
-
theme?: Theme;
|
|
11
|
-
}
|
|
12
|
-
export declare const WarningsThemeProvider: React.FC<WarningsThemeProviderProps>;
|
|
13
|
-
interface WarningStoreProviderProps {
|
|
14
|
-
store?: Store;
|
|
15
|
-
optionalQueryClient?: QueryClient;
|
|
16
|
-
isLoggedIn?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const WarningsStoreProvider: React.FC<WarningStoreProviderProps & WarningsClientProviderProps>;
|
|
19
|
-
export interface WarningsThemeStoreProviderProps extends WarningsThemeProviderProps {
|
|
20
|
-
store?: Store;
|
|
21
|
-
optionalQueryClient?: QueryClient;
|
|
22
|
-
isLoggedIn?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare const WarningsThemeStoreProvider: React.FC<WarningsThemeStoreProviderProps>;
|
|
25
|
-
interface WarningsTranslationsWrapperProps {
|
|
26
|
-
children?: React.ReactNode;
|
|
27
|
-
}
|
|
28
|
-
export declare const WarningsI18nProvider: React.FC<WarningsTranslationsWrapperProps>;
|
|
29
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { AirmetFromBackend, SigmetFromBackend } from '@opengeoweb/api';
|
|
3
|
-
export interface ConfirmDialogProps {
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
request: () => Promise<void> | Promise<Headers | null> | Promise<SigmetFromBackend | AirmetFromBackend>;
|
|
7
|
-
confirmLabel: string;
|
|
8
|
-
callback?: (data?: unknown) => void;
|
|
9
|
-
isLocked?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const ConfirmDeleteWarningDialog: React.FC<{
|
|
12
|
-
onClose: () => void;
|
|
13
|
-
} & ConfirmDialogProps>;
|
|
14
|
-
export default ConfirmDeleteWarningDialog;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { WarningType } from '../../../store/warningsForm/types';
|
|
3
|
-
export declare const BUTTON_AIRMET = "AIRMET";
|
|
4
|
-
export declare const BUTTON_SIGMET = "SIGMET";
|
|
5
|
-
export interface NewWarningButtonProps {
|
|
6
|
-
onCreateWarning: (warningType?: WarningType) => void;
|
|
7
|
-
isDefaultOpen?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const NewWarningButton: React.FC<NewWarningButtonProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { NewWarningButton } from './NewWarningButton';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import("./NewWarningButton").NewWarningButtonProps>;
|
|
7
|
-
tags: string[];
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
type Story = StoryObj<typeof NewWarningButton>;
|
|
11
|
-
export declare const NewWarningButtonLight: Story;
|
|
12
|
-
export declare const NewWarningButtonDark: Story;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { WarningListItemActions } from './WarningListItemMenu';
|
|
3
|
-
import type { Warning } from '../../store/warningsForm/types';
|
|
4
|
-
import type { FilterHookState } from '../FilterList/filter-hooks';
|
|
5
|
-
export interface PublicWarningListProps extends WarningListItemActions {
|
|
6
|
-
warnings: Warning[];
|
|
7
|
-
onSelectWarning?: (warning: Warning) => void;
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
error?: Error;
|
|
10
|
-
selectedWarningId?: string;
|
|
11
|
-
lastUpdatedTime?: string;
|
|
12
|
-
onCreateWarning?: () => void;
|
|
13
|
-
onRefetchWarnings?: () => void;
|
|
14
|
-
filterHookState: FilterHookState;
|
|
15
|
-
hoveredFeatureId?: string;
|
|
16
|
-
expandedSections: Record<string, boolean>;
|
|
17
|
-
setExpandedSections: (expandedSections: Record<string, boolean>) => void;
|
|
18
|
-
onActionAviationWarning?: () => void;
|
|
19
|
-
limitAlertCount?: number;
|
|
20
|
-
showLimitAlert?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare const PublicWarningList: React.FC<PublicWarningListProps>;
|
|
23
|
-
export default PublicWarningList;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
tags: string[];
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const PublicWarningListLight: {
|
|
8
|
-
(): React.ReactElement;
|
|
9
|
-
tags: string[];
|
|
10
|
-
parameters: {
|
|
11
|
-
zeplinLink: {
|
|
12
|
-
name: string;
|
|
13
|
-
link: string;
|
|
14
|
-
}[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare const PublicWarningListDark: {
|
|
18
|
-
(): React.ReactElement;
|
|
19
|
-
tags: string[];
|
|
20
|
-
parameters: {
|
|
21
|
-
zeplinLink: {
|
|
22
|
-
name: string;
|
|
23
|
-
link: string;
|
|
24
|
-
}[];
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export declare const PublicWarningListAviation: {
|
|
28
|
-
(): React.ReactElement;
|
|
29
|
-
tags: string[];
|
|
30
|
-
parameters: {
|
|
31
|
-
zeplinLink: {
|
|
32
|
-
name: string;
|
|
33
|
-
link: string;
|
|
34
|
-
}[];
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export declare const PublicWarningListPublicAndAviation: {
|
|
38
|
-
(): React.ReactElement;
|
|
39
|
-
tags: string[];
|
|
40
|
-
parameters: {
|
|
41
|
-
zeplinLink: {
|
|
42
|
-
name: string;
|
|
43
|
-
link: string;
|
|
44
|
-
}[];
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
export declare const PublicWarningListError: () => React.ReactElement;
|
|
48
|
-
export declare const PublicWarningListLoading: () => React.ReactElement;
|
|
49
|
-
export declare const PublicWarningListSmallLight: {
|
|
50
|
-
(): React.ReactElement;
|
|
51
|
-
tags: string[];
|
|
52
|
-
};
|
|
53
|
-
export declare const PublicWarningListSmallDark: {
|
|
54
|
-
(): React.ReactElement;
|
|
55
|
-
tags: string[];
|
|
56
|
-
};
|
|
57
|
-
export declare const PublicWarningListMaritime: {
|
|
58
|
-
(): React.ReactElement;
|
|
59
|
-
tags: string[];
|
|
60
|
-
};
|
|
61
|
-
export declare const PublicWarningListTooManyWarnings: {
|
|
62
|
-
(): React.ReactElement;
|
|
63
|
-
tags: string[];
|
|
64
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PickedFilterState } from '../FilterList/filter-hooks';
|
|
3
|
-
export interface PublicWarningListConnectProps {
|
|
4
|
-
panelId: string;
|
|
5
|
-
presetFilterState?: PickedFilterState;
|
|
6
|
-
}
|
|
7
|
-
export declare const PublicWarningListConnect: React.FC<PublicWarningListConnectProps>;
|
package/src/lib/components/PublicWarningList/PublicWarningListConnect.draft.integration.spec.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/src/lib/components/PublicWarningList/PublicWarningListConnect.filter.integration.spec.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/src/lib/components/PublicWarningList/PublicWarningListConnect.maritime.integration.spec.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ description, }: {
|
|
5
|
-
description?: string;
|
|
6
|
-
}) => React.ReactElement;
|
|
7
|
-
tags: string[];
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const LightMode: {
|
|
11
|
-
parameters: {
|
|
12
|
-
msw: {
|
|
13
|
-
handlers: {
|
|
14
|
-
warnings: import("msw").HttpHandler[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare const ListError: {
|
|
20
|
-
parameters: {
|
|
21
|
-
msw: {
|
|
22
|
-
handlers: {
|
|
23
|
-
warnings: import("msw").HttpHandler[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export declare const EditorChanged: {
|
|
29
|
-
args: {
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
parameters: {
|
|
33
|
-
msw: {
|
|
34
|
-
handlers: {
|
|
35
|
-
warnings: import("msw").HttpHandler[];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const PublicWarningListErrorDeleteWarning: {
|
|
41
|
-
parameters: {
|
|
42
|
-
msw: {
|
|
43
|
-
handlers: {
|
|
44
|
-
warnings: import("msw").HttpHandler[];
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export declare const ExtraLongList: {
|
|
50
|
-
args: {
|
|
51
|
-
description: string;
|
|
52
|
-
};
|
|
53
|
-
parameters: {
|
|
54
|
-
msw: {
|
|
55
|
-
handlers: {
|
|
56
|
-
warnings: (import("msw").HttpHandler | import("msw").RequestHandler<import("msw/lib/core/HttpResponse-Cy7ytzUn").g, any, any, import("msw").RequestHandlerOptions>)[];
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { GridProps } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { PublicWarningStatus } from '../../store/warningsForm/types';
|
|
4
|
-
export declare const WarningListColumnContent: React.FC<GridProps & {
|
|
5
|
-
title?: string;
|
|
6
|
-
status: PublicWarningStatus;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
width?: number;
|
|
9
|
-
}>;
|
|
10
|
-
export default WarningListColumnContent;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { GridProps } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const WarningListHeaderContent: React.FC<GridProps & {
|
|
4
|
-
title: string;
|
|
5
|
-
width?: number;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
isSorted?: boolean;
|
|
8
|
-
sortDirection?: 'asc' | 'desc';
|
|
9
|
-
sortable?: boolean;
|
|
10
|
-
}>;
|
|
11
|
-
export default WarningListHeaderContent;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ListItemProps } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { WarningListItemActions } from './WarningListItemMenu';
|
|
4
|
-
import type { Warning } from '../../store/warningsForm/types';
|
|
5
|
-
export interface WarningListItemProps extends ListItemProps, WarningListItemActions {
|
|
6
|
-
warning: Warning;
|
|
7
|
-
highlightedItem?: boolean;
|
|
8
|
-
activeWarningId: string;
|
|
9
|
-
onSelectWarning?: (warning: Warning) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const WarningListItem: React.FC<WarningListItemProps>;
|
|
12
|
-
export default WarningListItem;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import type { MenuItemType } from '@opengeoweb/shared';
|
|
3
|
-
import { ProductAction } from '@opengeoweb/sigmet-airmet';
|
|
4
|
-
import type { MaritimeWarning, Warning } from '../../store/warningsForm/types';
|
|
5
|
-
import { MaritimeWarningAction } from '../../store/warningsForm/types';
|
|
6
|
-
export interface WarningListItemActions {
|
|
7
|
-
onEditWarning?: (warning: Warning) => void;
|
|
8
|
-
onDeleteWarning?: (warningId: string, warningEditor?: string) => void;
|
|
9
|
-
onDeleteReviewWarning?: (warning: Warning) => void;
|
|
10
|
-
onExpireWarning?: (warning: Warning) => void;
|
|
11
|
-
onWithdrawWarning?: (warning: Warning) => void;
|
|
12
|
-
onActionAviationWarning?: (warning: Warning, actionType?: ProductAction) => void;
|
|
13
|
-
onActionMaritimeWarning?: (warning: MaritimeWarning, actionType?: MaritimeWarningAction) => void;
|
|
14
|
-
}
|
|
15
|
-
interface WarningListItemMenuProps extends WarningListItemActions {
|
|
16
|
-
warning: Warning;
|
|
17
|
-
t: TFunction;
|
|
18
|
-
}
|
|
19
|
-
declare const WarningListItemMenu: ({ warning, onEditWarning, onDeleteWarning, onDeleteReviewWarning, onExpireWarning, onWithdrawWarning, onActionAviationWarning, onActionMaritimeWarning, t, }: WarningListItemMenuProps) => MenuItemType[];
|
|
20
|
-
export default WarningListItemMenu;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ListItemProps } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { PublicWarningStatus } from '../../store/warningsForm/types';
|
|
4
|
-
import type { TimeFilter } from '../FilterList/filter-utils';
|
|
5
|
-
declare const WarningListItemSeperator: React.FC<{
|
|
6
|
-
totalWarnings: number;
|
|
7
|
-
status: PublicWarningStatus;
|
|
8
|
-
isExpanded: boolean;
|
|
9
|
-
timeFilter: TimeFilter;
|
|
10
|
-
} & ListItemProps>;
|
|
11
|
-
export default WarningListItemSeperator;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const formatDate: (lastUpdatedTime: string) => string;
|
|
3
|
-
export declare const AreaField: React.FC<{
|
|
4
|
-
onEditObject: () => void;
|
|
5
|
-
onViewObject: () => void;
|
|
6
|
-
onDeleteObject: () => void;
|
|
7
|
-
onAddObject: () => void;
|
|
8
|
-
isDisabled?: boolean;
|
|
9
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import { AreaField } from './AreaField';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import("react").FC<{
|
|
6
|
-
onEditObject: () => void;
|
|
7
|
-
onViewObject: () => void;
|
|
8
|
-
onDeleteObject: () => void;
|
|
9
|
-
onAddObject: () => void;
|
|
10
|
-
isDisabled?: boolean;
|
|
11
|
-
}>;
|
|
12
|
-
parameters: {
|
|
13
|
-
docs: {
|
|
14
|
-
description: {
|
|
15
|
-
component: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default _default;
|
|
21
|
-
type Story = StoryObj<typeof AreaField>;
|
|
22
|
-
export declare const Component: Story;
|
|
23
|
-
export declare const AreaFieldLight: Story;
|
|
24
|
-
export declare const AreaFieldDark: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AreaField';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/src/lib/components/PublicWarningsForm/DescriptionField/DescriptionField.stories.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import { DescriptionField } from './DescriptionField';
|
|
3
|
-
declare const meta: Meta<typeof DescriptionField>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof DescriptionField>;
|
|
6
|
-
export declare const Component: Story;
|
|
7
|
-
export declare const DescriptionFieldLight: Story;
|
|
8
|
-
export declare const DescriptionFieldDark: Story;
|
|
9
|
-
export declare const DescriptionFieldDisabledLight: Story;
|
|
10
|
-
export declare const DescriptionFieldDisabledDark: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DescriptionField';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { FilterTranslation } from '../../../store/warningsFilters/types';
|
|
3
|
-
export interface ColorDefinition {
|
|
4
|
-
color: string;
|
|
5
|
-
textColor?: string;
|
|
6
|
-
borderColor: string;
|
|
7
|
-
}
|
|
8
|
-
export interface LevelDetails extends FilterTranslation, ColorDefinition {
|
|
9
|
-
}
|
|
10
|
-
export declare enum WarningLevel {
|
|
11
|
-
moderate = "moderate",
|
|
12
|
-
severe = "severe",
|
|
13
|
-
extreme = "extreme"
|
|
14
|
-
}
|
|
15
|
-
export declare const LevelColors: Record<WarningLevel, ColorDefinition>;
|
|
16
|
-
export declare const getLevelStyle: (levelColor?: ColorDefinition) => React.CSSProperties;
|
|
17
|
-
export declare const levelOptions: LevelDetails[];
|
|
18
|
-
export declare const levelOptionsDict: Record<string, LevelDetails>;
|
|
19
|
-
export declare const LevelField: React.FC<{
|
|
20
|
-
isDisabled?: boolean;
|
|
21
|
-
isReadOnly?: boolean;
|
|
22
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LevelField';
|