@progress/telerik-jquery-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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * TelerikReporting v20.0.26.211 (https://www.telerik.com/products/reporting.aspx)
2
+ * TelerikReporting v20.0.26.304 (https://www.telerik.com/products/reporting.aspx)
3
3
  * Copyright 2026 Progress Software EAD. All rights reserved.
4
4
  *
5
5
  * Telerik Reporting commercial licenses may be obtained at
@@ -1365,28 +1365,28 @@ var telerikReportViewer = (function (exports) {
1365
1365
  t(exports$1, requirePurify_cjs()) ;
1366
1366
  }(commonjsGlobal, function(e, t) {
1367
1367
  function i(e2, t2, i2, n2) {
1368
- return new (i2 || (i2 = Promise))(function(t3, r2) {
1369
- function s2(e3) {
1368
+ return new (i2 || (i2 = Promise))(function(r2, s2) {
1369
+ function o2(e3) {
1370
1370
  try {
1371
- a2(n2.next(e3));
1371
+ l2(n2.next(e3));
1372
1372
  } catch (e4) {
1373
- r2(e4);
1373
+ s2(e4);
1374
1374
  }
1375
1375
  }
1376
- function o2(e3) {
1376
+ function a2(e3) {
1377
1377
  try {
1378
- a2(n2.throw(e3));
1378
+ l2(n2.throw(e3));
1379
1379
  } catch (e4) {
1380
- r2(e4);
1380
+ s2(e4);
1381
1381
  }
1382
1382
  }
1383
- function a2(e3) {
1384
- var n3;
1385
- e3.done ? t3(e3.value) : (n3 = e3.value, n3 instanceof i2 ? n3 : new i2(function(e4) {
1386
- e4(n3);
1387
- })).then(s2, o2);
1383
+ function l2(e3) {
1384
+ var t3;
1385
+ e3.done ? r2(e3.value) : (t3 = e3.value, t3 instanceof i2 ? t3 : new i2(function(e4) {
1386
+ e4(t3);
1387
+ })).then(o2, a2);
1388
1388
  }
1389
- a2((n2 = n2.apply(e2, [])).next());
1389
+ l2((n2 = n2.apply(e2, t2 || [])).next());
1390
1390
  });
1391
1391
  }
1392
1392
  class n {
@@ -1472,7 +1472,7 @@ var telerikReportViewer = (function (exports) {
1472
1472
  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;
1473
1473
  }
1474
1474
  function f(e2) {
1475
- return i(this, 0, void 0, function* () {
1475
+ return i(this, void 0, void 0, function* () {
1476
1476
  if (!e2.ok) {
1477
1477
  let t2 = yield e2.text(), i2 = new g(t2, e2.statusText);
1478
1478
  return Promise.reject(i2);
@@ -1679,7 +1679,7 @@ var telerikReportViewer = (function (exports) {
1679
1679
  if (!(i2 = n2[e2]))
1680
1680
  return this;
1681
1681
  if (i2 === t2 || i2.listener && i2.listener === t2)
1682
- 0 == --this._eventsCount ? this._events = new E() : (delete n2[e2], n2.removeListener && this.emit("removeListener", e2, i2.listener || t2));
1682
+ 0 === --this._eventsCount ? this._events = new E() : (delete n2[e2], n2.removeListener && this.emit("removeListener", e2, i2.listener || t2));
1683
1683
  else if ("function" != typeof i2) {
1684
1684
  for (r2 = -1, s2 = i2.length; s2-- > 0; )
1685
1685
  if (i2[s2] === t2 || i2[s2].listener && i2[s2].listener === t2) {
@@ -1689,7 +1689,7 @@ var telerikReportViewer = (function (exports) {
1689
1689
  if (r2 < 0)
1690
1690
  return this;
1691
1691
  if (1 === i2.length) {
1692
- if (i2[0] = void 0, 0 == --this._eventsCount)
1692
+ if (i2[0] = void 0, 0 === --this._eventsCount)
1693
1693
  return this._events = new E(), this;
1694
1694
  delete n2[e2];
1695
1695
  } else
@@ -1708,7 +1708,7 @@ var telerikReportViewer = (function (exports) {
1708
1708
  if (!(i2 = this._events))
1709
1709
  return this;
1710
1710
  if (!i2.removeListener)
1711
- return 0 === arguments.length ? (this._events = new E(), this._eventsCount = 0) : i2[e2] && (0 == --this._eventsCount ? this._events = new E() : delete i2[e2]), this;
1711
+ return 0 === arguments.length ? (this._events = new E(), this._eventsCount = 0) : i2[e2] && (0 === --this._eventsCount ? this._events = new E() : delete i2[e2]), this;
1712
1712
  if (0 === arguments.length) {
1713
1713
  for (var n2, r2 = Object.keys(i2), s2 = 0; s2 < r2.length; ++s2)
1714
1714
  "removeListener" !== (n2 = r2[s2]) && this.removeAllListeners(n2);
@@ -1794,7 +1794,7 @@ var telerikReportViewer = (function (exports) {
1794
1794
  return delete this._events[e2];
1795
1795
  }
1796
1796
  emit(e2, ...t2) {
1797
- return i(this, 0, void 0, function* () {
1797
+ return i(this, void 0, void 0, function* () {
1798
1798
  O(e2);
1799
1799
  const i2 = this.listeners(e2), n2 = [];
1800
1800
  if (i2 && i2.length) {
@@ -1834,7 +1834,7 @@ var telerikReportViewer = (function (exports) {
1834
1834
  return this.awaitEventEmitter.on(e2, t2), this;
1835
1835
  }
1836
1836
  emitAsync(e2, ...t2) {
1837
- return i(this, 0, void 0, function* () {
1837
+ return i(this, void 0, void 0, function* () {
1838
1838
  yield this.awaitEventEmitter.emit(e2, ...t2);
1839
1839
  });
1840
1840
  }
@@ -3086,7 +3086,7 @@ var telerikReportViewer = (function (exports) {
3086
3086
  this.emit("toolTipClosing", e2);
3087
3087
  }
3088
3088
  printReport() {
3089
- return i(this, 0, void 0, function* () {
3089
+ return i(this, void 0, void 0, function* () {
3090
3090
  let e2 = this.createDeviceInfo();
3091
3091
  e2.ImmediatePrint = true;
3092
3092
  let t2 = new c(e2);
@@ -3099,13 +3099,13 @@ var telerikReportViewer = (function (exports) {
3099
3099
  });
3100
3100
  }
3101
3101
  exportReport(e2) {
3102
- return i(this, 0, void 0, function* () {
3102
+ return i(this, void 0, void 0, function* () {
3103
3103
  let t2 = this.createDeviceInfo(), n2 = new a(t2, e2);
3104
3104
  if (yield this.emitAsync("exportStart", n2), !n2.isCancelled) {
3105
3105
  let r2 = new l(t2, e2);
3106
3106
  if (this.emit("exportStarted", r2), r2.handled)
3107
3107
  return;
3108
- this.setUIState("ExportInProgress", true), this.exportAsync(e2, n2.deviceInfo).then((t3) => i(this, 0, void 0, function* () {
3108
+ this.setUIState("ExportInProgress", true), this.exportAsync(e2, n2.deviceInfo).then((t3) => i(this, void 0, void 0, function* () {
3109
3109
  let i2 = this.serviceClient.getDocumentUrl(this.clientId, this.reportInstanceId, t3);
3110
3110
  i2 += "?response-content-disposition=attachment";
3111
3111
  let n3 = new h(i2, e2, "_self");
@@ -3138,7 +3138,7 @@ var telerikReportViewer = (function (exports) {
3138
3138
  return this.serviceClient.getAIResponse(this.clientId, this.reportInstanceId, this.documentId, this.threadId, e2).then((e3) => e3 || "");
3139
3139
  }
3140
3140
  exportAsync(e2, t2) {
3141
- return this.initializeClient().then(this.registerInstance.bind(this)).then(() => this.registerDocumentAsync(e2, t2, false, this.documentId)).then((e3) => i(this, 0, void 0, function* () {
3141
+ 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* () {
3142
3142
  return yield this.getDocumentInfo(false, e3).catch((e4) => this.raiseError(e4)), e3;
3143
3143
  }));
3144
3144
  }
@@ -3226,10 +3226,10 @@ var telerikReportViewer = (function (exports) {
3226
3226
  registerInstance() {
3227
3227
  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;
3228
3228
  }
3229
- registerDocumentAsync(e2, t2, n2, r2 = "", s2 = "") {
3230
- return i(this, 0, void 0, function* () {
3231
- return (yield this.serviceClient.createReportDocument(this.clientId, this.reportInstanceId, e2, t2, !n2, r2, s2).catch((t3) => {
3232
- this.handleRequestError(t3, be(this.options.messages.ReportViewer_ErrorCreatingReportDocument, le(this.getReport()), le(e2)));
3229
+ registerDocumentAsync(e2, t2, n2) {
3230
+ return i(this, arguments, void 0, function* (e3, t3, i2, n3 = "", r2 = "") {
3231
+ return (yield this.serviceClient.createReportDocument(this.clientId, this.reportInstanceId, e3, t3, !i2, n3, r2).catch((t4) => {
3232
+ this.handleRequestError(t4, be(this.options.messages.ReportViewer_ErrorCreatingReportDocument, le(this.getReport()), le(e3)));
3233
3233
  })) || "";
3234
3234
  });
3235
3235
  }
@@ -3279,7 +3279,7 @@ var telerikReportViewer = (function (exports) {
3279
3279
  }
3280
3280
  getDocumentInfo(t2, n2) {
3281
3281
  return t2 && this.emit("beginLoadReport"), new Promise((r2, s2) => {
3282
- let o2 = () => i(this, 0, void 0, function* () {
3282
+ let o2 = () => i(this, void 0, void 0, function* () {
3283
3283
  this.cancelLoad ? s2(this.options.messages.ReportViewer_RenderingCancelled) : (yield this.registerInstancePromise, this.serviceClient.getDocumentInfo(this.clientId, this.reportInstanceId, n2).then((i2) => {
3284
3284
  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));
3285
3285
  }).catch((e2) => {
@@ -8874,7 +8874,7 @@ ${e3.text} (${e3.id})`;
8874
8874
  if (!validateOptions(options)) {
8875
8875
  return;
8876
8876
  }
8877
- var version = "20.0.26.211";
8877
+ var version = "20.0.26.304";
8878
8878
  options = $.extend({}, getDefaultOptions(svcApiUrl, version), options);
8879
8879
  settings = new ReportViewerSettings(
8880
8880
  persistanceKey,