@opengeoweb/warnings 15.3.0 → 16.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 +7 -4
- package/package.json +12 -12
package/index.esm.js
CHANGED
|
@@ -2209,7 +2209,8 @@ var isWarningWithinInterval = function isWarningWithinInterval(warning, timeFilt
|
|
|
2209
2209
|
date: rangeStart.getUTCDate() + 1,
|
|
2210
2210
|
hours: 0,
|
|
2211
2211
|
minutes: 0,
|
|
2212
|
-
seconds: 0
|
|
2212
|
+
seconds: 0,
|
|
2213
|
+
milliseconds: 0
|
|
2213
2214
|
});
|
|
2214
2215
|
} else {
|
|
2215
2216
|
// TOMORROW
|
|
@@ -2217,16 +2218,18 @@ var isWarningWithinInterval = function isWarningWithinInterval(warning, timeFilt
|
|
|
2217
2218
|
date: now.getUTCDate() + 1,
|
|
2218
2219
|
hours: 0,
|
|
2219
2220
|
minutes: 0,
|
|
2220
|
-
seconds: 0
|
|
2221
|
+
seconds: 0,
|
|
2222
|
+
milliseconds: 0
|
|
2221
2223
|
});
|
|
2222
2224
|
rangeEnd = dateUtils.set(rangeStart, {
|
|
2223
2225
|
date: rangeStart.getUTCDate() + 1,
|
|
2224
2226
|
hours: 0,
|
|
2225
2227
|
minutes: 0,
|
|
2226
|
-
seconds: 0
|
|
2228
|
+
seconds: 0,
|
|
2229
|
+
milliseconds: 0
|
|
2227
2230
|
});
|
|
2228
2231
|
}
|
|
2229
|
-
return warningEnd >= rangeStart && warningStart
|
|
2232
|
+
return warningEnd >= rangeStart && warningStart < rangeEnd;
|
|
2230
2233
|
};
|
|
2231
2234
|
var getApiParams = function getApiParams(timeFilter) {
|
|
2232
2235
|
if (timeFilter.mode === TimeFilterMode.all) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/warnings",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"description": "GeoWeb warinings library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,24 +8,24 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/api": "
|
|
12
|
-
"@opengeoweb/shared": "
|
|
13
|
-
"@opengeoweb/store": "
|
|
14
|
-
"@opengeoweb/webmap-react": "
|
|
11
|
+
"@opengeoweb/api": "16.0.0",
|
|
12
|
+
"@opengeoweb/shared": "16.0.0",
|
|
13
|
+
"@opengeoweb/store": "16.0.0",
|
|
14
|
+
"@opengeoweb/webmap-react": "16.0.0",
|
|
15
15
|
"@tanstack/react-query": "^5.85.5",
|
|
16
16
|
"react-redux": "^9.2.0",
|
|
17
|
-
"@opengeoweb/theme": "
|
|
18
|
-
"@opengeoweb/form-fields": "
|
|
17
|
+
"@opengeoweb/theme": "16.0.0",
|
|
18
|
+
"@opengeoweb/form-fields": "16.0.0",
|
|
19
19
|
"react-hook-form": "^7.50.1",
|
|
20
20
|
"lodash": "^4.17.21",
|
|
21
21
|
"@reduxjs/toolkit": "^2.6.1",
|
|
22
|
-
"@opengeoweb/snackbar": "
|
|
22
|
+
"@opengeoweb/snackbar": "16.0.0",
|
|
23
23
|
"react-window": "^2.2.6",
|
|
24
24
|
"axios": "^1.7.7",
|
|
25
|
-
"@opengeoweb/core": "
|
|
26
|
-
"@opengeoweb/webmap": "
|
|
27
|
-
"@opengeoweb/authentication": "
|
|
28
|
-
"@opengeoweb/sigmet-airmet": "
|
|
25
|
+
"@opengeoweb/core": "16.0.0",
|
|
26
|
+
"@opengeoweb/webmap": "16.0.0",
|
|
27
|
+
"@opengeoweb/authentication": "16.0.0",
|
|
28
|
+
"@opengeoweb/sigmet-airmet": "16.0.0",
|
|
29
29
|
"react-i18next": "^15.1.1",
|
|
30
30
|
"i18next": "^25.0.1",
|
|
31
31
|
"@mui/material": "^7.0.1",
|