@datorama/core 22.0.0 → 22.0.1

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.
@@ -11610,6 +11610,7 @@ function validateStringCondition(rowValue, _a) {
11610
11610
  }
11611
11611
  function validateNumberCondition(unparsedRowValue, _a, filterKey) {
11612
11612
  var condition = _a.condition, value = _a.value, rangeEnd = _a.rangeEnd;
11613
+ if (filterKey === void 0) { filterKey = ''; }
11613
11614
  var rowValue = !!unparsedRowValue ? parseFloat(unparsedRowValue[filterKey] || unparsedRowValue) : null;
11614
11615
  var filterValue = parseFloat(value);
11615
11616
  switch (condition) {
@@ -11676,7 +11677,7 @@ function validateFilter(_a, activeFilters) {
11676
11677
  var _loop_1 = function (filter) {
11677
11678
  var filterPasses = true;
11678
11679
  var _a = activeFilters[filter], byValue = _a.byValue, conditional = _a.conditional, pivotKeys = _a.pivotKeys;
11679
- var currentRowPivotKeys = row.parent.childrenMapped && getRowPivotKeys(row.parent.childrenMapped);
11680
+ var currentRowPivotKeys = (row.parent && row.parent.childrenMapped && getRowPivotKeys(row.parent.childrenMapped)) || [];
11680
11681
  var rowValue = api.getValue(filter, row);
11681
11682
  /** If value is under a pivoted column but doesn't match the filter pivot */
11682
11683
  if (pivotKeys && pivotKeys.length > 0 && !isArrayValuesEqual(pivotKeys, currentRowPivotKeys)) {
@@ -25115,7 +25116,7 @@ function fixNgLeaks() {
25115
25116
  };
25116
25117
  }
25117
25118
 
25118
- window.coreVersion = '22.0.0';
25119
+ window.coreVersion = '22.0.1';
25119
25120
 
25120
25121
  /**
25121
25122
  * @license