@acorex/components 3.0.31 → 3.0.32

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.
@@ -7568,7 +7568,6 @@ var AXNumberBoxComponent = /** @class */ (function (_super) {
7568
7568
  configurable: true
7569
7569
  });
7570
7570
  AXNumberBoxComponent.prototype.calcSeparator = function (num) {
7571
- debugger;
7572
7571
  if (this.showSeparator) {
7573
7572
  return num + (+(num / 3));
7574
7573
  }
@@ -9607,7 +9606,6 @@ var AXQueryBuilderRuleComponent = /** @class */ (function () {
9607
9606
  };
9608
9607
  AXQueryBuilderRuleComponent.prototype.captionChange = function (e) {
9609
9608
  var _this = this;
9610
- debugger;
9611
9609
  if (e.selectedItems[0]) {
9612
9610
  this.rule.caption = e.selectedItems[0].caption;
9613
9611
  this.rule.dataField = e.selectedItems[0].dataField;
@@ -13651,6 +13649,7 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13651
13649
  }
13652
13650
  if (item.select == true) {
13653
13651
  if (this.selectionMode === 'multiple') {
13652
+ this.selectedParents = this.selectedParents.filter(function (c) { return c[_this.keyField] !== item[_this.keyField]; });
13654
13653
  this.selectedParents.push(item);
13655
13654
  }
13656
13655
  else {
@@ -13705,6 +13704,7 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13705
13704
  }
13706
13705
  node.itemData.item = c; //TO DO
13707
13706
  node.itemData.selected = item.select === true ? item.select : false;
13707
+ node.itemData.indeterminate = item.select === null ? true : false;
13708
13708
  node.itemData.hasChild = item[this.hasChildField];
13709
13709
  node.parent = item.parentNode === undefined ? null : this.makeNode(item.parentNode, false);
13710
13710
  return node;
@@ -13744,6 +13744,7 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13744
13744
  }
13745
13745
  };
13746
13746
  AXTreeViewComponent.prototype.changeParentSelect = function (item) {
13747
+ var _this = this;
13747
13748
  if (this.selectNodesRecursive == 'all' || this.selectNodesRecursive == 'parents') {
13748
13749
  var allselect = true;
13749
13750
  var alldeselect = true;
@@ -13768,9 +13769,13 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13768
13769
  }
13769
13770
  if (oneselect || (isindeterminate && !allselect)) {
13770
13771
  item.select = null;
13772
+ this.selectedParents = this.selectedParents.filter(function (c) { return c[_this.keyField] !== item[_this.keyField]; });
13773
+ this.selectedParents.push(item);
13771
13774
  }
13772
13775
  if (allselect === true) {
13773
13776
  item.select = true;
13777
+ this.selectedParents = this.selectedParents.filter(function (c) { return c[_this.keyField] !== item[_this.keyField]; });
13778
+ this.selectedParents.push(item);
13774
13779
  }
13775
13780
  if (alldeselect === true) {
13776
13781
  item.select = false;
@@ -13887,6 +13892,7 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13887
13892
  else {
13888
13893
  _this.itemRow = _this.listLoad.filter(function (c) { return c.requestId === _data.data.requestId; })[0];
13889
13894
  _this.listLoad = _this.listLoad.filter(function (c) { return c.requestId !== _data.data.requestId; });
13895
+ _this.itemRow.loaded = true;
13890
13896
  if (_this.itemRow !== undefined) {
13891
13897
  _this.hideLoading(_this.itemRow);
13892
13898
  var result_1 = _data.data.result;