@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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * EasyQuery.JS Community 7.1.2-rc02 (https://korzh.com/easyquery/javascript)
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 (not hidden and not "Custom SQL" ones)
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 simpleCols = this.columns.filter(function (c) { return c.enabled
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 = simpleCols.indexOf(col);
9791
+ var index = enabledColIds.indexOf(col);
9793
9792
  if (index < 0)
9794
9793
  return false;
9795
9794
  if (prevIndex > index)