@acorex/components 3.0.40 → 3.0.41

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.
@@ -13959,7 +13959,7 @@
13959
13959
  if (userChange === void 0) { userChange = true; }
13960
13960
  if (item[this.hasChildField] === false || this.selectionMode === 'single') {
13961
13961
  item.select = !item.select;
13962
- if (item.parentNode && this.selectionMode !== 'single') {
13962
+ if (item.parentNode && this.selectionMode !== 'single' && this.checkParents == true) {
13963
13963
  this.changeParentSelect(item.parentNode);
13964
13964
  }
13965
13965
  if (item.select === true) {
@@ -13980,10 +13980,10 @@
13980
13980
  }
13981
13981
  else {
13982
13982
  item.select = !item.select;
13983
- if (item.parentNode && this.selectionMode === 'multiple') {
13983
+ if (item.parentNode && this.selectionMode === 'multiple' && this.checkParents == true) {
13984
13984
  this.changeParentSelect(item.parentNode);
13985
13985
  }
13986
- if (this.selectionMode === 'multiple') {
13986
+ if (this.selectionMode === 'multiple' && this.checkChilds == true) {
13987
13987
  this.changeChildSelect(item, item.select);
13988
13988
  }
13989
13989
  if (item.select == true) {