@opengeoweb/warnings 9.15.0 → 9.16.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 +838 -744
- package/package.json +1 -2
- package/src/index.d.ts +2 -0
- package/src/lib/components/Providers/Providers.d.ts +0 -1
- package/src/lib/components/PublicWarningsForm/ProbabilityField/ProbabilityField.d.ts +7 -0
- package/src/lib/components/PublicWarningsForm/ProbabilityField/index.d.ts +1 -0
- package/src/lib/store/config.d.ts +0 -2
- package/src/lib/store/publicWarningForm/listener.d.ts +2 -0
- package/src/lib/store/publicWarnings/listener.d.ts +3 -0
- package/src/lib/store/publicWarnings/listener.spec.d.ts +1 -0
- package/src/lib/utils/i18n.d.ts +4 -0
- package/src/lib/store/publicWarningForm/sagas.d.ts +0 -14
- package/src/lib/store/publicWarnings/sagas.d.ts +0 -6
- /package/src/lib/{store/publicWarningForm/sagas.spec.d.ts → components/PublicWarningList/PublicWarningListConnect.editorToggle.integration.spec.d.ts} +0 -0
- /package/src/lib/{store/publicWarnings/sagas.spec.d.ts → components/PublicWarningsForm/ProbabilityField/ProbabilityField.spec.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/warnings",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.16.0",
|
|
4
4
|
"description": "GeoWeb warinings library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"@opengeoweb/form-fields": "*",
|
|
20
20
|
"react-hook-form": "^7.50.1",
|
|
21
21
|
"lodash": "^4.17.21",
|
|
22
|
-
"redux-saga": "^1.2.3",
|
|
23
22
|
"@reduxjs/toolkit": "^1.9.7",
|
|
24
23
|
"@opengeoweb/snackbar": "*",
|
|
25
24
|
"react-window": "^1.8.10",
|
package/src/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import warningsTranslations from '../locales/warnings.json';
|
|
1
2
|
export * from './lib/components/ObjectManager';
|
|
2
3
|
export * from './lib/components/WarningsModuleProvider';
|
|
3
4
|
export * from './lib/components/DrawingTool';
|
|
@@ -5,3 +6,4 @@ export * from './lib/components/DrawingToolForm';
|
|
|
5
6
|
export * from './lib/components/PublicWarningsFormDialog';
|
|
6
7
|
export * from './lib/components/ComponentsLookUp';
|
|
7
8
|
export * from './lib/store/config';
|
|
9
|
+
export { warningsTranslations };
|
|
@@ -15,6 +15,5 @@ export declare const WarningsThemeStoreProvider: React.FC<WarningsThemeStoreProv
|
|
|
15
15
|
interface WarningsTranslationsWrapperProps {
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
}
|
|
18
|
-
export declare const WarningsTranslationsWrapper: React.FC<WarningsTranslationsWrapperProps>;
|
|
19
18
|
export declare const WarningsI18nProvider: React.FC<WarningsTranslationsWrapperProps>;
|
|
20
19
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ProbabilityField';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import publicWarningFormSagas from './publicWarningForm/sagas';
|
|
2
1
|
export declare const drawingModuleConfig: {
|
|
3
2
|
id: string;
|
|
4
3
|
reducersMap: {
|
|
@@ -6,7 +5,6 @@ export declare const drawingModuleConfig: {
|
|
|
6
5
|
publicWarningForm: import("redux").Reducer<import("./publicWarningForm/reducer").PublicWarningFormState, import("redux").AnyAction>;
|
|
7
6
|
publicWarnings: import("redux").Reducer<import("./publicWarnings/types").PublicWarningsState, import("redux").AnyAction>;
|
|
8
7
|
};
|
|
9
|
-
sagas: (typeof publicWarningFormSagas)[];
|
|
10
8
|
middlewares: import("@reduxjs/toolkit").ListenerMiddleware<import("./types").WarningModuleStore, import("redux-thunk").ThunkDispatch<import("./types").WarningModuleStore, unknown, import("redux").AnyAction>, unknown>[];
|
|
11
9
|
};
|
|
12
10
|
export default drawingModuleConfig;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { WarningModuleStore } from '../types';
|
|
2
|
+
export declare const publicWarningFormListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WarningModuleStore, import("@reduxjs/toolkit").ThunkDispatch<WarningModuleStore, unknown, import("redux").AnyAction>, unknown>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { WarningModuleStore } from '../types';
|
|
2
|
+
export declare const getLastUpdatedTimeFormatted: () => string;
|
|
3
|
+
export declare const publicWarningsListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WarningModuleStore, import("@reduxjs/toolkit").ThunkDispatch<WarningModuleStore, unknown, import("redux").AnyAction>, unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/src/lib/utils/i18n.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ export declare const outsideComponentTranslations: {
|
|
|
65
65
|
"warning-phenomenon-low-temp": string;
|
|
66
66
|
"warning-phenomenon-funnel-cloud": string;
|
|
67
67
|
"warning-phenomenon-coastal-event": string;
|
|
68
|
+
"warning-probability-moderate-level-invalid": string;
|
|
68
69
|
"warning-valid-from": string;
|
|
69
70
|
"warning-valid-until": string;
|
|
70
71
|
"warning-valid-from-error-before-current": string;
|
|
@@ -167,6 +168,7 @@ export declare const outsideComponentTranslations: {
|
|
|
167
168
|
"warning-phenomenon-low-temp": string;
|
|
168
169
|
"warning-phenomenon-funnel-cloud": string;
|
|
169
170
|
"warning-phenomenon-coastal-event": string;
|
|
171
|
+
"warning-probability-moderate-level-invalid": string;
|
|
170
172
|
"warning-valid-from": string;
|
|
171
173
|
"warning-valid-until": string;
|
|
172
174
|
"warning-valid-from-error-before-current": string;
|
|
@@ -269,6 +271,7 @@ export declare const outsideComponentTranslations: {
|
|
|
269
271
|
"warning-phenomenon-low-temp": string;
|
|
270
272
|
"warning-phenomenon-funnel-cloud": string;
|
|
271
273
|
"warning-phenomenon-coastal-event": string;
|
|
274
|
+
"warning-probability-moderate-level-invalid": string;
|
|
272
275
|
"warning-valid-from": string;
|
|
273
276
|
"warning-valid-until": string;
|
|
274
277
|
"warning-valid-from-error-before-current": string;
|
|
@@ -371,6 +374,7 @@ export declare const outsideComponentTranslations: {
|
|
|
371
374
|
"warning-phenomenon-low-temp": string;
|
|
372
375
|
"warning-phenomenon-funnel-cloud": string;
|
|
373
376
|
"warning-phenomenon-coastal-event": string;
|
|
377
|
+
"warning-probability-moderate-level-invalid": string;
|
|
374
378
|
"warning-valid-from": string;
|
|
375
379
|
"warning-valid-until": string;
|
|
376
380
|
"warning-valid-from-error-before-current": string;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SagaIterator } from 'redux-saga';
|
|
2
|
-
import { publicWarningFormActions } from './reducer';
|
|
3
|
-
import { PublicWarning } from './types';
|
|
4
|
-
export declare function saveOrUpdateWarning(publicWarning: PublicWarning): SagaIterator<PublicWarning>;
|
|
5
|
-
export declare const getToggleEditorSuccessMessage: (isEditor: boolean) => string;
|
|
6
|
-
export declare function toggleEditorWarningSaga({ payload, }: ReturnType<typeof publicWarningFormActions.toggleEditorWarning>): SagaIterator;
|
|
7
|
-
export declare function publishWarningSaga({ payload, }: ReturnType<typeof publicWarningFormActions.publishWarning>): SagaIterator;
|
|
8
|
-
export declare function saveWarningSaga({ payload, }: ReturnType<typeof publicWarningFormActions.saveWarning>): SagaIterator;
|
|
9
|
-
export declare function successSaga({ payload, }: ReturnType<typeof publicWarningFormActions.publishWarningSuccess | typeof publicWarningFormActions.saveWarningSuccess>): SagaIterator;
|
|
10
|
-
export declare function errorSaga(message: string): SagaIterator;
|
|
11
|
-
export declare function toggleDialogLoadingSaga(isLoading: boolean): SagaIterator;
|
|
12
|
-
export declare function openDialogSaga(): SagaIterator;
|
|
13
|
-
declare function publicWarningRootSaga(): SagaIterator;
|
|
14
|
-
export default publicWarningRootSaga;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { SagaIterator } from 'redux-saga';
|
|
2
|
-
export declare const getLastUpdatedTimeFormatted: () => string;
|
|
3
|
-
export declare function fetchWarningsSaga(): SagaIterator;
|
|
4
|
-
export declare function refetchWarnings(): SagaIterator;
|
|
5
|
-
declare function publicWarnings(): SagaIterator;
|
|
6
|
-
export default publicWarnings;
|
|
File without changes
|