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

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.
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,164 @@
1
+ import { each } from './utils.js';
2
+ import { stringResources } from './stringResources.js';
3
+ import { DocumentMapAreaPositions } from './enums.js';
4
+ import { GlobalSettings } from './globalSettings.js';
5
+
6
+ var defaultOptions = {};
7
+ function DocumentMapArea(placeholder, options, otherOptions) {
8
+ options = $.extend({}, defaultOptions, options, otherOptions);
9
+ var controller = options.controller;
10
+ if (!controller) {
11
+ throw "No controller (telerikReporting.reportViewerController) has been specified.";
12
+ }
13
+ var $placeholder = $(placeholder);
14
+ var $documentMap;
15
+ var documentMapVisible = options.documentMapVisible !== false;
16
+ var enableAccessibility = options.enableAccessibility;
17
+ var currentReport = null;
18
+ var documentMapNecessary = false;
19
+ init();
20
+ function init() {
21
+ $documentMap = $('<div id="' + options.viewerSelector + '-documentMap"></div>');
22
+ $documentMap.appendTo(placeholder);
23
+ attach();
24
+ replaceStringResources($placeholder);
25
+ }
26
+ function onTreeViewSelectionChanged(e) {
27
+ var documentMapNode = this.dataItem(e.node);
28
+ var page = documentMapNode.page;
29
+ var id = documentMapNode.id;
30
+ controller.navigateToPage(page, {
31
+ type: "bookmark",
32
+ id
33
+ });
34
+ }
35
+ function onTreeViewNodeExpand(e) {
36
+ if (enableAccessibility) {
37
+ window.setTimeout(function() {
38
+ setNodeAccessibilityAttributes(e.node);
39
+ }, 100);
40
+ }
41
+ }
42
+ function setNodeAccessibilityAttributes(node) {
43
+ var $items = $(node).find("li");
44
+ each($items, function() {
45
+ var $li = $(this);
46
+ $li.attr("aria-label", $li[0].innerText);
47
+ });
48
+ }
49
+ function clearDocumentMap() {
50
+ displayDocumentMap([]);
51
+ }
52
+ function displayDocumentMap(documentMap) {
53
+ var hasDocumentMap = documentMap && !$.isEmptyObject(documentMap);
54
+ var $treeView = $documentMap.data("kendoTreeView");
55
+ if (!$treeView) {
56
+ try {
57
+ $documentMap.kendoTreeView({
58
+ dataTextField: "text",
59
+ select: onTreeViewSelectionChanged
60
+ });
61
+ $treeView = $documentMap.data("kendoTreeView");
62
+ } catch (e) {
63
+ console.error("Instantiation of Kendo TreeView as Document Map threw an exception", e);
64
+ throw e;
65
+ }
66
+ }
67
+ $treeView.setDataSource(documentMap);
68
+ if (enableAccessibility) {
69
+ setAccessibilityAttributes($treeView);
70
+ }
71
+ showDocumentMap(hasDocumentMap);
72
+ }
73
+ function setAccessibilityAttributes(treeView) {
74
+ treeView.bind("expand", onTreeViewNodeExpand);
75
+ treeView.element.attr("aria-label", stringResources.ariaLabelDocumentMap);
76
+ var listItems = treeView.element.find("ul");
77
+ each(listItems, function() {
78
+ setNodeAccessibilityAttributes(this);
79
+ });
80
+ if (documentMapNecessary) {
81
+ setSplitbarAccessibilityAttributes();
82
+ }
83
+ }
84
+ function setSplitbarAccessibilityAttributes() {
85
+ var splitbar = $placeholder.next();
86
+ if (options.documentMapAreaPosition === DocumentMapAreaPositions.RIGHT) {
87
+ splitbar = $placeholder.prev();
88
+ }
89
+ splitbar.attr("aria-label", stringResources.ariaLabelDocumentMapSplitter);
90
+ }
91
+ function isVisible() {
92
+ var args = {};
93
+ controller.getDocumentMapState(args);
94
+ return args.visible;
95
+ }
96
+ function beginLoad() {
97
+ $placeholder.addClass("trv-loading");
98
+ }
99
+ function endLoad() {
100
+ $placeholder.removeClass("trv-loading");
101
+ }
102
+ function showDocumentMap(show) {
103
+ var splitter = GlobalSettings.viewerInstances.find((element) => element.id === options.viewerSelector + "-document-map-splitter").instance;
104
+ var sibling = $placeholder.next();
105
+ if (options.documentMapAreaPosition === DocumentMapAreaPositions.RIGHT) {
106
+ sibling = $placeholder.prev();
107
+ }
108
+ if (splitter) {
109
+ (documentMapNecessary ? $.fn.removeClass : $.fn.addClass).call(sibling, "trv-hidden");
110
+ splitter.toggle(".trv-document-map", show);
111
+ }
112
+ }
113
+ function attach() {
114
+ controller.beginLoadReport(function() {
115
+ beginLoad();
116
+ var r = controller.getReportSource().report;
117
+ var clearMapItems = currentReport !== r || !isVisible();
118
+ currentReport = r;
119
+ if (clearMapItems) {
120
+ clearDocumentMap();
121
+ }
122
+ }).reportLoadComplete(function(event, args) {
123
+ if (args.documentMapAvailable) {
124
+ documentMapNecessary = true;
125
+ displayDocumentMap(args.documentMapNodes);
126
+ controller.setDocumentMapVisible({ enabled: true, visible: documentMapVisible });
127
+ } else {
128
+ documentMapNecessary = false;
129
+ showDocumentMap(documentMapNecessary);
130
+ }
131
+ endLoad();
132
+ }).error(function(event, error) {
133
+ endLoad();
134
+ clearDocumentMap();
135
+ }).renderingStopped(function() {
136
+ documentMapNecessary = false;
137
+ showDocumentMap(false);
138
+ });
139
+ controller.setDocumentMapVisible(function(event, args) {
140
+ documentMapVisible = args.visible;
141
+ showDocumentMap(documentMapVisible && documentMapNecessary);
142
+ }).getDocumentMapState(function(event, args) {
143
+ args.enabled = documentMapNecessary;
144
+ args.visible = documentMapVisible;
145
+ });
146
+ }
147
+ function replaceStringResources($documentMap2) {
148
+ var $documentMapOverlay = $documentMap2.find(".trv-document-map-overlay");
149
+ if (!$documentMapOverlay) {
150
+ return;
151
+ }
152
+ $documentMapOverlay.attr("aria-label", stringResources[$documentMapOverlay.attr("aria-label")]);
153
+ }
154
+ }
155
+ var pluginName = "telerik_ReportViewer_DocumentMapArea";
156
+ $.fn[pluginName] = function(options, otherOptions) {
157
+ return each(this, function() {
158
+ if (!$.data(this, pluginName)) {
159
+ $.data(this, pluginName, new DocumentMapArea(this, options, otherOptions));
160
+ }
161
+ });
162
+ };
163
+
164
+ export { DocumentMapArea };
@@ -0,0 +1,43 @@
1
+ import { stringFormat } from './utils.js';
2
+
3
+ function toPixels(value) {
4
+ return parseInt(value, 10) || 0;
5
+ }
6
+ function getMargins(dom) {
7
+ var $target = $(dom);
8
+ return {
9
+ left: toPixels($target.css("marginLeft")),
10
+ right: toPixels($target.css("marginRight")),
11
+ top: toPixels($target.css("marginTop")),
12
+ bottom: toPixels($target.css("marginBottom"))
13
+ };
14
+ }
15
+ function getPadding(dom) {
16
+ var $target = $(dom);
17
+ return {
18
+ left: toPixels($target.css("paddingLeft")),
19
+ right: toPixels($target.css("paddingRight")),
20
+ top: toPixels($target.css("paddingTop")),
21
+ bottom: toPixels($target.css("paddingBottom"))
22
+ };
23
+ }
24
+ function getBorderWidth(dom) {
25
+ var $target = $(dom);
26
+ return {
27
+ left: toPixels($target.css("borderLeftWidth")),
28
+ right: toPixels($target.css("borderRightWidth")),
29
+ top: toPixels($target.css("borderTopWidth")),
30
+ bottom: toPixels($target.css("borderBottomWidth"))
31
+ };
32
+ }
33
+ function scale(dom, scaleX, scaleY, originX, originY) {
34
+ scaleX = scaleX || 1;
35
+ scaleY = scaleY || 1;
36
+ originX = originX || 0;
37
+ originY = originY || 0;
38
+ var scale2 = stringFormat("scale({0}, {1})", [scaleX, scaleY]);
39
+ var origin = stringFormat("{0} {1}", [originX, originY]);
40
+ $(dom).css("transform", scale2).css("transform-origin", origin);
41
+ }
42
+
43
+ export { getBorderWidth, getMargins, getPadding, scale };
@@ -0,0 +1,41 @@
1
+ const ViewModes = {
2
+ INTERACTIVE: "INTERACTIVE",
3
+ PRINT_PREVIEW: "PRINT_PREVIEW"
4
+ };
5
+ const PrintModes = {
6
+ AUTO_SELECT: "AUTO_SELECT",
7
+ FORCE_PDF_PLUGIN: "FORCE_PDF_PLUGIN",
8
+ FORCE_PDF_FILE: "FORCE_PDF_FILE"
9
+ };
10
+ const PageModes = {
11
+ SINGLE_PAGE: "SINGLE_PAGE",
12
+ CONTINUOUS_SCROLL: "CONTINUOUS_SCROLL"
13
+ };
14
+ const ScaleModes = {
15
+ FIT_PAGE_WIDTH: "FIT_PAGE_WIDTH",
16
+ FIT_PAGE: "FIT_PAGE",
17
+ SPECIFIC: "SPECIFIC"
18
+ };
19
+ const ParameterTypes = {
20
+ INTEGER: "System.Int64",
21
+ FLOAT: "System.Double",
22
+ STRING: "System.String",
23
+ DATETIME: "System.DateTime",
24
+ BOOLEAN: "System.Boolean"
25
+ };
26
+ const ParameterEditorTypes = {
27
+ COMBO_BOX: "COMBO_BOX",
28
+ LIST_VIEW: "LIST_VIEW"
29
+ };
30
+ const ParametersAreaPositions = {
31
+ RIGHT: "RIGHT",
32
+ LEFT: "LEFT",
33
+ TOP: "TOP",
34
+ BOTTOM: "BOTTOM"
35
+ };
36
+ const DocumentMapAreaPositions = {
37
+ RIGHT: "RIGHT",
38
+ LEFT: "LEFT"
39
+ };
40
+
41
+ export { DocumentMapAreaPositions, PageModes, ParameterEditorTypes, ParameterTypes, ParametersAreaPositions, PrintModes, ScaleModes, ViewModes };
@@ -0,0 +1,13 @@
1
+ function EventEmitter() {
2
+ var _emitter = $({});
3
+ return {
4
+ on: function(eventName, handler) {
5
+ _emitter.on(eventName, handler);
6
+ },
7
+ trigger: function(eventName, ...args) {
8
+ _emitter.trigger(eventName, ...args);
9
+ }
10
+ };
11
+ }
12
+
13
+ export { EventEmitter };
@@ -0,0 +1,19 @@
1
+ const Events = {
2
+ EXPORT_BEGIN: "EXPORT_BEGIN",
3
+ EXPORT_END: "EXPORT_END",
4
+ PRINT_BEGIN: "PRINT_BEGIN",
5
+ PRINT_END: "PRINT_END",
6
+ RENDERING_BEGIN: "RENDERING_BEGIN",
7
+ RENDERING_END: "RENDERING_END",
8
+ PAGE_READY: "PAGE_READY",
9
+ ERROR: "ERROR",
10
+ UPDATE_UI: "UPDATE_UI",
11
+ INTERACTIVE_ACTION_EXECUTING: "INTERACTIVE_ACTION_EXECUTING",
12
+ INTERACTIVE_ACTION_ENTER: "INTERACTIVE_ACTION_ENTER",
13
+ INTERACTIVE_ACTION_LEAVE: "INTERACTIVE_ACTION_LEAVE",
14
+ VIEWER_TOOLTIP_OPENING: "VIEWER_TOOLTIP_OPENING",
15
+ SEND_EMAIL_BEGIN: "SEND_EMAIL_BEGIN",
16
+ SEND_EMAIL_END: "SEND_EMAIL_END"
17
+ };
18
+
19
+ export { Events };
@@ -0,0 +1,5 @@
1
+ const GlobalSettings = {
2
+ viewerInstances: []
3
+ };
4
+
5
+ export { GlobalSettings };
@@ -0,0 +1,127 @@
1
+ import { reportSourcesAreEqual } from './utils.js';
2
+
3
+ function HistoryManager(options) {
4
+ var controller = options.controller;
5
+ if (!controller) {
6
+ throw "No controller (telerikReporting.reportViewerController) has been specified.";
7
+ }
8
+ var settings = options.settings;
9
+ var history = settings.getHistory() || { records: [], position: -1 };
10
+ controller.loadedReportChange(function() {
11
+ addToHistory(true);
12
+ }).currentPageChanged(function() {
13
+ updatePageInfo();
14
+ }).reportLoadComplete(function(event, args) {
15
+ addToHistory(false);
16
+ }).clientExpired(function() {
17
+ var records = history.records;
18
+ for (var i = 0; i < records.length; i++) {
19
+ records[i].reportDocumentId = null;
20
+ }
21
+ });
22
+ function getCurrentRecord() {
23
+ var records = history.records;
24
+ if (records.length > 0) {
25
+ return records[history.position];
26
+ }
27
+ return null;
28
+ }
29
+ function pushRecord(rec) {
30
+ var records = history.records;
31
+ var position = history.position;
32
+ records = Array.prototype.slice.call(records, 0, position + 1);
33
+ records.push(rec);
34
+ history.records = records;
35
+ history.position = records.length - 1;
36
+ saveSettings();
37
+ }
38
+ function saveSettings() {
39
+ settings.setHistory(history);
40
+ }
41
+ function updatePageInfo() {
42
+ var currentRecord = getCurrentRecord();
43
+ if (currentRecord) {
44
+ currentRecord.pageNumber = controller.getCurrentPageNumber();
45
+ currentRecord.viewMode = controller.getViewMode();
46
+ currentRecord.reportDocumentId = controller.getReportDocumentId();
47
+ saveSettings();
48
+ }
49
+ }
50
+ function addToHistory(temp) {
51
+ removeTempRecordsFromHistory();
52
+ var currentRecord = getCurrentRecord();
53
+ var rs = controller.getReportSource();
54
+ if (!currentRecord || !reportSourcesAreEqual(currentRecord.reportSource, rs)) {
55
+ pushRecord({
56
+ reportSource: rs,
57
+ pageNumber: 1,
58
+ temp
59
+ });
60
+ }
61
+ }
62
+ function exec(currentRecord) {
63
+ controller.setReportDocumentId(currentRecord.reportDocumentId);
64
+ controller.setViewMode(currentRecord.viewMode);
65
+ controller.setReportSource(currentRecord.reportSource);
66
+ controller.refreshReport(false, currentRecord.reportDocumentId);
67
+ controller.navigateToPage(currentRecord.pageNumber);
68
+ }
69
+ function canMove(step) {
70
+ var position = history.position;
71
+ var length = history.records.length;
72
+ var newPos = position + step;
73
+ return 0 <= newPos && newPos < length;
74
+ }
75
+ function move(step) {
76
+ var position = history.position;
77
+ var length = history.records.length;
78
+ var newPos = position + step;
79
+ if (newPos < 0) {
80
+ newPos = 0;
81
+ } else if (newPos >= length) {
82
+ newPos = length - 1;
83
+ }
84
+ if (newPos != position) {
85
+ history.position = newPos;
86
+ saveSettings();
87
+ exec(getCurrentRecord());
88
+ }
89
+ }
90
+ function removeTempRecordsFromHistory() {
91
+ var lastIndex = history.records.length - 1;
92
+ while (lastIndex >= 0) {
93
+ if (history.records[lastIndex].temp === true) {
94
+ history.records.splice(lastIndex, 1);
95
+ if (history.position >= lastIndex) {
96
+ history.position--;
97
+ }
98
+ } else {
99
+ break;
100
+ }
101
+ lastIndex--;
102
+ }
103
+ }
104
+ return {
105
+ back: function() {
106
+ move(-1);
107
+ },
108
+ forward: function() {
109
+ move(1);
110
+ },
111
+ canMoveBack: function() {
112
+ return canMove(-1);
113
+ },
114
+ canMoveForward: function() {
115
+ return canMove(1);
116
+ },
117
+ loadCurrent: function() {
118
+ var rec = getCurrentRecord();
119
+ if (rec) {
120
+ exec(rec);
121
+ }
122
+ return Boolean(rec);
123
+ }
124
+ };
125
+ }
126
+
127
+ export { HistoryManager };
@@ -0,0 +1,24 @@
1
+ import * as domUtils from './domUtils.js';
2
+ export { domUtils };
3
+ import * as utils from './utils.js';
4
+ export { utils };
5
+ export { Accessibility } from './accessibility.js';
6
+ export { Binder } from './binder.js';
7
+ export { CommandSet } from './commandSet.js';
8
+ export { ReportViewerController } from './controller.js';
9
+ export { DocumentMapAreaPositions, PageModes, ParameterEditorTypes, ParameterTypes, ParametersAreaPositions, PrintModes, ScaleModes, ViewModes } from './enums.js';
10
+ export { Events } from './events.js';
11
+ export { GlobalSettings } from './globalSettings.js';
12
+ export { HistoryManager } from './history.js';
13
+ export { PagesArea } from './pagesArea.js';
14
+ export { ParameterEditors, parameterEditorsMatch } from './parameters.js';
15
+ export { ParameterValidators } from './parameterValidators.js';
16
+ export { PerspectiveManager } from './perspectives.js';
17
+ export { PrintManager } from './print.js';
18
+ export { ReportViewer } from './reportViewer.js';
19
+ export { Scroll } from './scroll.js';
20
+ export { ServiceClient } from './serviceClient.js';
21
+ import './sr.js';
22
+ export { TouchBehavior } from './touch.js';
23
+ export { UIController } from './uiController.js';
24
+ export { UIFreezeCoordinator } from './uiFreezeCoordinator.js';
@@ -0,0 +1,46 @@
1
+ /*!
2
+ * jQuery throttle / debounce - v1.1 - 3/7/2010
3
+ * http://benalman.com/projects/jquery-throttle-debounce-plugin/
4
+ *
5
+ * Copyright (c) 2010 "Cowboy" Ben Alman
6
+ * Dual licensed under the MIT and GPL licenses.
7
+ * http://benalman.com/about/license/
8
+ */
9
+ (function(window2, undefined$1) {
10
+ "$:nomunge";
11
+ var $ = window2.Cowboy || (window2.Cowboy = {}), jq_throttle;
12
+ $.throttle = jq_throttle = function(delay, no_trailing, callback, debounce_mode) {
13
+ var timeout_id, last_exec = 0;
14
+ if (typeof no_trailing !== "boolean") {
15
+ debounce_mode = callback;
16
+ callback = no_trailing;
17
+ no_trailing = undefined$1;
18
+ }
19
+ function wrapper() {
20
+ var that = this, elapsed = +/* @__PURE__ */ new Date() - last_exec, args = arguments;
21
+ function exec() {
22
+ last_exec = +/* @__PURE__ */ new Date();
23
+ callback.apply(that, args);
24
+ }
25
+ function clear() {
26
+ timeout_id = undefined$1;
27
+ }
28
+ if (debounce_mode && !timeout_id) {
29
+ exec();
30
+ }
31
+ timeout_id && clearTimeout(timeout_id);
32
+ if (debounce_mode === undefined$1 && elapsed > delay) {
33
+ exec();
34
+ } else if (no_trailing !== true) {
35
+ timeout_id = setTimeout(debounce_mode ? clear : exec, debounce_mode === undefined$1 ? delay - elapsed : delay);
36
+ }
37
+ }
38
+ if ($.guid) {
39
+ wrapper.guid = callback.guid = callback.guid || $.guid++;
40
+ }
41
+ return wrapper;
42
+ };
43
+ $.debounce = function(delay, at_begin, callback) {
44
+ return callback === undefined$1 ? jq_throttle(delay, at_begin, false) : jq_throttle(delay, callback, at_begin !== false);
45
+ };
46
+ })(window);
@@ -0,0 +1 @@
1
+ import 'kendo-ui-core/esm/kendo.ui.core';