@eeacms/volto-cca-policy 0.3.78 → 0.3.80

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 (36) hide show
  1. package/CHANGELOG.md +13 -12
  2. package/locales/bg/LC_MESSAGES/volto.po +96 -32
  3. package/locales/cs/LC_MESSAGES/volto.po +96 -32
  4. package/locales/da/LC_MESSAGES/volto.po +96 -32
  5. package/locales/de/LC_MESSAGES/volto.po +96 -32
  6. package/locales/eea.cca.pot +53 -0
  7. package/locales/el/LC_MESSAGES/volto.po +96 -32
  8. package/locales/en/LC_MESSAGES/volto.po +95 -32
  9. package/locales/es/LC_MESSAGES/volto.po +96 -32
  10. package/locales/et/LC_MESSAGES/volto.po +96 -32
  11. package/locales/fi/LC_MESSAGES/volto.po +96 -32
  12. package/locales/fr/LC_MESSAGES/volto.po +96 -32
  13. package/locales/ga/LC_MESSAGES/volto.po +96 -32
  14. package/locales/hr/LC_MESSAGES/volto.po +96 -32
  15. package/locales/hu/LC_MESSAGES/volto.po +96 -32
  16. package/locales/is/LC_MESSAGES/volto.po +96 -32
  17. package/locales/it/LC_MESSAGES/volto.po +96 -32
  18. package/locales/lt/LC_MESSAGES/volto.po +96 -32
  19. package/locales/lv/LC_MESSAGES/volto.po +95 -32
  20. package/locales/mt/LC_MESSAGES/volto.po +96 -32
  21. package/locales/nl/LC_MESSAGES/volto.po +96 -32
  22. package/locales/nn/LC_MESSAGES/volto.po +96 -32
  23. package/locales/pl/LC_MESSAGES/volto.po +96 -32
  24. package/locales/pt/LC_MESSAGES/volto.po +96 -32
  25. package/locales/ro/LC_MESSAGES/volto.po +96 -32
  26. package/locales/sk/LC_MESSAGES/volto.po +96 -32
  27. package/locales/sl/LC_MESSAGES/volto.po +96 -32
  28. package/locales/sv/LC_MESSAGES/volto.po +96 -32
  29. package/locales/tr/LC_MESSAGES/volto.po +96 -32
  30. package/locales/volto.pot +124 -5
  31. package/package.json +2 -2
  32. package/src/components/manage/Blocks/CountryMapHeatIndex/View.js +1 -1
  33. package/src/components/manage/Blocks/CountryMapObservatory/CountryMapObservatoryOLView.jsx +1 -1
  34. package/src/components/manage/Blocks/CountryMapProfile/OLView.jsx +2 -2
  35. package/src/helpers/country_map/countryMap.js +18 -10
  36. package/src/helpers/country_map/hocs.jsx +4 -4
package/locales/volto.pot CHANGED
@@ -1,7 +1,7 @@
1
1
  msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Plone\n"
4
- "POT-Creation-Date: 2025-05-11T19:40:37.037Z\n"
4
+ "POT-Creation-Date: 2025-08-21T04:44:57.445Z\n"
5
5
  "Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
6
6
  "Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
7
7
  "Content-Type: text/plain; charset=utf-8\n"
@@ -89,6 +89,16 @@ msgstr ""
89
89
  msgid "Biogeographical regions:"
90
90
  msgstr ""
91
91
 
92
+ #. Default: "Blue options"
93
+ #: messages
94
+ msgid "Blue options"
95
+ msgstr ""
96
+
97
+ #. Default: "Capacity building empowering and lifestyle practices"
98
+ #: messages
99
+ msgid "Capacity building empowering and lifestyle practices"
100
+ msgstr ""
101
+
92
102
  #. Default: "Case Studies Documents"
93
103
  #: helpers/Utils
94
104
  msgid "Case Studies Documents"
@@ -187,6 +197,11 @@ msgstr ""
187
197
  msgid "Contributor:"
188
198
  msgstr ""
189
199
 
200
+ #. Default: "Coordination cooperation and networks"
201
+ #: messages
202
+ msgid "Coordination cooperation and networks"
203
+ msgstr ""
204
+
190
205
  #. Default: "Costs and benefits"
191
206
  #: components/theme/Views/AdaptationOptionView
192
207
  #: components/theme/Views/CaseStudyView
@@ -270,11 +285,36 @@ msgstr ""
270
285
  msgid "Duration:"
271
286
  msgstr ""
272
287
 
288
+ #. Default: "EEA Cooperating Countries and Energy Community Contracting Parties"
289
+ #: components/manage/Blocks/CountryMapProfile/Filter
290
+ msgid "EEA Cooperating Countries and Energy Community Contracting Parties"
291
+ msgstr ""
292
+
293
+ #. Default: "EEA Member Countries"
294
+ #: components/manage/Blocks/CountryMapProfile/Filter
295
+ msgid "EEA Member Countries"
296
+ msgstr ""
297
+
298
+ #. Default: "EU Member States and EEA Member Countries"
299
+ #: components/manage/Blocks/CountryMapProfile/Filter
300
+ msgid "EU Member States and EEA Member Countries"
301
+ msgstr ""
302
+
273
303
  #. Default: "EU funding"
274
304
  #: search/mission_funding/facets-funding
275
305
  msgid "EU funding"
276
306
  msgstr ""
277
307
 
308
+ #. Default: "Eastern Parnership Members and Energy Community Contracting Parties"
309
+ #: components/manage/Blocks/CountryMapProfile/Filter
310
+ msgid "Eastern Parnership Members and Energy Community Contracting Parties"
311
+ msgstr ""
312
+
313
+ #. Default: "Economic and Finance"
314
+ #: messages
315
+ msgid "Economic and Finance"
316
+ msgstr ""
317
+
278
318
  #. Default: "Eligible to receive funding"
279
319
  #: search/mission_funding/facets-funding
280
320
  msgid "Eligible to receive funding"
@@ -290,6 +330,11 @@ msgstr ""
290
330
  msgid "Explore more on Climate-ADAPT"
291
331
  msgstr ""
292
332
 
333
+ #. Default: "Financing incentive instruments"
334
+ #: messages
335
+ msgid "Financing incentive instruments"
336
+ msgstr ""
337
+
293
338
  #. Default: "For more search options"
294
339
  #: index
295
340
  msgid "For more search options"
@@ -332,11 +377,26 @@ msgstr ""
332
377
  msgid "Go to advanced search"
333
378
  msgstr ""
334
379
 
380
+ #. Default: "Governance and Institutional"
381
+ #: messages
382
+ msgid "Governance and Institutional"
383
+ msgstr ""
384
+
335
385
  #. Default: "Governance level:"
336
386
  #: helpers/ContentMetadata
337
387
  msgid "Governance level:"
338
388
  msgstr ""
339
389
 
390
+ #. Default: "Green options"
391
+ #: messages
392
+ msgid "Green options"
393
+ msgstr ""
394
+
395
+ #. Default: "Grey options"
396
+ #: messages
397
+ msgid "Grey options"
398
+ msgstr ""
399
+
340
400
  #. Default: "HHWS available (click on country for further information)"
341
401
  #: components/manage/Blocks/CountryMapHeatIndex/Filter
342
402
  msgid "HHWS available (click on country for further information)"
@@ -347,6 +407,11 @@ msgstr ""
347
407
  msgid "Hazard Type"
348
408
  msgstr ""
349
409
 
410
+ #. Default: "Health Impacts"
411
+ #: messages
412
+ msgid "Health Impacts"
413
+ msgstr ""
414
+
350
415
  #. Default: "Health impact:"
351
416
  #: helpers/ContentMetadata
352
417
  msgid "Health impact:"
@@ -408,6 +473,16 @@ msgstr ""
408
473
  msgid "Info"
409
474
  msgstr ""
410
475
 
476
+ #. Default: "Information and awareness raising"
477
+ #: messages
478
+ msgid "Information and awareness raising"
479
+ msgstr ""
480
+
481
+ #. Default: "Insurance and risk sharing instruments"
482
+ #: messages
483
+ msgid "Insurance and risk sharing instruments"
484
+ msgstr ""
485
+
411
486
  #. Default: "Item from third parties"
412
487
  #: search/cca/facets
413
488
  msgid "Item from third parties"
@@ -444,6 +519,11 @@ msgstr ""
444
519
  msgid "Keywords:"
445
520
  msgstr ""
446
521
 
522
+ #. Default: "Knowledge and behavioural change"
523
+ #: messages
524
+ msgid "Knowledge and behavioural change"
525
+ msgstr ""
526
+
447
527
  #. Default: "Language"
448
528
  #: search/common
449
529
  msgid "Language"
@@ -526,6 +606,11 @@ msgstr ""
526
606
  msgid "Macro-Transnational region:"
527
607
  msgstr ""
528
608
 
609
+ #. Default: "Management and planning"
610
+ #: messages
611
+ msgid "Management and planning"
612
+ msgstr ""
613
+
529
614
  #. Default: "Most useful for"
530
615
  #: search/mission_tools/facets-tools
531
616
  msgid "Most useful for"
@@ -536,6 +621,11 @@ msgstr ""
536
621
  msgid "National HHAP"
537
622
  msgstr ""
538
623
 
624
+ #. Default: "Nature based Solutions and Ecosystem based approaches"
625
+ #: messages
626
+ msgid "Nature based Solutions and Ecosystem based approaches"
627
+ msgstr ""
628
+
539
629
  #. Default: "New"
540
630
  #: components/Result/ClusterHorizontalCardItem
541
631
  msgid "New"
@@ -606,6 +696,16 @@ msgstr ""
606
696
  msgid "Partners"
607
697
  msgstr ""
608
698
 
699
+ #. Default: "Physical and technological"
700
+ #: messages
701
+ msgid "Physical and technological"
702
+ msgstr ""
703
+
704
+ #. Default: "Policy Instruments"
705
+ #: messages
706
+ msgid "Policy Instruments"
707
+ msgstr ""
708
+
609
709
  #. Default: "Policy and legal background"
610
710
  #: components/theme/Views/CaseStudyView
611
711
  msgid "Policy and legal background"
@@ -626,6 +726,11 @@ msgstr ""
626
726
  msgid "Project information"
627
727
  msgstr ""
628
728
 
729
+ #. Default: "Publications and reports"
730
+ #: search/vocabulary
731
+ msgid "Publication reference"
732
+ msgstr ""
733
+
629
734
  #. Default: "Publications and Reports Documents"
630
735
  #: helpers/Utils
631
736
  msgid "Publications and Reports Documents"
@@ -695,17 +800,17 @@ msgid "Replace existing file"
695
800
  msgstr ""
696
801
 
697
802
  #. Default: "Search the Climate-ADAPT database"
698
- #: index
803
+ #: messages
699
804
  msgid "Search the Climate-ADAPT database"
700
805
  msgstr ""
701
806
 
702
807
  #. Default: "Search the EU Mission on Adaptation"
703
- #: index
808
+ #: messages
704
809
  msgid "Search the EU Mission on Adaptation"
705
810
  msgstr ""
706
811
 
707
812
  #. Default: "Search the Observatory Resource Catalogue..."
708
- #: index
813
+ #: messages
709
814
  msgid "Search the Observatory Resource Catalogue..."
710
815
  msgstr ""
711
816
 
@@ -801,6 +906,11 @@ msgstr ""
801
906
  msgid "Success and limiting factors"
802
907
  msgstr ""
803
908
 
909
+ #. Default: "Technological options"
910
+ #: messages
911
+ msgid "Technological options"
912
+ msgstr ""
913
+
804
914
  #. Default: "The Adaptation Support Tool - Getting started"
805
915
  #: components/theme/ASTNavigation/ASTAccordion
806
916
  msgid "The Adaptation Support Tool - Getting started"
@@ -843,6 +953,11 @@ msgstr ""
843
953
  msgid "Type of item"
844
954
  msgstr ""
845
955
 
956
+ #. Default: "Types"
957
+ #: messages
958
+ msgid "Types"
959
+ msgstr ""
960
+
846
961
  #. Default: "Updating notes"
847
962
  #: components/theme/Views/CaseStudyView
848
963
  msgid "Updating notes"
@@ -853,6 +968,11 @@ msgstr ""
853
968
  msgid "User requirements"
854
969
  msgstr ""
855
970
 
971
+ #. Default: "Videos and podcasts"
972
+ #: search/vocabulary
973
+ msgid "Video"
974
+ msgstr ""
975
+
856
976
  #. Default: "View all contributions in the resource catalogue"
857
977
  #: helpers/Utils
858
978
  msgid "View all contributions in the resource catalogue"
@@ -898,4 +1018,3 @@ msgstr ""
898
1018
  #: components/manage/Blocks/CountryProfileDetail/View
899
1019
  msgid "officiallyInEnglish"
900
1020
  msgstr ""
901
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.3.78",
3
+ "version": "0.3.80",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -34,7 +34,7 @@
34
34
  "@eeacms/volto-embed": "*",
35
35
  "@eeacms/volto-globalsearch": "2.1.2",
36
36
  "@eeacms/volto-openlayers-map": "1.0.1",
37
- "@eeacms/volto-searchlib": "2.1.7",
37
+ "@eeacms/volto-searchlib": "2.1.8",
38
38
  "@eeacms/volto-slate-label": "1.0.1",
39
39
  "@eeacms/volto-tabs-block": "9.0.3",
40
40
  "@elastic/search-ui": "1.21.2",
@@ -186,7 +186,7 @@ const View = (props) => {
186
186
  };
187
187
 
188
188
  export default compose(
189
- withGeoJsonData,
189
+ withGeoJsonData(),
190
190
  clientOnly,
191
191
  withResponsiveContainer('countryMapHeatIndex'),
192
192
  withVisibilitySensor(),
@@ -128,7 +128,7 @@ const CountryMapObservatoryView = (props) => {
128
128
 
129
129
  export default compose(
130
130
  clientOnly,
131
- withGeoJsonData,
131
+ withGeoJsonData(),
132
132
  withResponsiveContainer('countryMapObservatory'),
133
133
  withVisibilitySensor(),
134
134
  withOpenLayers,
@@ -5,7 +5,7 @@ import {
5
5
  getImageUrl,
6
6
  tooltipStyle,
7
7
  adjustEuCountryNames,
8
- euCountryNames as euCountryNamesRaw,
8
+ euCountryNamesIncludingEnergy as euCountryNamesRaw,
9
9
  } from '@eeacms/volto-cca-policy/helpers/country_map/countryMap';
10
10
  import { withGeoJsonData } from '@eeacms/volto-cca-policy/helpers/country_map/hocs';
11
11
  import { clientOnly } from '@eeacms/volto-cca-policy/helpers';
@@ -164,7 +164,7 @@ const View = (props) => {
164
164
 
165
165
  export default compose(
166
166
  clientOnly,
167
- withGeoJsonData,
167
+ withGeoJsonData(true),
168
168
  withResponsiveContainer('countryMapProfile'),
169
169
  withVisibilitySensor(),
170
170
  withOpenLayers,
@@ -2,11 +2,8 @@
2
2
  // import flags from './flags.js';
3
3
 
4
4
  export const euCountryNames = [
5
- 'Albania',
6
5
  'Austria',
7
6
  'Belgium',
8
- 'Bosnia-Herzegovina',
9
- 'Bosnia and Herzegovina',
10
7
  'Bulgaria',
11
8
  'Cyprus',
12
9
  'Croatia',
@@ -15,23 +12,17 @@ export const euCountryNames = [
15
12
  'Estonia',
16
13
  'Finland',
17
14
  'France',
18
- 'Georgia',
19
15
  'Germany',
20
16
  'Greece',
21
17
  'Hungary',
22
18
  'Iceland',
23
19
  'Ireland',
24
- 'Kosovo',
25
20
  'Italy',
26
21
  'Latvia',
27
22
  'Lithuania',
28
23
  'Luxembourg',
29
24
  'Malta',
30
- 'Moldova',
31
- 'Moldova, Republic of',
32
- 'Montenegro',
33
25
  'Netherlands',
34
- 'North Macedonia',
35
26
  'Poland',
36
27
  'Portugal',
37
28
  'Romania',
@@ -41,13 +32,30 @@ export const euCountryNames = [
41
32
  'Spain',
42
33
  'Sweden',
43
34
  'United Kingdom',
44
- 'Ukraine',
45
35
  'Liechtenstein',
46
36
  'Norway',
47
37
  'Switzerland',
48
38
  'Turkey',
49
39
  ];
50
40
 
41
+ export const euCountryNamesEnergy = [
42
+ 'Albania',
43
+ 'Bosnia-Herzegovina',
44
+ 'Bosnia and Herzegovina',
45
+ 'Georgia',
46
+ 'Kosovo',
47
+ 'Moldova',
48
+ 'Moldova, Republic of',
49
+ 'Montenegro',
50
+ 'North Macedonia',
51
+ 'Ukraine',
52
+ ];
53
+
54
+ export const euCountryNamesIncludingEnergy = [
55
+ ...euCountryNames,
56
+ ...euCountryNamesEnergy,
57
+ ];
58
+
51
59
  export function getFocusCountryNames() {
52
60
  return euCountryNames;
53
61
  }
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import geoJsonUrl from '@eeacms/volto-cca-policy/cntrg.data';
3
3
 
4
- // const projection = 'EPSG:4326';
5
- const projection = 'EPSG:3857';
4
+ const projection = 'EPSG:4326';
5
+ const projectionFlat = 'EPSG:3857';
6
6
 
7
- export const withGeoJsonData = (WrappedComponent) => {
7
+ export const withGeoJsonData = (showFlatMap) => (WrappedComponent) => {
8
8
  function Wrapper(props) {
9
9
  const [geofeatures, setGeofeatures] = React.useState();
10
10
  React.useEffect(() => {
@@ -20,7 +20,7 @@ export const withGeoJsonData = (WrappedComponent) => {
20
20
  <WrappedComponent
21
21
  {...props}
22
22
  geofeatures={geofeatures}
23
- projection={projection}
23
+ projection={showFlatMap ? projectionFlat : projection}
24
24
  />
25
25
  ) : null;
26
26
  }