@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.
@@ -13753,7 +13753,7 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13753
13753
  if (userChange === void 0) { userChange = true; }
13754
13754
  if (item[this.hasChildField] === false || this.selectionMode === 'single') {
13755
13755
  item.select = !item.select;
13756
- if (item.parentNode && this.selectionMode !== 'single') {
13756
+ if (item.parentNode && this.selectionMode !== 'single' && this.checkParents == true) {
13757
13757
  this.changeParentSelect(item.parentNode);
13758
13758
  }
13759
13759
  if (item.select === true) {
@@ -13774,10 +13774,10 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13774
13774
  }
13775
13775
  else {
13776
13776
  item.select = !item.select;
13777
- if (item.parentNode && this.selectionMode === 'multiple') {
13777
+ if (item.parentNode && this.selectionMode === 'multiple' && this.checkParents == true) {
13778
13778
  this.changeParentSelect(item.parentNode);
13779
13779
  }
13780
- if (this.selectionMode === 'multiple') {
13780
+ if (this.selectionMode === 'multiple' && this.checkChilds == true) {
13781
13781
  this.changeChildSelect(item, item.select);
13782
13782
  }
13783
13783
  if (item.select == true) {