@progress/telerik-react-report-viewer 29.26.211 → 29.26.304
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
|
@@ -23,7 +23,7 @@ While the component is not native (the theming mechanism uses Kendo UI for jQuer
|
|
|
23
23
|
and has a dependency to jQuery itself), it brings reporting value to your React applications
|
|
24
24
|
in no time.
|
|
25
25
|
|
|
26
|
-
This version of the React Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 20.0.26.
|
|
26
|
+
This version of the React Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 20.0.26.304
|
|
27
27
|
|
|
28
28
|
## License
|
|
29
29
|
|
|
@@ -8,6 +8,11 @@ require("../dependencies/initExtDeps");
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _telerikReportViewer = require("../dependencies/telerikReportViewer.js");
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
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; }
|
|
12
|
+
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; }
|
|
13
|
+
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; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
15
|
+
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); }
|
|
11
16
|
/**
|
|
12
17
|
* Defines options for configuring report parameter editors in the React Report Viewer.
|
|
13
18
|
*
|
|
@@ -870,9 +875,7 @@ class TelerikReportViewer extends _react.default.Component {
|
|
|
870
875
|
render() {
|
|
871
876
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
872
877
|
id: this.state.reportViewerID,
|
|
873
|
-
style: {
|
|
874
|
-
...this.props.viewerContainerStyle
|
|
875
|
-
},
|
|
878
|
+
style: _objectSpread({}, this.props.viewerContainerStyle),
|
|
876
879
|
ref: el => this.el = el
|
|
877
880
|
});
|
|
878
881
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var $ = require("jquery");
|
|
2
2
|
/*
|
|
3
|
-
* TelerikReporting v20.0.26.
|
|
3
|
+
* TelerikReporting v20.0.26.304 (https://www.telerik.com/products/reporting.aspx)
|
|
4
4
|
* Copyright 2026 Progress Software EAD. All rights reserved.
|
|
5
5
|
*
|
|
6
6
|
* Telerik Reporting commercial licenses may be obtained at
|
|
@@ -1366,28 +1366,28 @@ var telerikReportViewer = (function (exports) {
|
|
|
1366
1366
|
t(exports$1, requirePurify_cjs()) ;
|
|
1367
1367
|
}(commonjsGlobal, function(e, t) {
|
|
1368
1368
|
function i(e2, t2, i2, n2) {
|
|
1369
|
-
return new (i2 || (i2 = Promise))(function(
|
|
1370
|
-
function
|
|
1369
|
+
return new (i2 || (i2 = Promise))(function(r2, s2) {
|
|
1370
|
+
function o2(e3) {
|
|
1371
1371
|
try {
|
|
1372
|
-
|
|
1372
|
+
l2(n2.next(e3));
|
|
1373
1373
|
} catch (e4) {
|
|
1374
|
-
|
|
1374
|
+
s2(e4);
|
|
1375
1375
|
}
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function a2(e3) {
|
|
1378
1378
|
try {
|
|
1379
|
-
|
|
1379
|
+
l2(n2.throw(e3));
|
|
1380
1380
|
} catch (e4) {
|
|
1381
|
-
|
|
1381
|
+
s2(e4);
|
|
1382
1382
|
}
|
|
1383
1383
|
}
|
|
1384
|
-
function
|
|
1385
|
-
var
|
|
1386
|
-
e3.done ?
|
|
1387
|
-
e4(
|
|
1388
|
-
})).then(
|
|
1384
|
+
function l2(e3) {
|
|
1385
|
+
var t3;
|
|
1386
|
+
e3.done ? r2(e3.value) : (t3 = e3.value, t3 instanceof i2 ? t3 : new i2(function(e4) {
|
|
1387
|
+
e4(t3);
|
|
1388
|
+
})).then(o2, a2);
|
|
1389
1389
|
}
|
|
1390
|
-
|
|
1390
|
+
l2((n2 = n2.apply(e2, t2 || [])).next());
|
|
1391
1391
|
});
|
|
1392
1392
|
}
|
|
1393
1393
|
class n {
|
|
@@ -1473,7 +1473,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1473
1473
|
return t2 && (n2["Content-Type"] = i2 ? "application/x-www-form-urlencoded; charset=UTF-8" : "application/json; charset=UTF-8"), e2 && (n2.authorization = "Bearer " + e2), n2;
|
|
1474
1474
|
}
|
|
1475
1475
|
function f(e2) {
|
|
1476
|
-
return i(this, 0, void 0, function* () {
|
|
1476
|
+
return i(this, void 0, void 0, function* () {
|
|
1477
1477
|
if (!e2.ok) {
|
|
1478
1478
|
let t2 = yield e2.text(), i2 = new g(t2, e2.statusText);
|
|
1479
1479
|
return Promise.reject(i2);
|
|
@@ -1680,7 +1680,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1680
1680
|
if (!(i2 = n2[e2]))
|
|
1681
1681
|
return this;
|
|
1682
1682
|
if (i2 === t2 || i2.listener && i2.listener === t2)
|
|
1683
|
-
0
|
|
1683
|
+
0 === --this._eventsCount ? this._events = new E() : (delete n2[e2], n2.removeListener && this.emit("removeListener", e2, i2.listener || t2));
|
|
1684
1684
|
else if ("function" != typeof i2) {
|
|
1685
1685
|
for (r2 = -1, s2 = i2.length; s2-- > 0; )
|
|
1686
1686
|
if (i2[s2] === t2 || i2[s2].listener && i2[s2].listener === t2) {
|
|
@@ -1690,7 +1690,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1690
1690
|
if (r2 < 0)
|
|
1691
1691
|
return this;
|
|
1692
1692
|
if (1 === i2.length) {
|
|
1693
|
-
if (i2[0] = void 0, 0
|
|
1693
|
+
if (i2[0] = void 0, 0 === --this._eventsCount)
|
|
1694
1694
|
return this._events = new E(), this;
|
|
1695
1695
|
delete n2[e2];
|
|
1696
1696
|
} else
|
|
@@ -1709,7 +1709,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1709
1709
|
if (!(i2 = this._events))
|
|
1710
1710
|
return this;
|
|
1711
1711
|
if (!i2.removeListener)
|
|
1712
|
-
return 0 === arguments.length ? (this._events = new E(), this._eventsCount = 0) : i2[e2] && (0
|
|
1712
|
+
return 0 === arguments.length ? (this._events = new E(), this._eventsCount = 0) : i2[e2] && (0 === --this._eventsCount ? this._events = new E() : delete i2[e2]), this;
|
|
1713
1713
|
if (0 === arguments.length) {
|
|
1714
1714
|
for (var n2, r2 = Object.keys(i2), s2 = 0; s2 < r2.length; ++s2)
|
|
1715
1715
|
"removeListener" !== (n2 = r2[s2]) && this.removeAllListeners(n2);
|
|
@@ -1795,7 +1795,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1795
1795
|
return delete this._events[e2];
|
|
1796
1796
|
}
|
|
1797
1797
|
emit(e2, ...t2) {
|
|
1798
|
-
return i(this, 0, void 0, function* () {
|
|
1798
|
+
return i(this, void 0, void 0, function* () {
|
|
1799
1799
|
O(e2);
|
|
1800
1800
|
const i2 = this.listeners(e2), n2 = [];
|
|
1801
1801
|
if (i2 && i2.length) {
|
|
@@ -1835,7 +1835,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1835
1835
|
return this.awaitEventEmitter.on(e2, t2), this;
|
|
1836
1836
|
}
|
|
1837
1837
|
emitAsync(e2, ...t2) {
|
|
1838
|
-
return i(this, 0, void 0, function* () {
|
|
1838
|
+
return i(this, void 0, void 0, function* () {
|
|
1839
1839
|
yield this.awaitEventEmitter.emit(e2, ...t2);
|
|
1840
1840
|
});
|
|
1841
1841
|
}
|
|
@@ -3087,7 +3087,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
3087
3087
|
this.emit("toolTipClosing", e2);
|
|
3088
3088
|
}
|
|
3089
3089
|
printReport() {
|
|
3090
|
-
return i(this, 0, void 0, function* () {
|
|
3090
|
+
return i(this, void 0, void 0, function* () {
|
|
3091
3091
|
let e2 = this.createDeviceInfo();
|
|
3092
3092
|
e2.ImmediatePrint = true;
|
|
3093
3093
|
let t2 = new c(e2);
|
|
@@ -3100,13 +3100,13 @@ var telerikReportViewer = (function (exports) {
|
|
|
3100
3100
|
});
|
|
3101
3101
|
}
|
|
3102
3102
|
exportReport(e2) {
|
|
3103
|
-
return i(this, 0, void 0, function* () {
|
|
3103
|
+
return i(this, void 0, void 0, function* () {
|
|
3104
3104
|
let t2 = this.createDeviceInfo(), n2 = new a(t2, e2);
|
|
3105
3105
|
if (yield this.emitAsync("exportStart", n2), !n2.isCancelled) {
|
|
3106
3106
|
let r2 = new l(t2, e2);
|
|
3107
3107
|
if (this.emit("exportStarted", r2), r2.handled)
|
|
3108
3108
|
return;
|
|
3109
|
-
this.setUIState("ExportInProgress", true), this.exportAsync(e2, n2.deviceInfo).then((t3) => i(this, 0, void 0, function* () {
|
|
3109
|
+
this.setUIState("ExportInProgress", true), this.exportAsync(e2, n2.deviceInfo).then((t3) => i(this, void 0, void 0, function* () {
|
|
3110
3110
|
let i2 = this.serviceClient.getDocumentUrl(this.clientId, this.reportInstanceId, t3);
|
|
3111
3111
|
i2 += "?response-content-disposition=attachment";
|
|
3112
3112
|
let n3 = new h(i2, e2, "_self");
|
|
@@ -3139,7 +3139,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
3139
3139
|
return this.serviceClient.getAIResponse(this.clientId, this.reportInstanceId, this.documentId, this.threadId, e2).then((e3) => e3 || "");
|
|
3140
3140
|
}
|
|
3141
3141
|
exportAsync(e2, t2) {
|
|
3142
|
-
return this.initializeClient().then(this.registerInstance.bind(this)).then(() => this.registerDocumentAsync(e2, t2, false, this.documentId)).then((e3) => i(this, 0, void 0, function* () {
|
|
3142
|
+
return this.initializeClient().then(this.registerInstance.bind(this)).then(() => this.registerDocumentAsync(e2, t2, false, this.documentId)).then((e3) => i(this, void 0, void 0, function* () {
|
|
3143
3143
|
return yield this.getDocumentInfo(false, e3).catch((e4) => this.raiseError(e4)), e3;
|
|
3144
3144
|
}));
|
|
3145
3145
|
}
|
|
@@ -3227,10 +3227,10 @@ var telerikReportViewer = (function (exports) {
|
|
|
3227
3227
|
registerInstance() {
|
|
3228
3228
|
return this.registerInstancePromise || (this.registerInstancePromise = this.serviceClient.createReportInstance(this.clientId, this.getReport(), this.parameterValues).then(this.setReportInstanceId.bind(this)).catch(this.clearReportInstanceId.bind(this))), this.registerInstancePromise;
|
|
3229
3229
|
}
|
|
3230
|
-
registerDocumentAsync(e2, t2, n2
|
|
3231
|
-
return i(this,
|
|
3232
|
-
return (yield this.serviceClient.createReportDocument(this.clientId, this.reportInstanceId,
|
|
3233
|
-
this.handleRequestError(
|
|
3230
|
+
registerDocumentAsync(e2, t2, n2) {
|
|
3231
|
+
return i(this, arguments, void 0, function* (e3, t3, i2, n3 = "", r2 = "") {
|
|
3232
|
+
return (yield this.serviceClient.createReportDocument(this.clientId, this.reportInstanceId, e3, t3, !i2, n3, r2).catch((t4) => {
|
|
3233
|
+
this.handleRequestError(t4, be(this.options.messages.ReportViewer_ErrorCreatingReportDocument, le(this.getReport()), le(e3)));
|
|
3234
3234
|
})) || "";
|
|
3235
3235
|
});
|
|
3236
3236
|
}
|
|
@@ -3280,7 +3280,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
3280
3280
|
}
|
|
3281
3281
|
getDocumentInfo(t2, n2) {
|
|
3282
3282
|
return t2 && this.emit("beginLoadReport"), new Promise((r2, s2) => {
|
|
3283
|
-
let o2 = () => i(this, 0, void 0, function* () {
|
|
3283
|
+
let o2 = () => i(this, void 0, void 0, function* () {
|
|
3284
3284
|
this.cancelLoad ? s2(this.options.messages.ReportViewer_RenderingCancelled) : (yield this.registerInstancePromise, this.serviceClient.getDocumentInfo(this.clientId, this.reportInstanceId, n2).then((i2) => {
|
|
3285
3285
|
i2 && i2.documentReady ? r2(i2) : (t2 && (this.getPageMode() === e.PageMode.ContinuousScroll && i2.pageCount > this.pageCount && this.emit("pageLoaded"), this.pageCount = i2.pageCount, this.emit("reportLoadProgress", i2)), window.setTimeout(o2, 500));
|
|
3286
3286
|
}).catch((e2) => {
|
|
@@ -8875,7 +8875,7 @@ ${e3.text} (${e3.id})`;
|
|
|
8875
8875
|
if (!validateOptions(options)) {
|
|
8876
8876
|
return;
|
|
8877
8877
|
}
|
|
8878
|
-
var version = "20.0.26.
|
|
8878
|
+
var version = "20.0.26.304";
|
|
8879
8879
|
options = $.extend({}, getDefaultOptions(svcApiUrl, version), options);
|
|
8880
8880
|
settings = new ReportViewerSettings(
|
|
8881
8881
|
persistanceKey,
|
|
@@ -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.0.26.
|
|
8
|
-
<link href="{service}resources/styles/telerikReportViewer-20.0.26.
|
|
7
|
+
<link href="{service}resources/font/fonticons-20.0.26.304.css/" rel="stylesheet" />
|
|
8
|
+
<link href="{service}resources/styles/telerikReportViewer-20.0.26.304.css/" rel="stylesheet" />
|
|
9
9
|
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<div class="trv-parameter-header k-card-header">
|
|
15
15
|
<div class="trv-parameter-title k-card-title"></div>
|
|
16
16
|
</div>
|
|
17
|
-
<div class="trv-parameter-error k-notification k-
|
|
17
|
+
<div class="trv-parameter-error k-notification k-notification-error">
|
|
18
18
|
<span class="k-notification-status k-icon k-i-x-outline"></span>
|
|
19
19
|
<span class="trv-parameter-error-message k-notification-content"></span>
|
|
20
20
|
</div>
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
</button>
|
|
120
120
|
</span>
|
|
121
121
|
|
|
122
|
-
<span data-role="custom-element" aria-label="ariaLabelMenuPageNumber" title="menuPageNumberTitle">
|
|
122
|
+
<span data-role="custom-element" class="trv-toolbar-page-selector" aria-label="ariaLabelMenuPageNumber" title="menuPageNumberTitle">
|
|
123
123
|
<span class="trv-replace-string">menuPageText</span>
|
|
124
124
|
<input data-role="telerik_ReportViewer_PageNumberInput" type="number" />
|
|
125
125
|
<span class="trv-replace-string">menuPageOfText</span>
|
|
@@ -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 3a0a05d450e40967d8be1e49466950a7 -->
|
|
@@ -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';
|
|
@@ -864,9 +869,7 @@ export class TelerikReportViewer extends React.Component {
|
|
|
864
869
|
render() {
|
|
865
870
|
return /*#__PURE__*/React.createElement("div", {
|
|
866
871
|
id: this.state.reportViewerID,
|
|
867
|
-
style: {
|
|
868
|
-
...this.props.viewerContainerStyle
|
|
869
|
-
},
|
|
872
|
+
style: _objectSpread({}, this.props.viewerContainerStyle),
|
|
870
873
|
ref: el => this.el = el
|
|
871
874
|
});
|
|
872
875
|
}
|
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": "29.26.
|
|
4
|
+
"version": "29.26.304",
|
|
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": "29.26.
|
|
69
|
+
"@progress/telerik-jquery-report-viewer": "29.26.304"
|
|
70
70
|
}
|
|
71
71
|
}
|