@easyquery/ui 7.2.3-rc02 → 7.2.3-rc03

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
- * EasyQuery.JS Community 7.2.3-rc02 (https://korzh.com/easyquery/javascript)
3
- * Copyright 2022 Korzh.com. All rights reserved.
2
+ * EasyQuery.JS Community 7.2.3-rc03 (https://korzh.com/easyquery/javascript)
3
+ * Copyright 2023 Korzh.com. All rights reserved.
4
4
  *
5
5
  * EasyQuery.JS commercial licenses may be obtained at
6
6
  * https://korzh.com/easyquery/javascript#LIC or as a part of
@@ -1055,13 +1055,22 @@ var AggregationSettings = /** @class */ (function () {
1055
1055
  };
1056
1056
  //returns true if value1 == value2
1057
1057
  AggregationSettings.prototype.strictCompare = function (value1, value2) {
1058
- return value1 === value2;
1058
+ if (value1 instanceof Date) {
1059
+ return value1.getTime() === value2.getTime();
1060
+ }
1061
+ else
1062
+ return value1 === value2;
1059
1063
  };
1060
1064
  //makes a case insensative comparision of two values and return true if there are equal
1061
1065
  AggregationSettings.prototype.caseInsensitiveCompare = function (value1, value2) {
1062
- var val1 = (typeof value1 === 'string') ? value1.toLowerCase() : value1;
1063
- var val2 = (typeof value2 === 'string') ? value2.toLowerCase() : value2;
1064
- return val1 === val2;
1066
+ if (value1 instanceof Date) {
1067
+ return value1.getTime() === value2.getTime();
1068
+ }
1069
+ else {
1070
+ var val1 = (typeof value1 === 'string') ? value1.toLowerCase() : value1;
1071
+ var val2 = (typeof value2 === 'string') ? value2.toLowerCase() : value2;
1072
+ return val1 === val2;
1073
+ }
1065
1074
  };
1066
1075
  return AggregationSettings;
1067
1076
  }());
@@ -16100,13 +16109,13 @@ var ChartWidget = /** @class */ (function (_super) {
16100
16109
  mainDiv.appendChild(contentDiv);
16101
16110
  };
16102
16111
  /**
16103
- * Clears chart.
16112
+ * Clears the chart.
16104
16113
  */
16105
16114
  ChartWidget.prototype.clear = function () {
16106
16115
  this.element.innerHTML = '';
16107
16116
  };
16108
16117
  /**
16109
- * Draws chart with delay.
16118
+ * Draws chart with a delay.
16110
16119
  * @param delay The delay.
16111
16120
  */
16112
16121
  ChartWidget.prototype.drawChart = function (delay) {
@@ -16120,7 +16129,7 @@ var ChartWidget = /** @class */ (function (_super) {
16120
16129
  }
16121
16130
  };
16122
16131
  /**
16123
- * Inititialize settings div.
16132
+ * Inititializes the settings div.
16124
16133
  */
16125
16134
  ChartWidget.prototype.initSettingsDiv = function () {
16126
16135
  var _this = this;