@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.
@@ -7774,7 +7774,6 @@
7774
7774
  configurable: true
7775
7775
  });
7776
7776
  AXNumberBoxComponent.prototype.calcSeparator = function (num) {
7777
- debugger;
7778
7777
  if (this.showSeparator) {
7779
7778
  return num + (+(num / 3));
7780
7779
  }
@@ -9813,7 +9812,6 @@
9813
9812
  };
9814
9813
  AXQueryBuilderRuleComponent.prototype.captionChange = function (e) {
9815
9814
  var _this = this;
9816
- debugger;
9817
9815
  if (e.selectedItems[0]) {
9818
9816
  this.rule.caption = e.selectedItems[0].caption;
9819
9817
  this.rule.dataField = e.selectedItems[0].dataField;
@@ -13857,6 +13855,7 @@
13857
13855
  }
13858
13856
  if (item.select == true) {
13859
13857
  if (this.selectionMode === 'multiple') {
13858
+ this.selectedParents = this.selectedParents.filter(function (c) { return c[_this.keyField] !== item[_this.keyField]; });
13860
13859
  this.selectedParents.push(item);
13861
13860
  }
13862
13861
  else {
@@ -13911,6 +13910,7 @@
13911
13910
  }
13912
13911
  node.itemData.item = c; //TO DO
13913
13912
  node.itemData.selected = item.select === true ? item.select : false;
13913
+ node.itemData.indeterminate = item.select === null ? true : false;
13914
13914
  node.itemData.hasChild = item[this.hasChildField];
13915
13915
  node.parent = item.parentNode === undefined ? null : this.makeNode(item.parentNode, false);
13916
13916
  return node;
@@ -13950,6 +13950,7 @@
13950
13950
  }
13951
13951
  };
13952
13952
  AXTreeViewComponent.prototype.changeParentSelect = function (item) {
13953
+ var _this = this;
13953
13954
  if (this.selectNodesRecursive == 'all' || this.selectNodesRecursive == 'parents') {
13954
13955
  var allselect = true;
13955
13956
  var alldeselect = true;
@@ -13974,9 +13975,13 @@
13974
13975
  }
13975
13976
  if (oneselect || (isindeterminate && !allselect)) {
13976
13977
  item.select = null;
13978
+ this.selectedParents = this.selectedParents.filter(function (c) { return c[_this.keyField] !== item[_this.keyField]; });
13979
+ this.selectedParents.push(item);
13977
13980
  }
13978
13981
  if (allselect === true) {
13979
13982
  item.select = true;
13983
+ this.selectedParents = this.selectedParents.filter(function (c) { return c[_this.keyField] !== item[_this.keyField]; });
13984
+ this.selectedParents.push(item);
13980
13985
  }
13981
13986
  if (alldeselect === true) {
13982
13987
  item.select = false;
@@ -14093,6 +14098,7 @@
14093
14098
  else {
14094
14099
  _this.itemRow = _this.listLoad.filter(function (c) { return c.requestId === _data.data.requestId; })[0];
14095
14100
  _this.listLoad = _this.listLoad.filter(function (c) { return c.requestId !== _data.data.requestId; });
14101
+ _this.itemRow.loaded = true;
14096
14102
  if (_this.itemRow !== undefined) {
14097
14103
  _this.hideLoading(_this.itemRow);
14098
14104
  var result_1 = _data.data.result;