@progress/telerik-react-report-viewer 15.22.217 → 16.22.622
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 +1 -1
- package/dist/cjs/telerik-report-viewer.js +2 -2
- package/dist/dependencies/telerikReportViewer.js +14 -6
- package/dist/dependencies/telerikReportViewer.kendo.min.js +3 -32
- package/dist/dependencies/telerikReportViewerTemplate-sass.html +99 -103
- package/dist/es/telerik-report-viewer.js +2 -2
- package/package.json +1 -1
- package/progress-telerik-react-report-viewer-16.22.622.tgz +0 -0
- package/progress-telerik-react-report-viewer-15.22.217.tgz +0 -0
package/README.md
CHANGED
@@ -18,7 +18,7 @@ While the component is not native (the theming mechanism uses Kendo UI for jQuer
|
|
18
18
|
and has a dependency to jQuery itself), it brings reporting value to your React applications
|
19
19
|
in no time.
|
20
20
|
|
21
|
-
This version of the React Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 16.
|
21
|
+
This version of the React Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 16.1.22.622
|
22
22
|
|
23
23
|
## License
|
24
24
|
|
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
29
29
|
|
30
30
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
31
31
|
|
32
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
32
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
33
33
|
|
34
34
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
35
35
|
|
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
39
39
|
|
40
40
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
41
41
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
42
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
43
43
|
|
44
44
|
var TelerikReportViewer = /*#__PURE__*/function (_React$Component) {
|
45
45
|
_inherits(TelerikReportViewer, _React$Component);
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
|
3
3
|
/*
|
4
|
-
* TelerikReporting v16.
|
4
|
+
* TelerikReporting v16.1.22.622 (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.
|
8033
|
+
var version = "16.1.22.622";
|
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)
|
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
|
8537
|
+
/* DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 10C2291EE2DBB8D1D4F658483557386E */
|