@progress/telerik-jquery-report-viewer 21.24.130 → 22.24.514

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/accessibility.js +218 -0
  3. package/dist/cjs/binder.js +172 -0
  4. package/dist/cjs/command.js +32 -0
  5. package/dist/cjs/commandSet.js +167 -0
  6. package/dist/cjs/controller.js +1207 -0
  7. package/dist/cjs/documentMapArea.js +168 -0
  8. package/dist/cjs/domUtils.js +50 -0
  9. package/dist/cjs/enums.js +52 -0
  10. package/dist/cjs/event-emitter.js +17 -0
  11. package/dist/cjs/events.js +23 -0
  12. package/dist/cjs/globalSettings.js +9 -0
  13. package/dist/cjs/history.js +131 -0
  14. package/dist/cjs/index.js +58 -0
  15. package/dist/cjs/jqueryThrottleDebounce.js +48 -0
  16. package/dist/cjs/kendo-jquery.js +4 -0
  17. package/dist/cjs/mainMenu.js +332 -0
  18. package/dist/cjs/mem-storage.js +44 -0
  19. package/dist/cjs/pagesArea.js +641 -0
  20. package/dist/cjs/parameterValidators.js +167 -0
  21. package/dist/cjs/parameters.js +921 -0
  22. package/dist/cjs/parametersArea.js +502 -0
  23. package/dist/cjs/perspectives.js +138 -0
  24. package/dist/cjs/print.js +166 -0
  25. package/dist/cjs/report-viewer/report-viewer-settings.js +138 -0
  26. package/dist/cjs/reportViewer.js +654 -0
  27. package/dist/cjs/scroll.js +537 -0
  28. package/dist/cjs/search.js +634 -0
  29. package/dist/cjs/sendEmail.js +435 -0
  30. package/dist/cjs/service-client-sentinel.js +52 -0
  31. package/dist/cjs/serviceClient.js +405 -0
  32. package/dist/cjs/sideMenu.js +225 -0
  33. package/dist/cjs/sr.js +164 -0
  34. package/dist/cjs/stringResources.js +11 -0
  35. package/dist/cjs/telerikReportViewer.kendo.js +60196 -0
  36. package/dist/cjs/telerikReportViewer.kendo.min.js +19776 -0
  37. package/dist/cjs/template-cache.js +39 -0
  38. package/dist/cjs/touch.js +86 -0
  39. package/dist/cjs/uiController.js +142 -0
  40. package/dist/cjs/uiFreezeCoordinator.js +281 -0
  41. package/dist/cjs/utils.js +492 -0
  42. package/dist/es/accessibility.js +214 -0
  43. package/dist/es/binder.js +168 -0
  44. package/dist/es/command.js +28 -0
  45. package/dist/es/commandSet.js +163 -0
  46. package/dist/es/controller.js +1203 -0
  47. package/dist/es/documentMapArea.js +164 -0
  48. package/dist/es/domUtils.js +43 -0
  49. package/dist/es/enums.js +41 -0
  50. package/dist/es/event-emitter.js +13 -0
  51. package/dist/es/events.js +19 -0
  52. package/dist/es/globalSettings.js +5 -0
  53. package/dist/es/history.js +127 -0
  54. package/dist/es/index.js +24 -0
  55. package/dist/es/jqueryThrottleDebounce.js +46 -0
  56. package/dist/es/kendo-jquery.js +1 -0
  57. package/dist/es/mainMenu.js +328 -0
  58. package/dist/es/mem-storage.js +40 -0
  59. package/dist/es/pagesArea.js +637 -0
  60. package/dist/es/parameterValidators.js +163 -0
  61. package/dist/es/parameters.js +916 -0
  62. package/dist/es/parametersArea.js +498 -0
  63. package/dist/es/perspectives.js +134 -0
  64. package/dist/es/print.js +162 -0
  65. package/dist/es/report-viewer/report-viewer-settings.js +134 -0
  66. package/dist/es/reportViewer.js +650 -0
  67. package/dist/es/scroll.js +533 -0
  68. package/dist/es/search.js +630 -0
  69. package/dist/es/sendEmail.js +431 -0
  70. package/dist/es/service-client-sentinel.js +48 -0
  71. package/dist/es/serviceClient.js +401 -0
  72. package/dist/es/sideMenu.js +221 -0
  73. package/dist/es/sr.js +162 -0
  74. package/dist/es/stringResources.js +7 -0
  75. package/dist/es/telerikReportViewer.kendo.js +60194 -0
  76. package/dist/es/telerikReportViewer.kendo.min.js +19774 -0
  77. package/dist/es/template-cache.js +35 -0
  78. package/dist/es/touch.js +82 -0
  79. package/dist/es/uiController.js +138 -0
  80. package/dist/es/uiFreezeCoordinator.js +277 -0
  81. package/dist/es/utils.js +447 -0
  82. package/dist/font/font-icons.css +4 -4
  83. package/dist/font/font-icons.min.css +3 -3
  84. package/dist/js/telerikReportViewer.js +8574 -8249
  85. package/dist/js/telerikReportViewer.min.js +1 -17
  86. package/dist/js/telerikReportViewer.stringResources.js +166 -173
  87. package/dist/styles/telerikReportViewer.css +1 -1
  88. package/dist/styles/telerikReportViewer.min.css +1 -1
  89. package/dist/templates/telerikReportViewerTemplate-FA.html +3 -3
  90. package/dist/templates/telerikReportViewerTemplate.html +3 -3
  91. package/package.json +13 -7
  92. /package/dist/font/{ReportingIcons-18.0.24.130.ttf → ReportingIcons-18.1.24.514.ttf} +0 -0
@@ -0,0 +1,447 @@
1
+ var stringFormatRegExp = /{(\w+?)}/g;
2
+ var specialKeys = {
3
+ DELETE: 46,
4
+ BACKSPACE: 8,
5
+ TAB: 9,
6
+ ESC: 27,
7
+ LEFT: 37,
8
+ UP: 38,
9
+ RIGHT: 39,
10
+ DOWN: 40,
11
+ END: 35,
12
+ HOME: 36
13
+ };
14
+ function isSpecialKey() {
15
+ var userAgent = window.navigator.userAgent.toLowerCase();
16
+ if (userAgent.indexOf("firefox") > -1) {
17
+ var specialKeysArray = Object.keys(specialKeys);
18
+ var specialKeysLength = specialKeysArray.length;
19
+ return function(keyCode) {
20
+ for (var i = 0; i < specialKeysLength; i++) {
21
+ if (specialKeys[specialKeysArray[i]] == keyCode) {
22
+ return true;
23
+ }
24
+ }
25
+ };
26
+ }
27
+ return function(keyCode) {
28
+ return false;
29
+ };
30
+ }
31
+ function toXhrErrorData(xhr, status, error) {
32
+ return {
33
+ xhr,
34
+ status,
35
+ error
36
+ };
37
+ }
38
+ function rectangle(left, top, width, height) {
39
+ return {
40
+ left,
41
+ top,
42
+ width,
43
+ height,
44
+ right: function() {
45
+ return left + width;
46
+ },
47
+ bottom: function() {
48
+ return top + height;
49
+ },
50
+ union: function(other) {
51
+ var newLeft = Math.min(left, other.left);
52
+ var newTop = Math.min(top, other.top);
53
+ var newWidth = Math.max(this.right(), other.right()) - newLeft;
54
+ var newHeight = Math.max(this.bottom(), other.bottom()) - newTop;
55
+ return rectangle(
56
+ newLeft,
57
+ newTop,
58
+ newWidth,
59
+ newHeight
60
+ );
61
+ }
62
+ };
63
+ }
64
+ function generateGuidString() {
65
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) {
66
+ var r = Math.random() * 16 | 0;
67
+ var v = c == "x" ? r : r & 3 | 8;
68
+ return v.toString(16);
69
+ });
70
+ }
71
+ function trim(s, charlist) {
72
+ return rTrim(lTrim(s, charlist), charlist);
73
+ }
74
+ function replaceAll(str, find, replace) {
75
+ return str.replace(new RegExp(find, "g"), replace);
76
+ }
77
+ function lTrim(s, charlist) {
78
+ if (charlist === void 0) {
79
+ charlist = "s";
80
+ }
81
+ return s.replace(new RegExp("^[" + charlist + "]+"), "");
82
+ }
83
+ function rTrim(s, charlist) {
84
+ if (charlist === void 0) {
85
+ charlist = "s";
86
+ }
87
+ return s.replace(new RegExp("[" + charlist + "]+$"), "");
88
+ }
89
+ function stringFormat(template, data) {
90
+ var isArray2 = Array.isArray(data);
91
+ return template.replace(stringFormatRegExp, function($0, $1) {
92
+ return data[isArray2 ? parseInt($1) : $1];
93
+ });
94
+ }
95
+ function escapeHtml(str) {
96
+ return $("<div>").text(str).html();
97
+ }
98
+ function tryParseInt(value) {
99
+ if (/^(\-|\+)?([0-9]+)$/.test(value)) {
100
+ return Number(value);
101
+ }
102
+ return NaN;
103
+ }
104
+ function tryParseFloat(value) {
105
+ if (/^(\-|\+)?([0-9]+(\.[0-9]+)?)$/.test(value)) {
106
+ return Number(value);
107
+ }
108
+ return NaN;
109
+ }
110
+ function parseToLocalDate(date) {
111
+ if (date instanceof Date)
112
+ return date;
113
+ var isUtc = /Z|[\+\-]\d\d:?\d\d/i.test(date);
114
+ if (!isUtc) {
115
+ date += "Z";
116
+ }
117
+ return new Date(date);
118
+ }
119
+ function adjustTimezone(date) {
120
+ return new Date(
121
+ Date.UTC(
122
+ date.getFullYear(),
123
+ date.getMonth(),
124
+ date.getDate(),
125
+ date.getHours(),
126
+ date.getMinutes(),
127
+ date.getSeconds(),
128
+ date.getMilliseconds()
129
+ )
130
+ );
131
+ }
132
+ function unadjustTimezone(date) {
133
+ return new Date(
134
+ date.getUTCFullYear(),
135
+ date.getUTCMonth(),
136
+ date.getUTCDate(),
137
+ date.getUTCHours(),
138
+ date.getUTCMinutes(),
139
+ date.getUTCSeconds(),
140
+ date.getUTCMilliseconds()
141
+ );
142
+ }
143
+ function areEqual(v1, v2) {
144
+ if (v1 instanceof Date && v2 instanceof Date) {
145
+ if (v1.getTime() !== v2.getTime()) {
146
+ return false;
147
+ }
148
+ } else if (v1 !== v2) {
149
+ return false;
150
+ }
151
+ return true;
152
+ }
153
+ function reportSourcesAreEqual(rs1, rs2) {
154
+ if (rs1 && rs2 && rs1.report === rs2.report) {
155
+ var params1String = "";
156
+ if (rs1.parameters) {
157
+ params1String = JSON.stringify(rs1.parameters);
158
+ }
159
+ var params2String = "";
160
+ if (rs2.parameters) {
161
+ params2String = JSON.stringify(rs2.parameters);
162
+ }
163
+ return params1String === params2String;
164
+ }
165
+ return false;
166
+ }
167
+ function areEqualArrays(array1, array2) {
168
+ if (array1 === null) {
169
+ if (array2 !== null) {
170
+ return false;
171
+ } else {
172
+ return true;
173
+ }
174
+ } else {
175
+ if (array2 === null) {
176
+ return false;
177
+ }
178
+ }
179
+ if (array1.length !== array2.length) {
180
+ return false;
181
+ }
182
+ for (var j = array1.length - 1; j >= 0; j--) {
183
+ if (!areEqual(array1[j], array2[j])) {
184
+ return false;
185
+ }
186
+ }
187
+ return true;
188
+ }
189
+ function isSvgSupported() {
190
+ var matches = /Version\/(\d+.\d+.\d+) Safari/.exec(navigator.userAgent);
191
+ if (matches && matches.length > 1) {
192
+ var version = parseFloat(matches[1]);
193
+ return version >= 6;
194
+ }
195
+ return true;
196
+ }
197
+ function isInternalServerError(error) {
198
+ if (error) {
199
+ return replaceAll(error, " ", "").toLowerCase() === "internalservererror";
200
+ }
201
+ return false;
202
+ }
203
+ function isSystemArgumentException(xhr) {
204
+ var exceptionShortName = "ArgumentException";
205
+ var exceptionInstance = getExceptionInstance(xhr);
206
+ return isExceptionInstanceOfType(exceptionInstance, exceptionShortName, "System." + exceptionShortName);
207
+ }
208
+ function isInvalidClientException(xhr) {
209
+ var exceptionShortName = "InvalidClientException";
210
+ var exceptionInstance = getExceptionInstance(xhr);
211
+ return isExceptionInstanceOfType(exceptionInstance, exceptionShortName, "Telerik.Reporting.Services.Engine." + exceptionShortName);
212
+ }
213
+ function isApplicationException(xhr) {
214
+ return isApplicationExceptionInstance(getExceptionInstance(xhr));
215
+ }
216
+ function isApplicationExceptionInstance(exception) {
217
+ var exceptionShortName = "DrawingFactoryUnavailableException";
218
+ return isExceptionInstanceOfType(exception, exceptionShortName, "Telerik.Drawing.Contract." + exceptionShortName);
219
+ }
220
+ function isExceptionOfType(xhr, exceptionType) {
221
+ return isExceptionInstanceOfType(getExceptionInstance(xhr), exceptionType, exceptionType);
222
+ }
223
+ function isExceptionInstanceOfType(exceptionInstance, exceptionTypeShortName, exceptionTypeFullName) {
224
+ return exceptionInstance && exceptionInstance.exceptionType && exceptionTypeNamesMatch(exceptionInstance.exceptionType, exceptionTypeShortName, exceptionTypeFullName);
225
+ }
226
+ function exceptionTypeNamesMatch(instanceTypeName, exceptionTypeShortName, exceptionTypeFullName) {
227
+ return instanceTypeName && (instanceTypeName === exceptionTypeFullName || instanceTypeName.endsWith(exceptionTypeShortName));
228
+ }
229
+ function parseJSON(json) {
230
+ try {
231
+ return JSON.parse(
232
+ json,
233
+ function(key, value) {
234
+ if (key && value) {
235
+ var firstChar = key.charAt(0);
236
+ if (firstChar === firstChar.toUpperCase()) {
237
+ var newPropertyName = firstChar.toLowerCase() + key.slice(1);
238
+ this[newPropertyName] = value;
239
+ }
240
+ }
241
+ return value;
242
+ }
243
+ );
244
+ } catch (e) {
245
+ return null;
246
+ }
247
+ }
248
+ function getExceptionInstance(xhr) {
249
+ if (!xhr || !xhr.responseText) {
250
+ return false;
251
+ }
252
+ return parseJSON(xhr.responseText);
253
+ }
254
+ function extend() {
255
+ var copy;
256
+ var name;
257
+ var options;
258
+ var target;
259
+ var i = 0;
260
+ var length = arguments.length;
261
+ target = length > 1 ? arguments[i++] || {} : {};
262
+ for (; i < length; i++) {
263
+ if ((options = arguments[i]) != null) {
264
+ for (name in options) {
265
+ target[name];
266
+ copy = options[name];
267
+ if (target === copy) {
268
+ continue;
269
+ }
270
+ if (copy !== void 0) {
271
+ target[name] = copy;
272
+ }
273
+ }
274
+ }
275
+ }
276
+ return target;
277
+ }
278
+ function each(obj, callback) {
279
+ var length;
280
+ var i = 0;
281
+ if (isArray(obj)) {
282
+ length = obj.length;
283
+ for (; i < length; i++) {
284
+ if (callback.call(obj[i], i, obj[i]) === false) {
285
+ break;
286
+ }
287
+ }
288
+ } else {
289
+ for (i in obj) {
290
+ if (callback.call(obj[i], i, obj[i]) === false) {
291
+ break;
292
+ }
293
+ }
294
+ }
295
+ return obj;
296
+ }
297
+ function selector() {
298
+ return document.querySelectorAll(arguments[0]);
299
+ }
300
+ function isArray(obj) {
301
+ if (Array.isArray(obj))
302
+ return true;
303
+ var length = !!obj && "length" in obj && obj.length;
304
+ if (typeof length === "number") {
305
+ return true;
306
+ }
307
+ return false;
308
+ }
309
+ function loadScriptWithCallback(src, done, version) {
310
+ var js = document.createElement("script");
311
+ js.src = src;
312
+ js.onload = function() {
313
+ done(version);
314
+ };
315
+ js.onerror = function() {
316
+ logError(new Error("Failed to load script " + src));
317
+ };
318
+ document.head.appendChild(js);
319
+ }
320
+ function loadScript(url) {
321
+ var ajaxOptions = {
322
+ dataType: "script",
323
+ cache: true,
324
+ url
325
+ };
326
+ return $ajax(ajaxOptions);
327
+ }
328
+ function filterUniqueLastOccurance(array) {
329
+ function onlyLastUnique(value, index, self) {
330
+ return self.lastIndexOf(value) === index;
331
+ }
332
+ return array.filter(onlyLastUnique);
333
+ }
334
+ function logError(error) {
335
+ var console = window.console;
336
+ if (console && console.error) {
337
+ console.error(error);
338
+ }
339
+ }
340
+ function findElement(selectorChain) {
341
+ if (selectorChain.constructor != Array) {
342
+ selectorChain = [selectorChain];
343
+ }
344
+ var $area = $(selectorChain[0]);
345
+ for (var i = 1; i < selectorChain.length; i++) {
346
+ $area = $area.find(selectorChain[i]);
347
+ }
348
+ return $area;
349
+ }
350
+ function toRgbColor(hexColor) {
351
+ if (hexColor && hexColor.length < 6) {
352
+ var index = 1;
353
+ var hexParts = hexColor.split("");
354
+ if (hexParts[0] !== "#") {
355
+ index = 0;
356
+ }
357
+ for (index; index < hexParts.length; index++) {
358
+ hexParts[index] = hexParts[index] + hexParts[index];
359
+ }
360
+ hexColor = hexParts.join("");
361
+ }
362
+ var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hexColor);
363
+ return result ? parseInt(result[1], 16) + ", " + parseInt(result[2], 16) + ", " + parseInt(result[3], 16) : null;
364
+ }
365
+ function isRgbColor(color) {
366
+ if (!color) {
367
+ return false;
368
+ }
369
+ return color.indexOf(",") > -1 ? true : false;
370
+ }
371
+ function getColorAlphaValue(color) {
372
+ if (color.toLowerCase() === "transparent") {
373
+ return 0;
374
+ }
375
+ if (!isRgbColor(color)) {
376
+ return 1;
377
+ }
378
+ if (color.indexOf("#") !== -1) {
379
+ color = toRgbColor(color);
380
+ }
381
+ var colorComponents = color.split(",").map(function(c) {
382
+ return c.trim();
383
+ });
384
+ var alpha = colorComponents.length === 4 ? parseFloat((parseFloat(colorComponents[3].replace(/[()]/g, "")) / 255).toFixed(2)) : 1;
385
+ return alpha;
386
+ }
387
+ function $ajax(ajaxSettings) {
388
+ return new Promise(function(resolve, reject) {
389
+ $.ajax(ajaxSettings).done(function(data) {
390
+ return resolve(data);
391
+ }).fail(function(xhr, status, error) {
392
+ reject(toXhrErrorData(xhr, status, error));
393
+ });
394
+ });
395
+ }
396
+ function type(obj) {
397
+ return Object.prototype.toString.call(obj).slice(8, -1);
398
+ }
399
+ function isEqual(a, b) {
400
+ if (a === b) {
401
+ return true;
402
+ }
403
+ if (a !== a && b !== b) {
404
+ return true;
405
+ }
406
+ if (a !== a && b === b || a === a && b !== b) {
407
+ return false;
408
+ }
409
+ const typeA = type(a);
410
+ const typeB = type(b);
411
+ if (typeA !== typeB) {
412
+ return false;
413
+ }
414
+ if (typeA === "Array") {
415
+ if (a.length !== b.length) {
416
+ return false;
417
+ }
418
+ const length = a.length;
419
+ for (let i = 0; i < length; i++) {
420
+ if (!isEqual(a[i], b[i])) {
421
+ return false;
422
+ }
423
+ }
424
+ return true;
425
+ }
426
+ if (typeA === "Object") {
427
+ const keysA = Object.keys(a);
428
+ const keysB = Object.keys(b);
429
+ if (keysA.length !== keysB.length) {
430
+ return false;
431
+ }
432
+ const length = keysA.length;
433
+ for (let i = 0; i < length; i++) {
434
+ const key = keysA[i];
435
+ if (!isEqual(a[key], b[key])) {
436
+ return false;
437
+ }
438
+ }
439
+ return true;
440
+ }
441
+ if (typeA === "Date") {
442
+ return a.getTime() === b.getTime();
443
+ }
444
+ return false;
445
+ }
446
+
447
+ export { $ajax, adjustTimezone, areEqual, areEqualArrays, each, escapeHtml, exceptionTypeNamesMatch, extend, filterUniqueLastOccurance, findElement, generateGuidString, getColorAlphaValue, getExceptionInstance, isApplicationException, isApplicationExceptionInstance, isArray, isEqual, isExceptionOfType, isInternalServerError, isInvalidClientException, isRgbColor, isSpecialKey, isSvgSupported, isSystemArgumentException, lTrim, loadScript, loadScriptWithCallback, logError, parseJSON, parseToLocalDate, rTrim, rectangle, replaceAll, reportSourcesAreEqual, selector, stringFormat, toRgbColor, trim, tryParseFloat, tryParseInt, type, unadjustTimezone };
@@ -1,5 +1,5 @@
1
1
  /*
2
- * TelerikReporting v18.0.24.130 (https://www.telerik.com/products/reporting.aspx)
2
+ * TelerikReporting v18.1.24.514 (https://www.telerik.com/products/reporting.aspx)
3
3
  * Copyright 2024 Progress Software EAD. All rights reserved.
4
4
  *
5
5
  * Telerik Reporting commercial licenses may be obtained at
@@ -10,14 +10,14 @@
10
10
  font-family: "ReportingIcons";
11
11
  font-style: normal;
12
12
  font-weight: normal;
13
- src: url("../ReportingIcons-18.0.24.130.ttf/") format("truetype");
13
+ src: url("../ReportingIcons-18.1.24.514.ttf/") format("truetype");
14
14
  /*unicode-range: U+E0ED, U+E0EE, U+E0E6, U+E132, U+E12F, U+E008, U+E00B, U+E09C, U+E096, U+E07E, U+E086, U+E06C, U+E07F, U+E080, U+E081, U+E149, U+E087;*/
15
15
  }
16
16
  @font-face {
17
17
  font-family: "WebComponentsIcons";
18
18
  font-style: normal;
19
19
  font-weight: normal;
20
- src: url("../ReportingIcons-18.0.24.130.ttf/") format("truetype");
20
+ src: url("../ReportingIcons-18.1.24.514.ttf/") format("truetype");
21
21
  }
22
22
  .k-icon {
23
23
  /* use !important to prevent issues with browser extensions that change fonts */
@@ -4449,4 +4449,4 @@
4449
4449
  .trv-report-viewer .k-splitbar-vertical .k-expand-next:before {
4450
4450
  content: "\e004";
4451
4451
  }
4452
- /* DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 48448805db336fb1429e3cf3f6810413 */
4452
+ /* DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 55e6b05b5b9caa058570a41fccc26289 */