@easyquery/ui 7.1.2-rc02 → 7.1.2-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 +4 -5
- package/dist/browser/eq.community.js.map +1 -1
- package/dist/browser/eq.community.min.js +2 -2
- package/dist/browser/eq.community.min.js.map +1 -1
- package/dist/browser/eq.core.css +1 -1
- package/dist/browser/eq.core.min.css +1 -1
- package/dist/browser/eq.view.css +1 -1
- package/dist/browser/eq.view.min.css +1 -1
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* EasyQuery.JS Community 7.1.2-
|
|
2
|
+
* EasyQuery.JS Community 7.1.2-rc03 (https://korzh.com/easyquery/javascript)
|
|
3
3
|
* Copyright 2021 Korzh.com. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* EasyQuery.JS commercial licenses may be obtained at
|
|
@@ -9781,15 +9781,14 @@ var Query = /** @class */ (function () {
|
|
|
9781
9781
|
.map(function (c) { return c.id; });
|
|
9782
9782
|
};
|
|
9783
9783
|
/**
|
|
9784
|
-
* Checks if the columns with IDs passed in function's parameter exist and are valid
|
|
9784
|
+
* Checks if the columns with IDs passed in function's parameter exist and are valid
|
|
9785
9785
|
*/
|
|
9786
9786
|
Query.prototype.validateColumns = function (colIds) {
|
|
9787
|
-
var
|
|
9788
|
-
&& c.expr.tag === _types_expr_tag__WEBPACK_IMPORTED_MODULE_8__[/* ExprTag */ "a"].EntityAttribute; }).map(function (c) { return c.id; });
|
|
9787
|
+
var enabledColIds = this.columns.filter(function (c) { return c.enabled; }).map(function (c) { return c.id; });
|
|
9789
9788
|
var prevIndex = -1;
|
|
9790
9789
|
for (var _i = 0, colIds_1 = colIds; _i < colIds_1.length; _i++) {
|
|
9791
9790
|
var col = colIds_1[_i];
|
|
9792
|
-
var index =
|
|
9791
|
+
var index = enabledColIds.indexOf(col);
|
|
9793
9792
|
if (index < 0)
|
|
9794
9793
|
return false;
|
|
9795
9794
|
if (prevIndex > index)
|