@opengeoweb/warnings 8.1.0 → 8.3.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.
Files changed (41) hide show
  1. package/index.esm.js +3036 -2097
  2. package/package.json +11 -10
  3. package/src/index.d.ts +1 -0
  4. package/src/lib/Warnings.stories.d.ts +0 -1
  5. package/src/lib/WarningsErrors.stories.d.ts +4 -2
  6. package/src/lib/components/DrawingTool/DrawingTool.stories.d.ts +2 -2
  7. package/src/lib/components/DrawingTool/DrawingToolConnect.d.ts +1 -2
  8. package/src/lib/components/DrawingTool/DrawingToolDialog.d.ts +3 -4
  9. package/src/lib/components/DrawingTool/useObjectDrawDialogAction.d.ts +0 -2
  10. package/src/lib/components/ObjectManager/ObjectManager.d.ts +6 -3
  11. package/src/lib/components/ObjectManager/ObjectManager.stories.d.ts +9 -0
  12. package/src/lib/components/ObjectManager/Objects.d.ts +19 -0
  13. package/src/lib/components/PublicWarnings/PublicWarnings.d.ts +5 -4
  14. package/src/lib/components/PublicWarnings/PublicWarnings.stories.d.ts +20 -0
  15. package/src/lib/components/PublicWarnings/PublicWarningsConnect.d.ts +2 -1
  16. package/src/lib/components/PublicWarningsForm/AreaField.d.ts +19 -0
  17. package/src/lib/components/PublicWarningsForm/AreaField.stories.d.ts +13 -0
  18. package/src/lib/components/PublicWarningsForm/DescriptionField.d.ts +2 -0
  19. package/src/lib/components/PublicWarningsForm/DescriptionField.spec.d.ts +1 -0
  20. package/src/lib/components/PublicWarningsForm/DescriptionField.stories.d.ts +13 -0
  21. package/src/lib/components/PublicWarningsForm/PublicWarningsForm.d.ts +27 -0
  22. package/src/lib/components/PublicWarningsForm/PublicWarningsForm.spec.d.ts +1 -0
  23. package/src/lib/components/PublicWarningsForm/PublicWarningsForm.stories.d.ts +21 -0
  24. package/src/lib/components/PublicWarningsForm/PublicWarningsFormConnect.d.ts +2 -0
  25. package/src/lib/components/PublicWarningsForm/PublicWarningsFormConnect.spec.d.ts +1 -0
  26. package/src/lib/components/PublicWarningsForm/index.d.ts +2 -0
  27. package/src/lib/store/config.d.ts +3 -0
  28. package/src/lib/store/drawings/sagas.d.ts +0 -3
  29. package/src/lib/store/drawings/types.d.ts +14 -1
  30. package/src/lib/store/drawings/utils.d.ts +3 -0
  31. package/src/lib/store/publicWarningForm/reducer.d.ts +12 -0
  32. package/src/lib/store/publicWarningForm/reducer.spec.d.ts +1 -0
  33. package/src/lib/store/publicWarningForm/selectors.d.ts +8 -0
  34. package/src/lib/store/publicWarningForm/selectors.spec.d.ts +1 -0
  35. package/src/lib/store/publicWarningForm/utils.d.ts +2 -0
  36. package/src/lib/storybookUtils/storyComponents.d.ts +5 -0
  37. package/src/lib/utils/constants.d.ts +2 -0
  38. package/src/lib/components/ObjectManager/Drawings.d.ts +0 -10
  39. /package/src/lib/components/{DrawingToolForm/DrawingToolFormConnect.spec.d.ts → ObjectManager/ObjectManagerConnect.integration.spec.d.ts} +0 -0
  40. /package/src/lib/components/ObjectManager/{Drawings.spec.d.ts → Objects.spec.d.ts} +0 -0
  41. /package/src/lib/components/{ObjectManager/ObjectManagerConnect.spec.d.ts → PublicWarningsForm/AreaField.spec.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/warnings",
3
- "version": "8.1.0",
3
+ "version": "8.3.0",
4
4
  "description": "GeoWeb warinings library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -9,17 +9,18 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@mui/material": "5.12.0",
12
- "@opengeoweb/api": "8.1.0",
13
- "@opengeoweb/core": "8.1.0",
14
- "@opengeoweb/form-fields": "8.1.0",
15
- "@opengeoweb/shared": "8.1.0",
16
- "@opengeoweb/store": "8.1.0",
17
- "@opengeoweb/theme": "8.1.0",
18
- "@opengeoweb/webmap": "8.1.0",
19
- "@opengeoweb/webmap-react": "8.1.0",
12
+ "@opengeoweb/api": "8.3.0",
13
+ "@opengeoweb/core": "8.3.0",
14
+ "@opengeoweb/form-fields": "8.3.0",
15
+ "@opengeoweb/shared": "8.3.0",
16
+ "@opengeoweb/store": "8.3.0",
17
+ "@opengeoweb/theme": "8.3.0",
18
+ "@opengeoweb/webmap": "8.3.0",
19
+ "@opengeoweb/webmap-react": "8.3.0",
20
+ "@redux-eggs/redux-toolkit": "2.2.0",
21
+ "@redux-eggs/saga-extension": "2.2.0",
20
22
  "@reduxjs/toolkit": "1.9.5",
21
23
  "axios": "1.5.0",
22
- "immer": "9.0.21",
23
24
  "lodash": "4.17.21",
24
25
  "react": "18.2.0",
25
26
  "react-hook-form": "7.46.2",
package/src/index.d.ts CHANGED
@@ -2,4 +2,5 @@ export * from './lib/components/ObjectManager';
2
2
  export * from './lib/components/WarningsModuleProvider';
3
3
  export * from './lib/components/DrawingTool';
4
4
  export * from './lib/components/DrawingToolForm';
5
+ export * from './lib/components/PublicWarnings';
5
6
  export * from './lib/store/config';
@@ -4,4 +4,3 @@ declare const _default: {
4
4
  };
5
5
  export default _default;
6
6
  export declare const WarningsDemo: () => React.ReactElement;
7
- export declare const DrawingsDemo: () => React.ReactElement;
@@ -3,5 +3,7 @@ declare const _default: {
3
3
  title: string;
4
4
  };
5
5
  export default _default;
6
- export declare const SaveDrawingError: () => React.ReactElement;
7
- export declare const DeleteDrawingError: () => React.ReactElement;
6
+ export declare const ErrorSaveDrawing: () => React.ReactElement;
7
+ export declare const ErrorGetList: () => React.ReactElement;
8
+ export declare const ErrorEditDrawing: () => React.ReactElement;
9
+ export declare const ErrorDeleteDrawing: () => React.ReactElement;
@@ -3,7 +3,7 @@ declare const _default: {
3
3
  title: string;
4
4
  };
5
5
  export default _default;
6
- export declare const DrawingToolDockedLight: {
6
+ export declare const DrawingToolLight: {
7
7
  (): React.ReactElement;
8
8
  parameters: {
9
9
  zeplinLink: {
@@ -13,7 +13,7 @@ export declare const DrawingToolDockedLight: {
13
13
  };
14
14
  storyName: string;
15
15
  };
16
- export declare const DrawingToolDockedDark: {
16
+ export declare const DrawingToolDark: {
17
17
  (): React.ReactElement;
18
18
  parameters: {
19
19
  zeplinLink: {
@@ -1,13 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { uiTypes } from '@opengeoweb/store';
3
- export declare const getDialogType: (mapId: string, isMultiMap: boolean, isDocked: boolean) => string;
3
+ export declare const getDialogType: (mapId: string, isMultiMap: boolean) => string;
4
4
  interface DrawingToolConnectProps {
5
5
  mapId?: string;
6
6
  bounds?: string;
7
7
  title?: string;
8
8
  showMapIdInTitle?: boolean;
9
9
  isMultiMap?: boolean;
10
- isDocked?: boolean;
11
10
  source?: uiTypes.Source;
12
11
  }
13
12
  declare const DrawingToolConnect: React.FC<DrawingToolConnectProps>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { HeaderSize, DialogPosition, DialogSize } from '@opengeoweb/shared';
2
+ import { HeaderSize, Position, DraggableSize } from '@opengeoweb/shared';
3
3
  import { uiTypes } from '@opengeoweb/store';
4
4
  interface DrawingToolDialogProps {
5
5
  bounds?: string;
@@ -10,9 +10,8 @@ interface DrawingToolDialogProps {
10
10
  order?: number;
11
11
  source?: uiTypes.Source;
12
12
  isLoading?: boolean;
13
- isDocked?: boolean;
14
- size?: DialogSize;
15
- startPosition?: DialogPosition;
13
+ size?: DraggableSize;
14
+ startPosition?: Position;
16
15
  setFocused?: (focused: boolean) => void;
17
16
  headerSize?: HeaderSize;
18
17
  children: React.ReactNode;
@@ -1,6 +1,4 @@
1
1
  import { uiTypes } from '@opengeoweb/store';
2
- export declare const objectDialogType = uiTypes.DialogTypes.ObjectManager;
3
- export declare const drawingDialogType = uiTypes.DialogTypes.DrawingTool;
4
2
  export declare const useCloseDrawDialog: ({ mapId, source, }: {
5
3
  mapId: string;
6
4
  source?: uiTypes.Source | undefined;
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
- import { HeaderSize, DialogPosition, DialogSize } from '@opengeoweb/shared';
2
+ import { HeaderSize, Position, DraggableSize } from '@opengeoweb/shared';
3
3
  import { uiTypes } from '@opengeoweb/store';
4
4
  import { DrawingListItem } from '../../store/drawings/types';
5
+ export declare const BUTTON_ADD_OBJECT = "Add a new object";
5
6
  export declare const ObjectManager: React.FC<{
6
7
  bounds?: string;
7
8
  title?: string;
@@ -10,14 +11,16 @@ export declare const ObjectManager: React.FC<{
10
11
  isOpen: boolean;
11
12
  order?: number;
12
13
  source?: uiTypes.Source;
13
- size?: DialogSize;
14
- startPosition?: DialogPosition;
14
+ size?: DraggableSize;
15
+ startPosition?: Position;
15
16
  setFocused?: (focused: boolean) => void;
16
17
  headerSize?: HeaderSize;
17
18
  drawingListItems: DrawingListItem[];
18
19
  onClickDrawing?: (drawing: DrawingListItem) => void;
19
20
  onEditDrawing?: (drawingId: string) => void;
20
21
  onDeleteDrawing?: (drawingId: string) => void;
22
+ onShareObject?: (object: DrawingListItem) => void;
23
+ onCreateNewObject?: () => void;
21
24
  activeDrawingId?: string;
22
25
  error?: string;
23
26
  isLoading?: boolean;
@@ -31,3 +31,12 @@ export declare const ObjectManagerDarkNoResults: {
31
31
  (): React.ReactElement;
32
32
  storyName: string;
33
33
  };
34
+ export declare const ObjectManagerLoading: () => React.ReactElement;
35
+ export declare const ObjectManagerErrorLight: {
36
+ (): React.ReactElement;
37
+ storyName: string;
38
+ };
39
+ export declare const ObjectManagerErrorDark: {
40
+ (): React.ReactElement;
41
+ storyName: string;
42
+ };
@@ -0,0 +1,19 @@
1
+ import { FC } from 'react';
2
+ import { DrawingListItem } from '../../store/drawings/types';
3
+ export declare const NO_OBJECTS_FOUND = "No objects found";
4
+ export declare const BUTTON_EDIT = "Edit";
5
+ export declare const BUTTON_DELETE = "Delete";
6
+ export declare const BUTTON_SHARE = "Share";
7
+ export declare const BUTTON_AIRMET = "AIRMET";
8
+ export declare const BUTTON_SIGMET = "SIGMET";
9
+ export declare const BUTTON_PUBLIC_WARNING = "PUBLIC WARNING";
10
+ export declare const MENU_SHARE = "Share object to";
11
+ export declare const Objects: FC<{
12
+ objects: DrawingListItem[];
13
+ onClickObject: (object: DrawingListItem) => void;
14
+ onClickEdit: (objectId: string) => void;
15
+ onClickDelete: (drawingId: string) => void;
16
+ onClickShare: (object: DrawingListItem) => void;
17
+ activeObject: string;
18
+ isLoading?: boolean;
19
+ }>;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { DialogPosition, DialogSize, HeaderSize } from '@opengeoweb/shared';
2
+ import { Position, DraggableSize, HeaderSize } from '@opengeoweb/shared';
3
3
  import { uiTypes } from '@opengeoweb/store';
4
- export declare const DIALOG_TITLE = "Public warnings";
4
+ export declare const DIALOG_TITLE = "Public Warning";
5
5
  export declare const PublicWarnings: React.FC<{
6
6
  bounds?: string;
7
7
  title?: string;
@@ -10,8 +10,9 @@ export declare const PublicWarnings: React.FC<{
10
10
  isOpen: boolean;
11
11
  order?: number;
12
12
  source?: uiTypes.Source;
13
- size?: DialogSize;
14
- startPosition?: DialogPosition;
13
+ size?: DraggableSize;
14
+ startPosition?: Position;
15
15
  setFocused?: (focused: boolean) => void;
16
16
  headerSize?: HeaderSize;
17
+ children: React.ReactNode;
17
18
  }>;
@@ -5,9 +5,29 @@ declare const _default: {
5
5
  export default _default;
6
6
  export declare const PublicWarningsLight: {
7
7
  (): React.ReactElement;
8
+ parameters: {
9
+ zeplinLink: {
10
+ name: string;
11
+ link: string;
12
+ }[];
13
+ };
8
14
  storyName: string;
9
15
  };
10
16
  export declare const PublicWarningsDark: {
17
+ (): React.ReactElement;
18
+ parameters: {
19
+ zeplinLink: {
20
+ name: string;
21
+ link: string;
22
+ }[];
23
+ };
24
+ storyName: string;
25
+ };
26
+ export declare const PublicWarningsLightBig: {
27
+ (): React.ReactElement;
28
+ storyName: string;
29
+ };
30
+ export declare const PublicWarningsDarkBig: {
11
31
  (): React.ReactElement;
12
32
  storyName: string;
13
33
  };
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
2
  import { uiTypes } from '@opengeoweb/store';
3
- export declare const publicWarningDialogType = uiTypes.DialogTypes.PublicWarnings;
3
+ import { Position } from '@opengeoweb/shared';
4
4
  export declare const PublicWarningsConnect: React.FC<{
5
5
  bounds?: string;
6
6
  source?: uiTypes.Source;
7
+ startPosition?: Position;
7
8
  }>;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ export declare const LABEL_AREA = "Area";
3
+ export declare const BUTTON_ADD_OBJECT = "Add object";
4
+ export declare const BUTTON_DELETE = "Delete";
5
+ export declare const BUTTON_VIEW = "View";
6
+ export declare const BUTTON_EDIT = "Edit";
7
+ export declare const OBJECTS_MENU = "Object options";
8
+ export declare const NO_OBJECT = "No object selected";
9
+ export declare const formatDate: (lastUpdatedTime: string) => string;
10
+ export declare const AreaField: React.FC<{
11
+ onEditObject: () => void;
12
+ onViewObject: () => void;
13
+ onDeleteObject: () => void;
14
+ onAddObject: () => void;
15
+ isDisabled?: boolean;
16
+ id?: string;
17
+ lastUpdatedTime?: string;
18
+ objectName?: string;
19
+ }>;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const AreaFieldLight: {
7
+ (): React.ReactElement;
8
+ storyName: string;
9
+ };
10
+ export declare const AreaFieldDark: {
11
+ (): React.ReactElement;
12
+ storyName: string;
13
+ };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const DescriptionField: React.FC;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const DescriptionFieldLight: {
7
+ (): React.ReactElement;
8
+ storyName: string;
9
+ };
10
+ export declare const DescriptionFieldDark: {
11
+ (): React.ReactElement;
12
+ storyName: string;
13
+ };
@@ -0,0 +1,27 @@
1
+ import * as React from 'react';
2
+ import { BaseDrawingListItem, PublicWarningsFormDataType } from '../../store/drawings/types';
3
+ export declare const getEmptyPublicWarning: (object?: BaseDrawingListItem) => PublicWarningsFormDataType;
4
+ export declare const LABEL_PHENOMENON = "Phenomenon";
5
+ export declare const LABEL_VALID_FROM = "Valid from";
6
+ export declare const LABEL_VALID_UNTIL = "Valid until";
7
+ export declare const LABEL_CURRENT = "Current";
8
+ export declare const LABEL_EARLY = "Early";
9
+ export declare const LABEL_LEVEL = "Level";
10
+ export declare const LABEL_PROBABILITY = "Probability";
11
+ export declare const BUTTON_CLEAR = "Clear";
12
+ export declare const BUTTON_SAVE = "Save";
13
+ export declare const BUTTON_PUBLISH = "Publish";
14
+ export declare const warningPhenomena: {
15
+ title: string;
16
+ key: string;
17
+ icon: React.JSX.Element;
18
+ }[];
19
+ interface FormProps {
20
+ isDisabled?: boolean;
21
+ object?: BaseDrawingListItem;
22
+ }
23
+ interface PublicWarningsFormProps extends FormProps {
24
+ publicWarningDetails?: PublicWarningsFormDataType;
25
+ }
26
+ export declare const PublicWarningsForm: React.FC<PublicWarningsFormProps>;
27
+ export {};
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const PublicWarningsFormDemo: {
7
+ (): React.ReactElement;
8
+ storyName: string;
9
+ };
10
+ export declare const PublicWarningsFormDemoDark: {
11
+ (): React.ReactElement;
12
+ storyName: string;
13
+ };
14
+ export declare const PublicWarningsEmptyFormDemo: {
15
+ (): React.ReactElement;
16
+ storyName: string;
17
+ };
18
+ export declare const PublicWarningsEmptyFormDemoDark: {
19
+ (): React.ReactElement;
20
+ storyName: string;
21
+ };
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const PublicWarningsFormConnect: React.FC;
@@ -0,0 +1,2 @@
1
+ export * from './PublicWarningsForm';
2
+ export * from './PublicWarningsFormConnect';
@@ -1,13 +1,16 @@
1
1
  import { CoreAppStore } from '@opengeoweb/store';
2
2
  import drawingSagas from './drawings/sagas';
3
3
  import { DrawState } from './drawings/types';
4
+ import { PublicWarningFormState } from './publicWarningForm/reducer';
4
5
  export interface WarningModuleStore extends CoreAppStore {
5
6
  drawings?: DrawState;
7
+ publicWarningForm?: PublicWarningFormState;
6
8
  }
7
9
  export declare const drawingModuleConfig: {
8
10
  id: string;
9
11
  reducersMap: {
10
12
  drawings: import("redux").Reducer<DrawState, import("redux").AnyAction>;
13
+ publicWarningForm: import("redux").Reducer<PublicWarningFormState, import("redux").AnyAction>;
11
14
  };
12
15
  sagas: (typeof drawingSagas)[];
13
16
  };
@@ -1,9 +1,6 @@
1
- import { uiTypes } from '@opengeoweb/store';
2
1
  import { SagaIterator } from 'redux-saga';
3
2
  import { SubmitDrawValuesPayload } from './types';
4
3
  export declare const getSnackbarMessage: (objectName: string, id: string) => string;
5
- export declare const drawDialogType = uiTypes.DialogTypes.DrawingTool;
6
- export declare const objectDialogType = uiTypes.DialogTypes.ObjectManager;
7
4
  export declare function submitDrawValuesSaga({ payload, }: {
8
5
  payload: SubmitDrawValuesPayload;
9
6
  }): SagaIterator;
@@ -6,10 +6,12 @@ export interface DrawItem {
6
6
  }
7
7
  export type DrawState = EntityState<DrawItem>;
8
8
  export type DrawingScope = 'user' | 'global';
9
- export interface DrawingListItem {
9
+ export interface BaseDrawingListItem {
10
10
  id: string;
11
11
  objectName: string;
12
12
  lastUpdatedTime: string;
13
+ }
14
+ export interface DrawingListItem extends BaseDrawingListItem {
13
15
  scope: DrawingScope;
14
16
  geoJSON: GeoJSON.FeatureCollection;
15
17
  }
@@ -28,3 +30,14 @@ export type SubmitDrawValuesPayload = {
28
30
  lastUpdatedTime?: string;
29
31
  scope: DrawingScope;
30
32
  };
33
+ export type PublicWarningsFormDataType = {
34
+ phenomenon: string;
35
+ validFrom: string;
36
+ validUntil: string;
37
+ leadtime: string;
38
+ level: string;
39
+ probability: number;
40
+ descriptionOriginal: string;
41
+ descriptionTranslation: string;
42
+ objectId: string;
43
+ };
@@ -0,0 +1,3 @@
1
+ import { uiTypes } from '@opengeoweb/store';
2
+ export declare const objectDialogType = uiTypes.DialogTypes.ObjectManager;
3
+ export declare const drawingDialogType = uiTypes.DialogTypes.DrawingTool;
@@ -0,0 +1,12 @@
1
+ import { PayloadAction, Draft } from '@reduxjs/toolkit';
2
+ import { BaseDrawingListItem } from '../drawings/types';
3
+ export interface PublicWarningFormState {
4
+ object?: BaseDrawingListItem;
5
+ }
6
+ export declare const initialState: PublicWarningFormState;
7
+ export declare const reducer: import("redux").Reducer<PublicWarningFormState, import("redux").AnyAction>;
8
+ export declare const publicWarningActions: import("@reduxjs/toolkit").CaseReducerActions<{
9
+ setFormValues: (draft: Draft<PublicWarningFormState>, action: PayloadAction<{
10
+ object: BaseDrawingListItem;
11
+ }>) => void;
12
+ }, "publicWarningForm">;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import { WarningModuleStore } from '../config';
2
+ import { PublicWarningFormState } from './reducer';
3
+ export declare const getPublicWarningStore: (store: WarningModuleStore) => PublicWarningFormState;
4
+ export declare const getPublicWarningObject: ((state: WarningModuleStore) => import("../drawings/types").BaseDrawingListItem | undefined) & import("reselect").OutputSelectorFields<(args_0: PublicWarningFormState) => import("../drawings/types").BaseDrawingListItem | undefined, {
5
+ clearCache: () => void;
6
+ }> & {
7
+ clearCache: () => void;
8
+ };
@@ -0,0 +1,2 @@
1
+ import { uiTypes } from '@opengeoweb/store';
2
+ export declare const publicWarningDialogType = uiTypes.DialogTypes.PublicWarnings;
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
+ import { uiTypes } from '@opengeoweb/store';
2
3
  export declare const AppHamburgerMenu: React.FC<{
3
4
  mapId: string;
4
5
  }>;
6
+ export declare const MapWithWarnings: React.FC<{
7
+ mapId: string;
8
+ dialogType?: uiTypes.DialogType;
9
+ }>;
@@ -0,0 +1,2 @@
1
+ export declare const DATE_FORMAT = "dd/MM/yyyy HH:mm";
2
+ export declare const DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss'Z'";
@@ -1,10 +0,0 @@
1
- import { FC } from 'react';
2
- import { DrawingListItem } from '../../store/drawings/types';
3
- export declare const NO_OBJECTS_FOUND = "No objects found";
4
- export declare const Drawings: FC<{
5
- drawings: DrawingListItem[];
6
- onClickDrawing: (drawing: DrawingListItem) => void;
7
- onClickEdit: (drawingId: string) => void;
8
- onClickDelete: (drawingId: string) => void;
9
- activeDrawing: string;
10
- }>;