@opengeoweb/warnings 9.19.1 → 9.20.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/warnings",
3
- "version": "9.19.1",
3
+ "version": "9.20.2",
4
4
  "description": "GeoWeb warinings library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -9,7 +9,6 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@opengeoweb/api": "*",
12
- "@redux-eggs/redux-toolkit": "^2.2.0",
13
12
  "@opengeoweb/shared": "*",
14
13
  "@opengeoweb/store": "*",
15
14
  "@opengeoweb/webmap-react": "*",
@@ -37,4 +36,4 @@
37
36
  "module": "./index.esm.js",
38
37
  "type": "module",
39
38
  "main": "./index.esm.js"
40
- }
39
+ }
@@ -12,7 +12,6 @@ interface DrawingToolDialogProps {
12
12
  isLoading?: boolean;
13
13
  size?: DraggableSize;
14
14
  startPosition?: Position;
15
- setFocused?: (focused: boolean) => void;
16
15
  headerSize?: HeaderSize;
17
16
  children: React.ReactNode;
18
17
  }
@@ -19,7 +19,6 @@ export interface DrawingToolFormContentsProps {
19
19
  isDirty: boolean;
20
20
  errors: FieldErrors<FieldValues>;
21
21
  onChangeDrawMode: (newMode: DrawMode) => void;
22
- onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
23
22
  onChangeOpacity: (event: SelectChangeEvent) => void;
24
23
  onBlurName: (event: React.FocusEvent<HTMLInputElement>) => void;
25
24
  onSubmit: () => void;
@@ -12,7 +12,6 @@ export declare const ObjectManager: React.FC<{
12
12
  source?: uiTypes.Source;
13
13
  size?: DraggableSize;
14
14
  startPosition?: Position;
15
- setFocused?: (focused: boolean) => void;
16
15
  headerSize?: HeaderSize;
17
16
  drawingListItems: DrawingListItem[];
18
17
  onClickDrawing?: (drawing: DrawingListItem) => void;
@@ -5,6 +5,7 @@ export interface ConfirmDialogProps {
5
5
  request: () => Promise<void>;
6
6
  confirmLabel: string;
7
7
  callback: (data?: unknown) => void;
8
+ isLocked?: boolean;
8
9
  }
9
10
  export declare const ConfirmDeleteWarningDialog: React.FC<{
10
11
  onClose: () => void;
@@ -14,7 +14,7 @@ interface WarningStatusProps {
14
14
  warnings: PublicWarning[];
15
15
  onSelectWarning?: (warning: PublicWarning) => void;
16
16
  onEditWarning?: (warning: PublicWarning) => void;
17
- onDeleteWarning?: (warningId: string) => void;
17
+ onDeleteWarning?: (warningId: string, warningEditor?: string) => void;
18
18
  onDeleteReviewWarning?: (warning: PublicWarning) => void;
19
19
  }
20
20
  export declare const PublicWarningList: React.FC<{
@@ -11,7 +11,6 @@ export declare const PublicWarningsFormDialog: React.FC<{
11
11
  source?: uiTypes.Source;
12
12
  size?: DraggableSize;
13
13
  startPosition?: Position;
14
- setFocused?: (focused: boolean) => void;
15
14
  headerSize?: HeaderSize;
16
15
  children: React.ReactNode;
17
16
  isLoading?: boolean;