@opengeoweb/shared 9.25.2 → 9.25.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.
- package/index.esm.js +10 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -3487,6 +3487,7 @@ $$a({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
|
3487
3487
|
*
|
|
3488
3488
|
* Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
3489
3489
|
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
3490
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
3490
3491
|
* */
|
|
3491
3492
|
const showPrompt = event => {
|
|
3492
3493
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -3522,6 +3523,7 @@ function usePreventBrowserClose(shouldPreventClose) {
|
|
|
3522
3523
|
*
|
|
3523
3524
|
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
3524
3525
|
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
3526
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
3525
3527
|
* */
|
|
3526
3528
|
const pollingIntervalTimeout = 300000;
|
|
3527
3529
|
const usePoller = (deps, callback, pollingInterval = pollingIntervalTimeout) => {
|
|
@@ -3560,6 +3562,7 @@ const usePoller = (deps, callback, pollingInterval = pollingIntervalTimeout) =>
|
|
|
3560
3562
|
*
|
|
3561
3563
|
* Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
3562
3564
|
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
3565
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
3563
3566
|
* */
|
|
3564
3567
|
function usePrevious(value) {
|
|
3565
3568
|
const ref = React.useRef();
|
|
@@ -3584,6 +3587,7 @@ function usePrevious(value) {
|
|
|
3584
3587
|
*
|
|
3585
3588
|
* Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
3586
3589
|
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
3590
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
3587
3591
|
* */
|
|
3588
3592
|
const useIsMounted = () => {
|
|
3589
3593
|
const isMounted = React.useRef(false);
|
|
@@ -6261,6 +6265,7 @@ const useUserMenu = (open = false) => {
|
|
|
6261
6265
|
*
|
|
6262
6266
|
* Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
6263
6267
|
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
6268
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
6264
6269
|
* */
|
|
6265
6270
|
const getInitials = name => {
|
|
6266
6271
|
if (!name) {
|
|
@@ -8619,6 +8624,7 @@ const FilterListItem = ({
|
|
|
8619
8624
|
*
|
|
8620
8625
|
* Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
8621
8626
|
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
8627
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
8622
8628
|
* */
|
|
8623
8629
|
const DEFAULT_ERROR_MESSAGE = 'An error has occurred';
|
|
8624
8630
|
// Guard function for detecting an AxiosError (typically the kind of error returned by the backend)
|
|
@@ -8728,6 +8734,7 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa
|
|
|
8728
8734
|
*
|
|
8729
8735
|
* Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
8730
8736
|
* Copyright 2024 - Finnish Meteorological Institute (FMI)
|
|
8737
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
8731
8738
|
* */
|
|
8732
8739
|
const DATE_FORMAT_DATEPICKER = 'dd/MM/yyyy HH:mm';
|
|
8733
8740
|
const DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss'Z'";
|
|
@@ -9317,6 +9324,7 @@ const convertNOWandTODAYFormatsToUTC = timeValue => {
|
|
|
9317
9324
|
*
|
|
9318
9325
|
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
9319
9326
|
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
9327
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
9320
9328
|
* */
|
|
9321
9329
|
|
|
9322
9330
|
var index = /*#__PURE__*/Object.freeze({
|
|
@@ -9389,6 +9397,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
9389
9397
|
*
|
|
9390
9398
|
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
9391
9399
|
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
9400
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
9392
9401
|
* */
|
|
9393
9402
|
const createMockStoreWithEggs = mockState => {
|
|
9394
9403
|
const mockStore = configureStore();
|
|
@@ -9432,6 +9441,7 @@ const createToolkitMockStoreWithEggs = storeConfig => {
|
|
|
9432
9441
|
*
|
|
9433
9442
|
* Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
9434
9443
|
* Copyright 2024 - Finnish Meteorological Institute (FMI)
|
|
9444
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
9435
9445
|
* */
|
|
9436
9446
|
/**
|
|
9437
9447
|
* Utility function to keep track of number of renders by a react component
|