@eeacms/volto-cca-policy 0.3.114 → 0.3.116
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/CHANGELOG.md +33 -0
- package/locales/bg/LC_MESSAGES/volto.po +1 -1
- package/locales/cs/LC_MESSAGES/volto.po +1 -1
- package/locales/da/LC_MESSAGES/volto.po +1 -1
- package/locales/de/LC_MESSAGES/volto.po +1 -1
- package/locales/el/LC_MESSAGES/volto.po +1 -1
- package/locales/es/LC_MESSAGES/volto.po +1 -1
- package/locales/et/LC_MESSAGES/volto.po +1 -1
- package/locales/fi/LC_MESSAGES/volto.po +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +1 -1
- package/locales/ga/LC_MESSAGES/volto.po +1 -1
- package/locales/hr/LC_MESSAGES/volto.po +1 -1
- package/locales/hu/LC_MESSAGES/volto.po +1 -1
- package/locales/is/LC_MESSAGES/volto.po +1 -1
- package/locales/it/LC_MESSAGES/volto.po +1 -1
- package/locales/lt/LC_MESSAGES/volto.po +1 -1
- package/locales/lv/LC_MESSAGES/volto.po +1 -1
- package/locales/mt/LC_MESSAGES/volto.po +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +1 -1
- package/locales/nn/LC_MESSAGES/volto.po +1 -1
- package/locales/pl/LC_MESSAGES/volto.po +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +1 -1
- package/locales/sk/LC_MESSAGES/volto.po +1 -1
- package/locales/sl/LC_MESSAGES/volto.po +1 -1
- package/locales/sv/LC_MESSAGES/volto.po +1 -1
- package/locales/tr/LC_MESSAGES/volto.po +1 -1
- package/package.json +3 -3
- package/src/components/theme/Views/C3SIndicatorView.jsx +98 -70
- package/src/helpers/Constants.jsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [0.3.116](https://github.com/eea/volto-cca-policy/compare/0.3.115...0.3.116) - 27 April 2026
|
|
8
|
+
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat: add Moldova to Climate Adapt countries - refs #302828 [kreafox - [`edb81d2`](https://github.com/eea/volto-cca-policy/commit/edb81d248a144410de76c0cfde99f5dc4805f3fc)]
|
|
12
|
+
|
|
13
|
+
### [0.3.115](https://github.com/eea/volto-cca-policy/compare/0.3.114...0.3.115) - 27 April 2026
|
|
14
|
+
|
|
15
|
+
#### :rocket: Dependency updates
|
|
16
|
+
|
|
17
|
+
- Release @eeacms/volto-openlayers-map@2.0.0 [EEA Jenkins - [`cf116b0`](https://github.com/eea/volto-cca-policy/commit/cf116b0c06ea8f4f787c8c5616ee9137d1b7c8b3)]
|
|
18
|
+
|
|
19
|
+
#### :nail_care: Enhancements
|
|
20
|
+
|
|
21
|
+
- change: update c3s indicator view - refs #302722 [kreafox - [`d0493c4`](https://github.com/eea/volto-cca-policy/commit/d0493c4121d38722c97d16791bb9d3a87599a73d)]
|
|
22
|
+
- change: add metadata section on c3sindicator view - refs #302722 [kreafox - [`ee3f610`](https://github.com/eea/volto-cca-policy/commit/ee3f61050cefca2b1307521527042ec026426dfd)]
|
|
23
|
+
|
|
24
|
+
#### :hammer_and_wrench: Others
|
|
25
|
+
|
|
26
|
+
- Refs #299444 - add translations for videos-and-podcast remaining languages [iugin - [`47fee7c`](https://github.com/eea/volto-cca-policy/commit/47fee7cbbf7426930387913ea1411323c6910e4b)]
|
|
27
|
+
- Refs #299444 - add translations for videos-and-podcast [iugin - [`a917ef8`](https://github.com/eea/volto-cca-policy/commit/a917ef8b44b3c975ed290988c7c772ab03d3dc50)]
|
|
28
|
+
- update package.json [kreafox - [`a22a094`](https://github.com/eea/volto-cca-policy/commit/a22a0944840e15b2e63eb51b7e3c49879eef2f6b)]
|
|
7
29
|
### [0.3.114](https://github.com/eea/volto-cca-policy/compare/0.3.113...0.3.114) - 16 April 2026
|
|
8
30
|
|
|
9
31
|
#### :bug: Bug Fixes
|
|
@@ -192,6 +214,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
192
214
|
|
|
193
215
|
#### :house: Internal changes
|
|
194
216
|
|
|
217
|
+
- chore: [JENKINSFILE] add package version in sonarqube [valentinab25 - [`e901251`](https://github.com/eea/volto-cca-policy/commit/e901251592eb54609fbc7eb8fcf7bd452c2da9cd)]
|
|
195
218
|
|
|
196
219
|
### [0.3.102](https://github.com/eea/volto-cca-policy/compare/0.3.101...0.3.102) - 24 February 2026
|
|
197
220
|
|
|
@@ -201,6 +224,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
201
224
|
|
|
202
225
|
#### :house: Internal changes
|
|
203
226
|
|
|
227
|
+
- chore: [JENKINSFILE] use sonarqube branches [EEA Jenkins - [`8b3699a`](https://github.com/eea/volto-cca-policy/commit/8b3699a6cbaef662b5e80884ac2c1f7dc9c6591e)]
|
|
204
228
|
|
|
205
229
|
### [0.3.101](https://github.com/eea/volto-cca-policy/compare/0.3.100...0.3.101) - 28 January 2026
|
|
206
230
|
|
|
@@ -488,6 +512,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
488
512
|
- style: fix item spacing [kreafox - [`7d4535d`](https://github.com/eea/volto-cca-policy/commit/7d4535dbc486e6cb80fc55d6ac8c7c01d9cf48af)]
|
|
489
513
|
- chore: code cleanup [kreafox - [`842419b`](https://github.com/eea/volto-cca-policy/commit/842419b1bce3dc624755c81c9dea672198cab9e2)]
|
|
490
514
|
- style: update teaser block styling [kreafox - [`1e0cad8`](https://github.com/eea/volto-cca-policy/commit/1e0cad8e1ed3ae827ee868dce8ad50b292a937ba)]
|
|
515
|
+
- chore: update Makefile, run yarn i18n [kreafox - [`61e6962`](https://github.com/eea/volto-cca-policy/commit/61e6962901068ae6512265417a730bd9befd65fe)]
|
|
491
516
|
- chore: move styling to theme folder [kreafox - [`8cf6a1b`](https://github.com/eea/volto-cca-policy/commit/8cf6a1b8b14abf472a9c61b28db574f6d9e0bd3b)]
|
|
492
517
|
- chore: remove ArrayWidget customization [kreafox - [`249bf93`](https://github.com/eea/volto-cca-policy/commit/249bf93054f7726c3d57a8b8ca01b75cd0d30522)]
|
|
493
518
|
- chore: remove Footer customization [kreafox - [`7038af3`](https://github.com/eea/volto-cca-policy/commit/7038af37d48a328dfc31746f3fa84973e2f840ab)]
|
|
@@ -3250,10 +3275,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
3250
3275
|
- Refs #260715 rast-block wip [Tripon Eugen - [`f19d54e`](https://github.com/eea/volto-cca-policy/commit/f19d54e0b9a6a86bf344eb85b6a1cda7f3de91bf)]
|
|
3251
3276
|
- Refs #260715 rast-block wip [Tripon Eugen - [`2828537`](https://github.com/eea/volto-cca-policy/commit/2828537b6c084cd1a82162d552fb4ef025b71f9f)]
|
|
3252
3277
|
- Refs #260715 rast-block updates [Tripon Eugen - [`1e803e5`](https://github.com/eea/volto-cca-policy/commit/1e803e5bd3d3fb7558f261c76c68866be7beb8b5)]
|
|
3278
|
+
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`0a15e1b`](https://github.com/eea/volto-cca-policy/commit/0a15e1b2ad081233685e80d5b3c60a8663f6b896)]
|
|
3279
|
+
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`9554e44`](https://github.com/eea/volto-cca-policy/commit/9554e44c92a621a52b2adb5a4830fb084ee5734b)]
|
|
3253
3280
|
### [0.1.49](https://github.com/eea/volto-cca-policy/compare/0.1.48...0.1.49) - 15 November 2023
|
|
3254
3281
|
|
|
3255
3282
|
#### :house: Internal changes
|
|
3256
3283
|
|
|
3284
|
+
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`7b820a6`](https://github.com/eea/volto-cca-policy/commit/7b820a6369c2ddd5203b1a4abe352cb4bb43db7a)]
|
|
3257
3285
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`f0a8061`](https://github.com/eea/volto-cca-policy/commit/f0a8061c275c236deb00087c23fac9860a073106)]
|
|
3258
3286
|
|
|
3259
3287
|
#### :hammer_and_wrench: Others
|
|
@@ -3270,6 +3298,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
3270
3298
|
- Refs #259267 - jenkins test [Tripon Eugen - [`cacd31e`](https://github.com/eea/volto-cca-policy/commit/cacd31e7b1afe0983674ed5c7632d2e1d7fa752e)]
|
|
3271
3299
|
- Refs #259267 - jenkins [Tripon Eugen - [`5b3affe`](https://github.com/eea/volto-cca-policy/commit/5b3affee8401239de10097884c1b7f2349d15ec0)]
|
|
3272
3300
|
- Refs #259267 - add When, lead image and title to files [Tripon Eugen - [`2cedb23`](https://github.com/eea/volto-cca-policy/commit/2cedb237f898af9057e13fba94b615ef71077204)]
|
|
3301
|
+
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`4d607a5`](https://github.com/eea/volto-cca-policy/commit/4d607a576e9d0a5c34e48c41b409e7df616ee3d6)]
|
|
3302
|
+
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`b7f74d5`](https://github.com/eea/volto-cca-policy/commit/b7f74d53513a6edbfbca5cb6d19687929bb1e5db)]
|
|
3303
|
+
- test: [JENKINS] Improve cypress time [valentinab25 - [`db65617`](https://github.com/eea/volto-cca-policy/commit/db656173391f65157098d95d388c25f6429753d8)]
|
|
3273
3304
|
- Refs #259267 - cca event blocks attachments and check not mandatoty fields [Tripon Eugen - [`3138e5a`](https://github.com/eea/volto-cca-policy/commit/3138e5afb5bfbdbed14e27ed457b16867b7fa414)]
|
|
3274
3305
|
- Refs #256681 - Fix error in CCA Event view menu. ([React Intl] An id must be provided to format a message.) [GhitaB - [`517eeb8`](https://github.com/eea/volto-cca-policy/commit/517eeb817264a47bbfd6b9b7d22aaf22d44ed224)]
|
|
3275
3306
|
- Refs #161485 - Fix ECDE name conflict. [GhitaB - [`8bfd99f`](https://github.com/eea/volto-cca-policy/commit/8bfd99ff68bb82a04d1c0ed625fa514fcf46289e)]
|
|
@@ -3486,6 +3517,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
3486
3517
|
|
|
3487
3518
|
#### :house: Internal changes
|
|
3488
3519
|
|
|
3520
|
+
- chore: [JENKINS] Remove alpha testing version [valentinab25 - [`ad1ced0`](https://github.com/eea/volto-cca-policy/commit/ad1ced0971ba116c13a3b5fcc039172cc915c919)]
|
|
3489
3521
|
|
|
3490
3522
|
#### :hammer_and_wrench: Others
|
|
3491
3523
|
|
|
@@ -3966,6 +3998,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
3966
3998
|
#### :hammer_and_wrench: Others
|
|
3967
3999
|
|
|
3968
4000
|
- Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
|
|
4001
|
+
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
|
|
3969
4002
|
### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
|
|
3970
4003
|
|
|
3971
4004
|
#### :hammer_and_wrench: Others
|
|
@@ -1071,7 +1071,7 @@ msgstr "Vartotojo reikalavimai"
|
|
|
1071
1071
|
#. Default: "Videos and podcasts"
|
|
1072
1072
|
#: search/vocabulary
|
|
1073
1073
|
msgid "Video"
|
|
1074
|
-
msgstr "Vaizdo
|
|
1074
|
+
msgstr "Vaizdo įrašai ir tinklalaidės"
|
|
1075
1075
|
|
|
1076
1076
|
#. Default: "Videos and podcasts"
|
|
1077
1077
|
#: messages
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-cca-policy",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.116",
|
|
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",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"@plone-collective/volto-authomatic"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@eeacms/volto-datablocks": "
|
|
32
|
+
"@eeacms/volto-datablocks": "*",
|
|
33
33
|
"@eeacms/volto-eea-design-system": "*",
|
|
34
34
|
"@eeacms/volto-eea-website-theme": "*",
|
|
35
35
|
"@eeacms/volto-embed": "*",
|
|
36
36
|
"@eeacms/volto-globalsearch": "4.0.1",
|
|
37
37
|
"@eeacms/volto-group-block": "^9.0.0",
|
|
38
|
-
"@eeacms/volto-openlayers-map": "
|
|
38
|
+
"@eeacms/volto-openlayers-map": "2.0.0",
|
|
39
39
|
"@eeacms/volto-searchlib": "^2.1.10",
|
|
40
40
|
"@eeacms/volto-slate-label": "2.0.1",
|
|
41
41
|
"@eeacms/volto-tabs-block": "^9.0.3",
|
|
@@ -4,14 +4,16 @@ import {
|
|
|
4
4
|
HTMLField,
|
|
5
5
|
BannerTitle,
|
|
6
6
|
LogoWrapper,
|
|
7
|
+
ContentMetadata,
|
|
7
8
|
} from '@eeacms/volto-cca-policy/helpers';
|
|
8
9
|
import {
|
|
9
|
-
Container,
|
|
10
|
-
Accordion,
|
|
11
10
|
Icon,
|
|
12
|
-
|
|
11
|
+
Grid,
|
|
13
12
|
Image,
|
|
14
13
|
Button,
|
|
14
|
+
Segment,
|
|
15
|
+
Container,
|
|
16
|
+
Accordion,
|
|
15
17
|
} from 'semantic-ui-react';
|
|
16
18
|
import { PortalMessage } from '@eeacms/volto-cca-policy/components';
|
|
17
19
|
import { Link } from 'react-router-dom';
|
|
@@ -228,74 +230,100 @@ function C3SIndicatorView(props) {
|
|
|
228
230
|
|
|
229
231
|
<Container className="">
|
|
230
232
|
<PortalMessage content={content} />
|
|
231
|
-
<
|
|
232
|
-
<
|
|
233
|
-
<
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
233
|
+
<Grid columns="12">
|
|
234
|
+
<Grid.Row>
|
|
235
|
+
<Grid.Column
|
|
236
|
+
mobile={12}
|
|
237
|
+
tablet={12}
|
|
238
|
+
computer={8}
|
|
239
|
+
className="col-left"
|
|
240
|
+
>
|
|
241
|
+
<LogoWrapper logo={logo}>
|
|
242
|
+
<h2>
|
|
243
|
+
<FormattedMessage
|
|
244
|
+
id="Background information"
|
|
245
|
+
defaultMessage="Background information"
|
|
246
|
+
/>
|
|
247
|
+
</h2>
|
|
248
|
+
{logo && (
|
|
249
|
+
<Image
|
|
250
|
+
src={logo?.scales?.mini?.download}
|
|
251
|
+
alt={title}
|
|
252
|
+
className="db-logo"
|
|
253
|
+
/>
|
|
254
|
+
)}
|
|
255
|
+
</LogoWrapper>
|
|
246
256
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
257
|
+
<Accordion id="background" key="background" className="secondary">
|
|
258
|
+
<Accordion.Title
|
|
259
|
+
role="button"
|
|
260
|
+
tabIndex={0}
|
|
261
|
+
active={activeAccordion[0]}
|
|
262
|
+
aria-expanded={activeAccordion[0]}
|
|
263
|
+
index={1}
|
|
264
|
+
onClick={(e) => handleAccordionClick(e, 0)}
|
|
265
|
+
onKeyDown={(e) => {
|
|
266
|
+
if (e.keyCode === 13 || e.keyCode === 32) {
|
|
267
|
+
e.preventDefault();
|
|
268
|
+
handleAccordionClick(e, 0);
|
|
269
|
+
}
|
|
270
|
+
}}
|
|
271
|
+
>
|
|
272
|
+
<span className="item-title">Background Information</span>
|
|
273
|
+
{activeAccordion[0] ? (
|
|
274
|
+
<Icon className="ri-arrow-up-s-line" />
|
|
275
|
+
) : (
|
|
276
|
+
<Icon className="ri-arrow-down-s-line" />
|
|
277
|
+
)}
|
|
278
|
+
</Accordion.Title>
|
|
279
|
+
<Accordion.Content active={activeAccordion[0]}>
|
|
280
|
+
<HTMLField value={long_description} />
|
|
281
|
+
</Accordion.Content>
|
|
282
|
+
</Accordion>
|
|
283
|
+
<Accordion
|
|
284
|
+
id="visualisation"
|
|
285
|
+
key="visualisation"
|
|
286
|
+
className="secondary"
|
|
287
|
+
>
|
|
288
|
+
<Accordion.Title
|
|
289
|
+
role="button"
|
|
290
|
+
tabIndex={0}
|
|
291
|
+
active={activeAccordion[1]}
|
|
292
|
+
aria-expanded={activeAccordion[1]}
|
|
293
|
+
index={1}
|
|
294
|
+
onClick={(e) => handleAccordionClick(e, 1)}
|
|
295
|
+
onKeyDown={(e) => {
|
|
296
|
+
if (e.keyCode === 13 || e.keyCode === 32) {
|
|
297
|
+
e.preventDefault();
|
|
298
|
+
handleAccordionClick(e, 1);
|
|
299
|
+
}
|
|
300
|
+
}}
|
|
301
|
+
>
|
|
302
|
+
<span className="item-title">
|
|
303
|
+
Visualisation and Navigation
|
|
304
|
+
</span>
|
|
305
|
+
{activeAccordion[1] ? (
|
|
306
|
+
<Icon className="ri-arrow-up-s-line" />
|
|
307
|
+
) : (
|
|
308
|
+
<Icon className="ri-arrow-down-s-line" />
|
|
309
|
+
)}
|
|
310
|
+
</Accordion.Title>
|
|
311
|
+
<Accordion.Content active={activeAccordion[1]}>
|
|
312
|
+
<HTMLField value={definition_app} />
|
|
313
|
+
</Accordion.Content>
|
|
314
|
+
</Accordion>
|
|
315
|
+
</Grid.Column>
|
|
316
|
+
|
|
317
|
+
<Grid.Column
|
|
318
|
+
mobile={12}
|
|
319
|
+
tablet={12}
|
|
320
|
+
computer={4}
|
|
321
|
+
className="col-right"
|
|
322
|
+
>
|
|
323
|
+
<ContentMetadata {...props} />
|
|
324
|
+
</Grid.Column>
|
|
325
|
+
</Grid.Row>
|
|
326
|
+
</Grid>
|
|
299
327
|
|
|
300
328
|
<div className="c3s-buttons">
|
|
301
329
|
{showMode === 'normal' ? (
|