@opengeoweb/cap 12.1.1 → 12.2.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 +47 -30
- package/package.json +9 -9
package/index.esm.js
CHANGED
|
@@ -12,7 +12,7 @@ import { ConfigurableMapConnect } from '@opengeoweb/core';
|
|
|
12
12
|
import '@opengeoweb/timeslider';
|
|
13
13
|
import { isOpenLayersEnabled, OpenLayersFeatureLayer, genericOpenLayersFeatureStyle, MapViewLayer, MapWarningProperties } from '@opengeoweb/webmap-react';
|
|
14
14
|
import { GeoJSON } from 'ol/format';
|
|
15
|
-
import { mapListener, serviceListener, layersListener, syncGroupsListener, genericListener, openlayersListener,
|
|
15
|
+
import { mapListener, serviceListener, layersListener, syncGroupsListener, genericListener, openlayersListener, syncGroupsReducer, layerReducer, serviceReducer, mapReducer, mapSelectors } from '@opengeoweb/store';
|
|
16
16
|
import { webmapUtils } from '@opengeoweb/webmap';
|
|
17
17
|
|
|
18
18
|
var en = {
|
|
@@ -208,7 +208,7 @@ function _asyncToGenerator(n) {
|
|
|
208
208
|
function _createForOfIteratorHelper(r, e) {
|
|
209
209
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
210
210
|
if (!t) {
|
|
211
|
-
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e
|
|
211
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
|
|
212
212
|
t && (r = t);
|
|
213
213
|
var n = 0,
|
|
214
214
|
F = function () {};
|
|
@@ -216,9 +216,9 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
216
216
|
s: F,
|
|
217
217
|
n: function () {
|
|
218
218
|
return n >= r.length ? {
|
|
219
|
-
done:
|
|
219
|
+
done: true
|
|
220
220
|
} : {
|
|
221
|
-
done:
|
|
221
|
+
done: false,
|
|
222
222
|
value: r[n++]
|
|
223
223
|
};
|
|
224
224
|
},
|
|
@@ -231,8 +231,8 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
231
231
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
232
232
|
}
|
|
233
233
|
var o,
|
|
234
|
-
a =
|
|
235
|
-
u =
|
|
234
|
+
a = true,
|
|
235
|
+
u = false;
|
|
236
236
|
return {
|
|
237
237
|
s: function () {
|
|
238
238
|
t = t.call(r);
|
|
@@ -242,7 +242,7 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
242
242
|
return a = r.done, r;
|
|
243
243
|
},
|
|
244
244
|
e: function (r) {
|
|
245
|
-
u =
|
|
245
|
+
u = true, o = r;
|
|
246
246
|
},
|
|
247
247
|
f: function () {
|
|
248
248
|
try {
|
|
@@ -256,9 +256,9 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
256
256
|
function _defineProperty(e, r, t) {
|
|
257
257
|
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
258
258
|
value: t,
|
|
259
|
-
enumerable:
|
|
260
|
-
configurable:
|
|
261
|
-
writable:
|
|
259
|
+
enumerable: true,
|
|
260
|
+
configurable: true,
|
|
261
|
+
writable: true
|
|
262
262
|
}) : e[r] = t, e;
|
|
263
263
|
}
|
|
264
264
|
function _iterableToArray(r) {
|
|
@@ -272,12 +272,12 @@ function _iterableToArrayLimit(r, l) {
|
|
|
272
272
|
i,
|
|
273
273
|
u,
|
|
274
274
|
a = [],
|
|
275
|
-
f =
|
|
276
|
-
o =
|
|
275
|
+
f = true,
|
|
276
|
+
o = false;
|
|
277
277
|
try {
|
|
278
278
|
if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
279
279
|
} catch (r) {
|
|
280
|
-
o =
|
|
280
|
+
o = true, n = r;
|
|
281
281
|
} finally {
|
|
282
282
|
try {
|
|
283
283
|
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
@@ -307,7 +307,7 @@ function ownKeys(e, r) {
|
|
|
307
307
|
function _objectSpread2(e) {
|
|
308
308
|
for (var r = 1; r < arguments.length; r++) {
|
|
309
309
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
310
|
-
r % 2 ? ownKeys(Object(t),
|
|
310
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
311
311
|
_defineProperty(e, r, t[r]);
|
|
312
312
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
313
313
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
@@ -333,9 +333,9 @@ function _regeneratorRuntime() {
|
|
|
333
333
|
function define(t, e, r) {
|
|
334
334
|
return Object.defineProperty(t, e, {
|
|
335
335
|
value: r,
|
|
336
|
-
enumerable:
|
|
337
|
-
configurable:
|
|
338
|
-
writable:
|
|
336
|
+
enumerable: true,
|
|
337
|
+
configurable: true,
|
|
338
|
+
writable: true
|
|
339
339
|
}), t[e];
|
|
340
340
|
}
|
|
341
341
|
try {
|
|
@@ -428,7 +428,7 @@ function _regeneratorRuntime() {
|
|
|
428
428
|
if ("throw" === i) throw a;
|
|
429
429
|
return {
|
|
430
430
|
value: t,
|
|
431
|
-
done:
|
|
431
|
+
done: true
|
|
432
432
|
};
|
|
433
433
|
}
|
|
434
434
|
for (n.method = i, n.arg = a;;) {
|
|
@@ -479,7 +479,7 @@ function _regeneratorRuntime() {
|
|
|
479
479
|
function Context(t) {
|
|
480
480
|
this.tryEntries = [{
|
|
481
481
|
tryLoc: "root"
|
|
482
|
-
}], t.forEach(pushTryEntry, this), this.reset(
|
|
482
|
+
}], t.forEach(pushTryEntry, this), this.reset(true);
|
|
483
483
|
}
|
|
484
484
|
function values(e) {
|
|
485
485
|
if (e || "" === e) {
|
|
@@ -489,8 +489,8 @@ function _regeneratorRuntime() {
|
|
|
489
489
|
if (!isNaN(e.length)) {
|
|
490
490
|
var o = -1,
|
|
491
491
|
i = function next() {
|
|
492
|
-
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done =
|
|
493
|
-
return next.value = t, next.done =
|
|
492
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = false, next;
|
|
493
|
+
return next.value = t, next.done = true, next;
|
|
494
494
|
};
|
|
495
495
|
return i.next = i;
|
|
496
496
|
}
|
|
@@ -499,10 +499,10 @@ function _regeneratorRuntime() {
|
|
|
499
499
|
}
|
|
500
500
|
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
501
501
|
value: GeneratorFunctionPrototype,
|
|
502
|
-
configurable:
|
|
502
|
+
configurable: true
|
|
503
503
|
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
504
504
|
value: GeneratorFunction,
|
|
505
|
-
configurable:
|
|
505
|
+
configurable: true
|
|
506
506
|
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
507
507
|
var e = "function" == typeof t && t.constructor;
|
|
508
508
|
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
@@ -531,17 +531,17 @@ function _regeneratorRuntime() {
|
|
|
531
531
|
return r.reverse(), function next() {
|
|
532
532
|
for (; r.length;) {
|
|
533
533
|
var t = r.pop();
|
|
534
|
-
if (t in e) return next.value = t, next.done =
|
|
534
|
+
if (t in e) return next.value = t, next.done = false, next;
|
|
535
535
|
}
|
|
536
|
-
return next.done =
|
|
536
|
+
return next.done = true, next;
|
|
537
537
|
};
|
|
538
538
|
}, e.values = values, Context.prototype = {
|
|
539
539
|
constructor: Context,
|
|
540
540
|
reset: function (e) {
|
|
541
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done =
|
|
541
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
542
542
|
},
|
|
543
543
|
stop: function () {
|
|
544
|
-
this.done =
|
|
544
|
+
this.done = true;
|
|
545
545
|
var t = this.tryEntries[0].completion;
|
|
546
546
|
if ("throw" === t.type) throw t.arg;
|
|
547
547
|
return this.rval;
|
|
@@ -560,10 +560,10 @@ function _regeneratorRuntime() {
|
|
|
560
560
|
var c = n.call(i, "catchLoc"),
|
|
561
561
|
u = n.call(i, "finallyLoc");
|
|
562
562
|
if (c && u) {
|
|
563
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc,
|
|
563
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, true);
|
|
564
564
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
565
565
|
} else if (c) {
|
|
566
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc,
|
|
566
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, true);
|
|
567
567
|
} else {
|
|
568
568
|
if (!u) throw Error("try statement without catch or finally");
|
|
569
569
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
@@ -626,7 +626,7 @@ function _toPrimitive(t, r) {
|
|
|
626
626
|
if ("object" != typeof t || !t) return t;
|
|
627
627
|
var e = t[Symbol.toPrimitive];
|
|
628
628
|
if (void 0 !== e) {
|
|
629
|
-
var i = e.call(t, r
|
|
629
|
+
var i = e.call(t, r);
|
|
630
630
|
if ("object" != typeof i) return i;
|
|
631
631
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
632
632
|
}
|
|
@@ -684,6 +684,23 @@ var findEventIndexInLanguage = function findEventIndexInLanguage(language, langu
|
|
|
684
684
|
return languageIndex;
|
|
685
685
|
};
|
|
686
686
|
|
|
687
|
+
/* *
|
|
688
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
689
|
+
* you may not use this file except in compliance with the License.
|
|
690
|
+
* You may obtain a copy of the License at
|
|
691
|
+
*
|
|
692
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
693
|
+
*
|
|
694
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
695
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
696
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
697
|
+
* See the License for the specific language governing permissions and
|
|
698
|
+
* limitations under the License.
|
|
699
|
+
*
|
|
700
|
+
* Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
701
|
+
* Copyright 2024 - Finnish Meteorological Institute (FMI)
|
|
702
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
703
|
+
* */
|
|
687
704
|
var CAP_NAMESPACE = 'cap';
|
|
688
705
|
var useCapTranslation = function useCapTranslation() {
|
|
689
706
|
return useTranslation(CAP_NAMESPACE);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/cap",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.2.0",
|
|
4
4
|
"description": "GeoWeb Common Alerting Protocol (CAP) library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,21 +8,21 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/api": "12.
|
|
12
|
-
"@opengeoweb/core": "12.
|
|
11
|
+
"@opengeoweb/api": "12.2.0",
|
|
12
|
+
"@opengeoweb/core": "12.2.0",
|
|
13
13
|
"frappe-gantt": "^0.6.1",
|
|
14
|
-
"@opengeoweb/shared": "12.
|
|
15
|
-
"@opengeoweb/store": "12.
|
|
14
|
+
"@opengeoweb/shared": "12.2.0",
|
|
15
|
+
"@opengeoweb/store": "12.2.0",
|
|
16
16
|
"react-redux": "^8.1.3",
|
|
17
|
-
"@opengeoweb/webmap": "12.
|
|
18
|
-
"@opengeoweb/webmap-react": "12.
|
|
17
|
+
"@opengeoweb/webmap": "12.2.0",
|
|
18
|
+
"@opengeoweb/webmap-react": "12.2.0",
|
|
19
19
|
"@mui/system": "^6.1.1",
|
|
20
20
|
"react-i18next": "^15.1.1",
|
|
21
21
|
"@reduxjs/toolkit": "^1.9.7",
|
|
22
|
-
"@opengeoweb/theme": "12.
|
|
22
|
+
"@opengeoweb/theme": "12.2.0",
|
|
23
23
|
"i18next": "^23.11.5",
|
|
24
24
|
"axios": "^1.7.7",
|
|
25
|
-
"@opengeoweb/timeslider": "12.
|
|
25
|
+
"@opengeoweb/timeslider": "12.2.0",
|
|
26
26
|
"@mui/material": "^6.1.1",
|
|
27
27
|
"ol": "^10.4.0"
|
|
28
28
|
},
|