@progress/telerik-react-report-viewer 18.23.315 → 19.23.606

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
 
2
2
 
3
3
  /*
4
- * TelerikReporting v17.0.23.315 (https://www.telerik.com/products/reporting.aspx)
4
+ * TelerikReporting v17.1.23.607 (https://www.telerik.com/products/reporting.aspx)
5
5
  * Copyright 2023 Progress Software EAD. All rights reserved.
6
6
  *
7
7
  * Telerik Reporting commercial licenses may be obtained at
@@ -439,6 +439,50 @@ var telerikReportViewer = {};
439
439
  }();
440
440
  })(telerikReportViewer, window.jQuery, window, document);
441
441
 
442
+ (function(trv, $, window, document, undefined) {
443
+ "use strict";
444
+ function KendoWidgetFixer() {
445
+ this.fixSplitter = function(splitter) {};
446
+ }
447
+ KendoWidgetFixer.prototype.constructor = KendoWidgetFixer;
448
+ function KendoWidgetFixer314() {
449
+ KendoWidgetFixer.call(this);
450
+ this.fixSplitter = function(splitter, direction) {
451
+ var splitterIcons = splitter.wrapper.find(".k-splitbar").children();
452
+ splitterIcons.each(function() {
453
+ var $element = $(this);
454
+ if ($element.hasClass("k-icon")) return;
455
+ $element.addClass("k-icon");
456
+ if (!$element.hasClass("k-resize-handle")) {
457
+ $element.addClass("k-i-arrow-60-" + splitterArrowDirection(direction));
458
+ $element.find("span.k-icon").hide();
459
+ }
460
+ });
461
+ };
462
+ }
463
+ KendoWidgetFixer314.prototype = Object.create(KendoWidgetFixer.prototype);
464
+ KendoWidgetFixer314.prototype.constructor = KendoWidgetFixer314;
465
+ function splitterArrowDirection(direction) {
466
+ switch (direction) {
467
+ case "TOP":
468
+ return "up";
469
+
470
+ case "BOTTOM":
471
+ return "down";
472
+
473
+ case "LEFT":
474
+ return "left";
475
+
476
+ default:
477
+ return "right";
478
+ }
479
+ }
480
+ function createKendoWidgetFixer() {
481
+ trv.kendoUtils = window.kendo.version >= "2023.1.314" ? new KendoWidgetFixer314() : new KendoWidgetFixer();
482
+ }
483
+ trv.createKendoWidgetFixer = createKendoWidgetFixer;
484
+ })(telerikReportViewer, window.jQuery, window, document);
485
+
442
486
  (function(trv) {
443
487
  "use strict";
444
488
  var sr = {
@@ -4016,7 +4060,8 @@ var telerikReportViewer = {};
4016
4060
  function positionToolTip(toolTip, e) {
4017
4061
  var x = e.pageX;
4018
4062
  var y = e.pageY;
4019
- toolTip.popup.element.parent().css({
4063
+ var container = toolTip.popup.element.closest("[role=region]");
4064
+ container.css({
4020
4065
  left: x + 10,
4021
4066
  top: y + 5
4022
4067
  });
@@ -6756,7 +6801,7 @@ var telerikReportViewer = {};
6756
6801
  return;
6757
6802
  }
6758
6803
  utils.each(menuAreas, function() {
6759
- var $menu = $(this), menuItems = $menu.children("li.k-item");
6804
+ var $menu = $(this), menuItems = $menu.children("li.k-panelbar-header");
6760
6805
  $menu.attr("aria-label", sr[$menu.attr("aria-label")]);
6761
6806
  utils.each(menuItems, function() {
6762
6807
  var $menuItem = $(this), $a = $menuItem.find("a");
@@ -8134,7 +8179,7 @@ var telerikReportViewer = {};
8134
8179
  if (!validateOptions(options)) {
8135
8180
  return;
8136
8181
  }
8137
- var version = "17.0.23.315";
8182
+ var version = "17.1.23.606";
8138
8183
  options = utils.extend({}, getDefaultOptions(svcApiUrl, version), options);
8139
8184
  settings = new ReportViewerSettings(persistanceKey, options.persistSession ? window.sessionStorage : new MemStorage(), {
8140
8185
  scale: options.scale,
@@ -8404,6 +8449,9 @@ var telerikReportViewer = {};
8404
8449
  },
8405
8450
  collapse: function(e) {
8406
8451
  setSplitterPaneVisibility(e.pane, false);
8452
+ },
8453
+ resize: function(e) {
8454
+ trv.kendoUtils.fixSplitter(e.sender, options.documentMapAreaPosition);
8407
8455
  }
8408
8456
  }).data("kendoSplitter");
8409
8457
  } catch (e) {
@@ -8419,6 +8467,9 @@ var telerikReportViewer = {};
8419
8467
  },
8420
8468
  collapse: function(e) {
8421
8469
  setSplitterPaneVisibility(e.pane, false);
8470
+ },
8471
+ resize: function(e) {
8472
+ trv.kendoUtils.fixSplitter(e.sender, options.parametersAreaPosition);
8422
8473
  }
8423
8474
  }).data("kendoSplitter");
8424
8475
  } catch (e) {
@@ -8597,6 +8648,8 @@ var telerikReportViewer = {};
8597
8648
  }
8598
8649
  function main(version) {
8599
8650
  ensureKendo(version).then(function() {
8651
+ trv.createKendoWidgetFixer();
8652
+ }).then(function() {
8600
8653
  viewer.authenticationToken(options.authenticationToken);
8601
8654
  controller.getServiceVersion().catch(function() {
8602
8655
  $placeholder.text(utils.stringFormat(sr.errorServiceUrl, [ utils.escapeHtml(svcApiUrl) ]));
@@ -8640,4 +8693,4 @@ module.exports = {
8640
8693
  ReportViewer: telerikReportViewer.ReportViewer
8641
8694
  };
8642
8695
 
8643
- /* DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM B99F899179E040FD7449369061F1E8E8 */
8696
+ /* DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM A6D0163607A75896B8B9F1F791A87E69 */
@@ -5,8 +5,8 @@
5
5
  <title>Telerik HTML5 Report Viewer Templates</title>
6
6
 
7
7
  <!--Telerik served resources. For more information see: http://docs.telerik.com/reporting/html5-report-viewer-styling-and-appearance -->
8
- <link href="{service}resources/font/fonticons-17.0.23.315.css/" rel="stylesheet" />
9
- <link href="{service}resources/styles/telerikReportViewer-17.0.23.315.css/" rel="stylesheet" />
8
+ <link href="{service}resources/font/fonticons-17.1.23.607.css/" rel="stylesheet" />
9
+ <link href="{service}resources/styles/telerikReportViewer-17.1.23.607.css/" rel="stylesheet" />
10
10
 
11
11
  </head>
12
12
  <body>
@@ -330,4 +330,4 @@
330
330
 
331
331
  </body>
332
332
  </html>
333
- <!-- DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 6DCB23A0213500C0713861BB8A6FC4C9 -->
333
+ <!-- DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 21596E78350815A6D0C2199C504CCB64 -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/telerik-react-report-viewer",
3
- "version": "18.23.315",
3
+ "version": "19.23.606",
4
4
  "author": "Progress® Telerik® Reporting",
5
5
  "homepage": "https://www.telerik.com/reporting",
6
6
  "license": "https://www.telerik.com/purchase/license-agreement/reporting-dlw-s",