@eeacms/volto-arcgis-block 0.1.146 → 0.1.148
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
CHANGED
|
@@ -4,6 +4,17 @@ 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.1.148](https://github.com/eea/volto-arcgis-block/compare/0.1.147...0.1.148) - 23 May 2023
|
|
8
|
+
|
|
9
|
+
### [0.1.147](https://github.com/eea/volto-arcgis-block/compare/0.1.146...0.1.147) - 23 May 2023
|
|
10
|
+
|
|
11
|
+
#### :hammer_and_wrench: Others
|
|
12
|
+
|
|
13
|
+
- CLMS-2052 (fix): ran linting scripts [ujbolivar - [`ed77e14`](https://github.com/eea/volto-arcgis-block/commit/ed77e141141b7dd80d40c73a8d76f85930539380)]
|
|
14
|
+
- CLMS-2052 (fix): completed [ujbolivar - [`f2d3216`](https://github.com/eea/volto-arcgis-block/commit/f2d32161073255c238e77daa07805926c3643966)]
|
|
15
|
+
- CLMS-2052 (fix): ran linting scripts [ujbolivar - [`7b8dbb0`](https://github.com/eea/volto-arcgis-block/commit/7b8dbb0e408348aea4b046ae36f5fa964cea8b18)]
|
|
16
|
+
- CLMS-2052 (fix): title is hidden now. [ujbolivar - [`ef1d780`](https://github.com/eea/volto-arcgis-block/commit/ef1d780e81c164eac4cd2db1929ff3402a56efe1)]
|
|
17
|
+
- CLMS-2052 (fix): Images finally load. [ujbolivar - [`0a3c67f`](https://github.com/eea/volto-arcgis-block/commit/0a3c67f207a312167718f11bf8c1961aa3d8afbb)]
|
|
7
18
|
### [0.1.146](https://github.com/eea/volto-arcgis-block/compare/0.1.145...0.1.146) - 22 May 2023
|
|
8
19
|
|
|
9
20
|
### [0.1.145](https://github.com/eea/volto-arcgis-block/compare/0.1.144...0.1.145) - 16 May 2023
|
package/package.json
CHANGED
|
@@ -36,21 +36,53 @@ class LegendWidget extends React.Component {
|
|
|
36
36
|
if (!(img.complete && img.naturalHeight !== 0)) {
|
|
37
37
|
if (img?.src?.includes('all_present_lc_a_pol')) {
|
|
38
38
|
img.src =
|
|
39
|
-
'https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/dichotomous-reference-land-cover.png';
|
|
39
|
+
'https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/dichotomous-reference-land-cover.png/@@images/image-283-df1c7b022cfd505c9bab4b4be08cd4f5.png';
|
|
40
|
+
|
|
41
|
+
//prod
|
|
42
|
+
// img.src = "https://clms-prod.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/dichotomous-reference-land-cover.png/@@images/image-800-8e5528b4247acef813af4b91d30a22d1.png";
|
|
43
|
+
|
|
44
|
+
img.parentNode.parentNode.parentNode.parentNode.firstElementChild.style.display =
|
|
45
|
+
'none';
|
|
40
46
|
return;
|
|
41
47
|
} else if (img?.src?.includes('all_present_lc_b_pol')) {
|
|
42
48
|
img.src =
|
|
43
|
-
'https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/modular-reference-land-cover.png';
|
|
49
|
+
'https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/modular-reference-land-cover.png/@@images/image-312-a552fdf4af5b831c1af6cd039ad9ae2b.png';
|
|
50
|
+
|
|
51
|
+
//prod
|
|
52
|
+
// img.src = "https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/modular-reference-land-cover.png/@@images/image-800-97f58b15239b2b3ea85d701e171eaf64.png";
|
|
53
|
+
|
|
54
|
+
img.parentNode.parentNode.parentNode.parentNode.firstElementChild.style.display =
|
|
55
|
+
'none';
|
|
44
56
|
} else if (img?.src?.includes('all_lcc_a_pol')) {
|
|
45
57
|
img.src =
|
|
46
|
-
'https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/dichotomous-land-cover-change.png';
|
|
58
|
+
'https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/dichotomous-land-cover-change.png/@@images/image-324-83819bb107020e7fdab5764d199b000d.png';
|
|
59
|
+
|
|
60
|
+
//prod
|
|
61
|
+
//img.src = "https://clms-prod.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/dichotomous-land-cover-change.png/@@images/image-800-e77885afc5da8e0535f648b563e60408.png";
|
|
62
|
+
|
|
63
|
+
img.parentNode.parentNode.parentNode.parentNode.firstElementChild.style.display =
|
|
64
|
+
'none';
|
|
47
65
|
} else if (img?.src?.includes('all_lcc_b_pol')) {
|
|
48
66
|
img.src =
|
|
49
|
-
'https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/modular-land-cover-change.png';
|
|
67
|
+
'https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/modular-land-cover-change.png/@@images/image-314-30a9e6f64333da441b830fc31875c011.png';
|
|
68
|
+
|
|
69
|
+
//prod
|
|
70
|
+
//img.src = "https://clms-prod.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/modular-land-cover-change.png/@@images/image-800-7e36e74d09ddd7e3f94fb502f0b5be8e.png";
|
|
71
|
+
|
|
72
|
+
img.parentNode.parentNode.parentNode.parentNode.firstElementChild.style.display =
|
|
73
|
+
'none';
|
|
50
74
|
} else if (img?.src?.includes('cop_klc')) {
|
|
51
75
|
img.src =
|
|
52
|
-
'https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/key-landscapes-for-conservation-borders.png';
|
|
76
|
+
'https://clmsdemo.devel6cph.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/key-landscapes-for-conservation-borders.png/@@images/image-278-ebd9539bdc95d6a1028a01cd59efd680.png';
|
|
77
|
+
|
|
78
|
+
//prod
|
|
79
|
+
//img.src = "https://clms-prod.eea.europa.eu/en/products/lclcc-hot-spots/static-legends/key-landscapes-for-conservation-borders.png/@@images/image-800-28ced0e8616b9a414ea5076399a5ba4e.png";
|
|
80
|
+
|
|
81
|
+
img.parentNode.parentNode.parentNode.parentNode.firstElementChild.style.display =
|
|
82
|
+
'none';
|
|
53
83
|
} else if (img.style) {
|
|
84
|
+
img.parentNode.parentNode.parentNode.parentNode.firstElementChild.style.display =
|
|
85
|
+
'none';
|
|
54
86
|
img.style.display = 'none';
|
|
55
87
|
|
|
56
88
|
if (element.parentNode.querySelector('span')) return;
|