@progress/telerik-jquery-report-viewer 32.26.1110 → 32.26.1125

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.
@@ -166,7 +166,7 @@ function ReportViewer(dom, options) {
166
166
  if (!validateOptions(options)) {
167
167
  return;
168
168
  }
169
- var version = "20.3.26.1110";
169
+ var version = "20.3.26.1125";
170
170
  var defaultOptions = getDefaultOptions(svcApiUrl, version);
171
171
  options = $.extend({}, defaultOptions, options);
172
172
  options.exportDialog = $.extend({}, defaultOptions.exportDialog, options.exportDialog);
@@ -28,10 +28,13 @@ const TemplateCache = /* @__PURE__ */ (function() {
28
28
  $content.find("[data-svg-icon]").each((_, icon) => {
29
29
  var $icon = $(icon);
30
30
  var iconName = $icon.attr("data-svg-icon");
31
- var exportName = iconName.replace(/-([a-z])/g, (_2, letter) => letter.toUpperCase()) + "Icon";
32
- var svgIcon = iconName === "warning-circle" ? notificationWarningIcon : kendo.ui.svgIcons[exportName];
31
+ var kendoIconName = iconName.replace(/-([a-z])/g, (_2, letter) => letter.toUpperCase()) + "Icon";
32
+ var svgIcon = iconName === "warning-circle" ? notificationWarningIcon : kendo.ui.svgIcons[kendoIconName];
33
+ if (!svgIcon && iconName === "x-outline") {
34
+ svgIcon = kendo.ui.svgIcons["xCircleIcon"];
35
+ }
33
36
  if (!svgIcon) {
34
- throw new Error(`Kendo SVG icon not found: ${iconName}`);
37
+ console.error(`Kendo SVG icon not found: ${iconName}`);
35
38
  }
36
39
  kendo.ui.icon($icon, { icon: svgIcon, type: "svg" });
37
40
  $icon.removeAttr("data-svg-icon");
@@ -91,12 +91,15 @@ class Toolbar {
91
91
  }
92
92
  const id = elementData.id;
93
93
  const role = elementData.dataset?.role;
94
- const icon = elementData.dataset?.icon;
95
94
  const overflow = elementData.dataset?.overflow;
96
95
  const title = stringResources.stringResources[elementData.title] || elementData.title || "";
97
96
  const ariaLabel = stringResources.stringResources[elementData.ariaLabel] || elementData.ariaLabel || "";
98
97
  const cmdParam = elementData.dataset?.commandParameter;
99
98
  const command = this._options.commands[cmdName];
99
+ let icon = elementData.dataset?.icon;
100
+ if (icon === "envelop" && !kendo.ui.svgIcons["envelopIcon"]) {
101
+ icon = "envelope";
102
+ }
100
103
  switch (role) {
101
104
  case constants.ToolBarConstants.Separator:
102
105
  return {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * TelerikReporting v20.3.26.1110 (https://www.telerik.com/products/reporting.aspx)
2
+ * TelerikReporting v20.3.26.1125 (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
@@ -10685,10 +10685,13 @@ ${e3.text} (${e3.id})`;
10685
10685
  $content.find("[data-svg-icon]").each((_, icon) => {
10686
10686
  var $icon = $(icon);
10687
10687
  var iconName = $icon.attr("data-svg-icon");
10688
- var exportName = iconName.replace(/-([a-z])/g, (_2, letter) => letter.toUpperCase()) + "Icon";
10689
- var svgIcon = iconName === "warning-circle" ? notificationWarningIcon : kendo.ui.svgIcons[exportName];
10688
+ var kendoIconName = iconName.replace(/-([a-z])/g, (_2, letter) => letter.toUpperCase()) + "Icon";
10689
+ var svgIcon = iconName === "warning-circle" ? notificationWarningIcon : kendo.ui.svgIcons[kendoIconName];
10690
+ if (!svgIcon && iconName === "x-outline") {
10691
+ svgIcon = kendo.ui.svgIcons["xCircleIcon"];
10692
+ }
10690
10693
  if (!svgIcon) {
10691
- throw new Error(`Kendo SVG icon not found: ${iconName}`);
10694
+ console.error(`Kendo SVG icon not found: ${iconName}`);
10692
10695
  }
10693
10696
  kendo.ui.icon($icon, { icon: svgIcon, type: "svg" });
10694
10697
  $icon.removeAttr("data-svg-icon");
@@ -11114,12 +11117,15 @@ ${e3.text} (${e3.id})`;
11114
11117
  }
11115
11118
  const id = elementData.id;
11116
11119
  const role = elementData.dataset?.role;
11117
- const icon = elementData.dataset?.icon;
11118
11120
  const overflow = elementData.dataset?.overflow;
11119
11121
  const title = stringResources[elementData.title] || elementData.title || "";
11120
11122
  const ariaLabel = stringResources[elementData.ariaLabel] || elementData.ariaLabel || "";
11121
11123
  const cmdParam = elementData.dataset?.commandParameter;
11122
11124
  const command = this._options.commands[cmdName];
11125
+ let icon = elementData.dataset?.icon;
11126
+ if (icon === "envelop" && !kendo.ui.svgIcons["envelopIcon"]) {
11127
+ icon = "envelope";
11128
+ }
11123
11129
  switch (role) {
11124
11130
  case ToolBarConstants.Separator:
11125
11131
  return {
@@ -11838,7 +11844,7 @@ ${e3.text} (${e3.id})`;
11838
11844
  if (!validateOptions(options)) {
11839
11845
  return;
11840
11846
  }
11841
- var version = "20.3.26.1110";
11847
+ var version = "20.3.26.1125";
11842
11848
  var defaultOptions = getDefaultOptions(svcApiUrl, version);
11843
11849
  options = $.extend({}, defaultOptions, options);
11844
11850
  options.exportDialog = $.extend({}, defaultOptions.exportDialog, options.exportDialog);