@progress/telerik-react-report-viewer 30.26.520 → 30.26.707
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.
|
@@ -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-20.1.26.
|
|
8
|
-
<link href="{service}resources/styles/telerikReportViewer-20.1.26.
|
|
7
|
+
<link href="{service}resources/font/fonticons-20.1.26.707.css/" rel="stylesheet" />
|
|
8
|
+
<link href="{service}resources/styles/telerikReportViewer-20.1.26.707.css/" rel="stylesheet" />
|
|
9
9
|
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -387,4 +387,4 @@
|
|
|
387
387
|
|
|
388
388
|
</body>
|
|
389
389
|
</html>
|
|
390
|
-
<!-- DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM
|
|
390
|
+
<!-- DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 4dc449a03883b1bc7204e4eaaead2a73 -->
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1
6
|
import '../dependencies/initExtDeps';
|
|
2
7
|
import React from 'react';
|
|
3
8
|
import { ReportViewer } from '../dependencies/telerikReportViewer.js';
|
|
@@ -511,6 +516,15 @@ import { ReportViewer } from '../dependencies/telerikReportViewer.js';
|
|
|
511
516
|
* authenticationToken="YOUR_AUTH_TOKEN"
|
|
512
517
|
* />
|
|
513
518
|
*
|
|
519
|
+
* @property {string} [nonce] - If provided, a nonce used for CSP compliance.
|
|
520
|
+
* @example <propertyName>nonce</propertyName>
|
|
521
|
+
* // Set a nonce value for CSP compliance
|
|
522
|
+
* <TelerikReportViewer
|
|
523
|
+
* serviceUrl="api/reports/"
|
|
524
|
+
* reportSource={{ report: "Dashboard.trdp" }}
|
|
525
|
+
* nonce="NUMBER_USED_ONLY_ONCE"
|
|
526
|
+
* />
|
|
527
|
+
*
|
|
514
528
|
* @property {string} [printMode] - Specifies how the viewer should print reports. Available values: "AUTO_SELECT" (automatically decide based on browser), "FORCE_PDF_FILE" (download as PDF file), "FORCE_PDF_PLUGIN" (use PDF plug-in). Default value is "AUTO_SELECT".
|
|
515
529
|
* @example <propertyName>printMode</propertyName>
|
|
516
530
|
* // Force PDF file download for printing
|
|
@@ -899,6 +913,7 @@ export class TelerikReportViewer extends React.Component {
|
|
|
899
913
|
persistSession: this.props.persistSession,
|
|
900
914
|
parameterEditors: this.props.parameterEditors,
|
|
901
915
|
authenticationToken: this.props.authenticationToken,
|
|
916
|
+
nonce: this.props.nonce,
|
|
902
917
|
ready: this.props.ready,
|
|
903
918
|
printMode: this.props.printMode,
|
|
904
919
|
selector: this.props.selector,
|
|
@@ -937,9 +952,7 @@ export class TelerikReportViewer extends React.Component {
|
|
|
937
952
|
render() {
|
|
938
953
|
return /*#__PURE__*/React.createElement("div", {
|
|
939
954
|
id: this.state.reportViewerID,
|
|
940
|
-
style: {
|
|
941
|
-
...this.props.viewerContainerStyle
|
|
942
|
-
},
|
|
955
|
+
style: _objectSpread({}, this.props.viewerContainerStyle),
|
|
943
956
|
ref: el => this.el = el
|
|
944
957
|
});
|
|
945
958
|
}
|
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": "30.26.
|
|
4
|
+
"version": "30.26.707",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "See LICENSE.md",
|
|
7
7
|
"homepage": "https://www.telerik.com/reporting",
|
|
@@ -24,13 +24,6 @@
|
|
|
24
24
|
"files": [
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
|
-
"scripts": {
|
|
28
|
-
"start": "react-scripts start",
|
|
29
|
-
"prebuild": "rimraf dist && node ./scripts/prebuild.js",
|
|
30
|
-
"build": "gulp build-package",
|
|
31
|
-
"test": "react-scripts test --watchAll=false --json --passWithNoTests",
|
|
32
|
-
"eject": "react-scripts eject"
|
|
33
|
-
},
|
|
34
27
|
"eslintConfig": {
|
|
35
28
|
"extends": [
|
|
36
29
|
"react-app",
|
|
@@ -58,6 +51,13 @@
|
|
|
58
51
|
"react-dom": ">=16.8.6"
|
|
59
52
|
},
|
|
60
53
|
"dependencies": {
|
|
61
|
-
"@progress/telerik-jquery-report-viewer": "30.26.
|
|
54
|
+
"@progress/telerik-jquery-report-viewer": "30.26.707"
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"start": "react-scripts start",
|
|
58
|
+
"prebuild": "rimraf dist && node ./scripts/prebuild.js",
|
|
59
|
+
"build": "gulp build-package",
|
|
60
|
+
"test": "react-scripts test --watchAll=false --json --passWithNoTests",
|
|
61
|
+
"eject": "react-scripts eject"
|
|
62
62
|
}
|
|
63
|
-
}
|
|
63
|
+
}
|