@easydata/crud 1.4.12 → 1.4.13
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/dist/browser/easydata.js +13 -4
- package/dist/browser/easydata.js.map +1 -1
- package/dist/browser/easydata.min.js +1 -1
- package/dist/browser/easydata.min.js.map +1 -1
- package/dist/bundles/easydata.crud.js +13 -4
- package/dist/bundles/easydata.crud.js.map +1 -1
- package/dist/bundles/easydata.crud.min.js +1 -1
- package/dist/bundles/easydata.crud.min.js.map +1 -1
- package/package.json +3 -3
|
@@ -2431,13 +2431,22 @@ var AggregationSettings = /** @class */ (function () {
|
|
|
2431
2431
|
};
|
|
2432
2432
|
//returns true if value1 == value2
|
|
2433
2433
|
AggregationSettings.prototype.strictCompare = function (value1, value2) {
|
|
2434
|
-
|
|
2434
|
+
if (value1 instanceof Date) {
|
|
2435
|
+
return value1.getTime() === value2.getTime();
|
|
2436
|
+
}
|
|
2437
|
+
else
|
|
2438
|
+
return value1 === value2;
|
|
2435
2439
|
};
|
|
2436
2440
|
//makes a case insensative comparision of two values and return true if there are equal
|
|
2437
2441
|
AggregationSettings.prototype.caseInsensitiveCompare = function (value1, value2) {
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2442
|
+
if (value1 instanceof Date) {
|
|
2443
|
+
return value1.getTime() === value2.getTime();
|
|
2444
|
+
}
|
|
2445
|
+
else {
|
|
2446
|
+
var val1 = (typeof value1 === 'string') ? value1.toLowerCase() : value1;
|
|
2447
|
+
var val2 = (typeof value2 === 'string') ? value2.toLowerCase() : value2;
|
|
2448
|
+
return val1 === val2;
|
|
2449
|
+
}
|
|
2441
2450
|
};
|
|
2442
2451
|
return AggregationSettings;
|
|
2443
2452
|
}());
|