@opengeoweb/cap 9.20.2 → 9.22.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 CHANGED
@@ -9,9 +9,10 @@ import React from 'react';
9
9
  import i18n from 'i18next';
10
10
  import { useTranslation } from 'react-i18next';
11
11
  import { ConfigurableMapConnect } from '@opengeoweb/core';
12
+ import '@opengeoweb/timeslider';
13
+ import { MapViewLayer, MapWarningProperties } from '@opengeoweb/webmap-react';
12
14
  import { mapSelectors } from '@opengeoweb/store';
13
15
  import { webmapUtils } from '@opengeoweb/webmap';
14
- import { MapViewLayer, MapWarningProperties } from '@opengeoweb/webmap-react';
15
16
 
16
17
  var en = {
17
18
  "map-view-cap-error-title": "Something went wrong with loading the configuration file",
@@ -31,9 +32,19 @@ var fi = {
31
32
  "warning-list-row-expires": "🚧 ei käännetty",
32
33
  "warning-list-row-not-expired": "🚧 ei käännetty"
33
34
  };
35
+ var nl = {
36
+ "map-view-cap-error-title": "Er ging iets mis met het laden van het configuratie bestand",
37
+ "warning-list-cap-alert-banner-title": "Let op: Alleen de kaart wordt beïnvloed door filteren op basis van timeslider",
38
+ "warning-list-cap-error-title": "Er ging iets mis met het laden van het configuratie bestand",
39
+ "warning-list-row-event": "Event",
40
+ "warning-list-row-severity": "Hevigheid",
41
+ "warning-list-row-expires": "Verloopt",
42
+ "warning-list-row-not-expired": "(niet verlopen)"
43
+ };
34
44
  var capTrans = {
35
45
  en: en,
36
- fi: fi
46
+ fi: fi,
47
+ nl: nl
37
48
  };
38
49
 
39
50
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -4512,4 +4523,4 @@ const capModuleConfig = {
4512
4523
  }
4513
4524
  };
4514
4525
 
4515
- export { ComponentsLookUp, capModuleConfig, reducer as capReducer, capTrans };
4526
+ export { CAP_NAMESPACE, ComponentsLookUp, capModuleConfig, reducer as capReducer, capTrans as capTranslations };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/cap",
3
- "version": "9.20.2",
3
+ "version": "9.22.0",
4
4
  "description": "GeoWeb Common Alerting Protocol (CAP) library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,19 +13,20 @@
13
13
  "@opengeoweb/api": "*",
14
14
  "@opengeoweb/core": "*",
15
15
  "frappe-gantt": "^0.6.1",
16
- "@mui/material": "~5.15.11",
16
+ "@mui/material": "^5.16.0",
17
17
  "@opengeoweb/shared": "*",
18
18
  "@opengeoweb/store": "*",
19
19
  "react-redux": "^8.1.3",
20
20
  "@opengeoweb/webmap": "*",
21
21
  "@opengeoweb/webmap-react": "*",
22
22
  "@mui/system": "^5.15.1",
23
- "react-i18next": "^13.5.0",
23
+ "react-i18next": "^14.1.2",
24
24
  "@reduxjs/toolkit": "^1.9.7",
25
25
  "@opengeoweb/theme": "*",
26
- "i18next": "^23.7.11",
26
+ "i18next": "^23.11.5",
27
27
  "@redux-eggs/core": "^2.2.0",
28
- "axios": "1.5.0"
28
+ "axios": "1.5.0",
29
+ "@opengeoweb/timeslider": "*"
29
30
  },
30
31
  "peerDependencies": {
31
32
  "react": "18"
package/src/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
- import capTrans from '../locales/cap.json';
1
+ import capTranslations from '../locales/cap.json';
2
2
  export * from './lib';
3
- export { capTrans };
3
+ export { CAP_NAMESPACE } from './lib/utils/i18n';
4
+ export { capTranslations };