@opengeoweb/core 12.9.1 → 12.11.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 +264 -320
- package/package.json +13 -10
- package/src/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +1 -1
- package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.stories.d.ts +1 -1
- package/src/lib/components/EDR/EDRReduxStoreLayer.stories.d.ts +15 -0
- package/src/lib/components/EDR/TimeawareEDRLocation.stories.d.ts +11 -2
- package/src/lib/components/LanguageSelect/Languages.stories.d.ts +1 -1
- package/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.stories.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManager.stories.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerUtils.d.ts +0 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerSelectConnect.stories.d.ts +1 -1
- package/src/lib/components/LayerManager/OverlayersRow/OverlayersSelect.d.ts +0 -1
- package/src/lib/components/LocationSearch/LocationSearch.stories.d.ts +1 -1
- package/src/lib/components/LocationSearch/LocationSearchConnect.stories.d.ts +1 -1
- package/src/lib/components/SyncGroups/SimpleTimeSliderConnect.d.ts +5 -5
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.d.ts +4 -4
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.d.ts +3 -3
- package/src/lib/components/TimeSliderConnect/TimeSliderConnect.stories.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderCurrentTimeBoxConnect.d.ts +2 -2
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.d.ts +4 -4
- package/src/lib/components/WMSLoader/WMSLoader.stories.d.ts +1 -1
- package/src/lib/utils/storyUtils.d.ts +0 -1
package/index.esm.js
CHANGED
|
@@ -354,6 +354,9 @@ var coreTranslations = {
|
|
|
354
354
|
nl: nl
|
|
355
355
|
};
|
|
356
356
|
|
|
357
|
+
function _OverloadYield(e, d) {
|
|
358
|
+
this.v = e, this.k = d;
|
|
359
|
+
}
|
|
357
360
|
function _arrayLikeToArray(r, a) {
|
|
358
361
|
(null == a || a > r.length) && (a = r.length);
|
|
359
362
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
@@ -410,306 +413,180 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
410
413
|
}
|
|
411
414
|
return t;
|
|
412
415
|
}
|
|
413
|
-
function
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
416
|
+
function _regenerator() {
|
|
417
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
418
|
+
var e,
|
|
419
|
+
t,
|
|
420
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
421
|
+
n = r.iterator || "@@iterator",
|
|
422
|
+
o = r.toStringTag || "@@toStringTag";
|
|
423
|
+
function i(r, n, o, i) {
|
|
424
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
425
|
+
u = Object.create(c.prototype);
|
|
426
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
427
|
+
var i,
|
|
428
|
+
c,
|
|
429
|
+
u,
|
|
430
|
+
f = 0,
|
|
431
|
+
p = o || [],
|
|
432
|
+
y = false,
|
|
433
|
+
G = {
|
|
434
|
+
p: 0,
|
|
435
|
+
n: 0,
|
|
436
|
+
v: e,
|
|
437
|
+
a: d,
|
|
438
|
+
f: d.bind(e, 4),
|
|
439
|
+
d: function (t, r) {
|
|
440
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
441
|
+
}
|
|
442
|
+
};
|
|
443
|
+
function d(r, n) {
|
|
444
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
445
|
+
var o,
|
|
446
|
+
i = p[t],
|
|
447
|
+
d = G.p,
|
|
448
|
+
l = i[2];
|
|
449
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
450
|
+
}
|
|
451
|
+
if (o || r > 1) return a;
|
|
452
|
+
throw y = true, n;
|
|
453
|
+
}
|
|
454
|
+
return function (o, p, l) {
|
|
455
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
456
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
457
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
458
|
+
try {
|
|
459
|
+
if (f = 2, i) {
|
|
460
|
+
if (c || (o = "next"), t = i[o]) {
|
|
461
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
462
|
+
if (!t.done) return t;
|
|
463
|
+
u = t.value, c < 2 && (c = 0);
|
|
464
|
+
} else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
465
|
+
i = e;
|
|
466
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
467
|
+
} catch (t) {
|
|
468
|
+
i = e, c = 1, u = t;
|
|
469
|
+
} finally {
|
|
470
|
+
f = 1;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
return {
|
|
474
|
+
value: t,
|
|
475
|
+
done: y
|
|
476
|
+
};
|
|
461
477
|
};
|
|
462
|
-
}
|
|
478
|
+
}(r, o, i), true), u;
|
|
463
479
|
}
|
|
464
|
-
|
|
465
|
-
var h = "suspendedStart",
|
|
466
|
-
l = "suspendedYield",
|
|
467
|
-
f = "executing",
|
|
468
|
-
s = "completed",
|
|
469
|
-
y = {};
|
|
480
|
+
var a = {};
|
|
470
481
|
function Generator() {}
|
|
471
482
|
function GeneratorFunction() {}
|
|
472
483
|
function GeneratorFunctionPrototype() {}
|
|
473
|
-
|
|
474
|
-
|
|
484
|
+
t = Object.getPrototypeOf;
|
|
485
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
486
|
+
return this;
|
|
487
|
+
}), t),
|
|
488
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
489
|
+
function f(e) {
|
|
490
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
491
|
+
}
|
|
492
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
|
|
475
493
|
return this;
|
|
494
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
495
|
+
return "[object Generator]";
|
|
496
|
+
}), (_regenerator = function () {
|
|
497
|
+
return {
|
|
498
|
+
w: i,
|
|
499
|
+
m: f
|
|
500
|
+
};
|
|
501
|
+
})();
|
|
502
|
+
}
|
|
503
|
+
function _regeneratorAsync(n, e, r, t, o) {
|
|
504
|
+
var a = _regeneratorAsyncGen(n, e, r, t, o);
|
|
505
|
+
return a.next().then(function (n) {
|
|
506
|
+
return n.done ? n.value : a.next();
|
|
476
507
|
});
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
508
|
+
}
|
|
509
|
+
function _regeneratorAsyncGen(r, e, t, o, n) {
|
|
510
|
+
return new _regeneratorAsyncIterator(_regenerator().w(r, e, t, o), n || Promise);
|
|
511
|
+
}
|
|
512
|
+
function _regeneratorAsyncIterator(t, e) {
|
|
513
|
+
function n(r, o, i, f) {
|
|
514
|
+
try {
|
|
515
|
+
var c = t[r](o),
|
|
516
|
+
u = c.value;
|
|
517
|
+
return u instanceof _OverloadYield ? e.resolve(u.v).then(function (t) {
|
|
518
|
+
n("next", t, i, f);
|
|
519
|
+
}, function (t) {
|
|
520
|
+
n("throw", t, i, f);
|
|
521
|
+
}) : e.resolve(u).then(function (t) {
|
|
522
|
+
c.value = t, i(c);
|
|
523
|
+
}, function (t) {
|
|
524
|
+
return n("throw", t, i, f);
|
|
485
525
|
});
|
|
486
|
-
})
|
|
526
|
+
} catch (t) {
|
|
527
|
+
f(t);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
var r;
|
|
531
|
+
this.next || (_regeneratorDefine(_regeneratorAsyncIterator.prototype), _regeneratorDefine(_regeneratorAsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () {
|
|
532
|
+
return this;
|
|
533
|
+
})), _regeneratorDefine(this, "_invoke", function (t, o, i) {
|
|
534
|
+
function f() {
|
|
535
|
+
return new e(function (e, r) {
|
|
536
|
+
n(t, i, e, r);
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
return r = r ? r.then(f, f) : f();
|
|
540
|
+
}, true);
|
|
541
|
+
}
|
|
542
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
543
|
+
var i = Object.defineProperty;
|
|
544
|
+
try {
|
|
545
|
+
i({}, "", {});
|
|
546
|
+
} catch (e) {
|
|
547
|
+
i = 0;
|
|
487
548
|
}
|
|
488
|
-
function
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
}) : e.resolve(h).then(function (t) {
|
|
499
|
-
u.value = t, i(u);
|
|
500
|
-
}, function (t) {
|
|
501
|
-
return invoke("throw", t, i, a);
|
|
549
|
+
_regeneratorDefine = function (e, r, n, t) {
|
|
550
|
+
if (r) i ? i(e, r, {
|
|
551
|
+
value: n,
|
|
552
|
+
enumerable: !t,
|
|
553
|
+
configurable: !t,
|
|
554
|
+
writable: !t
|
|
555
|
+
}) : e[r] = n;else {
|
|
556
|
+
function o(r, n) {
|
|
557
|
+
_regeneratorDefine(e, r, function (e) {
|
|
558
|
+
return this._invoke(r, n, e);
|
|
502
559
|
});
|
|
503
560
|
}
|
|
504
|
-
|
|
561
|
+
o("next", 0), o("throw", 1), o("return", 2);
|
|
505
562
|
}
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
var
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
563
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
564
|
+
}
|
|
565
|
+
function _regeneratorKeys(e) {
|
|
566
|
+
var n = Object(e),
|
|
567
|
+
r = [];
|
|
568
|
+
for (var t in n) r.unshift(t);
|
|
569
|
+
return function e() {
|
|
570
|
+
for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = false, e;
|
|
571
|
+
return e.done = true, e;
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
function _regeneratorValues(e) {
|
|
575
|
+
if (null != e) {
|
|
576
|
+
var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
|
|
577
|
+
r = 0;
|
|
578
|
+
if (t) return t.call(e);
|
|
579
|
+
if ("function" == typeof e.next) return e;
|
|
580
|
+
if (!isNaN(e.length)) return {
|
|
581
|
+
next: function () {
|
|
582
|
+
return e && r >= e.length && (e = void 0), {
|
|
583
|
+
value: e && e[r++],
|
|
584
|
+
done: !e
|
|
527
585
|
};
|
|
528
586
|
}
|
|
529
|
-
for (n.method = i, n.arg = a;;) {
|
|
530
|
-
var c = n.delegate;
|
|
531
|
-
if (c) {
|
|
532
|
-
var u = maybeInvokeDelegate(c, n);
|
|
533
|
-
if (u) {
|
|
534
|
-
if (u === y) continue;
|
|
535
|
-
return u;
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
539
|
-
if (o === h) throw o = s, n.arg;
|
|
540
|
-
n.dispatchException(n.arg);
|
|
541
|
-
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
542
|
-
o = f;
|
|
543
|
-
var p = tryCatch(e, r, n);
|
|
544
|
-
if ("normal" === p.type) {
|
|
545
|
-
if (o = n.done ? s : l, p.arg === y) continue;
|
|
546
|
-
return {
|
|
547
|
-
value: p.arg,
|
|
548
|
-
done: n.done
|
|
549
|
-
};
|
|
550
|
-
}
|
|
551
|
-
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
552
|
-
}
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
function maybeInvokeDelegate(e, r) {
|
|
556
|
-
var n = r.method,
|
|
557
|
-
o = e.iterator[n];
|
|
558
|
-
if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
559
|
-
var i = tryCatch(o, e.iterator, r.arg);
|
|
560
|
-
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
561
|
-
var a = i.arg;
|
|
562
|
-
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
563
|
-
}
|
|
564
|
-
function pushTryEntry(t) {
|
|
565
|
-
var e = {
|
|
566
|
-
tryLoc: t[0]
|
|
567
587
|
};
|
|
568
|
-
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
569
|
-
}
|
|
570
|
-
function resetTryEntry(t) {
|
|
571
|
-
var e = t.completion || {};
|
|
572
|
-
e.type = "normal", delete e.arg, t.completion = e;
|
|
573
|
-
}
|
|
574
|
-
function Context(t) {
|
|
575
|
-
this.tryEntries = [{
|
|
576
|
-
tryLoc: "root"
|
|
577
|
-
}], t.forEach(pushTryEntry, this), this.reset(true);
|
|
578
|
-
}
|
|
579
|
-
function values(e) {
|
|
580
|
-
if (e || "" === e) {
|
|
581
|
-
var r = e[a];
|
|
582
|
-
if (r) return r.call(e);
|
|
583
|
-
if ("function" == typeof e.next) return e;
|
|
584
|
-
if (!isNaN(e.length)) {
|
|
585
|
-
var o = -1,
|
|
586
|
-
i = function next() {
|
|
587
|
-
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = false, next;
|
|
588
|
-
return next.value = t, next.done = true, next;
|
|
589
|
-
};
|
|
590
|
-
return i.next = i;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
throw new TypeError(typeof e + " is not iterable");
|
|
594
588
|
}
|
|
595
|
-
|
|
596
|
-
value: GeneratorFunctionPrototype,
|
|
597
|
-
configurable: true
|
|
598
|
-
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
599
|
-
value: GeneratorFunction,
|
|
600
|
-
configurable: true
|
|
601
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
602
|
-
var e = "function" == typeof t && t.constructor;
|
|
603
|
-
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
604
|
-
}, e.mark = function (t) {
|
|
605
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
606
|
-
}, e.awrap = function (t) {
|
|
607
|
-
return {
|
|
608
|
-
__await: t
|
|
609
|
-
};
|
|
610
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
611
|
-
return this;
|
|
612
|
-
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
613
|
-
void 0 === i && (i = Promise);
|
|
614
|
-
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
615
|
-
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
616
|
-
return t.done ? t.value : a.next();
|
|
617
|
-
});
|
|
618
|
-
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
619
|
-
return this;
|
|
620
|
-
}), define(g, "toString", function () {
|
|
621
|
-
return "[object Generator]";
|
|
622
|
-
}), e.keys = function (t) {
|
|
623
|
-
var e = Object(t),
|
|
624
|
-
r = [];
|
|
625
|
-
for (var n in e) r.push(n);
|
|
626
|
-
return r.reverse(), function next() {
|
|
627
|
-
for (; r.length;) {
|
|
628
|
-
var t = r.pop();
|
|
629
|
-
if (t in e) return next.value = t, next.done = false, next;
|
|
630
|
-
}
|
|
631
|
-
return next.done = true, next;
|
|
632
|
-
};
|
|
633
|
-
}, e.values = values, Context.prototype = {
|
|
634
|
-
constructor: Context,
|
|
635
|
-
reset: function (e) {
|
|
636
|
-
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);
|
|
637
|
-
},
|
|
638
|
-
stop: function () {
|
|
639
|
-
this.done = true;
|
|
640
|
-
var t = this.tryEntries[0].completion;
|
|
641
|
-
if ("throw" === t.type) throw t.arg;
|
|
642
|
-
return this.rval;
|
|
643
|
-
},
|
|
644
|
-
dispatchException: function (e) {
|
|
645
|
-
if (this.done) throw e;
|
|
646
|
-
var r = this;
|
|
647
|
-
function handle(n, o) {
|
|
648
|
-
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
649
|
-
}
|
|
650
|
-
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
651
|
-
var i = this.tryEntries[o],
|
|
652
|
-
a = i.completion;
|
|
653
|
-
if ("root" === i.tryLoc) return handle("end");
|
|
654
|
-
if (i.tryLoc <= this.prev) {
|
|
655
|
-
var c = n.call(i, "catchLoc"),
|
|
656
|
-
u = n.call(i, "finallyLoc");
|
|
657
|
-
if (c && u) {
|
|
658
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, true);
|
|
659
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
660
|
-
} else if (c) {
|
|
661
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, true);
|
|
662
|
-
} else {
|
|
663
|
-
if (!u) throw Error("try statement without catch or finally");
|
|
664
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
},
|
|
669
|
-
abrupt: function (t, e) {
|
|
670
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
671
|
-
var o = this.tryEntries[r];
|
|
672
|
-
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
673
|
-
var i = o;
|
|
674
|
-
break;
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
678
|
-
var a = i ? i.completion : {};
|
|
679
|
-
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
680
|
-
},
|
|
681
|
-
complete: function (t, e) {
|
|
682
|
-
if ("throw" === t.type) throw t.arg;
|
|
683
|
-
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
684
|
-
},
|
|
685
|
-
finish: function (t) {
|
|
686
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
687
|
-
var r = this.tryEntries[e];
|
|
688
|
-
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
689
|
-
}
|
|
690
|
-
},
|
|
691
|
-
catch: function (t) {
|
|
692
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
693
|
-
var r = this.tryEntries[e];
|
|
694
|
-
if (r.tryLoc === t) {
|
|
695
|
-
var n = r.completion;
|
|
696
|
-
if ("throw" === n.type) {
|
|
697
|
-
var o = n.arg;
|
|
698
|
-
resetTryEntry(r);
|
|
699
|
-
}
|
|
700
|
-
return o;
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
throw Error("illegal catch attempt");
|
|
704
|
-
},
|
|
705
|
-
delegateYield: function (e, r, n) {
|
|
706
|
-
return this.delegate = {
|
|
707
|
-
iterator: values(e),
|
|
708
|
-
resultName: r,
|
|
709
|
-
nextLoc: n
|
|
710
|
-
}, "next" === this.method && (this.arg = t), y;
|
|
711
|
-
}
|
|
712
|
-
}, e;
|
|
589
|
+
throw new TypeError(typeof e + " is not iterable");
|
|
713
590
|
}
|
|
714
591
|
function _unsupportedIterableToArray(r, a) {
|
|
715
592
|
if (r) {
|
|
@@ -718,6 +595,74 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
718
595
|
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
719
596
|
}
|
|
720
597
|
}
|
|
598
|
+
function _regeneratorRuntime() {
|
|
599
|
+
|
|
600
|
+
var r = _regenerator(),
|
|
601
|
+
e = r.m(_regeneratorRuntime),
|
|
602
|
+
t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
|
|
603
|
+
function n(r) {
|
|
604
|
+
var e = "function" == typeof r && r.constructor;
|
|
605
|
+
return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name));
|
|
606
|
+
}
|
|
607
|
+
var o = {
|
|
608
|
+
throw: 1,
|
|
609
|
+
return: 2,
|
|
610
|
+
break: 3,
|
|
611
|
+
continue: 3
|
|
612
|
+
};
|
|
613
|
+
function a(r) {
|
|
614
|
+
var e, t;
|
|
615
|
+
return function (n) {
|
|
616
|
+
e || (e = {
|
|
617
|
+
stop: function () {
|
|
618
|
+
return t(n.a, 2);
|
|
619
|
+
},
|
|
620
|
+
catch: function () {
|
|
621
|
+
return n.v;
|
|
622
|
+
},
|
|
623
|
+
abrupt: function (r, e) {
|
|
624
|
+
return t(n.a, o[r], e);
|
|
625
|
+
},
|
|
626
|
+
delegateYield: function (r, o, a) {
|
|
627
|
+
return e.resultName = o, t(n.d, _regeneratorValues(r), a);
|
|
628
|
+
},
|
|
629
|
+
finish: function (r) {
|
|
630
|
+
return t(n.f, r);
|
|
631
|
+
}
|
|
632
|
+
}, t = function (r, t, o) {
|
|
633
|
+
n.p = e.prev, n.n = e.next;
|
|
634
|
+
try {
|
|
635
|
+
return r(t, o);
|
|
636
|
+
} finally {
|
|
637
|
+
e.next = n.n;
|
|
638
|
+
}
|
|
639
|
+
}), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n;
|
|
640
|
+
try {
|
|
641
|
+
return r.call(this, e);
|
|
642
|
+
} finally {
|
|
643
|
+
n.p = e.prev, n.n = e.next;
|
|
644
|
+
}
|
|
645
|
+
};
|
|
646
|
+
}
|
|
647
|
+
return (_regeneratorRuntime = function () {
|
|
648
|
+
return {
|
|
649
|
+
wrap: function (e, t, n, o) {
|
|
650
|
+
return r.w(a(e), t, n, o && o.reverse());
|
|
651
|
+
},
|
|
652
|
+
isGeneratorFunction: n,
|
|
653
|
+
mark: r.m,
|
|
654
|
+
awrap: function (r, e) {
|
|
655
|
+
return new _OverloadYield(r, e);
|
|
656
|
+
},
|
|
657
|
+
AsyncIterator: _regeneratorAsyncIterator,
|
|
658
|
+
async: function (r, e, t, o, u) {
|
|
659
|
+
return (n(e) ? _regeneratorAsyncGen : _regeneratorAsync)(a(r), e, t, o, u);
|
|
660
|
+
},
|
|
661
|
+
keys: _regeneratorKeys,
|
|
662
|
+
values: _regeneratorValues
|
|
663
|
+
};
|
|
664
|
+
})();
|
|
665
|
+
}
|
|
721
666
|
|
|
722
667
|
/* *
|
|
723
668
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2494,15 +2439,15 @@ var LayerRow = styled(LayerRowUnstyled)(function (_ref9) {
|
|
|
2494
2439
|
}
|
|
2495
2440
|
};
|
|
2496
2441
|
});
|
|
2497
|
-
var Accordion = function Accordion(
|
|
2498
|
-
var Styles =
|
|
2499
|
-
Acceptance =
|
|
2500
|
-
ShowLayerInfo =
|
|
2501
|
-
DeleteLayer =
|
|
2502
|
-
Opacity =
|
|
2503
|
-
layerName =
|
|
2504
|
-
LeftButtons =
|
|
2505
|
-
LoadDuration =
|
|
2442
|
+
var Accordion = function Accordion(_ref0) {
|
|
2443
|
+
var Styles = _ref0.Styles,
|
|
2444
|
+
Acceptance = _ref0.Acceptance,
|
|
2445
|
+
ShowLayerInfo = _ref0.ShowLayerInfo,
|
|
2446
|
+
DeleteLayer = _ref0.DeleteLayer,
|
|
2447
|
+
Opacity = _ref0.Opacity,
|
|
2448
|
+
layerName = _ref0.layerName,
|
|
2449
|
+
LeftButtons = _ref0.LeftButtons,
|
|
2450
|
+
LoadDuration = _ref0.LoadDuration;
|
|
2506
2451
|
var _useCoreTranslation3 = useCoreTranslation(),
|
|
2507
2452
|
t = _useCoreTranslation3.t;
|
|
2508
2453
|
return jsx(CustomAccordion, {
|
|
@@ -2861,7 +2806,7 @@ var RenderLayersConnect = function RenderLayersConnect(_ref) {
|
|
|
2861
2806
|
dispatch(serviceActions.serviceSetLayers(payload));
|
|
2862
2807
|
}, [dispatch]);
|
|
2863
2808
|
var addService = /*#__PURE__*/function () {
|
|
2864
|
-
var _ref2 = _asyncToGenerator(
|
|
2809
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(serviceUrl) {
|
|
2865
2810
|
var _layers, wmService;
|
|
2866
2811
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2867
2812
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -3856,7 +3801,7 @@ var WMSLayerTree = function WMSLayerTree(_ref) {
|
|
|
3856
3801
|
var isMounted = true;
|
|
3857
3802
|
setIsLoading(true);
|
|
3858
3803
|
var makeServiceQuery = /*#__PURE__*/function () {
|
|
3859
|
-
var _ref2 = _asyncToGenerator(
|
|
3804
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
3860
3805
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
3861
3806
|
while (1) switch (_context.prev = _context.next) {
|
|
3862
3807
|
case 0:
|
|
@@ -5014,12 +4959,12 @@ var LayerManager = function LayerManager(_ref) {
|
|
|
5014
4959
|
};
|
|
5015
4960
|
|
|
5016
4961
|
var getServicesToLoad = /*#__PURE__*/function () {
|
|
5017
|
-
var _ref = _asyncToGenerator(
|
|
4962
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(services) {
|
|
5018
4963
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
5019
4964
|
while (1) switch (_context2.prev = _context2.next) {
|
|
5020
4965
|
case 0:
|
|
5021
|
-
return _context2.abrupt("return", Promise.all(services.map(
|
|
5022
|
-
var _ref2 = _asyncToGenerator(
|
|
4966
|
+
return _context2.abrupt("return", Promise.all(services.map(/*#__PURE__*/function () {
|
|
4967
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(service) {
|
|
5023
4968
|
var scope;
|
|
5024
4969
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5025
4970
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6467,6 +6412,12 @@ var getFeatureInfoUrl = function getFeatureInfoUrl(layer, mapPinLocation) {
|
|
|
6467
6412
|
LAYERS: wmjsLayer.getLayerName()
|
|
6468
6413
|
}
|
|
6469
6414
|
});
|
|
6415
|
+
layer.dimensions && layer.dimensions.forEach(function (dim) {
|
|
6416
|
+
var wmDim = wmjsLayer.getDimension(dim.name);
|
|
6417
|
+
if (wmDim && wmDim.getValue() !== dim.currentValue) {
|
|
6418
|
+
wmDim.setValue(dim.currentValue);
|
|
6419
|
+
}
|
|
6420
|
+
});
|
|
6470
6421
|
return source.getFeatureInfoUrl([mapPinLocation.projectionX, mapPinLocation.projectionY], mapPinLocation.resolution, mapPinLocation.srs, {
|
|
6471
6422
|
INFO_FORMAT: 'text/html'
|
|
6472
6423
|
}) + "&" + getMapDimURL(wmjsLayer).toString();
|
|
@@ -6537,15 +6488,10 @@ var GetFeatureInfoDialog = function GetFeatureInfoDialog(_ref) {
|
|
|
6537
6488
|
mapPinLocation = _ref.mapPinLocation;
|
|
6538
6489
|
var _useCoreTranslation = useCoreTranslation(),
|
|
6539
6490
|
t = _useCoreTranslation.t;
|
|
6540
|
-
/* Ref and state for maplocation */
|
|
6541
|
-
var mapLocationWasChanged = React__default.useRef(false);
|
|
6542
|
-
var _React$useState = React__default.useState(false),
|
|
6543
|
-
isInitialMapLocationChanged = _React$useState[0],
|
|
6544
|
-
setInitialMapLocationIsChanged = _React$useState[1];
|
|
6545
6491
|
/* Ref, state and update function for results per layer map */
|
|
6546
6492
|
var gfiResultMap = React__default.useRef(new Map()).current;
|
|
6547
|
-
var _React$
|
|
6548
|
-
triggerRerender = _React$
|
|
6493
|
+
var _React$useState = React__default.useState(),
|
|
6494
|
+
triggerRerender = _React$useState[1];
|
|
6549
6495
|
var updateLayerResult = function updateLayerResult(_ref2) {
|
|
6550
6496
|
var layerId = _ref2.layerId,
|
|
6551
6497
|
data = _ref2.data,
|
|
@@ -6567,7 +6513,7 @@ var GetFeatureInfoDialog = function GetFeatureInfoDialog(_ref) {
|
|
|
6567
6513
|
}).join(','), 100);
|
|
6568
6514
|
/* Do a GFI call to the server and use the updateLayerResult to provide the results. */
|
|
6569
6515
|
var fetchLayerInfo = /*#__PURE__*/function () {
|
|
6570
|
-
var _ref3 = _asyncToGenerator(
|
|
6516
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(url, layerId) {
|
|
6571
6517
|
var _yield$axios$get, data, errorMessage;
|
|
6572
6518
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6573
6519
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6609,16 +6555,9 @@ var GetFeatureInfoDialog = function GetFeatureInfoDialog(_ref) {
|
|
|
6609
6555
|
return _ref3.apply(this, arguments);
|
|
6610
6556
|
};
|
|
6611
6557
|
}();
|
|
6612
|
-
/* Wait till the user has clicked the map. */
|
|
6613
|
-
React__default.useEffect(function () {
|
|
6614
|
-
if (mapLocationWasChanged.current !== false) {
|
|
6615
|
-
setInitialMapLocationIsChanged(true);
|
|
6616
|
-
}
|
|
6617
|
-
mapLocationWasChanged.current = true;
|
|
6618
|
-
}, [mapPinLocation]);
|
|
6619
6558
|
/* For each changed getfeature url string, load new data using WMS GetFeatureInfo */
|
|
6620
6559
|
React__default.useEffect(function () {
|
|
6621
|
-
if (
|
|
6560
|
+
if (mapPinLocation && isOpen) {
|
|
6622
6561
|
layerToUpdateList.forEach(function (_ref4) {
|
|
6623
6562
|
var url = _ref4.url,
|
|
6624
6563
|
layerId = _ref4.layerId;
|
|
@@ -6648,7 +6587,7 @@ var GetFeatureInfoDialog = function GetFeatureInfoDialog(_ref) {
|
|
|
6648
6587
|
sx: {
|
|
6649
6588
|
padding: 0
|
|
6650
6589
|
},
|
|
6651
|
-
children: [isOpen && hasLayers &&
|
|
6590
|
+
children: [isOpen && hasLayers && mapPinLocation && jsx(Box, {
|
|
6652
6591
|
"data-testid": "GetFeatureInfoList",
|
|
6653
6592
|
ref: stopWheelEventPropagationRef,
|
|
6654
6593
|
children: layerToUpdateList.map(function (layer) {
|
|
@@ -6701,7 +6640,7 @@ var GetFeatureInfoDialog = function GetFeatureInfoDialog(_ref) {
|
|
|
6701
6640
|
})]
|
|
6702
6641
|
}, layerId);
|
|
6703
6642
|
})
|
|
6704
|
-
}), hasLayers && !
|
|
6643
|
+
}), hasLayers && !mapPinLocation && jsx(Typography, {
|
|
6705
6644
|
"data-testid": "click-on-map-for-info",
|
|
6706
6645
|
variant: "subtitle1",
|
|
6707
6646
|
sx: {
|
|
@@ -7037,7 +6976,7 @@ var useLocationList = function useLocationList(search) {
|
|
|
7037
6976
|
return useQuery({
|
|
7038
6977
|
queryKey: ['location-list', search],
|
|
7039
6978
|
queryFn: function () {
|
|
7040
|
-
var _queryFn = _asyncToGenerator(
|
|
6979
|
+
var _queryFn = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7041
6980
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7042
6981
|
while (1) switch (_context.prev = _context.next) {
|
|
7043
6982
|
case 0:
|
|
@@ -7750,6 +7689,11 @@ var OlMapViewConnect = function OlMapViewConnect(_ref) {
|
|
|
7750
7689
|
return {
|
|
7751
7690
|
type: 'FeatureCollection',
|
|
7752
7691
|
features: linkedFormFeaturesFromState.flatMap(function (feature) {
|
|
7692
|
+
var _feature$geoJSON$feat;
|
|
7693
|
+
// Filter out any form features currently in Edit mode
|
|
7694
|
+
if ((_feature$geoJSON$feat = feature.geoJSON.features[0]) != null && (_feature$geoJSON$feat = _feature$geoJSON$feat.properties) != null && _feature$geoJSON$feat.inEditMode) {
|
|
7695
|
+
return [];
|
|
7696
|
+
}
|
|
7753
7697
|
return feature.geoJSON.features;
|
|
7754
7698
|
})
|
|
7755
7699
|
};
|
|
@@ -7931,8 +7875,8 @@ var OlMapViewConnect = function OlMapViewConnect(_ref) {
|
|
|
7931
7875
|
var prefetchTimespan = makePrefetchTimeSpan(timeSliderStartCenterEndTime, animationStartTime, animationEndTime, isAnimating);
|
|
7932
7876
|
var layerIds = mapLayerIds.join();
|
|
7933
7877
|
var refetchLayers = React.useCallback(function () {
|
|
7934
|
-
mapLayerIds == null || mapLayerIds.forEach(
|
|
7935
|
-
var _ref2 = _asyncToGenerator(
|
|
7878
|
+
mapLayerIds == null || mapLayerIds.forEach(/*#__PURE__*/function () {
|
|
7879
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(layerId) {
|
|
7936
7880
|
var wmLayer, layerInfo;
|
|
7937
7881
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7938
7882
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -9325,7 +9269,7 @@ var SentryRecordButton = function SentryRecordButton() {
|
|
|
9325
9269
|
setIsRecording = _React$useState[1];
|
|
9326
9270
|
var replay = Sentry.getReplay();
|
|
9327
9271
|
var toggleRecord = /*#__PURE__*/function () {
|
|
9328
|
-
var _ref2 = _asyncToGenerator(
|
|
9272
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
9329
9273
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9330
9274
|
while (1) switch (_context.prev = _context.next) {
|
|
9331
9275
|
case 0:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.11.0",
|
|
4
4
|
"description": "GeoWeb Core library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,22 +8,22 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/shared": "12.
|
|
11
|
+
"@opengeoweb/shared": "12.11.0",
|
|
12
12
|
"react-redux": "^9.2.0",
|
|
13
|
-
"@opengeoweb/store": "12.
|
|
14
|
-
"@opengeoweb/timeslider": "12.
|
|
13
|
+
"@opengeoweb/store": "12.11.0",
|
|
14
|
+
"@opengeoweb/timeslider": "12.11.0",
|
|
15
15
|
"@reduxjs/toolkit": "^2.6.1",
|
|
16
|
-
"@opengeoweb/webmap-react": "12.
|
|
17
|
-
"@opengeoweb/webmap": "12.
|
|
18
|
-
"@opengeoweb/theme": "12.
|
|
16
|
+
"@opengeoweb/webmap-react": "12.11.0",
|
|
17
|
+
"@opengeoweb/webmap": "12.11.0",
|
|
18
|
+
"@opengeoweb/theme": "12.11.0",
|
|
19
19
|
"axios": "^1.7.7",
|
|
20
|
-
"@opengeoweb/layer-select": "12.
|
|
20
|
+
"@opengeoweb/layer-select": "12.11.0",
|
|
21
21
|
"lodash": "^4.17.21",
|
|
22
22
|
"ol": "^10.4.0",
|
|
23
23
|
"react-sortablejs": "^6.1.4",
|
|
24
24
|
"sortablejs": "^1.15.1",
|
|
25
25
|
"@mui/system": "^7.0.1",
|
|
26
|
-
"@opengeoweb/snackbar": "12.
|
|
26
|
+
"@opengeoweb/snackbar": "12.11.0",
|
|
27
27
|
"react-router-dom": "^6.21.0",
|
|
28
28
|
"react-draggable": "^4.4.6",
|
|
29
29
|
"i18next": "^25.0.1",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@mui/material": "^7.0.1",
|
|
33
33
|
"@sentry/react": "^8.34.0",
|
|
34
34
|
"@tanstack/react-query": "^5.69.2",
|
|
35
|
-
"@opengeoweb/api": "12.
|
|
35
|
+
"@opengeoweb/api": "12.11.0",
|
|
36
36
|
"@types/geojson": "^7946.0.14"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -40,6 +40,9 @@
|
|
|
40
40
|
"@emotion/react": "*",
|
|
41
41
|
"@emotion/styled": "*"
|
|
42
42
|
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"eslint-plugin-storybook": "9.0.17"
|
|
45
|
+
},
|
|
43
46
|
"module": "./index.esm.js",
|
|
44
47
|
"type": "module",
|
|
45
48
|
"main": "./index.esm.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
3
3
|
import { ConfigurableMapConnect } from './ConfigurableMapConnect';
|
|
4
4
|
declare const meta: Meta<typeof ConfigurableMapConnect>;
|
|
5
5
|
export default meta;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TimeAwareEDRLocationLayer } from '@opengeoweb/webmap-react';
|
|
3
|
+
import type { Meta } from '@storybook/react-webpack5';
|
|
4
|
+
declare const meta: Meta<typeof TimeAwareEDRLocationLayer>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const EDRReduxLayer: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
parameters: {
|
|
9
|
+
msw: {
|
|
10
|
+
handlers: {
|
|
11
|
+
locations: import("msw").HttpHandler[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
2
|
+
import type { Meta } from '@storybook/react-webpack5';
|
|
3
3
|
import { TimeAwareEDRLocationLayer } from '@opengeoweb/webmap-react';
|
|
4
4
|
declare const meta: Meta<typeof TimeAwareEDRLocationLayer>;
|
|
5
5
|
export default meta;
|
|
6
|
-
export declare const EDRLocationDefault:
|
|
6
|
+
export declare const EDRLocationDefault: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
parameters: {
|
|
9
|
+
msw: {
|
|
10
|
+
handlers: {
|
|
11
|
+
locations: import("msw").HttpHandler[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -61,6 +61,6 @@ interface LayerRowUnstyledProps {
|
|
|
61
61
|
collapsedColumns?: Record<string, boolean>;
|
|
62
62
|
}
|
|
63
63
|
declare const LayerRow: import("@emotion/styled").StyledComponent<LayerRowUnstyledProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
64
|
-
isEnabled?: boolean
|
|
64
|
+
isEnabled?: boolean;
|
|
65
65
|
}, {}, {}>;
|
|
66
66
|
export default LayerRow;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
3
3
|
import { LayerManagerConnect } from '.';
|
|
4
4
|
declare const meta: Meta<typeof LayerManagerConnect>;
|
|
5
5
|
export default meta;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { mapTypes } from '@opengeoweb/store';
|
|
3
2
|
import type { DimensionTooltipGenerator, SingleValueComponentProps } from './LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect';
|
|
4
3
|
import { Size, ToolbarButtonSettings } from './LayerManagerHeaderOptions';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
2
|
import LayerManagerMapButtonConnect from '../LayerManagerMapButtonConnect';
|
|
3
3
|
declare const meta: Meta<typeof LayerManagerMapButtonConnect>;
|
|
4
4
|
export default meta;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { StoryObj } from '@storybook/react/*';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: () => React.ReactElement
|
|
5
|
+
component: () => React.ReactElement;
|
|
6
6
|
parameters: {
|
|
7
7
|
docs: {
|
|
8
8
|
description: {
|
|
@@ -9,11 +9,11 @@ interface SimpleTimeSliderConnectComponentProps {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const SimpleTimeSliderConnect: import("react-redux").ConnectedComponent<React.FC<SimpleTimeSliderConnectComponentProps>, {
|
|
11
11
|
id: string;
|
|
12
|
-
timeValue?: string | null | undefined;
|
|
13
|
-
setTime?:
|
|
14
|
-
syncGroupAddSource?:
|
|
15
|
-
syncGroupRemoveSource?:
|
|
12
|
+
timeValue?: (string | null) | undefined;
|
|
13
|
+
setTime?: typeof genericActions.setTime | undefined;
|
|
14
|
+
syncGroupAddSource?: typeof genericActions.syncGroupAddSource | undefined;
|
|
15
|
+
syncGroupRemoveSource?: typeof genericActions.syncGroupRemoveSource | undefined;
|
|
16
16
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
17
|
-
store?: import("redux").Store
|
|
17
|
+
store?: import("redux").Store | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
export {};
|
package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.d.ts
CHANGED
|
@@ -8,14 +8,14 @@ interface ConnectedAutoUpdateButtonProps {
|
|
|
8
8
|
export declare const AutoUpdateButtonConnect: import("react-redux").ConnectedComponent<import("react-redux").ConnectedComponent<({ mapId, isAutoUpdating, toggleAutoUpdate, }: ConnectedAutoUpdateButtonProps) => import("react/jsx-runtime").JSX.Element, {
|
|
9
9
|
mapId: string;
|
|
10
10
|
isAutoUpdating?: boolean | undefined;
|
|
11
|
-
toggleAutoUpdate?:
|
|
11
|
+
toggleAutoUpdate?: typeof mapActions.toggleAutoUpdate | undefined;
|
|
12
12
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
13
|
-
store?: import("redux").Store
|
|
13
|
+
store?: import("redux").Store | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
mapId: string;
|
|
16
16
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
17
|
-
store?: import("redux").Store
|
|
17
|
+
store?: import("redux").Store | undefined;
|
|
18
18
|
isAutoUpdating?: boolean | undefined;
|
|
19
|
-
toggleAutoUpdate?:
|
|
19
|
+
toggleAutoUpdate?: typeof mapActions.toggleAutoUpdate | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
export {};
|
package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.d.ts
CHANGED
|
@@ -32,14 +32,14 @@ export declare const PlayButtonConnect: import("react-redux").ConnectedComponent
|
|
|
32
32
|
isAnimating?: boolean | undefined;
|
|
33
33
|
animationStartTime?: string | undefined;
|
|
34
34
|
animationEndTime?: string | undefined;
|
|
35
|
-
mapStartAnimation?:
|
|
36
|
-
mapStopAnimation?:
|
|
35
|
+
mapStartAnimation?: typeof mapActions.mapStartAnimation | undefined;
|
|
36
|
+
mapStopAnimation?: typeof mapActions.mapStopAnimation | undefined;
|
|
37
37
|
timeStep?: number | undefined;
|
|
38
38
|
linkedMapAnimationInfo?: {
|
|
39
39
|
isAnimating: boolean;
|
|
40
40
|
id: string;
|
|
41
41
|
} | undefined;
|
|
42
42
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
43
|
-
store?: import("redux").Store
|
|
43
|
+
store?: import("redux").Store | undefined;
|
|
44
44
|
}>;
|
|
45
45
|
export {};
|
|
@@ -22,8 +22,8 @@ export declare const TimeSliderCurrentTimeBoxConnect: import("react-redux").Conn
|
|
|
22
22
|
secondsPerPx?: number | undefined;
|
|
23
23
|
span?: number | undefined;
|
|
24
24
|
isAutoUpdating?: boolean | undefined;
|
|
25
|
-
setCenterTime?:
|
|
25
|
+
setCenterTime?: typeof mapActions.setTimeSliderCenterTime | undefined;
|
|
26
26
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
27
|
-
store?: import("redux").Store
|
|
27
|
+
store?: import("redux").Store | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export {};
|
|
@@ -14,11 +14,11 @@ declare const WMSLayerTreeConnect: import("react-redux").ConnectedComponent<Reac
|
|
|
14
14
|
service: serviceTypes.InitialService;
|
|
15
15
|
mapId: string;
|
|
16
16
|
layerType?: LayerType | undefined;
|
|
17
|
-
addLayer?:
|
|
18
|
-
setBaseLayers?:
|
|
19
|
-
addAvailableBaseLayer?:
|
|
17
|
+
addLayer?: typeof layerActions.addLayer | undefined;
|
|
18
|
+
setBaseLayers?: typeof layerActions.setBaseLayers | undefined;
|
|
19
|
+
addAvailableBaseLayer?: typeof layerActions.addAvailableBaseLayer | undefined;
|
|
20
20
|
loadedLayers?: layerTypes.Layer[] | undefined;
|
|
21
21
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
22
|
-
store?: import("redux").Store
|
|
22
|
+
store?: import("redux").Store | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
export default WMSLayerTreeConnect;
|