devexpress-reporting 19.2.11 → 19.2.13

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,8 +1,8 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Reporting (dx-reportdesigner.css)
3
- * Version: 19.2.11
4
- * Build date: 2020-12-15
5
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 19.2.13
4
+ * Build date: 2021-12-06
5
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
8
8
 
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Reporting (dx-webdocumentviewer.css)
3
- * Version: 19.2.11
4
- * Build date: 2020-12-15
5
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 19.2.13
4
+ * Build date: 2021-12-06
5
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
8
8
 
@@ -1,9 +1,9 @@
1
1
  <!--
2
2
  /**
3
3
  * DevExpress HTML/JS Reporting (web-document-viewer.html)
4
- * Version: 19.2.11
5
- * Build date: 2020-12-15
6
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
4
+ * Version: 19.2.13
5
+ * Build date: 2021-12-06
6
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
8
8
  */
9
9
  -->
@@ -723,9 +723,9 @@
723
723
  <!--
724
724
  /**
725
725
  * DevExpress HTML/JS Chart Designer (chart-designer.html)
726
- * Version: 19.2.11
727
- * Build date: 2020-12-15
728
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
726
+ * Version: 19.2.13
727
+ * Build date: 2021-12-06
728
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
729
729
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
730
730
  */
731
731
  -->
@@ -927,9 +927,9 @@
927
927
  <!--
928
928
  /**
929
929
  * DevExpress HTML/JS Reporting (report-designer.html)
930
- * Version: 19.2.11
931
- * Build date: 2020-12-15
932
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
930
+ * Version: 19.2.13
931
+ * Build date: 2021-12-06
932
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
933
933
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
934
934
  */
935
935
  -->
@@ -3462,9 +3462,9 @@
3462
3462
  <!--
3463
3463
  /**
3464
3464
  * DevExpress HTML/JS Reporting (richedit.html)
3465
- * Version: 19.2.11
3466
- * Build date: 2020-12-15
3467
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
3465
+ * Version: 19.2.13
3466
+ * Build date: 2021-12-06
3467
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
3468
3468
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
3469
3469
  */
3470
3470
  -->
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Reporting (dx-reportdesigner.js)
3
- * Version: 19.2.11
4
- * Build date: 2020-12-15
5
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 19.2.13
4
+ * Build date: 2021-12-06
5
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
8
8
 
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Reporting (dx-reportdesigner.min.js)
3
- * Version: 19.2.11
4
- * Build date: 2020-12-15
5
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 19.2.13
4
+ * Build date: 2021-12-06
5
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
8
8
 
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Reporting (dx-webdocumentviewer.js)
3
- * Version: 19.2.11
4
- * Build date: 2020-12-15
5
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 19.2.13
4
+ * Build date: 2021-12-06
5
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7
7
  */
8
8
 
@@ -2555,6 +2555,7 @@ var DevExpress;
2555
2555
  };
2556
2556
  PreviewHandlersHelper.prototype.errorStartBuildHandler = function (deffered, error) {
2557
2557
  this._preview.pageLoading(false);
2558
+ this._preview.errorMessage(DevExpress.Analytics.Utils.getLocalization('Document creation was cancelled due to server error', 'WebDocumentViewer_DocumentCreationCancelled'));
2558
2559
  this._preview.progressBar.complete();
2559
2560
  deffered.resolve(true);
2560
2561
  this._preview.removeEmptyPages();
@@ -6989,6 +6990,7 @@ var DevExpress;
6989
6990
  _this_1.documentMap = ko.observable();
6990
6991
  _this_1.exportOptionsModel = ko.observable();
6991
6992
  _this_1.pageLoading = ko.observable(false);
6993
+ _this_1.errorMessage = ko.observable('');
6992
6994
  _this_1.documentBuilding = ko.observable(false);
6993
6995
  _this_1.progressBar = new Internal.ProgressViewModel();
6994
6996
  _this_1.pages = ko.observableArray([]).extend({ rateLimit: { timeout: 20, method: "notifyWhenChangesStop" } });
@@ -7197,6 +7199,7 @@ var DevExpress;
7197
7199
  this.documentMap(null);
7198
7200
  this.pageIndex(-1);
7199
7201
  this.pageLoading(true);
7202
+ this.errorMessage('');
7200
7203
  this.progressBar.complete();
7201
7204
  this._getBuildStatusDeferreds.forEach(function (a) { return a.reject(); });
7202
7205
  this._getBuildStatusDeferreds = [];
@@ -7798,7 +7801,7 @@ var DevExpress;
7798
7801
  };
7799
7802
  ReportPreview.prototype.emptyDocumentCaption = function () {
7800
7803
  var parametersInfo = this.originalParametersInfo();
7801
- var parametersExist = parametersInfo && parametersInfo.parameters.length > 0;
7804
+ var parametersExist = parametersInfo && parametersInfo.parameters.some(function (x) { return x.Visible; });
7802
7805
  if (this.documentBuilding()) {
7803
7806
  return DevExpress.Analytics.Utils.getLocalization("Creating the document...", "PreviewStringId.Msg_CreatingDocument");
7804
7807
  }
@@ -7808,6 +7811,9 @@ var DevExpress;
7808
7811
  else if (this.documentId) {
7809
7812
  return DevExpress.Analytics.Utils.getLocalization("The document does not contain any pages.", "PreviewStringId.Msg_EmptyDocument");
7810
7813
  }
7814
+ else if (this.errorMessage()) {
7815
+ return this.errorMessage();
7816
+ }
7811
7817
  };
7812
7818
  Object.defineProperty(ReportPreview.prototype, "reportId", {
7813
7819
  get: function () {