@easyquery/ui 7.2.1-rc03 → 7.2.2-rc01

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.2.1-rc03 (https://korzh.com/easyquery/javascript)
2
+ * EasyQuery.JS Community 7.2.2-rc01 (https://korzh.com/easyquery/javascript)
3
3
  * Copyright 2022 Korzh.com. All rights reserved.
4
4
  *
5
5
  * EasyQuery.JS commercial licenses may be obtained at
@@ -1,5 +1,5 @@
1
1
  /**
2
- * EasyQuery.JS Community 7.2.1-rc03 (https://korzh.com/easyquery/javascript)
2
+ * EasyQuery.JS Community 7.2.2-rc01 (https://korzh.com/easyquery/javascript)
3
3
  * Copyright 2022 Korzh.com. All rights reserved.
4
4
  *
5
5
  * EasyQuery.JS commercial licenses may be obtained at
@@ -1,5 +1,5 @@
1
1
  /**
2
- * EasyQuery.JS Community 7.2.1-rc03 (https://korzh.com/easyquery/javascript)
2
+ * EasyQuery.JS Community 7.2.2-rc01 (https://korzh.com/easyquery/javascript)
3
3
  * Copyright 2022 Korzh.com. All rights reserved.
4
4
  *
5
5
  * EasyQuery.JS commercial licenses may be obtained at
@@ -1,5 +1,5 @@
1
1
  /**
2
- * EasyQuery.JS Community 7.2.1-rc03 (https://korzh.com/easyquery/javascript)
2
+ * EasyQuery.JS Community 7.2.2-rc01 (https://korzh.com/easyquery/javascript)
3
3
  * Copyright 2022 Korzh.com. All rights reserved.
4
4
  *
5
5
  * EasyQuery.JS commercial licenses may be obtained at
@@ -18289,6 +18289,7 @@ var pivot_table_facet_PivotTableFacet = /** @class */ (function (_super) {
18289
18289
  var dataTable = this.getContextDataTable();
18290
18290
  var csb = Object(lib_public_api["i" /* domel */])('select');
18291
18291
  var firstNumericColIndex = null;
18292
+ var optionIndex = 0;
18292
18293
  var _loop_2 = function (i) {
18293
18294
  var column = dataTable.columns.get(i);
18294
18295
  var colLabel = column.label;
@@ -18297,13 +18298,14 @@ var pivot_table_facet_PivotTableFacet = /** @class */ (function (_super) {
18297
18298
  if (allowedTypes && allowedTypes.indexOf(colType) < 0)
18298
18299
  return "continue";
18299
18300
  if (firstNumericColIndex === null && public_api["i" /* utils */].isNumericType(colType)) {
18300
- firstNumericColIndex = i;
18301
+ firstNumericColIndex = optionIndex;
18301
18302
  }
18302
18303
  csb.addChild('option', function (b) {
18303
18304
  b
18304
18305
  .attr('value', colId)
18305
18306
  .text(colLabel);
18306
18307
  });
18308
+ optionIndex++;
18307
18309
  };
18308
18310
  for (var i = 0; i < dataTable.columns.count; i++) {
18309
18311
  _loop_2(i);
@@ -21689,13 +21691,12 @@ var data_filter_view_extends = (undefined && undefined.__extends) || (function (
21689
21691
  var data_filter_view_DataFilterView = /** @class */ (function (_super) {
21690
21692
  data_filter_view_extends(DataFilterView, _super);
21691
21693
  function DataFilterView() {
21692
- var _this = _super.call(this) || this;
21693
- _this.resultOptions.fetchEmptyQueries = true;
21694
- return _this;
21694
+ return _super.call(this) || this;
21695
21695
  }
21696
21696
  DataFilterView.prototype.initOptions = function (options) {
21697
21697
  var _this = this;
21698
21698
  options = _super.prototype.initOptions.call(this, options);
21699
+ options.result.fetchEmptyQueries = true;
21699
21700
  var query = this.context.getQuery();
21700
21701
  query.addChangedCallback(function () {
21701
21702
  if (_this.resultOptions.clearResultOnQueryChange) {
@@ -21769,9 +21770,7 @@ var html_data_filter_view_extends = (undefined && undefined.__extends) || (funct
21769
21770
  var html_data_filter_view_HtmlDataFilterView = /** @class */ (function (_super) {
21770
21771
  html_data_filter_view_extends(HtmlDataFilterView, _super);
21771
21772
  function HtmlDataFilterView() {
21772
- var _this = _super.call(this) || this;
21773
- _this.resultOptions.fetchEmptyQueries = true;
21774
- return _this;
21773
+ return _super.call(this) || this;
21775
21774
  }
21776
21775
  /**
21777
21776
  * Creates the widget that represents Grid Widget.