@opengeoweb/sigmet-airmet 1.1.4 → 1.2.3

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.
@@ -1 +1 @@
1
- export declare const useStyles: (props?: any) => Record<"productForm" | "label" | "body" | "volcanicField" | "surfaceVisibility" | "surfaceWind" | "levelField" | "movement" | "latitude" | "unit" | "quitDrawModeMessage" | "drawSection", string>;
1
+ export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"productForm" | "label" | "body" | "volcanicField" | "surfaceVisibility" | "surfaceWind" | "levelField" | "movement" | "latitude" | "unit" | "quitDrawModeMessage" | "drawSection">;
@@ -25,8 +25,9 @@ export declare const isLevelLower: (ownValue: number | string, ownUnit: LevelUni
25
25
  export declare const getDialogtitle: (product: Sigmet | CancelSigmet | Airmet | CancelAirmet, productType: ProductType) => string;
26
26
  export declare const getProductFormMode: (canBeOptions: ProductCanbe[], productListItem: SigmetFromBackend | AirmetFromBackend) => string;
27
27
  export declare const getProductFormLifecycleButtons: (canBe: string[], onButtonPress: (newStatus: ProductStatus | 'DISCARDED') => void) => React.ReactElement;
28
+ declare type Product = Sigmet | Airmet | CancelSigmet | CancelAirmet;
28
29
  export declare const hasValue: (value: number) => boolean;
29
- export declare const removeEmptyNumberFieldValues: <T extends Sigmet | CancelSigmet | Airmet | CancelAirmet>(product: T) => T;
30
+ export declare const removeEmptyNumberFieldValues: <T extends Product>(product: T) => T;
30
31
  export declare const createSigmetPostParameter: (sigmetToPost: Sigmet | CancelSigmet, newStatus: ProductStatus, previousUuid: string) => SigmetFromFrontend;
31
32
  export declare const createAirmetPostParameter: (airmetToPost: Airmet | CancelAirmet, newStatus: ProductStatus, previousUuid: string) => AirmetFromFrontend;
32
33
  export declare const useDelayedFormValues: (getValues: () => void, register: () => void, delay?: number) => [unknown, () => void];
@@ -37,3 +38,4 @@ export declare const getConfirmationDialogCancelLabel: (action: ProductActions)
37
38
  export declare const getProductIssueDate: (initialProduct: Sigmet | Airmet, initialCancelProduct: CancelSigmet | CancelAirmet) => string;
38
39
  export declare const getAllowedUnits: (selectedFIR: string, allowedUnits: FirAllowedUnits, config_type: string, unitType: Record<string, string>) => Record<string, string>;
39
40
  export declare const rewindGeometry: (geoJSON: FeatureCollection) => FeatureCollection;
41
+ export {};
@@ -0,0 +1,2 @@
1
+ declare const store: import("redux-dynamic-modules").IModuleStore<unknown>;
2
+ export { store };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/sigmet-airmet",
3
- "version": "1.1.4",
3
+ "version": "1.2.3",
4
4
  "description": "GeoWeb Sigmet/Airmet library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,42 +13,36 @@
13
13
  "dependencies": {
14
14
  "react": "16.14.0",
15
15
  "@material-ui/core": "^4.11.0",
16
- "@opengeoweb/theme": "1.1.4",
17
- "@dnd-kit/utilities": "^2.0.0",
18
- "@dnd-kit/modifiers": "^3.0.0",
19
- "@dnd-kit/core": "^3.1.1",
20
- "@dnd-kit/sortable": "^4.0.0",
21
- "@material-ui/icons": "^4.9.1",
16
+ "@opengeoweb/theme": "1.2.3",
22
17
  "@material-ui/lab": "^4.0.0-alpha.56",
23
- "@opengeoweb/core": "1.1.4",
18
+ "@material-ui/icons": "^4.9.1",
19
+ "@opengeoweb/core": "1.2.3",
24
20
  "react-intl": "^5.17.5",
25
21
  "react-redux": "7.2.2",
26
- "react-sortable-hoc": "^1.11.0",
27
- "@opengeoweb/webmap": "1.1.4",
22
+ "@opengeoweb/webmap": "1.2.3",
28
23
  "moment": "^2.29.0",
29
24
  "throttle-debounce": "^3.0.1",
30
25
  "proj4": "^2.6.2",
31
- "react-rnd": "^10.2.4",
32
- "@opengeoweb/shared": "1.1.4",
26
+ "react-sortable-hoc": "^1.11.0",
27
+ "@opengeoweb/shared": "1.2.3",
33
28
  "react-draggable": "^4.4.3",
34
29
  "re-resizable": "^6.9.0",
35
- "@opengeoweb/form-fields": "1.1.4",
30
+ "lodash": "^4.17.20",
31
+ "@opengeoweb/form-fields": "1.2.3",
36
32
  "react-hook-form": "^6.12.1",
37
33
  "@material-ui/pickers": "^3.2.10",
38
34
  "@date-io/moment": "^1.3.13",
39
35
  "moment-timezone": "^0.5.31",
40
- "lodash": "^4.17.20",
41
36
  "axios": "^0.21.0",
42
- "redux-dynamic-modules": "^5.2.0",
43
37
  "immer": "^9.0.2",
38
+ "redux-dynamic-modules": "^5.2.0",
44
39
  "lodash.clonedeep": "^4.5.0",
45
- "react-grid-layout": "^1.2.5",
46
40
  "redux-dynamic-modules-saga": "^5.2.0",
47
41
  "reselect": "^4.0.0",
48
42
  "redux": "^4.0.4",
49
43
  "redux-saga": "^1.1.3",
50
44
  "@turf/turf": "^5.1.6",
51
- "@opengeoweb/api": "1.1.4"
45
+ "@opengeoweb/api": "1.2.3"
52
46
  },
53
47
  "peerDependencies": {}
54
48
  }