@progress/telerik-react-report-viewer 22.24.709 → 23.24.806

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -17,7 +17,7 @@ While the component is not native (the theming mechanism uses Kendo UI for jQuer
17
17
  and has a dependency to jQuery itself), it brings reporting value to your React applications
18
18
  in no time.
19
19
 
20
- This version of the React Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 18.1.24.709
20
+ This version of the React Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 18.2.24.806
21
21
 
22
22
  ## License
23
23
 
package/dist/cjs/index.js CHANGED
@@ -4,7 +4,7 @@ var _react = _interopRequireDefault(require("react"));
4
4
  require("./index.css");
5
5
  var _reportViewer = require("./reportViewer");
6
6
  var _client = require("react-dom/client");
7
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
8
8
  const container = document.getElementById('root');
9
9
  const root = (0, _client.createRoot)(container);
10
10
  root.render( /*#__PURE__*/_react.default.createElement(_reportViewer.ReportViewer, null));
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.ReportViewer = ReportViewer;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _main = require("@progress/telerik-react-report-viewer/dist/cjs/main");
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
10
  function ReportViewer() {
11
11
  let viewer;
12
12
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_main.TelerikReportViewer, {
@@ -7,7 +7,7 @@ exports.default = exports.TelerikReportViewer = void 0;
7
7
  require("../dependencies/initExtDeps");
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _telerikReportViewer = require("../dependencies/telerikReportViewer.js");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
11
  class TelerikReportViewer extends _react.default.Component {
12
12
  constructor() {
13
13
  super();
@@ -1,6 +1,6 @@
1
1
  var $ = require("jquery");
2
2
  /*
3
- * TelerikReporting v18.1.24.709 (https://www.telerik.com/products/reporting.aspx)
3
+ * TelerikReporting v18.2.24.806 (https://www.telerik.com/products/reporting.aspx)
4
4
  * Copyright 2024 Progress Software EAD. All rights reserved.
5
5
  *
6
6
  * Telerik Reporting commercial licenses may be obtained at
@@ -2585,6 +2585,9 @@ var telerikReportViewer = (function (exports) {
2585
2585
  });
2586
2586
  },
2587
2587
  getReportParameters: function() {
2588
+ if (!parameterValues) {
2589
+ return [];
2590
+ }
2588
2591
  var paramsToBeExposed = {};
2589
2592
  for (var key in processedParameterValues) {
2590
2593
  var processedParam = processedParameterValues[key];
@@ -6359,14 +6362,14 @@ var telerikReportViewer = (function (exports) {
6359
6362
  var hasValue = !hasError;
6360
6363
  if (hasValue) {
6361
6364
  recentParameterValues[parameter.id] = parameter.value;
6362
- if (parameter.availableValues) {
6363
- processedParameterValues[parameter.id] = { valueMember: parameter.value, displayMember: parameter.label, availableValues: parameter.availableValues, multivalue: parameter.multivalue };
6364
- } else {
6365
- processedParameterValues[parameter.id] = parameter.value;
6366
- }
6367
6365
  } else {
6368
6366
  parameter.Error = stringResources.invalidParameter;
6369
6367
  }
6368
+ if (parameter.availableValues) {
6369
+ processedParameterValues[parameter.id] = { valueMember: parameter.value, displayMember: parameter.label, availableValues: parameter.availableValues, multivalue: parameter.multivalue };
6370
+ } else {
6371
+ processedParameterValues[parameter.id] = parameter.value;
6372
+ }
6370
6373
  if (parameter.isVisible || options.showHiddenParameters) {
6371
6374
  $parameterContainer = createParameterUI(parameter);
6372
6375
  if ($parameterContainer) {
@@ -6625,6 +6628,9 @@ var telerikReportViewer = (function (exports) {
6625
6628
  parametersReady: function() {
6626
6629
  return eventFactory(Events.PARAMETERS_READY, arguments);
6627
6630
  },
6631
+ fill: function(parameters2) {
6632
+ return fill(parameters2);
6633
+ },
6628
6634
  setParameters: function(parameterValues) {
6629
6635
  initialParameterValues = null === parameterValues ? null : $.extend({}, parameterValues);
6630
6636
  }
@@ -8498,7 +8504,7 @@ var telerikReportViewer = (function (exports) {
8498
8504
  if (!validateOptions(options)) {
8499
8505
  return;
8500
8506
  }
8501
- var version = "18.1.24.709";
8507
+ var version = "18.2.24.806";
8502
8508
  options = $.extend({}, getDefaultOptions(svcApiUrl, version), options);
8503
8509
  settings = new ReportViewerSettings(
8504
8510
  persistanceKey,
@@ -9085,6 +9091,7 @@ var telerikReportViewer = (function (exports) {
9085
9091
  exports.ParameterEditors = ParameterEditors;
9086
9092
  exports.ParameterTypes = ParameterTypes;
9087
9093
  exports.ParameterValidators = ParameterValidators;
9094
+ exports.ParametersArea = ParametersArea;
9088
9095
  exports.ParametersAreaPositions = ParametersAreaPositions;
9089
9096
  exports.PerspectiveManager = PerspectiveManager;
9090
9097
  exports.PrintManager = PrintManager;
@@ -4,8 +4,8 @@
4
4
  <title>Telerik HTML5 Report Viewer Templates</title>
5
5
 
6
6
  <!--Telerik served resources. For more information see: http://docs.telerik.com/reporting/html5-report-viewer-styling-and-appearance -->
7
- <link href="{service}resources/font/fonticons-18.1.24.709.css/" rel="stylesheet" />
8
- <link href="{service}resources/styles/telerikReportViewer-18.1.24.709.css/" rel="stylesheet" />
7
+ <link href="{service}resources/font/fonticons-18.2.24.806.css/" rel="stylesheet" />
8
+ <link href="{service}resources/styles/telerikReportViewer-18.2.24.806.css/" rel="stylesheet" />
9
9
 
10
10
  </head>
11
11
  <body>
@@ -329,4 +329,4 @@
329
329
 
330
330
  </body>
331
331
  </html>
332
- <!-- DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 2f81815c2304858bc70205911ab3f1f9 -->
332
+ <!-- DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 60eedcb55d9cfc167be9086a4e6186a5 -->
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/telerik-react-report-viewer",
3
3
  "description": "Progress® Telerik® Report Viewer for React",
4
- "version": "22.24.709",
4
+ "version": "23.24.806",
5
5
  "author": "Progress",
6
6
  "license": "See LICENSE.md",
7
7
  "homepage": "https://www.telerik.com/reporting",
@@ -66,6 +66,6 @@
66
66
  "react-dom": ">=16.8.6"
67
67
  },
68
68
  "dependencies": {
69
- "@progress/telerik-jquery-report-viewer": "22.24.709"
69
+ "@progress/telerik-jquery-report-viewer": "23.24.806"
70
70
  }
71
71
  }