@devexpress/analytics-core 19.2.8 → 19.2.9

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,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.carmine.compact.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.carmine.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.common.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.contrast.compact.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.contrast.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.dark.compact.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.dark.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.darkmoon.compact.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.darkmoon.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.darkviolet.compact.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.darkviolet.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.greenmist.compact.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.greenmist.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.light.compact.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.light.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.softblue.compact.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics.softblue.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Query Builder (dx-querybuilder.css)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -1,8 +1,8 @@
1
1
  <!--
2
2
  /**
3
3
  * DevExpress HTML/JS Analytics Core (templates.html)
4
- * Version: 19.2.8
5
- * Build date: 2020-05-18
4
+ * Version: 19.2.9
5
+ * Build date: 2020-07-13
6
6
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
8
8
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics-core.js)
3
- * Version: 19.2.8
4
- * Build date: 2020-05-18
3
+ * Version: 19.2.9
4
+ * Build date: 2020-07-13
5
5
  * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
@@ -4269,9 +4269,9 @@ var DevExpress;
4269
4269
  var path = item.rootPath || item.name;
4270
4270
  if (rootPathRequests.indexOf(path) === -1) {
4271
4271
  rootPathRequests.push(path);
4272
- $deferreds.push(ko.unwrap(_this._fieldListProvider).getItems(new Utils.PathRequest(item.rootPath || item.name))
4272
+ $deferreds.push(ko.unwrap(_this._fieldListProvider).getItems(new Utils.PathRequest(path))
4273
4273
  .done(function (fields) {
4274
- completions.push.apply(completions, _this._convertDataMemberInfoToCompletions(CodeCompletor._cleanupFields(fields), token, item.needPrefix ? item.name + "." : ""));
4274
+ _this._processFields($deferreds, fields, completions, path, token, item.needPrefix ? item.name + "." : "", true);
4275
4275
  }));
4276
4276
  }
4277
4277
  });
@@ -4284,6 +4284,28 @@ var DevExpress;
4284
4284
  if (fields === void 0) { fields = []; }
4285
4285
  return fields.filter(function (x) { return x.specifics !== "parameters" && x.specifics !== "none"; });
4286
4286
  };
4287
+ CodeCompletor.prototype._processFields = function ($deferreds, fields, completions, path, token, parentPrefix, needCleanup) {
4288
+ var _this = this;
4289
+ if (parentPrefix === void 0) { parentPrefix = ""; }
4290
+ if (needCleanup === void 0) { needCleanup = false; }
4291
+ var pushToCompletions = function (fields) {
4292
+ completions.push.apply(completions, _this._convertDataMemberInfoToCompletions(needCleanup ? CodeCompletor._cleanupFields(fields) : fields, token, parentPrefix));
4293
+ };
4294
+ fields.forEach(function (item) {
4295
+ if (item.specifics === Internal.RangeSpecific && Analytics.Internal.isList(item)) {
4296
+ $deferreds.push(ko.unwrap(_this._fieldListProvider).getItems(new Utils.PathRequest(path + "." + item.name))
4297
+ .done(function (subFields) {
4298
+ pushToCompletions(subFields);
4299
+ })
4300
+ .fail(function () {
4301
+ pushToCompletions([item]);
4302
+ }));
4303
+ }
4304
+ else {
4305
+ pushToCompletions([item]);
4306
+ }
4307
+ });
4308
+ };
4287
4309
  CodeCompletor.prototype.getFunctionsCompletions = function () {
4288
4310
  var functions = [];
4289
4311
  var functionsWithoutAggregates = ko.unwrap(this._functions).filter(function (fnDisplay) { return fnDisplay.category !== "Aggregate"; });
@@ -4325,11 +4347,13 @@ var DevExpress;
4325
4347
  CodeCompletor.prototype._addParameterOperators = function (completions, token) {
4326
4348
  var _this = this;
4327
4349
  var $deferred = $.Deferred();
4328
- var $parametersPromise = ko.unwrap(this["_fieldListProvider"]).getItems(new Utils.PathRequest("Parameters"))
4350
+ var $parametersPromises = [];
4351
+ var paramPath = "Parameters";
4352
+ $parametersPromises.push(ko.unwrap(this["_fieldListProvider"]).getItems(new Utils.PathRequest(paramPath))
4329
4353
  .done(function (fields) {
4330
- completions.push.apply(completions, _this["_convertDataMemberInfoToCompletions"](fields, token, "Parameters."));
4331
- });
4332
- $.when($parametersPromise).always(function () { $deferred.resolve(completions); });
4354
+ _this._processFields($parametersPromises, fields, completions, paramPath, token, paramPath + ".");
4355
+ }));
4356
+ $.when($parametersPromises).always(function () { $deferred.resolve(completions); });
4333
4357
  return $deferred.promise();
4334
4358
  };
4335
4359
  CodeCompletor.prototype._getOperands = function (token) {