@progress/telerik-angular-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
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 Angular applications
|
19
19
|
in no time.
|
20
20
|
|
21
|
-
This version of the Angular Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 16.
|
21
|
+
This version of the Angular Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 16.1.22.622
|
22
22
|
|
23
23
|
## License
|
24
24
|
|
@@ -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 */
|