@syncfusion/ej2-data
Advanced tools
Comparing version 22.1.36 to 22.1.38
@@ -7,2 +7,10 @@ # Changelog | ||
#### Bug Fixes | ||
- `#I473827` - The issue related to parsing a date value without seconds and encountering an "invalid date" has been resolved. | ||
## 22.1.36 (2023-06-28) | ||
### DataManager | ||
#### Features | ||
@@ -9,0 +17,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 22.1.36 | ||
* version : 22.1.38 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-data@*", | ||
"_id": "@syncfusion/ej2-data@21.1.36", | ||
"_id": "@syncfusion/ej2-data@22.1.36", | ||
"_inBundle": false, | ||
"_integrity": "sha512-mQOUcKluUj32l3IW25AFqmWvYmHlPWxyuWazjCf5opm6gzwVEKzKDaIJ1L+WpCXVLsJsB/F+ec//4A6ZxqcV+w==", | ||
"_integrity": "sha512-QkFyku84DNuxX98HmlAd+p/6KvOJCtUXkjCLF7assadsQMfgitdMcuHpByPdb6yM1OOIMCDedHP9GVLlXC9gfA==", | ||
"_location": "/@syncfusion/ej2-data", | ||
@@ -43,4 +43,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-data/-/ej2-data-21.1.36.tgz", | ||
"_shasum": "a627c819cb9c5eeefe9f36a2dd87ea1a145bb630", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-data/-/ej2-data-22.1.36.tgz", | ||
"_shasum": "ad73449e8f30d577a8329e90d443fd5b309f9a7c", | ||
"_spec": "@syncfusion/ej2-data@*", | ||
@@ -53,3 +53,3 @@ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~22.1.34" | ||
"@syncfusion/ej2-base": "~22.1.38" | ||
}, | ||
@@ -65,5 +65,5 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "22.1.36", | ||
"version": "22.1.38", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -159,7 +159,18 @@ /* eslint-disable valid-jsdoc */ | ||
if (e && e.isComplex && e.predicates instanceof Array) { | ||
var predicates = e.predicates.map(function (predicateObj) { | ||
var field = predicateObj.field, operator = predicateObj.operator, value = predicateObj.value, ignoreCase = predicateObj.ignoreCase, ignoreAccent = predicateObj.ignoreAccent, matchCase = predicateObj.matchCase; | ||
return new Predicate(field, operator, value, ignoreCase, ignoreAccent, matchCase); | ||
var allPredicates = e.predicates.map(function (predicateObj) { | ||
if (predicateObj.predicates && predicateObj.predicates instanceof Array) { | ||
// Process nested predicate array | ||
var nestedPredicates = predicateObj.predicates.map(function (nestedPredicate) { | ||
var field = nestedPredicate.field, operator = nestedPredicate.operator, value = nestedPredicate.value, ignoreCase = nestedPredicate.ignoreCase, ignoreAccent = nestedPredicate.ignoreAccent, matchCase = nestedPredicate.matchCase; | ||
return new Predicate(field, operator, value, ignoreCase, ignoreAccent, matchCase); | ||
}); | ||
return predicateObj.condition === 'and' ? Predicate.and(nestedPredicates) : Predicate.or(nestedPredicates); | ||
} | ||
else { | ||
// Process individual predicate | ||
var field = predicateObj.field, operator = predicateObj.operator, value = predicateObj.value, ignoreCase = predicateObj.ignoreCase, ignoreAccent = predicateObj.ignoreAccent, matchCase = predicateObj.matchCase; | ||
return new Predicate(field, operator, value, ignoreCase, ignoreAccent, matchCase); | ||
} | ||
}); | ||
query.e = new Predicate(predicates[0], e.condition, predicates.slice(1)); | ||
query.e = new Predicate(allPredicates[0], e.condition, allPredicates.slice(1)); | ||
} | ||
@@ -166,0 +177,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
2596467
22806