@eeacms/volto-arcgis-block 0.1.70 → 0.1.71
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,19 @@ 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.71](https://github.com/eea/volto-arcgis-block/compare/0.1.70...0.1.71) - 13 October 2022
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: CLMS-1471 clicking on the dropdown of a layer with handlingLevel set to true now does not expand the dropdown [joewdavies - [`ed46039`](https://github.com/eea/volto-arcgis-block/commit/ed46039701ab8c8b8f7b7f03aa6b2b226a84e455)]
|
|
12
|
+
- fix: override arcgis map styles for timeslider dates [joewdavies - [`6a92d0b`](https://github.com/eea/volto-arcgis-block/commit/6a92d0bc417eade137a88c70f8ad5a6567121dbd)]
|
|
13
|
+
- fix: CLMS-1467 format timeslider dates using labelFormatFunction to DD/MM/YYYY [joewdavies - [`0292f54`](https://github.com/eea/volto-arcgis-block/commit/0292f541d2547f565324846fd75e0956c0057ea2)]
|
|
14
|
+
|
|
15
|
+
#### :hammer_and_wrench: Others
|
|
16
|
+
|
|
17
|
+
- cleaner fix for CLMS-1471 [joewdavies - [`8e5eb22`](https://github.com/eea/volto-arcgis-block/commit/8e5eb229fd671846b33405b6ecd323f6e82c39af)]
|
|
18
|
+
- ESlint fix [joewdavies - [`ca8abb7`](https://github.com/eea/volto-arcgis-block/commit/ca8abb7a76dc6d36d20240aabb5d3ced3e0621aa)]
|
|
19
|
+
- prettier fix [joewdavies - [`08f9405`](https://github.com/eea/volto-arcgis-block/commit/08f9405762f254cddfa54fd8b07c4778ad64fdb2)]
|
|
7
20
|
### [0.1.70](https://github.com/eea/volto-arcgis-block/compare/0.1.69...0.1.70) - 7 October 2022
|
|
8
21
|
|
|
9
22
|
### [0.1.69](https://github.com/eea/volto-arcgis-block/compare/0.1.68...0.1.69) - 6 October 2022
|
|
@@ -176,13 +189,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
176
189
|
#### :hammer_and_wrench: Others
|
|
177
190
|
|
|
178
191
|
- Merge pull request #148 from eea/develop [KCarpinteroBM - [`24266fb`](https://github.com/eea/volto-arcgis-block/commit/24266fb3a0c1662d22ae0529dc1d5a25c711cf97)]
|
|
179
|
-
- Revert "[JENKINS] Use eeacms/plone-backend and Volto alpha version- Refs #151967" [Mikel Larreategi - [`f751f69`](https://github.com/eea/volto-arcgis-block/commit/f751f69f652f0340ae55af6a4dab89d6bdc80906)]
|
|
180
192
|
- Revert "Revert "Mapviewer menu and map viewer options persistence"" [Mikel Larreategi - [`ad6e440`](https://github.com/eea/volto-arcgis-block/commit/ad6e440cdc160cffb1e86e1b26e501dbe648476c)]
|
|
181
193
|
- Revert "code coverage removal" [Mikel Larreategi - [`376f2d1`](https://github.com/eea/volto-arcgis-block/commit/376f2d1cd6e4e5110b3b63d5114af1bcfebe094b)]
|
|
182
194
|
- Revert "Update cypress.json" [Mikel Larreategi - [`43d01a0`](https://github.com/eea/volto-arcgis-block/commit/43d01a0a95a58ef5215c6cbf18223ca30a11b9cc)]
|
|
183
195
|
- Revert "Update cypress.json" [Mikel Larreategi - [`054c4ae`](https://github.com/eea/volto-arcgis-block/commit/054c4ae1767e1f26e6ec7e96a0e26a9711f29f04)]
|
|
184
|
-
- Revert "revert [JENKINS] Use eeacms/plone-backend and Volto alpha version- Refs #151967" [Mikel Larreategi - [`64ab56e`](https://github.com/eea/volto-arcgis-block/commit/64ab56e0f1f8dddc26f26039509a028e34653e64)]
|
|
185
|
-
- revert [JENKINS] Use eeacms/plone-backend and Volto alpha version- Refs #151967 [Mikel Larreategi - [`85ee194`](https://github.com/eea/volto-arcgis-block/commit/85ee1941e029df2b7dc910bf75231c75ffeca8c2)]
|
|
186
196
|
- Update cypress.json [KCarpinteroBM - [`be285ff`](https://github.com/eea/volto-arcgis-block/commit/be285fff0c53e06a0180d5318cce81195eabcf80)]
|
|
187
197
|
- Update cypress.json [KCarpinteroBM - [`a7f2118`](https://github.com/eea/volto-arcgis-block/commit/a7f2118acb7b048b4cef85aa9663c2244a1c9ca0)]
|
|
188
198
|
- linting fix [KCarpinteroBM - [`27e969a`](https://github.com/eea/volto-arcgis-block/commit/27e969a7a411fd4646e0e742ce846efc0d79703e)]
|
|
@@ -242,7 +252,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
242
252
|
- UX improvements [rodriama - [`151dc4b`](https://github.com/eea/volto-arcgis-block/commit/151dc4b02d0a73fdd66de9d594620ac0fa5f1dbf)]
|
|
243
253
|
- deleted failing tests [KCarpinteroBM - [`ddaa9e6`](https://github.com/eea/volto-arcgis-block/commit/ddaa9e6f06db6960a4c214d3be2420c48b26715d)]
|
|
244
254
|
- cleaning unnecessary files [KCarpinteroBM - [`2c02199`](https://github.com/eea/volto-arcgis-block/commit/2c021990912beb02b603a1de89aecd62e0063769)]
|
|
245
|
-
- Reverting to Automated release 0.1.39 [KCarpinteroBM - [`fb9f317`](https://github.com/eea/volto-arcgis-block/commit/fb9f3176ccdea18fceb329eaac13ced0566ee648)]
|
|
246
255
|
- commands added [KCarpinteroBM - [`049e60b`](https://github.com/eea/volto-arcgis-block/commit/049e60b7d124d1c05abd0b2775b510795f4ed59f)]
|
|
247
256
|
- Mapviewer testing implementation [KCarpinteroBM - [`0103002`](https://github.com/eea/volto-arcgis-block/commit/0103002869eea108e16e3b5ff2e77a725dcc7c4b)]
|
|
248
257
|
### [0.1.39](https://github.com/eea/volto-arcgis-block/compare/0.1.38...0.1.39) - 24 March 2022
|
|
@@ -262,7 +271,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
262
271
|
- ESLint fix [rodriama - [`75dae9b`](https://github.com/eea/volto-arcgis-block/commit/75dae9b5bba18ab6d9624f6c99714b4bd2179003)]
|
|
263
272
|
- Remove section title [rodriama - [`ece860e`](https://github.com/eea/volto-arcgis-block/commit/ece860eae3519c7e611abac16e8d53c9a9408b34)]
|
|
264
273
|
- Es-Lint [manuelmartinezbilbomatica - [`39d8d11`](https://github.com/eea/volto-arcgis-block/commit/39d8d11b9096fd603df8510c119d2e12817415d6)]
|
|
265
|
-
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`bf9f683`](https://github.com/eea/volto-arcgis-block/commit/bf9f683dd35a9edb4cfd9111affcb8f8edbeae89)]
|
|
266
274
|
- FEAT: Parser Time implemented [manuelmartinezbilbomatica - [`689c99e`](https://github.com/eea/volto-arcgis-block/commit/689c99e55221fee6c7c7fafc4ab95ae7a646d3dd)]
|
|
267
275
|
### [0.1.38](https://github.com/eea/volto-arcgis-block/compare/0.1.37...0.1.38) - 18 March 2022
|
|
268
276
|
|
|
@@ -357,7 +365,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
357
365
|
- ESLint fix [rodriama - [`5fd3772`](https://github.com/eea/volto-arcgis-block/commit/5fd3772f197a3a380067962a5638dbf901a4624e)]
|
|
358
366
|
- Pixel info [rodriama - [`1ccef39`](https://github.com/eea/volto-arcgis-block/commit/1ccef39a9adcc3ee94655c77a5a166b613600a08)]
|
|
359
367
|
- NUTS bug fix [rodriama - [`37fe7f3`](https://github.com/eea/volto-arcgis-block/commit/37fe7f3fad2c005e3b7c234b3b0564d5df92fa8c)]
|
|
360
|
-
- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`ea5af8b`](https://github.com/eea/volto-arcgis-block/commit/ea5af8b02a5f2ee25b9b0be67cf3792bbbe84ed7)]
|
|
361
368
|
### [0.1.23](https://github.com/eea/volto-arcgis-block/compare/0.1.22...0.1.23) - 17 December 2021
|
|
362
369
|
|
|
363
370
|
#### :hammer_and_wrench: Others
|
|
@@ -602,7 +609,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
602
609
|
- Trying to delay ArcGIS modules load [gonzalezsd - [`ff16985`](https://github.com/eea/volto-arcgis-block/commit/ff169858e42d30bfcacc423ffc27762bb9ef05a4)]
|
|
603
610
|
- Run bootstrap to fix files [valentinab25 - [`236893f`](https://github.com/eea/volto-arcgis-block/commit/236893f03314eb638b7667f81b1f91491a98ee17)]
|
|
604
611
|
- fix git_name [valentinab25 - [`c7806c3`](https://github.com/eea/volto-arcgis-block/commit/c7806c312964425dc23e5d4c6973de8b81ddaeac)]
|
|
605
|
-
- Add Sonarqube tag using frontend addons list [EEA Jenkins - [`e3afb51`](https://github.com/eea/volto-arcgis-block/commit/e3afb515dda459ee03e2b5d4b56465d2d4ad1503)]
|
|
606
612
|
- Trying to change imports [gonzalezsd - [`d83d7e2`](https://github.com/eea/volto-arcgis-block/commit/d83d7e2f68da4b2a284735847f93c0763a7e13b6)]
|
|
607
613
|
- default design [bipoza - [`88fbe0b`](https://github.com/eea/volto-arcgis-block/commit/88fbe0b2bc73e732e2993324a567f53902e85506)]
|
|
608
614
|
- cleanup of unused code [bipoza - [`b167677`](https://github.com/eea/volto-arcgis-block/commit/b1676771f637f056cad50cb0bc186f2ea79e8517)]
|
package/package.json
CHANGED
|
@@ -910,8 +910,16 @@ class MenuWidget extends React.Component {
|
|
|
910
910
|
className="ccl-expandable__button"
|
|
911
911
|
aria-expanded="false"
|
|
912
912
|
key={'c' + datIndex}
|
|
913
|
-
onClick={
|
|
914
|
-
|
|
913
|
+
onClick={
|
|
914
|
+
dataset.HandlingLevel
|
|
915
|
+
? null
|
|
916
|
+
: this.toggleDropdownContent.bind(this)
|
|
917
|
+
}
|
|
918
|
+
onKeyDown={
|
|
919
|
+
dataset.HandlingLevel
|
|
920
|
+
? null
|
|
921
|
+
: this.toggleDropdownContent.bind(this)
|
|
922
|
+
}
|
|
915
923
|
tabIndex="0"
|
|
916
924
|
role="button"
|
|
917
925
|
style={style}
|
|
@@ -164,6 +164,27 @@ class TimesliderWidget extends React.Component {
|
|
|
164
164
|
timeVisible: true,
|
|
165
165
|
mode: this.props.download ? 'time-window' : 'instant',
|
|
166
166
|
loop: false,
|
|
167
|
+
labelFormatFunction: (value, type, element, layout) => {
|
|
168
|
+
if (!this.TimesliderWidget.fullTimeExtent) {
|
|
169
|
+
element.innerText = 'loading...';
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
if (value) {
|
|
173
|
+
const normal = new Intl.DateTimeFormat('en-gb');
|
|
174
|
+
switch (type) {
|
|
175
|
+
case 'min':
|
|
176
|
+
case 'max':
|
|
177
|
+
element.innerText = normal.format(value);
|
|
178
|
+
break;
|
|
179
|
+
case 'extent':
|
|
180
|
+
element.innerText = normal.format(value[0]);
|
|
181
|
+
break;
|
|
182
|
+
default:
|
|
183
|
+
element.innerText = normal.format(value);
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
167
188
|
values: this.props.time.start
|
|
168
189
|
? this.props.download
|
|
169
190
|
? [new Date(this.props.time.start), new Date(this.props.time.end)]
|