@progress/telerik-react-report-viewer 15.22.119 → 16.22.511

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.
package/README.md CHANGED
@@ -1,15 +1,30 @@
1
1
 
2
- #Progress Telerik Report Viewer for React component
2
+ # Progress Telerik Report Viewer component for React
3
3
 
4
- This package is part of the [Telerik Reporting](http://www.telerik.com/reporting).
4
+ This package is part of [Telerik Reporting](https://www.telerik.com/reporting).
5
5
 
6
- This version of the React Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 16.0.22.119
6
+ This React component is a report viewer that will ensure straightforward embedding of reports for preview.
7
+ The viewer is built as a wrapper of the Telerik Reporting HTML5 Report Viewer widget,
8
+ inheriting all its strengths, including:
9
+
10
+ * Navigate the report pages for preview on the screen
7
11
 
12
+ * Exercise the defined interactivities like navigate to another report or to a bookmark in the same one,
13
+ drill-down or sort on a column, etc.
14
+
15
+ * Print or export the report to all the formats we support, including PDF and Excel
16
+
17
+ While the component is not native (the theming mechanism uses Kendo UI for jQuery
18
+ and has a dependency to jQuery itself), it brings reporting value to your React applications
19
+ in no time.
20
+
21
+ This version of the React Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 16.1.22.511
22
+
8
23
  ## License
9
-
10
- **IMPORTANT** This is not free software. You must agree to the
11
- [Telerik End User License Agreement for Telerik Reporting](http://www.telerik.com/purchase/license-agreement/reporting-dlw-s) in order to use it.
12
-
24
+
25
+ **IMPORTANT** This is commercial software. You must agree to the
26
+ [Telerik End User License Agreement for Telerik Reporting](https://www.telerik.com/purchase/license-agreement/reporting-dlw-s) to use it.
27
+
13
28
  If you do not own a commercial license, the use of this product shall be governed by the trial license terms.
14
-
15
- Telerik Reporting licenses may be obtained at [http://www.telerik.com/purchase/individual/reporting](http://www.telerik.com/purchase/individual/reporting).
29
+
30
+ Telerik Reporting licenses may be obtained through the [Telerik Reporting page](https://www.telerik.com/purchase/individual/reporting).
@@ -1,7 +1,7 @@
1
1
 
2
2
 
3
3
  /*
4
- * TelerikReporting v16.0.22.119 (http://www.telerik.com/products/reporting.aspx)
4
+ * TelerikReporting v16.1.22.511 (http://www.telerik.com/products/reporting.aspx)
5
5
  * Copyright 2022 Progress Software EAD. All rights reserved.
6
6
  *
7
7
  * Telerik Reporting commercial licenses may be obtained at
@@ -6959,6 +6959,9 @@ var telerikReportViewer = {};
6959
6959
  controller.reportLoadComplete(onReportLoadComplete);
6960
6960
  controller.cssLoaded(onCssLoaded);
6961
6961
  }
6962
+ function dispose() {
6963
+ window.removeEventListener("resize", onWindowResize);
6964
+ }
6962
6965
  function getPerspective() {
6963
6966
  var windowWidthInEm = $(window).width() / parseFloat($("body").css("font-size")), windowMinWidth = 40.5;
6964
6967
  return smallMenu && windowWidthInEm <= windowMinWidth ? "small" : "large";
@@ -6995,7 +6998,8 @@ var telerikReportViewer = {};
6995
6998
  }
6996
6999
  init();
6997
7000
  return {
6998
- attach: attach
7001
+ attach: attach,
7002
+ dispose: dispose
6999
7003
  };
7000
7004
  };
7001
7005
  })(telerikReportViewer, window, document);
@@ -8020,13 +8024,13 @@ var telerikReportViewer = {};
8020
8024
  reportServerUrlSVCApiUrl = utils.rtrim(options.reportServer.url, "\\/");
8021
8025
  svcApiUrl = reportServerUrlSVCApiUrl + "/api/reports";
8022
8026
  }
8023
- var $placeholder = $(dom), templates = {}, scripts = {}, persistanceKey = options.id || "#" + $placeholder.attr("id"), accessibility, settings = {}, client = {}, controller = {}, history = {}, commands = {}, viewer = {}, serviceClientOptions = {}, reportServerUrl = "";
8027
+ var $placeholder = $(dom), templates = {}, scripts = {}, persistanceKey = options.id || "#" + $placeholder.attr("id"), accessibility, settings = {}, client = {}, controller = {}, perspectiveManager = {}, history = {}, commands = {}, viewer = {}, serviceClientOptions = {}, reportServerUrl = "";
8024
8028
  options.viewerSelector = "reportViewer-" + utils.generateGuidString();
8025
8029
  $placeholder.attr("data-selector", options.viewerSelector);
8026
8030
  if (!validateOptions(options)) {
8027
8031
  return;
8028
8032
  }
8029
- var version = "16.0.22.119";
8033
+ var version = "16.1.22.511";
8030
8034
  options = utils.extend({}, getDefaultOptions(svcApiUrl, version), options);
8031
8035
  settings = new ReportViewerSettings(persistanceKey, options.persistSession ? window.sessionStorage : new MemStorage(), {
8032
8036
  scale: options.scale,
@@ -8160,6 +8164,9 @@ var telerikReportViewer = {};
8160
8164
  commands: commands,
8161
8165
  dispose: function() {
8162
8166
  controller.dispose();
8167
+ if (perspectiveManager) {
8168
+ perspectiveManager.dispose();
8169
+ }
8163
8170
  }
8164
8171
  };
8165
8172
  function validateOptions(options) {
@@ -8247,7 +8254,8 @@ var telerikReportViewer = {};
8247
8254
  commands: commands,
8248
8255
  templates: templates
8249
8256
  }, options);
8250
- new trv.PerspectiveManager(dom, controller).attach();
8257
+ perspectiveManager = new trv.PerspectiveManager(dom, controller);
8258
+ perspectiveManager.attach();
8251
8259
  initSplitter();
8252
8260
  attachEvents();
8253
8261
  attachEventHandlers();
@@ -8526,4 +8534,4 @@ module.exports = {
8526
8534
  ReportViewer: telerikReportViewer.ReportViewer
8527
8535
  };
8528
8536
 
8529
- /* DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 7F5B58D5554A0EC16A6C693B57ABEE97 */
8537
+ /* DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM D8DCEECEC38F3CE3EFE71FB2F7BAE3AF */