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.
@@ -7462,9 +7462,9 @@ declare module DevExpress {
7462
7462
 
7463
7463
  /**
7464
7464
  * DevExpress HTML/JS Reporting (dx-webdocumentviewer.d.ts)
7465
- * Version: 19.2.11
7466
- * Build date: 2020-12-15
7467
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
7465
+ * Version: 19.2.13
7466
+ * Build date: 2021-12-06
7467
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
7468
7468
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7469
7469
  */
7470
7470
 
@@ -9422,6 +9422,7 @@ declare module DevExpress.Reporting {
9422
9422
  documentMap: ko.Observable<Internal.IBookmarkNode>;
9423
9423
  exportOptionsModel: ko.Observable<Export.ExportOptionsPreview>;
9424
9424
  pageLoading: ko.Observable<boolean>;
9425
+ errorMessage: ko.Observable<string>;
9425
9426
  documentBuilding: ko.Observable<boolean>;
9426
9427
  progressBar: Internal.IProgressHandler;
9427
9428
  pages: ko.ObservableArray<Internal.PreviewPage>;
@@ -9841,9 +9842,9 @@ declare module DevExpress.Reporting {
9841
9842
 
9842
9843
  /**
9843
9844
  * DevExpress HTML/JS Reporting (dx-reportdesigner_norich.d.ts)
9844
- * Version: 19.2.11
9845
- * Build date: 2020-12-15
9846
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
9845
+ * Version: 19.2.13
9846
+ * Build date: 2021-12-06
9847
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
9847
9848
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
9848
9849
  */
9849
9850
 
package/dx-richedit.d.ts CHANGED
@@ -7462,9 +7462,9 @@ declare module DevExpress {
7462
7462
 
7463
7463
  /**
7464
7464
  * DevExpress HTML/JS Reporting (dx-webdocumentviewer.d.ts)
7465
- * Version: 19.2.11
7466
- * Build date: 2020-12-15
7467
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
7465
+ * Version: 19.2.13
7466
+ * Build date: 2021-12-06
7467
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
7468
7468
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
7469
7469
  */
7470
7470
 
@@ -9422,6 +9422,7 @@ declare module DevExpress.Reporting {
9422
9422
  documentMap: ko.Observable<Internal.IBookmarkNode>;
9423
9423
  exportOptionsModel: ko.Observable<Export.ExportOptionsPreview>;
9424
9424
  pageLoading: ko.Observable<boolean>;
9425
+ errorMessage: ko.Observable<string>;
9425
9426
  documentBuilding: ko.Observable<boolean>;
9426
9427
  progressBar: Internal.IProgressHandler;
9427
9428
  pages: ko.ObservableArray<Internal.PreviewPage>;
@@ -9841,9 +9842,9 @@ declare module DevExpress.Reporting {
9841
9842
 
9842
9843
  /**
9843
9844
  * DevExpress HTML/JS Reporting (dx-reportdesigner_norich.d.ts)
9844
- * Version: 19.2.11
9845
- * Build date: 2020-12-15
9846
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
9845
+ * Version: 19.2.13
9846
+ * Build date: 2021-12-06
9847
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
9847
9848
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
9848
9849
  */
9849
9850
 
@@ -17133,9 +17134,9 @@ declare module DevExpress.Reporting {
17133
17134
 
17134
17135
  /**
17135
17136
  * DevExpress HTML/JS Reporting (dx-richedit.d.ts)
17136
- * Version: 19.2.11
17137
- * Build date: 2020-12-15
17138
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
17137
+ * Version: 19.2.13
17138
+ * Build date: 2021-12-06
17139
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
17139
17140
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
17140
17141
  */
17141
17142
 
@@ -4114,9 +4114,9 @@ declare module DevExpress.Analytics {
4114
4114
 
4115
4115
  /**
4116
4116
  * DevExpress HTML/JS Reporting (dx-webdocumentviewer.d.ts)
4117
- * Version: 19.2.11
4118
- * Build date: 2020-12-15
4119
- * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
4117
+ * Version: 19.2.13
4118
+ * Build date: 2021-12-06
4119
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
4120
4120
  * License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
4121
4121
  */
4122
4122
 
@@ -6074,6 +6074,7 @@ declare module DevExpress.Reporting {
6074
6074
  documentMap: ko.Observable<Internal.IBookmarkNode>;
6075
6075
  exportOptionsModel: ko.Observable<Export.ExportOptionsPreview>;
6076
6076
  pageLoading: ko.Observable<boolean>;
6077
+ errorMessage: ko.Observable<string>;
6077
6078
  documentBuilding: ko.Observable<boolean>;
6078
6079
  progressBar: Internal.IProgressHandler;
6079
6080
  pages: ko.ObservableArray<Internal.PreviewPage>;
@@ -2582,6 +2582,7 @@ var DevExpress;
2582
2582
  };
2583
2583
  PreviewHandlersHelper.prototype.errorStartBuildHandler = function (deffered, error) {
2584
2584
  this._preview.pageLoading(false);
2585
+ this._preview.errorMessage(DevExpress.Analytics.Utils.getLocalization('Document creation was cancelled due to server error', 'WebDocumentViewer_DocumentCreationCancelled'));
2585
2586
  this._preview.progressBar.complete();
2586
2587
  deffered.resolve(true);
2587
2588
  this._preview.removeEmptyPages();
@@ -7016,6 +7017,7 @@ var DevExpress;
7016
7017
  _this_1.documentMap = ko.observable();
7017
7018
  _this_1.exportOptionsModel = ko.observable();
7018
7019
  _this_1.pageLoading = ko.observable(false);
7020
+ _this_1.errorMessage = ko.observable('');
7019
7021
  _this_1.documentBuilding = ko.observable(false);
7020
7022
  _this_1.progressBar = new Internal.ProgressViewModel();
7021
7023
  _this_1.pages = ko.observableArray([]).extend({ rateLimit: { timeout: 20, method: "notifyWhenChangesStop" } });
@@ -7224,6 +7226,7 @@ var DevExpress;
7224
7226
  this.documentMap(null);
7225
7227
  this.pageIndex(-1);
7226
7228
  this.pageLoading(true);
7229
+ this.errorMessage('');
7227
7230
  this.progressBar.complete();
7228
7231
  this._getBuildStatusDeferreds.forEach(function (a) { return a.reject(); });
7229
7232
  this._getBuildStatusDeferreds = [];
@@ -7825,7 +7828,7 @@ var DevExpress;
7825
7828
  };
7826
7829
  ReportPreview.prototype.emptyDocumentCaption = function () {
7827
7830
  var parametersInfo = this.originalParametersInfo();
7828
- var parametersExist = parametersInfo && parametersInfo.parameters.length > 0;
7831
+ var parametersExist = parametersInfo && parametersInfo.parameters.some(function (x) { return x.Visible; });
7829
7832
  if (this.documentBuilding()) {
7830
7833
  return DevExpress.Analytics.Utils.getLocalization("Creating the document...", "PreviewStringId.Msg_CreatingDocument");
7831
7834
  }
@@ -7835,6 +7838,9 @@ var DevExpress;
7835
7838
  else if (this.documentId) {
7836
7839
  return DevExpress.Analytics.Utils.getLocalization("The document does not contain any pages.", "PreviewStringId.Msg_EmptyDocument");
7837
7840
  }
7841
+ else if (this.errorMessage()) {
7842
+ return this.errorMessage();
7843
+ }
7838
7844
  };
7839
7845
  Object.defineProperty(ReportPreview.prototype, "reportId", {
7840
7846
  get: function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devexpress-reporting",
3
- "version": "19.2.11",
3
+ "version": "19.2.13",
4
4
  "homepage": "https://www.devexpress.com/",
5
5
  "bugs": "https://www.devexpress.com/support/",
6
6
  "author": "Developer Express Inc.",
@@ -21,7 +21,7 @@
21
21
  "knockout": "~3.5.0"
22
22
  },
23
23
  "peerDependencies": {
24
- "@devexpress/analytics-core": "19.2.11"
24
+ "@devexpress/analytics-core": "19.2.13"
25
25
  },
26
26
  "devDependencies": {
27
27
  "webpack": "^1.13.1"