@easyquery/ui 7.2.3-rc01 → 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.
- package/dist/browser/eq.community.js +20 -11
- package/dist/browser/eq.community.js.map +1 -1
- package/dist/browser/eq.community.min.js +3 -3
- package/dist/browser/eq.community.min.js.map +1 -1
- package/dist/browser/eq.core.css +2 -2
- package/dist/browser/eq.core.min.css +2 -2
- package/dist/browser/eq.view.css +2 -2
- package/dist/browser/eq.view.min.css +2 -2
- package/dist/bundles/easyquery.ui.js +18 -9
- package/dist/bundles/easyquery.ui.js.map +1 -1
- package/dist/bundles/easyquery.ui.min.js +1 -1
- package/dist/bundles/easyquery.ui.min.js.map +1 -1
- package/dist/lib/widgets/charts/chart_widget.d.ts +3 -3
- package/dist/lib/widgets/charts/chart_widget.js +3 -3
- package/dist/lib/widgets/charts/chart_widget.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* EasyQuery.JS Community 7.2.3-
|
|
3
|
-
* Copyright
|
|
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
|
-
|
|
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
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
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
|
-
*
|
|
16132
|
+
* Inititializes the settings div.
|
|
16124
16133
|
*/
|
|
16125
16134
|
ChartWidget.prototype.initSettingsDiv = function () {
|
|
16126
16135
|
var _this = this;
|
|
@@ -31219,8 +31228,8 @@ var EasyGrid = /** @class */ (function () {
|
|
|
31219
31228
|
this.prevRowTotals = newRow;
|
|
31220
31229
|
};
|
|
31221
31230
|
EasyGrid.prototype.applyGroupColumnTemplate = function (template, value, count) {
|
|
31222
|
-
var result = template.replace(/{{\s*GroupValue\s*}}/g, value ? "
|
|
31223
|
-
result = result.replace(/{{\s*GroupCount\s*}}/g, count ? "
|
|
31231
|
+
var result = template.replace(/{{\s*GroupValue\s*}}/g, value ? "" + value : '-');
|
|
31232
|
+
result = result.replace(/{{\s*GroupCount\s*}}/g, count ? "" + count : '-');
|
|
31224
31233
|
return result;
|
|
31225
31234
|
};
|
|
31226
31235
|
EasyGrid.prototype.renderTotalsRow = function (level, row) {
|