@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.
- package/bundles/datorama-core.umd.js +3 -2
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +2 -2
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/esm2015/lib/grid-v2/grid-filter/filter-validator.js +3 -3
- package/esm2015/lib/version.js +2 -2
- package/esm5/lib/grid-v2/grid-filter/filter-validator.js +3 -2
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +3 -3
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +3 -2
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid-filter/filter-validator.d.ts +1 -1
- package/package.json +1 -1
|
@@ -11809,6 +11809,7 @@
|
|
|
11809
11809
|
}
|
|
11810
11810
|
function validateNumberCondition(unparsedRowValue, _a, filterKey) {
|
|
11811
11811
|
var condition = _a.condition, value = _a.value, rangeEnd = _a.rangeEnd;
|
|
11812
|
+
if (filterKey === void 0) { filterKey = ''; }
|
|
11812
11813
|
var rowValue = !!unparsedRowValue ? parseFloat(unparsedRowValue[filterKey] || unparsedRowValue) : null;
|
|
11813
11814
|
var filterValue = parseFloat(value);
|
|
11814
11815
|
switch (condition) {
|
|
@@ -11875,7 +11876,7 @@
|
|
|
11875
11876
|
var _loop_1 = function (filter) {
|
|
11876
11877
|
var filterPasses = true;
|
|
11877
11878
|
var _a = activeFilters[filter], byValue = _a.byValue, conditional = _a.conditional, pivotKeys = _a.pivotKeys;
|
|
11878
|
-
var currentRowPivotKeys = row.parent.childrenMapped && getRowPivotKeys(row.parent.childrenMapped);
|
|
11879
|
+
var currentRowPivotKeys = (row.parent && row.parent.childrenMapped && getRowPivotKeys(row.parent.childrenMapped)) || [];
|
|
11879
11880
|
var rowValue = api.getValue(filter, row);
|
|
11880
11881
|
/** If value is under a pivoted column but doesn't match the filter pivot */
|
|
11881
11882
|
if (pivotKeys && pivotKeys.length > 0 && !isArrayValuesEqual(pivotKeys, currentRowPivotKeys)) {
|
|
@@ -25314,7 +25315,7 @@
|
|
|
25314
25315
|
};
|
|
25315
25316
|
}
|
|
25316
25317
|
|
|
25317
|
-
window.coreVersion = '22.0.
|
|
25318
|
+
window.coreVersion = '22.0.1';
|
|
25318
25319
|
|
|
25319
25320
|
exports.APP_TRANSLATE = APP_TRANSLATE;
|
|
25320
25321
|
exports.AceService = AceService;
|