@easyquery/enterprise 7.2.0-rc03 → 7.2.0-rc04

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 Enterprise 7.2.0-rc03 (https://korzh.com/easyquery/javascript)
3
- * Copyright 2021 Korzh.com. All rights reserved.
2
+ * EasyQuery.JS Enterprise 7.2.0-rc04 (https://korzh.com/easyquery/javascript)
3
+ * Copyright 2022 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
@@ -91,7 +91,7 @@ window["easyquery"] =
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 111);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 112);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ([
@@ -1349,7 +1349,7 @@ __webpack_require__.d(__webpack_exports__, "DialogFooterAlignment", function() {
1349
1349
  __webpack_require__.d(__webpack_exports__, "dialogs", function() { return /* binding */ dialogs; });
1350
1350
 
1351
1351
  // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/easydata/easydata.js/packs/ui/dist/lib/grid/easy_grid.js
1352
- var easy_grid = __webpack_require__(105);
1352
+ var easy_grid = __webpack_require__(106);
1353
1353
 
1354
1354
  // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/easydata/easydata.js/packs/ui/dist/lib/grid/easy_grid_options.js
1355
1355
  var easy_grid_options = __webpack_require__(34);
@@ -2102,6 +2102,7 @@ __webpack_require__.d(__webpack_exports__, "Operand", function() { return /* ree
2102
2102
  __webpack_require__.d(__webpack_exports__, "EqValueEditor", function() { return /* reexport */ value_editor["a" /* EqValueEditor */]; });
2103
2103
  __webpack_require__.d(__webpack_exports__, "EqAction", function() { return /* reexport */ EqAction; });
2104
2104
  __webpack_require__.d(__webpack_exports__, "EqModelLoader", function() { return /* reexport */ model_loader["a" /* EqModelLoader */]; });
2105
+ __webpack_require__.d(__webpack_exports__, "InMemoryModelStorage", function() { return /* reexport */ model_storage["a" /* InMemoryModelStorage */]; });
2105
2106
  __webpack_require__.d(__webpack_exports__, "BrowserQueryStorage", function() { return /* reexport */ query_storage["a" /* BrowserQueryStorage */]; });
2106
2107
  __webpack_require__.d(__webpack_exports__, "EqContext", function() { return /* reexport */ context_EqContext; });
2107
2108
  __webpack_require__.d(__webpack_exports__, "Widget", function() { return /* reexport */ widget_Widget; });
@@ -2410,6 +2411,7 @@ var eq_services_EqServiceProvider = /** @class */ (function () {
2410
2411
  this.httpClient = new public_api["HttpClient"]();
2411
2412
  this.httpClient.defaultHeaders['x-eqjs-version'] = '7.2.0';
2412
2413
  this.modelResolver = function (_) { return new data_model["a" /* DataModel */](); };
2414
+ this.modelStorageResolver = null;
2413
2415
  this.queryResolver = function (context) { return new query_query["b" /* Query */](context.getModel()); };
2414
2416
  this.modelLoaderResolver = function (context) { return new EqServerModelLoader(context); };
2415
2417
  this.queryStorageResolver = function (context) { return new query_storage["a" /* BrowserQueryStorage */](context); };
@@ -2420,6 +2422,7 @@ var eq_services_EqServiceProvider = /** @class */ (function () {
2420
2422
  this.aggrCalculatoResolver = function (context) { return new eq_aggr_container["a" /* DefaultAggregatesCalculator */](context); };
2421
2423
  }
2422
2424
  EqServiceProvider.prototype.reset = function () {
2425
+ this.modelStorage = null;
2423
2426
  this.modelLoader = null;
2424
2427
  this.queryStorage = null;
2425
2428
  this.querySynchronizer = null;
@@ -2448,6 +2451,15 @@ var eq_services_EqServiceProvider = /** @class */ (function () {
2448
2451
  }
2449
2452
  return this.modelLoader;
2450
2453
  };
2454
+ EqServiceProvider.prototype.getModelStorage = function () {
2455
+ if (!this.modelStorage) {
2456
+ if (!this.modelStorageResolver) {
2457
+ throw 'ModelStorageResolver is not defined';
2458
+ }
2459
+ this.modelStorage = this.modelStorageResolver(this.context);
2460
+ }
2461
+ return this.modelStorage;
2462
+ };
2451
2463
  EqServiceProvider.prototype.getQueryStorage = function () {
2452
2464
  if (!this.queryStorage) {
2453
2465
  if (!this.queryStorageResolver) {
@@ -2511,6 +2523,9 @@ var eq_services_EqServiceProvider = /** @class */ (function () {
2511
2523
  EqServiceProvider.prototype.registerModelLoaderResolver = function (resolver) {
2512
2524
  this.modelLoaderResolver = resolver;
2513
2525
  };
2526
+ EqServiceProvider.prototype.registerModelStorageResolver = function (resolver) {
2527
+ this.modelStorageResolver = resolver;
2528
+ };
2514
2529
  EqServiceProvider.prototype.registerQueryStorageResolver = function (resolver) {
2515
2530
  this.queryStorageResolver = resolver;
2516
2531
  };
@@ -2609,6 +2624,9 @@ var EqAction;
2609
2624
  EqAction["UploadQueryFile"] = "UploadQueryFile";
2610
2625
  })(EqAction || (EqAction = {}));
2611
2626
  //# sourceMappingURL=eq_actions.js.map
2627
+ // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/packs/core/dist/lib/main/model_storage.js
2628
+ var model_storage = __webpack_require__(105);
2629
+
2612
2630
  // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/packs/core/dist/lib/query/query_events.js
2613
2631
  var query_events = __webpack_require__(14);
2614
2632
 
@@ -2913,10 +2931,14 @@ var context_EqContext = /** @class */ (function () {
2913
2931
  }
2914
2932
  if (options.endpoint) {
2915
2933
  this.baseEndpoint = options.endpoint;
2916
- console.warn('The `endpoint` option is deprecated and will be ignored.\n'
2934
+ console.warn('The `endpoint` option is deprecated.\n'
2917
2935
  + 'Please use `context.useEndpoint(endpointURL)` function instead.');
2918
2936
  }
2919
2937
  this.setDefaultEndpoints(this.baseEndpoint);
2938
+ if (options.modelStorageResolver) {
2939
+ var eqServices = this.getServices();
2940
+ eqServices.registerModelStorageResolver(options.modelStorageResolver);
2941
+ }
2920
2942
  this.loadQueryOnStart = false;
2921
2943
  if (options.loadQueryOnStart) {
2922
2944
  this.loadQueryOnStart = options.loadQueryOnStart;
@@ -4262,6 +4284,7 @@ addEasyQueryCoreTexts();
4262
4284
 
4263
4285
 
4264
4286
 
4287
+
4265
4288
 
4266
4289
 
4267
4290
  //for backward compatibility
@@ -8208,7 +8231,7 @@ var condition_group_renderer = __webpack_require__(78);
8208
8231
  var input_expression_renderer = __webpack_require__(80);
8209
8232
 
8210
8233
  // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/packs/ui/dist/lib/widgets/renderers/querypanel/attribute_expression_renderer.js
8211
- var attribute_expression_renderer = __webpack_require__(51);
8234
+ var attribute_expression_renderer = __webpack_require__(52);
8212
8235
 
8213
8236
  // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/packs/ui/dist/lib/widgets/renderers/querypanel/addrow_renderer.js
8214
8237
  var addrow_renderer = __webpack_require__(81);
@@ -11863,6 +11886,10 @@ var view_View = /** @class */ (function () {
11863
11886
  View.prototype.fetchData = function (options) {
11864
11887
  var _this = this;
11865
11888
  options = options || { refresh: true };
11889
+ this.context.clearResult();
11890
+ //don't run fetch if the query is empty
11891
+ if (this.context.getQuery().isEmpty() && !this.resultOptions.fetchEmptyQueries)
11892
+ return;
11866
11893
  this.showResultSpinner();
11867
11894
  this.context.fetchData({
11868
11895
  elasticPaging: options.elasticPaging,
@@ -16585,479 +16612,6 @@ var Condition = /** @class */ (function () {
16585
16612
 
16586
16613
  /***/ }),
16587
16614
  /* 51 */
16588
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
16589
-
16590
- "use strict";
16591
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AttributeExpressionRenderer; });
16592
- /* harmony import */ var _easydata_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
16593
- /* harmony import */ var _easyquery_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
16594
- /* harmony import */ var _easydata_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
16595
- /* harmony import */ var _list_expression_renderer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25);
16596
- /* harmony import */ var _utils_browser_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3);
16597
- /* harmony import */ var _types_qp_editable_part__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(10);
16598
- var __extends = (undefined && undefined.__extends) || (function () {
16599
- var extendStatics = function (d, b) {
16600
- extendStatics = Object.setPrototypeOf ||
16601
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16602
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
16603
- return extendStatics(d, b);
16604
- };
16605
- return function (d, b) {
16606
- extendStatics(d, b);
16607
- function __() { this.constructor = d; }
16608
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16609
- };
16610
- })();
16611
-
16612
-
16613
-
16614
-
16615
-
16616
-
16617
- var AttributeExpressionRenderer = /** @class */ (function (_super) {
16618
- __extends(AttributeExpressionRenderer, _super);
16619
- function AttributeExpressionRenderer(panel, expression, entitiesMenu, slot) {
16620
- var _this = _super.call(this, panel, expression, null, slot) || this;
16621
- _this.menu = entitiesMenu;
16622
- return _this;
16623
- }
16624
- AttributeExpressionRenderer.prototype.renderEditor = function () {
16625
- //create menu
16626
- };
16627
- AttributeExpressionRenderer.prototype.getLabelText = function () {
16628
- var model = this.panel.getContext().getModel();
16629
- var attrId = this.expression.value;
16630
- var attrObj = attrId ? model.getAttributeByIdSafe(attrId) : null;
16631
- var attrFormat = this.panel.options.attrElementFormat;
16632
- return attrObj ? model.getAttributeText(attrObj, attrFormat) : this.getEmptyText();
16633
- };
16634
- AttributeExpressionRenderer.prototype.setValue = function (value, silent) {
16635
- if (silent === void 0) { silent = false; }
16636
- silent = silent && value !== this.expression.value;
16637
- var result = _super.prototype.setValue.call(this, value, true);
16638
- if (!silent) {
16639
- this.expression.getParent().fireChangedEvent(_easyquery_core__WEBPACK_IMPORTED_MODULE_1__["ConditionPart"].EntityAttr | _easyquery_core__WEBPACK_IMPORTED_MODULE_1__["ConditionPart"].Operator);
16640
- }
16641
- return result;
16642
- };
16643
- AttributeExpressionRenderer.prototype.isEditable = function () {
16644
- return !this.isReadOnly()
16645
- && ((this.panel.options.editableParts & _types_qp_editable_part__WEBPACK_IMPORTED_MODULE_5__[/* QPEditablePart */ "a"].Attribute) === _types_qp_editable_part__WEBPACK_IMPORTED_MODULE_5__[/* QPEditablePart */ "a"].Attribute);
16646
- };
16647
- AttributeExpressionRenderer.prototype.getEmptyText = function () {
16648
- return this.panel.options.emptyTextAttribute || _easydata_core__WEBPACK_IMPORTED_MODULE_0__["i18n"].getText('MsgEmptyAttrValue');
16649
- };
16650
- AttributeExpressionRenderer.prototype.getClassesToAdd = function () {
16651
- return this.cssPrefix + "-condelement " + this.cssPrefix + "-attrelement";
16652
- };
16653
- AttributeExpressionRenderer.prototype.adjustWidth = function () {
16654
- if (_utils_browser_utils__WEBPACK_IMPORTED_MODULE_4__[/* browserUtils */ "a"].isMobileMode()) {
16655
- return;
16656
- }
16657
- var elWidth = this.element.clientWidth;
16658
- var parWidth = this.element.parentElement.clientWidth;
16659
- if (elWidth > parWidth / 2) {
16660
- Object(_easydata_ui__WEBPACK_IMPORTED_MODULE_2__["domel"])(this.element)
16661
- .addClass(this.cssPrefix + "-attrelement-wide");
16662
- }
16663
- };
16664
- return AttributeExpressionRenderer;
16665
- }(_list_expression_renderer__WEBPACK_IMPORTED_MODULE_3__[/* ListExpressionRenderer */ "b"]));
16666
-
16667
- //# sourceMappingURL=attribute_expression_renderer.js.map
16668
-
16669
- /***/ }),
16670
- /* 52 */
16671
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
16672
-
16673
- "use strict";
16674
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GoogleChartWidget; });
16675
- /* harmony import */ var _easydata_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
16676
- /* harmony import */ var _chart_widget__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(47);
16677
- /* harmony import */ var _chart_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5);
16678
- var __extends = (undefined && undefined.__extends) || (function () {
16679
- var extendStatics = function (d, b) {
16680
- extendStatics = Object.setPrototypeOf ||
16681
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16682
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
16683
- return extendStatics(d, b);
16684
- };
16685
- return function (d, b) {
16686
- extendStatics(d, b);
16687
- function __() { this.constructor = d; }
16688
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16689
- };
16690
- })();
16691
-
16692
-
16693
-
16694
- var GoogleChartWidget = /** @class */ (function (_super) {
16695
- __extends(GoogleChartWidget, _super);
16696
- /**
16697
- * The default constructor.
16698
- * @param slot The html element.
16699
- * @param provider The provider.
16700
- */
16701
- function GoogleChartWidget(slot) {
16702
- var _this = _super.call(this, slot) || this;
16703
- _this.hasChartTypes = [
16704
- _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Column,
16705
- _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Bar,
16706
- _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Histogram,
16707
- _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Combo,
16708
- _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Area,
16709
- _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Line,
16710
- _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].SteppedLine,
16711
- _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Pie,
16712
- _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Doughnut
16713
- ];
16714
- _this.options.legend = {
16715
- show: true,
16716
- position: 'right'
16717
- };
16718
- return _this;
16719
- }
16720
- GoogleChartWidget.prototype.getWidgetType = function () {
16721
- return 'chartGoogle';
16722
- };
16723
- GoogleChartWidget.prototype.canDraw = function () {
16724
- return GoogleChartWidget.hasGoogleCharts();
16725
- };
16726
- GoogleChartWidget.hasGoogleCharts = function () {
16727
- return typeof google !== 'undefined' && typeof google.charts !== 'undefined';
16728
- };
16729
- GoogleChartWidget.prototype.initChart = function () {
16730
- if (GoogleChartWidget.hasGoogleCharts() && this.labelColumn >= 0
16731
- && this.dataColumns && this.dataColumns.length > 0) {
16732
- this.googleDataView =
16733
- new google.visualization.DataView(this.convertToGoogleFormat());
16734
- this.updateChartColumns();
16735
- }
16736
- };
16737
- GoogleChartWidget.prototype.convertToGoogleType = function (type) {
16738
- switch (type) {
16739
- case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Date:
16740
- return "date";
16741
- case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].DateTime:
16742
- return "datetime";
16743
- case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Time:
16744
- return "timeofday";
16745
- case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Byte:
16746
- case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Word:
16747
- case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Int32:
16748
- case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Int64:
16749
- case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Currency:
16750
- case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Float:
16751
- return "number";
16752
- default:
16753
- return "string";
16754
- }
16755
- };
16756
- GoogleChartWidget.prototype.convertToGoogleValue = function (value, type) {
16757
- switch (type) {
16758
- case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Bool:
16759
- return value.toString();
16760
- default:
16761
- return value;
16762
- }
16763
- };
16764
- GoogleChartWidget.prototype.convertToGoogleFormat = function () {
16765
- var googleTable = new google.visualization.DataTable();
16766
- var columns = this.dataTable.columns;
16767
- for (var i = 0; i < columns.count; i++) {
16768
- var column = columns.get(i);
16769
- googleTable.addColumn(this.convertToGoogleType(column.type), column.label, column.id);
16770
- }
16771
- var rows = this.dataTable.getCachedRows();
16772
- googleTable.addRows(rows.length);
16773
- for (var i = 0; i < rows.length; i++) {
16774
- var row = rows[i];
16775
- for (var j = 0; j < columns.count; j++) {
16776
- googleTable.setCell(i, j, this.convertToGoogleValue(row.getValue(j), columns.get(j).type));
16777
- }
16778
- }
16779
- return googleTable;
16780
- };
16781
- GoogleChartWidget.prototype.drawCore = function () {
16782
- if (this.googleDataView != null) {
16783
- this.options.legend = this.options.legend || {};
16784
- var chartOptions = {
16785
- width: "100%",
16786
- height: "100%",
16787
- chartArea: { width: this.getChartAreaWidth }
16788
- };
16789
- if (this.chartType == _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Doughnut) {
16790
- chartOptions.pieHole = 0.4;
16791
- }
16792
- if (!this.options.legend.show) {
16793
- chartOptions.legend = 'none';
16794
- }
16795
- else {
16796
- chartOptions.legend = { position: this.options.legend.position };
16797
- }
16798
- var chart = this.createChart(this.chartDiv);
16799
- chart.draw(this.googleDataView, chartOptions);
16800
- }
16801
- };
16802
- GoogleChartWidget.prototype.getChartAreaWidth = function (chartType) {
16803
- if (chartType == _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Pie) {
16804
- return "100%";
16805
- }
16806
- else {
16807
- return "50%";
16808
- }
16809
- };
16810
- GoogleChartWidget.prototype.updateChartColumns = function () {
16811
- if (this.googleDataView) {
16812
- this.googleDataView.setColumns([].concat(this.labelColumn).concat(this.dataColumns));
16813
- }
16814
- };
16815
- GoogleChartWidget.prototype.createChart = function (slot) {
16816
- switch (this.chartType) {
16817
- case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Column:
16818
- return new google.visualization.ColumnChart(slot);
16819
- case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Histogram:
16820
- return new google.visualization.Histogram(slot);
16821
- case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Bar:
16822
- return new google.visualization.BarChart(slot);
16823
- case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Combo:
16824
- return new google.visualization.ComboChart(slot);
16825
- case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Area:
16826
- return new google.visualization.AreaChart(slot);
16827
- case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Line:
16828
- return new google.visualization.LineChart(slot);
16829
- case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].SteppedLine:
16830
- return new google.visualization.SteppedAreaChart(slot);
16831
- case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Pie:
16832
- case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Doughnut:
16833
- return new google.visualization.PieChart(slot);
16834
- default:
16835
- return new google.visualization.PieChart(slot);
16836
- }
16837
- };
16838
- return GoogleChartWidget;
16839
- }(_chart_widget__WEBPACK_IMPORTED_MODULE_1__[/* ChartWidget */ "a"]));
16840
-
16841
- //# sourceMappingURL=chart_widget_google.js.map
16842
-
16843
- /***/ }),
16844
- /* 53 */
16845
- /***/ (function(module, exports) {
16846
-
16847
- // shim for using process in browser
16848
- var process = module.exports = {};
16849
-
16850
- // cached from whatever global is present so that test runners that stub it
16851
- // don't break things. But we need to wrap it in a try catch in case it is
16852
- // wrapped in strict mode code which doesn't define any globals. It's inside a
16853
- // function because try/catches deoptimize in certain engines.
16854
-
16855
- var cachedSetTimeout;
16856
- var cachedClearTimeout;
16857
-
16858
- function defaultSetTimout() {
16859
- throw new Error('setTimeout has not been defined');
16860
- }
16861
- function defaultClearTimeout () {
16862
- throw new Error('clearTimeout has not been defined');
16863
- }
16864
- (function () {
16865
- try {
16866
- if (typeof setTimeout === 'function') {
16867
- cachedSetTimeout = setTimeout;
16868
- } else {
16869
- cachedSetTimeout = defaultSetTimout;
16870
- }
16871
- } catch (e) {
16872
- cachedSetTimeout = defaultSetTimout;
16873
- }
16874
- try {
16875
- if (typeof clearTimeout === 'function') {
16876
- cachedClearTimeout = clearTimeout;
16877
- } else {
16878
- cachedClearTimeout = defaultClearTimeout;
16879
- }
16880
- } catch (e) {
16881
- cachedClearTimeout = defaultClearTimeout;
16882
- }
16883
- } ())
16884
- function runTimeout(fun) {
16885
- if (cachedSetTimeout === setTimeout) {
16886
- //normal enviroments in sane situations
16887
- return setTimeout(fun, 0);
16888
- }
16889
- // if setTimeout wasn't available but was latter defined
16890
- if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
16891
- cachedSetTimeout = setTimeout;
16892
- return setTimeout(fun, 0);
16893
- }
16894
- try {
16895
- // when when somebody has screwed with setTimeout but no I.E. maddness
16896
- return cachedSetTimeout(fun, 0);
16897
- } catch(e){
16898
- try {
16899
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
16900
- return cachedSetTimeout.call(null, fun, 0);
16901
- } catch(e){
16902
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
16903
- return cachedSetTimeout.call(this, fun, 0);
16904
- }
16905
- }
16906
-
16907
-
16908
- }
16909
- function runClearTimeout(marker) {
16910
- if (cachedClearTimeout === clearTimeout) {
16911
- //normal enviroments in sane situations
16912
- return clearTimeout(marker);
16913
- }
16914
- // if clearTimeout wasn't available but was latter defined
16915
- if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
16916
- cachedClearTimeout = clearTimeout;
16917
- return clearTimeout(marker);
16918
- }
16919
- try {
16920
- // when when somebody has screwed with setTimeout but no I.E. maddness
16921
- return cachedClearTimeout(marker);
16922
- } catch (e){
16923
- try {
16924
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
16925
- return cachedClearTimeout.call(null, marker);
16926
- } catch (e){
16927
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
16928
- // Some versions of I.E. have different rules for clearTimeout vs setTimeout
16929
- return cachedClearTimeout.call(this, marker);
16930
- }
16931
- }
16932
-
16933
-
16934
-
16935
- }
16936
- var queue = [];
16937
- var draining = false;
16938
- var currentQueue;
16939
- var queueIndex = -1;
16940
-
16941
- function cleanUpNextTick() {
16942
- if (!draining || !currentQueue) {
16943
- return;
16944
- }
16945
- draining = false;
16946
- if (currentQueue.length) {
16947
- queue = currentQueue.concat(queue);
16948
- } else {
16949
- queueIndex = -1;
16950
- }
16951
- if (queue.length) {
16952
- drainQueue();
16953
- }
16954
- }
16955
-
16956
- function drainQueue() {
16957
- if (draining) {
16958
- return;
16959
- }
16960
- var timeout = runTimeout(cleanUpNextTick);
16961
- draining = true;
16962
-
16963
- var len = queue.length;
16964
- while(len) {
16965
- currentQueue = queue;
16966
- queue = [];
16967
- while (++queueIndex < len) {
16968
- if (currentQueue) {
16969
- currentQueue[queueIndex].run();
16970
- }
16971
- }
16972
- queueIndex = -1;
16973
- len = queue.length;
16974
- }
16975
- currentQueue = null;
16976
- draining = false;
16977
- runClearTimeout(timeout);
16978
- }
16979
-
16980
- process.nextTick = function (fun) {
16981
- var args = new Array(arguments.length - 1);
16982
- if (arguments.length > 1) {
16983
- for (var i = 1; i < arguments.length; i++) {
16984
- args[i - 1] = arguments[i];
16985
- }
16986
- }
16987
- queue.push(new Item(fun, args));
16988
- if (queue.length === 1 && !draining) {
16989
- runTimeout(drainQueue);
16990
- }
16991
- };
16992
-
16993
- // v8 likes predictible objects
16994
- function Item(fun, array) {
16995
- this.fun = fun;
16996
- this.array = array;
16997
- }
16998
- Item.prototype.run = function () {
16999
- this.fun.apply(null, this.array);
17000
- };
17001
- process.title = 'browser';
17002
- process.browser = true;
17003
- process.env = {};
17004
- process.argv = [];
17005
- process.version = ''; // empty string to avoid regexp issues
17006
- process.versions = {};
17007
-
17008
- function noop() {}
17009
-
17010
- process.on = noop;
17011
- process.addListener = noop;
17012
- process.once = noop;
17013
- process.off = noop;
17014
- process.removeListener = noop;
17015
- process.removeAllListeners = noop;
17016
- process.emit = noop;
17017
- process.prependListener = noop;
17018
- process.prependOnceListener = noop;
17019
-
17020
- process.listeners = function (name) { return [] }
17021
-
17022
- process.binding = function (name) {
17023
- throw new Error('process.binding is not supported');
17024
- };
17025
-
17026
- process.cwd = function () { return '/' };
17027
- process.chdir = function (dir) {
17028
- throw new Error('process.chdir is not supported');
17029
- };
17030
- process.umask = function() { return 0; };
17031
-
17032
-
17033
- /***/ }),
17034
- /* 54 */
17035
- /***/ (function(module, exports) {
17036
-
17037
- var g;
17038
-
17039
- // This works in non-strict mode
17040
- g = (function() {
17041
- return this;
17042
- })();
17043
-
17044
- try {
17045
- // This works if eval is allowed (see CSP)
17046
- g = g || new Function("return this")();
17047
- } catch (e) {
17048
- // This works if the window reference is available
17049
- if (typeof window === "object") g = window;
17050
- }
17051
-
17052
- // g can still be undefined, but nothing to do about it...
17053
- // We return undefined, instead of nothing here, so it's
17054
- // easier to handle this case. if(!global) { ...}
17055
-
17056
- module.exports = g;
17057
-
17058
-
17059
- /***/ }),
17060
- /* 55 */
17061
16615
  /***/ (function(module, exports, __webpack_require__) {
17062
16616
 
17063
16617
  /* WEBPACK VAR INJECTION */(function(process, global) {/*!
@@ -18234,7 +17788,480 @@ return Promise$1;
18234
17788
 
18235
17789
  //# sourceMappingURL=es6-promise.map
18236
17790
 
18237
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(53), __webpack_require__(54)))
17791
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(54), __webpack_require__(55)))
17792
+
17793
+ /***/ }),
17794
+ /* 52 */
17795
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
17796
+
17797
+ "use strict";
17798
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AttributeExpressionRenderer; });
17799
+ /* harmony import */ var _easydata_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
17800
+ /* harmony import */ var _easyquery_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
17801
+ /* harmony import */ var _easydata_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
17802
+ /* harmony import */ var _list_expression_renderer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25);
17803
+ /* harmony import */ var _utils_browser_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3);
17804
+ /* harmony import */ var _types_qp_editable_part__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(10);
17805
+ var __extends = (undefined && undefined.__extends) || (function () {
17806
+ var extendStatics = function (d, b) {
17807
+ extendStatics = Object.setPrototypeOf ||
17808
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
17809
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
17810
+ return extendStatics(d, b);
17811
+ };
17812
+ return function (d, b) {
17813
+ extendStatics(d, b);
17814
+ function __() { this.constructor = d; }
17815
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
17816
+ };
17817
+ })();
17818
+
17819
+
17820
+
17821
+
17822
+
17823
+
17824
+ var AttributeExpressionRenderer = /** @class */ (function (_super) {
17825
+ __extends(AttributeExpressionRenderer, _super);
17826
+ function AttributeExpressionRenderer(panel, expression, entitiesMenu, slot) {
17827
+ var _this = _super.call(this, panel, expression, null, slot) || this;
17828
+ _this.menu = entitiesMenu;
17829
+ return _this;
17830
+ }
17831
+ AttributeExpressionRenderer.prototype.renderEditor = function () {
17832
+ //create menu
17833
+ };
17834
+ AttributeExpressionRenderer.prototype.getLabelText = function () {
17835
+ var model = this.panel.getContext().getModel();
17836
+ var attrId = this.expression.value;
17837
+ var attrObj = attrId ? model.getAttributeByIdSafe(attrId) : null;
17838
+ var attrFormat = this.panel.options.attrElementFormat;
17839
+ return attrObj ? model.getAttributeText(attrObj, attrFormat) : this.getEmptyText();
17840
+ };
17841
+ AttributeExpressionRenderer.prototype.setValue = function (value, silent) {
17842
+ if (silent === void 0) { silent = false; }
17843
+ silent = silent && value !== this.expression.value;
17844
+ var result = _super.prototype.setValue.call(this, value, true);
17845
+ if (!silent) {
17846
+ this.expression.getParent().fireChangedEvent(_easyquery_core__WEBPACK_IMPORTED_MODULE_1__["ConditionPart"].EntityAttr | _easyquery_core__WEBPACK_IMPORTED_MODULE_1__["ConditionPart"].Operator);
17847
+ }
17848
+ return result;
17849
+ };
17850
+ AttributeExpressionRenderer.prototype.isEditable = function () {
17851
+ return !this.isReadOnly()
17852
+ && ((this.panel.options.editableParts & _types_qp_editable_part__WEBPACK_IMPORTED_MODULE_5__[/* QPEditablePart */ "a"].Attribute) === _types_qp_editable_part__WEBPACK_IMPORTED_MODULE_5__[/* QPEditablePart */ "a"].Attribute);
17853
+ };
17854
+ AttributeExpressionRenderer.prototype.getEmptyText = function () {
17855
+ return this.panel.options.emptyTextAttribute || _easydata_core__WEBPACK_IMPORTED_MODULE_0__["i18n"].getText('MsgEmptyAttrValue');
17856
+ };
17857
+ AttributeExpressionRenderer.prototype.getClassesToAdd = function () {
17858
+ return this.cssPrefix + "-condelement " + this.cssPrefix + "-attrelement";
17859
+ };
17860
+ AttributeExpressionRenderer.prototype.adjustWidth = function () {
17861
+ if (_utils_browser_utils__WEBPACK_IMPORTED_MODULE_4__[/* browserUtils */ "a"].isMobileMode()) {
17862
+ return;
17863
+ }
17864
+ var elWidth = this.element.clientWidth;
17865
+ var parWidth = this.element.parentElement.clientWidth;
17866
+ if (elWidth > parWidth / 2) {
17867
+ Object(_easydata_ui__WEBPACK_IMPORTED_MODULE_2__["domel"])(this.element)
17868
+ .addClass(this.cssPrefix + "-attrelement-wide");
17869
+ }
17870
+ };
17871
+ return AttributeExpressionRenderer;
17872
+ }(_list_expression_renderer__WEBPACK_IMPORTED_MODULE_3__[/* ListExpressionRenderer */ "b"]));
17873
+
17874
+ //# sourceMappingURL=attribute_expression_renderer.js.map
17875
+
17876
+ /***/ }),
17877
+ /* 53 */
17878
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
17879
+
17880
+ "use strict";
17881
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GoogleChartWidget; });
17882
+ /* harmony import */ var _easydata_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
17883
+ /* harmony import */ var _chart_widget__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(47);
17884
+ /* harmony import */ var _chart_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5);
17885
+ var __extends = (undefined && undefined.__extends) || (function () {
17886
+ var extendStatics = function (d, b) {
17887
+ extendStatics = Object.setPrototypeOf ||
17888
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
17889
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
17890
+ return extendStatics(d, b);
17891
+ };
17892
+ return function (d, b) {
17893
+ extendStatics(d, b);
17894
+ function __() { this.constructor = d; }
17895
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
17896
+ };
17897
+ })();
17898
+
17899
+
17900
+
17901
+ var GoogleChartWidget = /** @class */ (function (_super) {
17902
+ __extends(GoogleChartWidget, _super);
17903
+ /**
17904
+ * The default constructor.
17905
+ * @param slot The html element.
17906
+ * @param provider The provider.
17907
+ */
17908
+ function GoogleChartWidget(slot) {
17909
+ var _this = _super.call(this, slot) || this;
17910
+ _this.hasChartTypes = [
17911
+ _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Column,
17912
+ _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Bar,
17913
+ _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Histogram,
17914
+ _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Combo,
17915
+ _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Area,
17916
+ _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Line,
17917
+ _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].SteppedLine,
17918
+ _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Pie,
17919
+ _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Doughnut
17920
+ ];
17921
+ _this.options.legend = {
17922
+ show: true,
17923
+ position: 'right'
17924
+ };
17925
+ return _this;
17926
+ }
17927
+ GoogleChartWidget.prototype.getWidgetType = function () {
17928
+ return 'chartGoogle';
17929
+ };
17930
+ GoogleChartWidget.prototype.canDraw = function () {
17931
+ return GoogleChartWidget.hasGoogleCharts();
17932
+ };
17933
+ GoogleChartWidget.hasGoogleCharts = function () {
17934
+ return typeof google !== 'undefined' && typeof google.charts !== 'undefined';
17935
+ };
17936
+ GoogleChartWidget.prototype.initChart = function () {
17937
+ if (GoogleChartWidget.hasGoogleCharts() && this.labelColumn >= 0
17938
+ && this.dataColumns && this.dataColumns.length > 0) {
17939
+ this.googleDataView =
17940
+ new google.visualization.DataView(this.convertToGoogleFormat());
17941
+ this.updateChartColumns();
17942
+ }
17943
+ };
17944
+ GoogleChartWidget.prototype.convertToGoogleType = function (type) {
17945
+ switch (type) {
17946
+ case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Date:
17947
+ return "date";
17948
+ case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].DateTime:
17949
+ return "datetime";
17950
+ case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Time:
17951
+ return "timeofday";
17952
+ case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Byte:
17953
+ case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Word:
17954
+ case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Int32:
17955
+ case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Int64:
17956
+ case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Currency:
17957
+ case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Float:
17958
+ return "number";
17959
+ default:
17960
+ return "string";
17961
+ }
17962
+ };
17963
+ GoogleChartWidget.prototype.convertToGoogleValue = function (value, type) {
17964
+ switch (type) {
17965
+ case _easydata_core__WEBPACK_IMPORTED_MODULE_0__["DataType"].Bool:
17966
+ return value.toString();
17967
+ default:
17968
+ return value;
17969
+ }
17970
+ };
17971
+ GoogleChartWidget.prototype.convertToGoogleFormat = function () {
17972
+ var googleTable = new google.visualization.DataTable();
17973
+ var columns = this.dataTable.columns;
17974
+ for (var i = 0; i < columns.count; i++) {
17975
+ var column = columns.get(i);
17976
+ googleTable.addColumn(this.convertToGoogleType(column.type), column.label, column.id);
17977
+ }
17978
+ var rows = this.dataTable.getCachedRows();
17979
+ googleTable.addRows(rows.length);
17980
+ for (var i = 0; i < rows.length; i++) {
17981
+ var row = rows[i];
17982
+ for (var j = 0; j < columns.count; j++) {
17983
+ googleTable.setCell(i, j, this.convertToGoogleValue(row.getValue(j), columns.get(j).type));
17984
+ }
17985
+ }
17986
+ return googleTable;
17987
+ };
17988
+ GoogleChartWidget.prototype.drawCore = function () {
17989
+ if (this.googleDataView != null) {
17990
+ this.options.legend = this.options.legend || {};
17991
+ var chartOptions = {
17992
+ width: "100%",
17993
+ height: "100%",
17994
+ chartArea: { width: this.getChartAreaWidth }
17995
+ };
17996
+ if (this.chartType == _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Doughnut) {
17997
+ chartOptions.pieHole = 0.4;
17998
+ }
17999
+ if (!this.options.legend.show) {
18000
+ chartOptions.legend = 'none';
18001
+ }
18002
+ else {
18003
+ chartOptions.legend = { position: this.options.legend.position };
18004
+ }
18005
+ var chart = this.createChart(this.chartDiv);
18006
+ chart.draw(this.googleDataView, chartOptions);
18007
+ }
18008
+ };
18009
+ GoogleChartWidget.prototype.getChartAreaWidth = function (chartType) {
18010
+ if (chartType == _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Pie) {
18011
+ return "100%";
18012
+ }
18013
+ else {
18014
+ return "50%";
18015
+ }
18016
+ };
18017
+ GoogleChartWidget.prototype.updateChartColumns = function () {
18018
+ if (this.googleDataView) {
18019
+ this.googleDataView.setColumns([].concat(this.labelColumn).concat(this.dataColumns));
18020
+ }
18021
+ };
18022
+ GoogleChartWidget.prototype.createChart = function (slot) {
18023
+ switch (this.chartType) {
18024
+ case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Column:
18025
+ return new google.visualization.ColumnChart(slot);
18026
+ case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Histogram:
18027
+ return new google.visualization.Histogram(slot);
18028
+ case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Bar:
18029
+ return new google.visualization.BarChart(slot);
18030
+ case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Combo:
18031
+ return new google.visualization.ComboChart(slot);
18032
+ case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Area:
18033
+ return new google.visualization.AreaChart(slot);
18034
+ case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Line:
18035
+ return new google.visualization.LineChart(slot);
18036
+ case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].SteppedLine:
18037
+ return new google.visualization.SteppedAreaChart(slot);
18038
+ case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Pie:
18039
+ case _chart_type__WEBPACK_IMPORTED_MODULE_2__[/* ChartType */ "a"].Doughnut:
18040
+ return new google.visualization.PieChart(slot);
18041
+ default:
18042
+ return new google.visualization.PieChart(slot);
18043
+ }
18044
+ };
18045
+ return GoogleChartWidget;
18046
+ }(_chart_widget__WEBPACK_IMPORTED_MODULE_1__[/* ChartWidget */ "a"]));
18047
+
18048
+ //# sourceMappingURL=chart_widget_google.js.map
18049
+
18050
+ /***/ }),
18051
+ /* 54 */
18052
+ /***/ (function(module, exports) {
18053
+
18054
+ // shim for using process in browser
18055
+ var process = module.exports = {};
18056
+
18057
+ // cached from whatever global is present so that test runners that stub it
18058
+ // don't break things. But we need to wrap it in a try catch in case it is
18059
+ // wrapped in strict mode code which doesn't define any globals. It's inside a
18060
+ // function because try/catches deoptimize in certain engines.
18061
+
18062
+ var cachedSetTimeout;
18063
+ var cachedClearTimeout;
18064
+
18065
+ function defaultSetTimout() {
18066
+ throw new Error('setTimeout has not been defined');
18067
+ }
18068
+ function defaultClearTimeout () {
18069
+ throw new Error('clearTimeout has not been defined');
18070
+ }
18071
+ (function () {
18072
+ try {
18073
+ if (typeof setTimeout === 'function') {
18074
+ cachedSetTimeout = setTimeout;
18075
+ } else {
18076
+ cachedSetTimeout = defaultSetTimout;
18077
+ }
18078
+ } catch (e) {
18079
+ cachedSetTimeout = defaultSetTimout;
18080
+ }
18081
+ try {
18082
+ if (typeof clearTimeout === 'function') {
18083
+ cachedClearTimeout = clearTimeout;
18084
+ } else {
18085
+ cachedClearTimeout = defaultClearTimeout;
18086
+ }
18087
+ } catch (e) {
18088
+ cachedClearTimeout = defaultClearTimeout;
18089
+ }
18090
+ } ())
18091
+ function runTimeout(fun) {
18092
+ if (cachedSetTimeout === setTimeout) {
18093
+ //normal enviroments in sane situations
18094
+ return setTimeout(fun, 0);
18095
+ }
18096
+ // if setTimeout wasn't available but was latter defined
18097
+ if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
18098
+ cachedSetTimeout = setTimeout;
18099
+ return setTimeout(fun, 0);
18100
+ }
18101
+ try {
18102
+ // when when somebody has screwed with setTimeout but no I.E. maddness
18103
+ return cachedSetTimeout(fun, 0);
18104
+ } catch(e){
18105
+ try {
18106
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
18107
+ return cachedSetTimeout.call(null, fun, 0);
18108
+ } catch(e){
18109
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
18110
+ return cachedSetTimeout.call(this, fun, 0);
18111
+ }
18112
+ }
18113
+
18114
+
18115
+ }
18116
+ function runClearTimeout(marker) {
18117
+ if (cachedClearTimeout === clearTimeout) {
18118
+ //normal enviroments in sane situations
18119
+ return clearTimeout(marker);
18120
+ }
18121
+ // if clearTimeout wasn't available but was latter defined
18122
+ if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
18123
+ cachedClearTimeout = clearTimeout;
18124
+ return clearTimeout(marker);
18125
+ }
18126
+ try {
18127
+ // when when somebody has screwed with setTimeout but no I.E. maddness
18128
+ return cachedClearTimeout(marker);
18129
+ } catch (e){
18130
+ try {
18131
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
18132
+ return cachedClearTimeout.call(null, marker);
18133
+ } catch (e){
18134
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
18135
+ // Some versions of I.E. have different rules for clearTimeout vs setTimeout
18136
+ return cachedClearTimeout.call(this, marker);
18137
+ }
18138
+ }
18139
+
18140
+
18141
+
18142
+ }
18143
+ var queue = [];
18144
+ var draining = false;
18145
+ var currentQueue;
18146
+ var queueIndex = -1;
18147
+
18148
+ function cleanUpNextTick() {
18149
+ if (!draining || !currentQueue) {
18150
+ return;
18151
+ }
18152
+ draining = false;
18153
+ if (currentQueue.length) {
18154
+ queue = currentQueue.concat(queue);
18155
+ } else {
18156
+ queueIndex = -1;
18157
+ }
18158
+ if (queue.length) {
18159
+ drainQueue();
18160
+ }
18161
+ }
18162
+
18163
+ function drainQueue() {
18164
+ if (draining) {
18165
+ return;
18166
+ }
18167
+ var timeout = runTimeout(cleanUpNextTick);
18168
+ draining = true;
18169
+
18170
+ var len = queue.length;
18171
+ while(len) {
18172
+ currentQueue = queue;
18173
+ queue = [];
18174
+ while (++queueIndex < len) {
18175
+ if (currentQueue) {
18176
+ currentQueue[queueIndex].run();
18177
+ }
18178
+ }
18179
+ queueIndex = -1;
18180
+ len = queue.length;
18181
+ }
18182
+ currentQueue = null;
18183
+ draining = false;
18184
+ runClearTimeout(timeout);
18185
+ }
18186
+
18187
+ process.nextTick = function (fun) {
18188
+ var args = new Array(arguments.length - 1);
18189
+ if (arguments.length > 1) {
18190
+ for (var i = 1; i < arguments.length; i++) {
18191
+ args[i - 1] = arguments[i];
18192
+ }
18193
+ }
18194
+ queue.push(new Item(fun, args));
18195
+ if (queue.length === 1 && !draining) {
18196
+ runTimeout(drainQueue);
18197
+ }
18198
+ };
18199
+
18200
+ // v8 likes predictible objects
18201
+ function Item(fun, array) {
18202
+ this.fun = fun;
18203
+ this.array = array;
18204
+ }
18205
+ Item.prototype.run = function () {
18206
+ this.fun.apply(null, this.array);
18207
+ };
18208
+ process.title = 'browser';
18209
+ process.browser = true;
18210
+ process.env = {};
18211
+ process.argv = [];
18212
+ process.version = ''; // empty string to avoid regexp issues
18213
+ process.versions = {};
18214
+
18215
+ function noop() {}
18216
+
18217
+ process.on = noop;
18218
+ process.addListener = noop;
18219
+ process.once = noop;
18220
+ process.off = noop;
18221
+ process.removeListener = noop;
18222
+ process.removeAllListeners = noop;
18223
+ process.emit = noop;
18224
+ process.prependListener = noop;
18225
+ process.prependOnceListener = noop;
18226
+
18227
+ process.listeners = function (name) { return [] }
18228
+
18229
+ process.binding = function (name) {
18230
+ throw new Error('process.binding is not supported');
18231
+ };
18232
+
18233
+ process.cwd = function () { return '/' };
18234
+ process.chdir = function (dir) {
18235
+ throw new Error('process.chdir is not supported');
18236
+ };
18237
+ process.umask = function() { return 0; };
18238
+
18239
+
18240
+ /***/ }),
18241
+ /* 55 */
18242
+ /***/ (function(module, exports) {
18243
+
18244
+ var g;
18245
+
18246
+ // This works in non-strict mode
18247
+ g = (function() {
18248
+ return this;
18249
+ })();
18250
+
18251
+ try {
18252
+ // This works if eval is allowed (see CSP)
18253
+ g = g || new Function("return this")();
18254
+ } catch (e) {
18255
+ // This works if the window reference is available
18256
+ if (typeof window === "object") g = window;
18257
+ }
18258
+
18259
+ // g can still be undefined, but nothing to do about it...
18260
+ // We return undefined, instead of nothing here, so it's
18261
+ // easier to handle this case. if(!global) { ...}
18262
+
18263
+ module.exports = g;
18264
+
18238
18265
 
18239
18266
  /***/ }),
18240
18267
  /* 56 */
@@ -19414,7 +19441,7 @@ return Promise$1;
19414
19441
 
19415
19442
  //# sourceMappingURL=es6-promise.map
19416
19443
 
19417
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(53), __webpack_require__(54)))
19444
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(54), __webpack_require__(55)))
19418
19445
 
19419
19446
  /***/ }),
19420
19447
  /* 57 */
@@ -19964,7 +19991,7 @@ var BrowserQueryStorage = /** @class */ (function () {
19964
19991
  }());
19965
19992
 
19966
19993
  //# sourceMappingURL=query_storage.js.map
19967
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(55)))
19994
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(51)))
19968
19995
 
19969
19996
  /***/ }),
19970
19997
  /* 64 */
@@ -20005,7 +20032,7 @@ var EqModelLoader = /** @class */ (function () {
20005
20032
  }());
20006
20033
 
20007
20034
  //# sourceMappingURL=model_loader.js.map
20008
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(55)))
20035
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(51)))
20009
20036
 
20010
20037
  /***/ }),
20011
20038
  /* 65 */
@@ -20123,7 +20150,7 @@ var DefaultAggregatesCalculator = /** @class */ (function () {
20123
20150
  }());
20124
20151
 
20125
20152
  //# sourceMappingURL=eq_aggr_container.js.map
20126
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(55)))
20153
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(51)))
20127
20154
 
20128
20155
  /***/ }),
20129
20156
  /* 66 */
@@ -20182,7 +20209,7 @@ var EasyQueryDataLoader = /** @class */ (function () {
20182
20209
  }());
20183
20210
 
20184
20211
  //# sourceMappingURL=eq_data_loader.js.map
20185
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(55)))
20212
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(51)))
20186
20213
 
20187
20214
  /***/ }),
20188
20215
  /* 67 */
@@ -21524,7 +21551,7 @@ var DefaultDialogSet = /** @class */ (function () {
21524
21551
  }());
21525
21552
 
21526
21553
  //# sourceMappingURL=default_dialog_service.js.map
21527
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(106)))
21554
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(107)))
21528
21555
 
21529
21556
  /***/ }),
21530
21557
  /* 71 */
@@ -23377,7 +23404,6 @@ var AggrFuncColumnRendererCB = /** @class */ (function (_super) {
23377
23404
  .getAttributeByIdSafe(this.column.expr.args[0].value);
23378
23405
  };
23379
23406
  AggrFuncColumnRendererCB.prototype.getDefaultCaption = function () {
23380
- console.log('Calling getDefaultCaption() AGGR');
23381
23407
  return this.getDefaultTitleText(this.baseAttr) + ' '
23382
23408
  + this.bar.getContext().getModel().getAggrFunctionCaption(this.column.expr.func);
23383
23409
  };
@@ -23727,7 +23753,6 @@ var ColumnRendererCB = /** @class */ (function () {
23727
23753
  .toDOM();
23728
23754
  };
23729
23755
  ColumnRendererCB.prototype.getDefaultCaption = function () {
23730
- console.log('Calling getDefaultCaption() BASE');
23731
23756
  return this.getDefaultTitleText(this.baseAttr);
23732
23757
  };
23733
23758
  ColumnRendererCB.prototype.getDefaultTitleText = function (attr) {
@@ -25570,7 +25595,7 @@ var ProcessWidget = /** @class */ (function (_super) {
25570
25595
  /* harmony import */ var _types_facet_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13);
25571
25596
  /* harmony import */ var _result_facet__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31);
25572
25597
  /* harmony import */ var _widgets_charts_chart_widget_chartjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(46);
25573
- /* harmony import */ var _widgets_charts_chart_widget_google__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52);
25598
+ /* harmony import */ var _widgets_charts_chart_widget_google__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(53);
25574
25599
  /* harmony import */ var _utils_browser_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3);
25575
25600
  var __extends = (undefined && undefined.__extends) || (function () {
25576
25601
  var extendStatics = function (d, b) {
@@ -26878,10 +26903,10 @@ var AggrSettingsDialog = /** @class */ (function () {
26878
26903
  b.on('change', _this.enableAggrCheckBoxChangeHandler.bind(_this));
26879
26904
  })
26880
26905
  .addChild('span', function (b) { return b
26881
- .addClass('slider round'); }); })
26906
+ .addClass('slider round'); })
26882
26907
  .addChild('span', function (b) { return b
26883
26908
  .addClass('switch-text')
26884
- .addText(_easyquery_core__WEBPACK_IMPORTED_MODULE_1__["i18n"].getText('AggrSettings', 'EnableAggrLabel')); }); })
26909
+ .addText(_easyquery_core__WEBPACK_IMPORTED_MODULE_1__["i18n"].getText('AggrSettings', 'EnableAggrLabel')); }); }); })
26885
26910
  .addChild('div', function (b) { return b
26886
26911
  .id('AggrSettingsComponent'); });
26887
26912
  return b.toDOM();
@@ -27060,10 +27085,10 @@ var AggrSettingsRenderer = /** @class */ (function () {
27060
27085
  b.on('change', _this.countsCheckboxChangeHandler.bind(_this));
27061
27086
  })
27062
27087
  .addChild('span', function (b) { return b
27063
- .addClass('slider round'); }); })
27088
+ .addClass('slider round'); })
27064
27089
  .addChild('span', function (b) { return b
27065
27090
  .addClass('switch-text')
27066
- .addText(_easyquery_core__WEBPACK_IMPORTED_MODULE_3__["i18n"].getText('AggrSettings', 'GroupCountsLabel')); }); })
27091
+ .addText(_easyquery_core__WEBPACK_IMPORTED_MODULE_3__["i18n"].getText('AggrSettings', 'GroupCountsLabel')); }); }); })
27067
27092
  .addChild('div', function (b) { return b
27068
27093
  .addClass(_this.cssPrefix + "-grandtotals")
27069
27094
  .addChild('label', function (b) { return b
@@ -27076,10 +27101,10 @@ var AggrSettingsRenderer = /** @class */ (function () {
27076
27101
  b.on('change', _this.grandCheckboxChangeHandler.bind(_this));
27077
27102
  })
27078
27103
  .addChild('span', function (b) { return b
27079
- .addClass('slider round'); }); })
27104
+ .addClass('slider round'); })
27080
27105
  .addChild('span', function (b) { return b
27081
27106
  .addClass('switch-text')
27082
- .addText(_easyquery_core__WEBPACK_IMPORTED_MODULE_3__["i18n"].getText('AggrSettings', 'GrandTotalsLabel')); }); });
27107
+ .addText(_easyquery_core__WEBPACK_IMPORTED_MODULE_3__["i18n"].getText('AggrSettings', 'GrandTotalsLabel')); }); }); });
27083
27108
  var groups = this.slot.querySelectorAll("." + this.cssPrefix + "-group");
27084
27109
  groups.forEach(function (el) {
27085
27110
  Object(_easydata_ui__WEBPACK_IMPORTED_MODULE_1__["domel"])(el)
@@ -30039,7 +30064,7 @@ return Promise$1;
30039
30064
 
30040
30065
  //# sourceMappingURL=es6-promise.map
30041
30066
 
30042
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(112), __webpack_require__(113)))
30067
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(113), __webpack_require__(114)))
30043
30068
 
30044
30069
  /***/ }),
30045
30070
  /* 101 */
@@ -30049,7 +30074,7 @@ return Promise$1;
30049
30074
  /* WEBPACK VAR INJECTION */(function(Promise) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return HttpResponseError; });
30050
30075
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HttpClient; });
30051
30076
  /* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
30052
- /* harmony import */ var _http_action_result__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(109);
30077
+ /* harmony import */ var _http_action_result__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(110);
30053
30078
  /* harmony import */ var _http_method__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36);
30054
30079
  /* harmony import */ var _http_request__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(57);
30055
30080
  var __extends = (undefined && undefined.__extends) || (function () {
@@ -31373,7 +31398,7 @@ return Promise$1;
31373
31398
 
31374
31399
  //# sourceMappingURL=es6-promise.map
31375
31400
 
31376
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(53), __webpack_require__(54)))
31401
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(54), __webpack_require__(55)))
31377
31402
 
31378
31403
  /***/ }),
31379
31404
  /* 103 */
@@ -31808,6 +31833,33 @@ var GoogleDataConverter = /** @class */ (function () {
31808
31833
  /* 105 */
31809
31834
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
31810
31835
 
31836
+ "use strict";
31837
+ /* WEBPACK VAR INJECTION */(function(Promise) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InMemoryModelStorage; });
31838
+ /* harmony import */ var _easydata_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
31839
+
31840
+ var InMemoryModelStorage = /** @class */ (function () {
31841
+ function InMemoryModelStorage(models) {
31842
+ this.models = [];
31843
+ if (models) {
31844
+ _easydata_core__WEBPACK_IMPORTED_MODULE_0__["utils"].assign(this.models, [], models);
31845
+ }
31846
+ }
31847
+ InMemoryModelStorage.prototype.getModels = function () {
31848
+ var _this = this;
31849
+ return new Promise(function (resolve, reject) {
31850
+ resolve(_this.models);
31851
+ });
31852
+ };
31853
+ return InMemoryModelStorage;
31854
+ }());
31855
+
31856
+ //# sourceMappingURL=model_storage.js.map
31857
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(51)))
31858
+
31859
+ /***/ }),
31860
+ /* 106 */
31861
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
31862
+
31811
31863
  "use strict";
31812
31864
  /* WEBPACK VAR INJECTION */(function(Promise) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return EasyGrid; });
31813
31865
  /* harmony import */ var _easydata_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
@@ -32975,10 +33027,10 @@ var EasyGrid = /** @class */ (function () {
32975
33027
  }());
32976
33028
 
32977
33029
  //# sourceMappingURL=easy_grid.js.map
32978
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(106)))
33030
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(107)))
32979
33031
 
32980
33032
  /***/ }),
32981
- /* 106 */
33033
+ /* 107 */
32982
33034
  /***/ (function(module, exports, __webpack_require__) {
32983
33035
 
32984
33036
  /* WEBPACK VAR INJECTION */(function(process, global) {/*!
@@ -34155,10 +34207,10 @@ return Promise$1;
34155
34207
 
34156
34208
  //# sourceMappingURL=es6-promise.map
34157
34209
 
34158
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(53), __webpack_require__(54)))
34210
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(54), __webpack_require__(55)))
34159
34211
 
34160
34212
  /***/ }),
34161
- /* 107 */
34213
+ /* 108 */
34162
34214
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
34163
34215
 
34164
34216
  "use strict";
@@ -34887,7 +34939,7 @@ var AdvancedSearchView = /** @class */ (function (_super) {
34887
34939
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(56)))
34888
34940
 
34889
34941
  /***/ }),
34890
- /* 108 */
34942
+ /* 109 */
34891
34943
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
34892
34944
 
34893
34945
  "use strict";
@@ -35012,7 +35064,6 @@ var EqServerAggregatesCalculator = /** @class */ (function () {
35012
35064
  dataTable.addRow(row);
35013
35065
  }
35014
35066
  var levelData = _this.buildLevelData(options.level, dataTable);
35015
- console.log('Level', options.level, levelData);
35016
35067
  _this.aggrContainer.setAggregateData(options.level, levelData);
35017
35068
  if (options.resultObtainedCallback) {
35018
35069
  options.resultObtainedCallback(result, options.level);
@@ -35071,7 +35122,7 @@ var EqServerAggregatesCalculator = /** @class */ (function () {
35071
35122
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(100)))
35072
35123
 
35073
35124
  /***/ }),
35074
- /* 109 */
35125
+ /* 110 */
35075
35126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
35076
35127
 
35077
35128
  "use strict";
@@ -35102,7 +35153,7 @@ var HttpActionResult = /** @class */ (function () {
35102
35153
  //# sourceMappingURL=http_action_result.js.map
35103
35154
 
35104
35155
  /***/ }),
35105
- /* 110 */
35156
+ /* 111 */
35106
35157
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
35107
35158
 
35108
35159
  "use strict";
@@ -35277,14 +35328,14 @@ var DataTableAggregatesCalculator = /** @class */ (function () {
35277
35328
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(100)))
35278
35329
 
35279
35330
  /***/ }),
35280
- /* 111 */
35331
+ /* 112 */
35281
35332
  /***/ (function(module, exports, __webpack_require__) {
35282
35333
 
35283
- module.exports = __webpack_require__(114);
35334
+ module.exports = __webpack_require__(115);
35284
35335
 
35285
35336
 
35286
35337
  /***/ }),
35287
- /* 112 */
35338
+ /* 113 */
35288
35339
  /***/ (function(module, exports) {
35289
35340
 
35290
35341
  // shim for using process in browser
@@ -35474,7 +35525,7 @@ process.umask = function() { return 0; };
35474
35525
 
35475
35526
 
35476
35527
  /***/ }),
35477
- /* 113 */
35528
+ /* 114 */
35478
35529
  /***/ (function(module, exports) {
35479
35530
 
35480
35531
  var g;
@@ -35500,7 +35551,7 @@ module.exports = g;
35500
35551
 
35501
35552
 
35502
35553
  /***/ }),
35503
- /* 114 */
35554
+ /* 115 */
35504
35555
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
35505
35556
 
35506
35557
  "use strict";
@@ -36057,7 +36108,7 @@ var chart_type = __webpack_require__(5);
36057
36108
  var chart_widget = __webpack_require__(47);
36058
36109
 
36059
36110
  // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/packs/ui/dist/lib/widgets/charts/chart_widget_google.js
36060
- var chart_widget_google = __webpack_require__(52);
36111
+ var chart_widget_google = __webpack_require__(53);
36061
36112
 
36062
36113
  // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/packs/ui/dist/lib/widgets/charts/chart_widget_chartjs.js
36063
36114
  var chart_widget_chartjs = __webpack_require__(46);
@@ -36105,7 +36156,7 @@ var condition_renderer = __webpack_require__(35);
36105
36156
  var condition_group_renderer = __webpack_require__(78);
36106
36157
 
36107
36158
  // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/packs/ui/dist/lib/widgets/renderers/querypanel/attribute_expression_renderer.js
36108
- var attribute_expression_renderer = __webpack_require__(51);
36159
+ var attribute_expression_renderer = __webpack_require__(52);
36109
36160
 
36110
36161
  // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/packs/ui/dist/lib/widgets/renderers/querypanel/expression_renderer.js
36111
36162
  var expression_renderer = __webpack_require__(23);
@@ -36141,7 +36192,7 @@ var pivot_table_facet = __webpack_require__(90);
36141
36192
  var view = __webpack_require__(32);
36142
36193
 
36143
36194
  // EXTERNAL MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/packs/ui/dist/lib/views/adv_search_view.js
36144
- var adv_search_view = __webpack_require__(107);
36195
+ var adv_search_view = __webpack_require__(108);
36145
36196
 
36146
36197
  // CONCATENATED MODULE: c:/azuredevops-agents/korzhdev/_work/1/s/packs/ui/dist/lib/views/data_filter_view.js
36147
36198
  var data_filter_view_extends = (undefined && undefined.__extends) || (function () {
@@ -36165,7 +36216,9 @@ var data_filter_view_extends = (undefined && undefined.__extends) || (function (
36165
36216
  var data_filter_view_DataFilterView = /** @class */ (function (_super) {
36166
36217
  data_filter_view_extends(DataFilterView, _super);
36167
36218
  function DataFilterView() {
36168
- return _super !== null && _super.apply(this, arguments) || this;
36219
+ var _this = _super.call(this) || this;
36220
+ _this.resultOptions.fetchEmptyQueries = true;
36221
+ return _this;
36169
36222
  }
36170
36223
  DataFilterView.prototype.initOptions = function (options) {
36171
36224
  var _this = this;
@@ -36243,7 +36296,9 @@ var html_data_filter_view_extends = (undefined && undefined.__extends) || (funct
36243
36296
  var html_data_filter_view_HtmlDataFilterView = /** @class */ (function (_super) {
36244
36297
  html_data_filter_view_extends(HtmlDataFilterView, _super);
36245
36298
  function HtmlDataFilterView() {
36246
- return _super.call(this) || this;
36299
+ var _this = _super.call(this) || this;
36300
+ _this.resultOptions.fetchEmptyQueries = true;
36301
+ return _this;
36247
36302
  }
36248
36303
  /**
36249
36304
  * Creates the widget that represents Grid Widget.
@@ -36316,7 +36371,7 @@ var report_view_ReportView = /** @class */ (function (_super) {
36316
36371
  _this.loadReportButtonClickHandler = _this.loadReportButtonClick.bind(_this);
36317
36372
  _this.saveReportButtonClickHandler = _this.saveReportButtonClick.bind(_this);
36318
36373
  _this.removeReportButtonClickHandler = _this.removeReportButtonClick.bind(_this);
36319
- _this.updateReportButtonClickHandler = _this.updateReportButtonClick.bind(_this);
36374
+ _this.reloadReportDataButtonClickHandler = _this.reloadReportDataButtonClick.bind(_this);
36320
36375
  browser_utils["a" /* browserUtils */].onMobileModeChanged(function (_) {
36321
36376
  document.location.reload();
36322
36377
  });
@@ -36403,7 +36458,7 @@ var report_view_ReportView = /** @class */ (function (_super) {
36403
36458
  var loadReportButton = "LoadReportButton";
36404
36459
  var saveReportButton = "SaveReportButton";
36405
36460
  var removeReportButton = "RemoveReportButton";
36406
- var updateReportButton = "UpdateReportButton";
36461
+ var reloadReportDataButton = "ReloadReportDataButton";
36407
36462
  var resultCountSpan = "ResultCount";
36408
36463
  var exportButtons = "ResultExportButtons";
36409
36464
  var exportClass = this.exportClass;
@@ -36415,7 +36470,7 @@ var report_view_ReportView = /** @class */ (function (_super) {
36415
36470
  loadReportButton = options.slots.loadReportButton || loadReportButton;
36416
36471
  saveReportButton = options.slots.saveReportButton || saveReportButton;
36417
36472
  removeReportButton = options.slots.removeReportButton || removeReportButton;
36418
- updateReportButton = options.slots.updateReportButton || updateReportButton;
36473
+ reloadReportDataButton = options.slots.reloadReportDataButton || reloadReportDataButton;
36419
36474
  exportClass = options.slots.exportClass || exportClass;
36420
36475
  }
36421
36476
  this.exportButtons = this.domRoots.reduce(function (elems, root) {
@@ -36462,10 +36517,14 @@ var report_view_ReportView = /** @class */ (function (_super) {
36462
36517
  this.removeReportButton.addEventListener('click', this.removeReportButtonClickHandler);
36463
36518
  }
36464
36519
  }
36465
- if (!this.updateReportButton) {
36466
- this.updateReportButton = this.resolveElement(updateReportButton);
36467
- if (this.updateReportButton) {
36468
- this.updateReportButton.addEventListener('click', this.updateReportButtonClickHandler);
36520
+ if (!this.reloadReportDataButton) {
36521
+ this.reloadReportDataButton = this.resolveElement(reloadReportDataButton);
36522
+ //OBSOLETE: remove the next 3 lines. We just support the old default button ID here
36523
+ if (!this.reloadReportDataButton) {
36524
+ this.reloadReportDataButton = this.resolveElement('UpdateReportButton');
36525
+ }
36526
+ if (this.reloadReportDataButton) {
36527
+ this.reloadReportDataButton.addEventListener('click', this.reloadReportDataButtonClickHandler);
36469
36528
  }
36470
36529
  }
36471
36530
  this.reportListSlot = document.getElementById('ReportList');
@@ -36770,8 +36829,8 @@ var report_view_ReportView = /** @class */ (function (_super) {
36770
36829
  this.removeReportButton.removeEventListener('click', this.removeReportButtonClickHandler);
36771
36830
  this.removeReportButton = null;
36772
36831
  }
36773
- if (this.updateReportButton) {
36774
- this.updateReportButton.removeEventListener('click', this.updateReportButtonClickHandler);
36832
+ if (this.reloadReportDataButton) {
36833
+ this.reloadReportDataButton.removeEventListener('click', this.reloadReportDataButtonClickHandler);
36775
36834
  this.removeReportButton = null;
36776
36835
  }
36777
36836
  if (this.reportListSlot) {
@@ -36872,7 +36931,7 @@ var report_view_ReportView = /** @class */ (function (_super) {
36872
36931
  /**
36873
36932
  * The handler of the "Update" button click.
36874
36933
  */
36875
- ReportView.prototype.updateReportButtonClick = function () {
36934
+ ReportView.prototype.reloadReportDataButtonClick = function () {
36876
36935
  this.fetchData();
36877
36936
  };
36878
36937
  /**
@@ -37857,7 +37916,7 @@ var model_ex_DataModelEx = /** @class */ (function (_super) {
37857
37916
 
37858
37917
  //# sourceMappingURL=model_ex.js.map
37859
37918
  // EXTERNAL MODULE: ./dist/lib/data/data_table_aggr_calculator.js
37860
- var data_table_aggr_calculator = __webpack_require__(110);
37919
+ var data_table_aggr_calculator = __webpack_require__(111);
37861
37920
 
37862
37921
  // CONCATENATED MODULE: ./dist/lib/extensions.js
37863
37922
 
@@ -38011,7 +38070,7 @@ function hideTrialWM() {
38011
38070
  }
38012
38071
  //# sourceMappingURL=extensions.js.map
38013
38072
  // EXTERNAL MODULE: ./dist/lib/data/eqs_aggr_calculator.js
38014
- var eqs_aggr_calculator = __webpack_require__(108);
38073
+ var eqs_aggr_calculator = __webpack_require__(109);
38015
38074
 
38016
38075
  // CONCATENATED MODULE: ./dist/lib/public_api.js
38017
38076