@progress/telerik-jquery-report-viewer 21.24.305 → 22.24.709

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/accessibility.js +208 -0
  3. package/dist/cjs/base-component.js +26 -0
  4. package/dist/cjs/binder.js +79 -0
  5. package/dist/cjs/command.js +32 -0
  6. package/dist/cjs/commandSet.js +167 -0
  7. package/dist/cjs/controller.js +1204 -0
  8. package/dist/cjs/documentMapArea.js +159 -0
  9. package/dist/cjs/domUtils.js +50 -0
  10. package/dist/cjs/enums.js +52 -0
  11. package/dist/cjs/event-emitter.js +131 -0
  12. package/dist/cjs/events.js +23 -0
  13. package/dist/cjs/globalSettings.js +9 -0
  14. package/dist/cjs/history.js +131 -0
  15. package/dist/cjs/index.js +58 -0
  16. package/dist/cjs/jqueryThrottleDebounce.js +48 -0
  17. package/dist/cjs/kendo-jquery.js +4 -0
  18. package/dist/cjs/mainMenu.js +323 -0
  19. package/dist/cjs/mem-storage.js +44 -0
  20. package/dist/cjs/pagesArea.js +622 -0
  21. package/dist/cjs/parameterValidators.js +164 -0
  22. package/dist/cjs/parameters.js +921 -0
  23. package/dist/cjs/parametersArea.js +486 -0
  24. package/dist/cjs/perspectives.js +138 -0
  25. package/dist/cjs/print.js +165 -0
  26. package/dist/cjs/report-viewer/report-viewer-settings.js +138 -0
  27. package/dist/cjs/reportViewer.js +665 -0
  28. package/dist/cjs/scroll.js +535 -0
  29. package/dist/cjs/search.js +584 -0
  30. package/dist/cjs/sendEmail.js +392 -0
  31. package/dist/cjs/service-client-sentinel.js +52 -0
  32. package/dist/cjs/serviceClient.js +311 -0
  33. package/dist/cjs/sideMenu.js +216 -0
  34. package/dist/cjs/sr.js +164 -0
  35. package/dist/cjs/stringResources.js +11 -0
  36. package/dist/cjs/telerikReportViewer.kendo.js +60196 -0
  37. package/dist/cjs/telerikReportViewer.kendo.min.js +19776 -0
  38. package/dist/cjs/template-cache.js +39 -0
  39. package/dist/cjs/toolbar/link-button.js +42 -0
  40. package/dist/cjs/toolbar/page-count-label.js +18 -0
  41. package/dist/cjs/toolbar/page-number-input.js +64 -0
  42. package/dist/cjs/touch.js +86 -0
  43. package/dist/cjs/uiController.js +142 -0
  44. package/dist/cjs/uiFreezeCoordinator.js +282 -0
  45. package/dist/cjs/utils.js +489 -0
  46. package/dist/es/accessibility.js +204 -0
  47. package/dist/es/base-component.js +22 -0
  48. package/dist/es/binder.js +75 -0
  49. package/dist/es/command.js +28 -0
  50. package/dist/es/commandSet.js +163 -0
  51. package/dist/es/controller.js +1200 -0
  52. package/dist/es/documentMapArea.js +155 -0
  53. package/dist/es/domUtils.js +43 -0
  54. package/dist/es/enums.js +41 -0
  55. package/dist/es/event-emitter.js +127 -0
  56. package/dist/es/events.js +19 -0
  57. package/dist/es/globalSettings.js +5 -0
  58. package/dist/es/history.js +127 -0
  59. package/dist/es/index.js +24 -0
  60. package/dist/es/jqueryThrottleDebounce.js +46 -0
  61. package/dist/es/kendo-jquery.js +1 -0
  62. package/dist/es/mainMenu.js +319 -0
  63. package/dist/es/mem-storage.js +40 -0
  64. package/dist/es/pagesArea.js +618 -0
  65. package/dist/es/parameterValidators.js +160 -0
  66. package/dist/es/parameters.js +916 -0
  67. package/dist/es/parametersArea.js +482 -0
  68. package/dist/es/perspectives.js +134 -0
  69. package/dist/es/print.js +161 -0
  70. package/dist/es/report-viewer/report-viewer-settings.js +134 -0
  71. package/dist/es/reportViewer.js +661 -0
  72. package/dist/es/scroll.js +531 -0
  73. package/dist/es/search.js +580 -0
  74. package/dist/es/sendEmail.js +388 -0
  75. package/dist/es/service-client-sentinel.js +48 -0
  76. package/dist/es/serviceClient.js +307 -0
  77. package/dist/es/sideMenu.js +212 -0
  78. package/dist/es/sr.js +162 -0
  79. package/dist/es/stringResources.js +7 -0
  80. package/dist/es/telerikReportViewer.kendo.js +60194 -0
  81. package/dist/es/telerikReportViewer.kendo.min.js +19774 -0
  82. package/dist/es/template-cache.js +35 -0
  83. package/dist/es/toolbar/link-button.js +38 -0
  84. package/dist/es/toolbar/page-count-label.js +14 -0
  85. package/dist/es/toolbar/page-number-input.js +60 -0
  86. package/dist/es/touch.js +82 -0
  87. package/dist/es/uiController.js +138 -0
  88. package/dist/es/uiFreezeCoordinator.js +278 -0
  89. package/dist/es/utils.js +444 -0
  90. package/dist/font/font-icons.css +4 -4
  91. package/dist/font/font-icons.min.css +3 -3
  92. package/dist/js/telerikReportViewer.js +8346 -8507
  93. package/dist/js/telerikReportViewer.min.js +1 -17
  94. package/dist/js/telerikReportViewer.stringResources.js +166 -173
  95. package/dist/styles/telerikReportViewer.css +3 -3
  96. package/dist/styles/telerikReportViewer.min.css +3 -3
  97. package/dist/templates/telerikReportViewerTemplate-FA.html +4 -4
  98. package/dist/templates/telerikReportViewerTemplate.html +6 -6
  99. package/package.json +14 -7
  100. /package/dist/font/{ReportingIcons-18.0.24.305.ttf → ReportingIcons-18.1.24.709.ttf} +0 -0
@@ -0,0 +1,444 @@
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
+ }
172
+ return true;
173
+ }
174
+ if (array2 === null) {
175
+ return false;
176
+ }
177
+ if (array1.length !== array2.length) {
178
+ return false;
179
+ }
180
+ for (var j = array1.length - 1; j >= 0; j--) {
181
+ if (!areEqual(array1[j], array2[j])) {
182
+ return false;
183
+ }
184
+ }
185
+ return true;
186
+ }
187
+ function isSvgSupported() {
188
+ var matches = /Version\/(\d+.\d+.\d+) Safari/.exec(navigator.userAgent);
189
+ if (matches && matches.length > 1) {
190
+ var version = parseFloat(matches[1]);
191
+ return version >= 6;
192
+ }
193
+ return true;
194
+ }
195
+ function isInternalServerError(error) {
196
+ if (error) {
197
+ return replaceAll(error, " ", "").toLowerCase() === "internalservererror";
198
+ }
199
+ return false;
200
+ }
201
+ function isSystemArgumentException(xhr) {
202
+ var exceptionShortName = "ArgumentException";
203
+ var exceptionInstance = getExceptionInstance(xhr);
204
+ return isExceptionInstanceOfType(exceptionInstance, exceptionShortName, "System." + exceptionShortName);
205
+ }
206
+ function isInvalidClientException(xhr) {
207
+ var exceptionShortName = "InvalidClientException";
208
+ var exceptionInstance = getExceptionInstance(xhr);
209
+ return isExceptionInstanceOfType(exceptionInstance, exceptionShortName, "Telerik.Reporting.Services.Engine." + exceptionShortName);
210
+ }
211
+ function isApplicationException(xhr) {
212
+ return isApplicationExceptionInstance(getExceptionInstance(xhr));
213
+ }
214
+ function isApplicationExceptionInstance(exception) {
215
+ var exceptionShortName = "DrawingFactoryUnavailableException";
216
+ return isExceptionInstanceOfType(exception, exceptionShortName, "Telerik.Drawing.Contract." + exceptionShortName);
217
+ }
218
+ function isExceptionOfType(xhr, exceptionType) {
219
+ return isExceptionInstanceOfType(getExceptionInstance(xhr), exceptionType, exceptionType);
220
+ }
221
+ function isExceptionInstanceOfType(exceptionInstance, exceptionTypeShortName, exceptionTypeFullName) {
222
+ return exceptionInstance && exceptionInstance.exceptionType && exceptionTypeNamesMatch(exceptionInstance.exceptionType, exceptionTypeShortName, exceptionTypeFullName);
223
+ }
224
+ function exceptionTypeNamesMatch(instanceTypeName, exceptionTypeShortName, exceptionTypeFullName) {
225
+ return instanceTypeName && (instanceTypeName === exceptionTypeFullName || instanceTypeName.endsWith(exceptionTypeShortName));
226
+ }
227
+ function parseJSON(json) {
228
+ try {
229
+ return JSON.parse(
230
+ json,
231
+ function(key, value) {
232
+ if (key && value) {
233
+ var firstChar = key.charAt(0);
234
+ if (firstChar === firstChar.toUpperCase()) {
235
+ var newPropertyName = firstChar.toLowerCase() + key.slice(1);
236
+ this[newPropertyName] = value;
237
+ }
238
+ }
239
+ return value;
240
+ }
241
+ );
242
+ } catch (e) {
243
+ return null;
244
+ }
245
+ }
246
+ function getExceptionInstance(xhr) {
247
+ if (!xhr || !xhr.responseText) {
248
+ return false;
249
+ }
250
+ return parseJSON(xhr.responseText);
251
+ }
252
+ function extend() {
253
+ var copy;
254
+ var name;
255
+ var options;
256
+ var target;
257
+ var i = 0;
258
+ var length = arguments.length;
259
+ target = length > 1 ? arguments[i++] || {} : {};
260
+ for (; i < length; i++) {
261
+ if ((options = arguments[i]) != null) {
262
+ for (name in options) {
263
+ target[name];
264
+ copy = options[name];
265
+ if (target === copy) {
266
+ continue;
267
+ }
268
+ if (copy !== void 0) {
269
+ target[name] = copy;
270
+ }
271
+ }
272
+ }
273
+ }
274
+ return target;
275
+ }
276
+ function each(obj, callback) {
277
+ var length;
278
+ var i = 0;
279
+ if (isArray(obj)) {
280
+ length = obj.length;
281
+ for (; i < length; i++) {
282
+ if (callback.call(obj[i], i, obj[i]) === false) {
283
+ break;
284
+ }
285
+ }
286
+ } else {
287
+ for (i in obj) {
288
+ if (callback.call(obj[i], i, obj[i]) === false) {
289
+ break;
290
+ }
291
+ }
292
+ }
293
+ return obj;
294
+ }
295
+ function selector() {
296
+ return document.querySelectorAll(arguments[0]);
297
+ }
298
+ function isArray(obj) {
299
+ if (Array.isArray(obj))
300
+ return true;
301
+ var length = Boolean(obj) && "length" in obj && obj.length;
302
+ if (typeof length === "number") {
303
+ return true;
304
+ }
305
+ return false;
306
+ }
307
+ function loadScriptWithCallback(src, done, version) {
308
+ var js = document.createElement("script");
309
+ js.src = src;
310
+ js.onload = function() {
311
+ done(version);
312
+ };
313
+ js.onerror = function() {
314
+ logError(new Error("Failed to load script " + src));
315
+ };
316
+ document.head.appendChild(js);
317
+ }
318
+ function loadScript(url) {
319
+ var ajaxOptions = {
320
+ dataType: "script",
321
+ cache: true
322
+ };
323
+ return $ajax(url, ajaxOptions);
324
+ }
325
+ function filterUniqueLastOccurrence(array) {
326
+ function onlyLastUnique(value, index, self) {
327
+ return self.lastIndexOf(value) === index;
328
+ }
329
+ return array.filter(onlyLastUnique);
330
+ }
331
+ function logError(error) {
332
+ var console = window.console;
333
+ if (console && console.error) {
334
+ console.error(error);
335
+ }
336
+ }
337
+ function findElement(selectorChain) {
338
+ if (selectorChain.constructor != Array) {
339
+ selectorChain = [selectorChain];
340
+ }
341
+ var $area = $(selectorChain[0]);
342
+ for (var i = 1; i < selectorChain.length; i++) {
343
+ $area = $area.find(selectorChain[i]);
344
+ }
345
+ return $area;
346
+ }
347
+ function toRgbColor(hexColor) {
348
+ if (hexColor && hexColor.length < 6) {
349
+ var index = 1;
350
+ var hexParts = hexColor.split("");
351
+ if (hexParts[0] !== "#") {
352
+ index = 0;
353
+ }
354
+ for (index; index < hexParts.length; index++) {
355
+ hexParts[index] = hexParts[index] + hexParts[index];
356
+ }
357
+ hexColor = hexParts.join("");
358
+ }
359
+ var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hexColor);
360
+ return result ? parseInt(result[1], 16) + ", " + parseInt(result[2], 16) + ", " + parseInt(result[3], 16) : null;
361
+ }
362
+ function isRgbColor(color) {
363
+ if (!color) {
364
+ return false;
365
+ }
366
+ return color.indexOf(",") > -1 ? true : false;
367
+ }
368
+ function getColorAlphaValue(color) {
369
+ if (color.toLowerCase() === "transparent") {
370
+ return 0;
371
+ }
372
+ if (!isRgbColor(color)) {
373
+ return 1;
374
+ }
375
+ if (color.indexOf("#") !== -1) {
376
+ color = toRgbColor(color);
377
+ }
378
+ var colorComponents = color.split(",").map(function(c) {
379
+ return c.trim();
380
+ });
381
+ var alpha = colorComponents.length === 4 ? parseFloat((parseFloat(colorComponents[3].replace(/[()]/g, "")) / 255).toFixed(2)) : 1;
382
+ return alpha;
383
+ }
384
+ function $ajax(url, ajaxSettings) {
385
+ return new Promise(function(resolve, reject) {
386
+ $.ajax(url, ajaxSettings).done(function(data) {
387
+ return resolve(data);
388
+ }).fail(function(xhr, status, error) {
389
+ reject(toXhrErrorData(xhr, status, error));
390
+ });
391
+ });
392
+ }
393
+ function type(obj) {
394
+ return Object.prototype.toString.call(obj).slice(8, -1);
395
+ }
396
+ function isEqual(a, b) {
397
+ if (a === b) {
398
+ return true;
399
+ }
400
+ if (a !== a && b !== b) {
401
+ return true;
402
+ }
403
+ if (a !== a && b === b || a === a && b !== b) {
404
+ return false;
405
+ }
406
+ const typeA = type(a);
407
+ const typeB = type(b);
408
+ if (typeA !== typeB) {
409
+ return false;
410
+ }
411
+ if (typeA === "Array") {
412
+ if (a.length !== b.length) {
413
+ return false;
414
+ }
415
+ const length = a.length;
416
+ for (let i = 0; i < length; i++) {
417
+ if (!isEqual(a[i], b[i])) {
418
+ return false;
419
+ }
420
+ }
421
+ return true;
422
+ }
423
+ if (typeA === "Object") {
424
+ const keysA = Object.keys(a);
425
+ const keysB = Object.keys(b);
426
+ if (keysA.length !== keysB.length) {
427
+ return false;
428
+ }
429
+ const length = keysA.length;
430
+ for (let i = 0; i < length; i++) {
431
+ const key = keysA[i];
432
+ if (!isEqual(a[key], b[key])) {
433
+ return false;
434
+ }
435
+ }
436
+ return true;
437
+ }
438
+ if (typeA === "Date") {
439
+ return a.getTime() === b.getTime();
440
+ }
441
+ return false;
442
+ }
443
+
444
+ export { $ajax, adjustTimezone, areEqual, areEqualArrays, each, escapeHtml, exceptionTypeNamesMatch, extend, filterUniqueLastOccurrence, 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.305 (https://www.telerik.com/products/reporting.aspx)
2
+ * TelerikReporting v18.1.24.709 (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.305.ttf/") format("truetype");
13
+ src: url("../ReportingIcons-18.1.24.709.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.305.ttf/") format("truetype");
20
+ src: url("../ReportingIcons-18.1.24.709.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 bbabfc82399c6c274f921a1aff06a8e9 */
4452
+ /* DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM ea50b677c266c4c95ae9fdfac554efbb */