@eeacms/volto-arcgis-block 0.1.414 → 0.1.415
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,11 @@ 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.415](https://github.com/eea/volto-arcgis-block/compare/0.1.414...0.1.415) - 3 December 2025
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- (bug): In the TOC menu, when a level is selected, the lower level is now displayed [Unai Bolivar - [`ec66304`](https://github.com/eea/volto-arcgis-block/commit/ec6630453964d3f82c5277ddf43a976c3b1c72c3)]
|
|
7
12
|
### [0.1.414](https://github.com/eea/volto-arcgis-block/compare/0.1.413...0.1.414) - 1 December 2025
|
|
8
13
|
|
|
9
14
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -3292,6 +3292,23 @@ class MenuWidget extends React.Component {
|
|
|
3292
3292
|
let splitdefCheck = layerdef.split(',');
|
|
3293
3293
|
let layerChecks = [];
|
|
3294
3294
|
let selector = [];
|
|
3295
|
+
if (value) {
|
|
3296
|
+
let productDropdown = e.closest('.map-menu-product-dropdown');
|
|
3297
|
+
let datasetDropdown = e.closest('.map-menu-dropdown');
|
|
3298
|
+
let familyDropdown = e.closest('.map-menu-family-dropdown');
|
|
3299
|
+
if (productDropdown) {
|
|
3300
|
+
let btn = productDropdown.querySelector('.ccl-expandable__button');
|
|
3301
|
+
if (btn) btn.setAttribute('aria-expanded', 'true');
|
|
3302
|
+
}
|
|
3303
|
+
if (familyDropdown) {
|
|
3304
|
+
let btn = familyDropdown.querySelector('.ccl-expandable__button');
|
|
3305
|
+
if (btn) btn.setAttribute('aria-expanded', 'true');
|
|
3306
|
+
}
|
|
3307
|
+
if (datasetDropdown) {
|
|
3308
|
+
let btn = datasetDropdown.querySelector('.ccl-expandable__button');
|
|
3309
|
+
if (btn) btn.setAttribute('aria-expanded', 'true');
|
|
3310
|
+
}
|
|
3311
|
+
}
|
|
3295
3312
|
if (value) {
|
|
3296
3313
|
for (let i = 0; i < splitdefCheck.length; i++) {
|
|
3297
3314
|
selector = document.querySelector(`[id="${splitdefCheck[i]}"]`);
|
|
@@ -3356,9 +3373,21 @@ class MenuWidget extends React.Component {
|
|
|
3356
3373
|
let selector = [];
|
|
3357
3374
|
|
|
3358
3375
|
if (value) {
|
|
3376
|
+
let productContainer = document.querySelector('[productid="' + id + '"]');
|
|
3377
|
+
if (productContainer) {
|
|
3378
|
+
let btn = productContainer.querySelector('.ccl-expandable__button');
|
|
3379
|
+
if (btn) btn.setAttribute('aria-expanded', 'true');
|
|
3380
|
+
}
|
|
3359
3381
|
for (let i = 0; i < splitdefCheck.length; i++) {
|
|
3360
3382
|
selector = document.querySelector(`[id="${splitdefCheck[i]}"]`);
|
|
3361
3383
|
datasetChecks.push(selector);
|
|
3384
|
+
if (selector) {
|
|
3385
|
+
let datasetDropdown = selector.closest('.map-menu-dropdown');
|
|
3386
|
+
if (datasetDropdown) {
|
|
3387
|
+
let btn = datasetDropdown.querySelector('.ccl-expandable__button');
|
|
3388
|
+
if (btn) btn.setAttribute('aria-expanded', 'true');
|
|
3389
|
+
}
|
|
3390
|
+
}
|
|
3362
3391
|
}
|
|
3363
3392
|
} else {
|
|
3364
3393
|
datasetChecks = document.querySelectorAll(`[parentid=${id}]`);
|
|
@@ -3380,9 +3409,21 @@ class MenuWidget extends React.Component {
|
|
|
3380
3409
|
let selector = [];
|
|
3381
3410
|
|
|
3382
3411
|
if (value) {
|
|
3412
|
+
let familyContainer = document.querySelector('[productid="' + id + '"]');
|
|
3413
|
+
if (familyContainer) {
|
|
3414
|
+
let btn = familyContainer.querySelector('.ccl-expandable__button');
|
|
3415
|
+
if (btn) btn.setAttribute('aria-expanded', 'true');
|
|
3416
|
+
}
|
|
3383
3417
|
for (let i = 0; i < splitdefCheck.length; i++) {
|
|
3384
3418
|
selector = document.querySelector(`[id="${splitdefCheck[i]}"]`);
|
|
3385
3419
|
datasetChecks.push(selector);
|
|
3420
|
+
if (selector) {
|
|
3421
|
+
let datasetDropdown = selector.closest('.map-menu-dropdown');
|
|
3422
|
+
if (datasetDropdown) {
|
|
3423
|
+
let btn = datasetDropdown.querySelector('.ccl-expandable__button');
|
|
3424
|
+
if (btn) btn.setAttribute('aria-expanded', 'true');
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3386
3427
|
}
|
|
3387
3428
|
} else {
|
|
3388
3429
|
datasetChecks = document.querySelectorAll(`[parentid=${id}]`);
|
|
@@ -1379,8 +1379,10 @@ div.upload-container.esri-component
|
|
|
1379
1379
|
}
|
|
1380
1380
|
|
|
1381
1381
|
.calendar-button:hover {
|
|
1382
|
-
|
|
1383
|
-
|
|
1382
|
+
border-width: 1px;
|
|
1383
|
+
border-style: solid;
|
|
1384
|
+
border-color: #a0b128;
|
|
1385
|
+
border-radius: 2px;
|
|
1384
1386
|
}
|
|
1385
1387
|
|
|
1386
1388
|
.datepicker {
|