@opengeoweb/cap 9.25.2 → 9.26.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.
Files changed (2) hide show
  1. package/index.esm.js +9 -0
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -1147,6 +1147,7 @@ $$e({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }
1147
1147
  *
1148
1148
  * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1149
1149
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
1150
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
1150
1151
  * */
1151
1152
  const feedAdapter = createEntityAdapter();
1152
1153
  const feedInitialState = feedAdapter.getInitialState();
@@ -1198,6 +1199,7 @@ const capActions = slice.actions;
1198
1199
  *
1199
1200
  * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1200
1201
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
1202
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
1201
1203
  * */
1202
1204
  const {
1203
1205
  selectById: getCapFeedById,
@@ -1901,6 +1903,7 @@ $$c({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_RE
1901
1903
  *
1902
1904
  * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1903
1905
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
1906
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
1904
1907
  * */
1905
1908
  const findEventIndexInLanguage = (language, languages, capWarningPresets, feedAddressFromProps) => {
1906
1909
  const correctFeedIndex = capWarningPresets.feeds.findIndex(({
@@ -1935,6 +1938,7 @@ const findEventIndexInLanguage = (language, languages, capWarningPresets, feedAd
1935
1938
  *
1936
1939
  * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1937
1940
  * Copyright 2023 - Finnish Meteorological Institute (FMI)
1941
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
1938
1942
  * */
1939
1943
  const CAP_NAMESPACE = 'cap';
1940
1944
  const useCapTranslation = () => useTranslation(CAP_NAMESPACE);
@@ -2177,6 +2181,7 @@ const WarningListCapConnectWrapper = ({
2177
2181
  *
2178
2182
  * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2179
2183
  * Copyright 2023 - Finnish Meteorological Institute (FMI)
2184
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
2180
2185
  * */
2181
2186
  const getApiRoutes = (axiosInstance, nonAuthAxiosInstance) => ({
2182
2187
  getCapConfiguration: productConfigKey => {
@@ -4149,6 +4154,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4149
4154
  *
4150
4155
  * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4151
4156
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
4157
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4152
4158
  * */
4153
4159
  const highlightGeoJson = (currentFeatures, featureResults) => Object.entries(currentFeatures).reduce((byId, [alertId, features]) => {
4154
4160
  const isSelected = alertId === (featureResults === null || featureResults === void 0 ? void 0 : featureResults.feature.properties.details.identifier);
@@ -4177,6 +4183,7 @@ const highlightGeoJson = (currentFeatures, featureResults) => Object.entries(cur
4177
4183
  *
4178
4184
  * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4179
4185
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
4186
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4180
4187
  * */
4181
4188
  const addColors = features => {
4182
4189
  const severityStyles = {
@@ -4224,6 +4231,7 @@ const addColors = features => {
4224
4231
  *
4225
4232
  * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4226
4233
  * Copyright 2023 - Finnish Meteorological Institute (FMI)
4234
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4227
4235
  * */
4228
4236
  const addFeedAdressToCustomGeoJSonFeature = (feedAddress, features) => {
4229
4237
  return features.reduce((list, feature) => {
@@ -4525,6 +4533,7 @@ const ComponentsLookUp = ({
4525
4533
  *
4526
4534
  * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4527
4535
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
4536
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4528
4537
  * */
4529
4538
  const capModuleConfig = {
4530
4539
  id: 'capStore-module',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/cap",
3
- "version": "9.25.2",
3
+ "version": "9.26.0",
4
4
  "description": "GeoWeb Common Alerting Protocol (CAP) library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {