@progress/telerik-react-report-viewer 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,343 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html xmlns="http://www.w3.org/1999/xhtml">
4
+ <head>
5
+ <title>Telerik HTML5 Report Viewer Templates</title>
6
+
7
+ <!--Telerik served resources. For more information see: http://docs.telerik.com/reporting/html5-report-viewer-styling-and-appearance -->
8
+ <link href="{service}resources/font/fonticons-16.0.21.1213.css/" rel="stylesheet" />
9
+ <link href="{service}resources/styles/telerikReportViewer-16.0.21.1213.css/" rel="stylesheet" />
10
+
11
+ <script type="text/javascript">
12
+ //IE9 fix
13
+ if (document.documentMode && document.documentMode < 10) {
14
+ $(".trv-content")[0].style.top = $(".trv-nav").height() + "px";
15
+ }
16
+ </script>
17
+ </head>
18
+ <body>
19
+ <template id="trv-parameter">
20
+ <div class='trv-parameter-container k-content'>
21
+ <div class='trv-parameter-header k-header'>
22
+ <div class='trv-parameter-title'></div>
23
+ </div>
24
+ <div class='trv-parameter-error k-tooltip-validation k-widget'>
25
+ <span class='t-font-icon k-icon k-warning'></span>
26
+ <span class='trv-parameter-error-message'></span>
27
+ </div>
28
+ <div class='trv-parameter-value'></div>
29
+ </div>
30
+ </template>
31
+
32
+ <template id="trv-parameter-editor-available-values-multiselect">
33
+ <div class="trv-parameter-editor-available-values-multiselect">
34
+ <div class="trv-parameter-actions k-content">
35
+ <a class="trv-select-all k-link" href="#">parameterEditorSelectAll</a>
36
+ <a tabindex="-1" class="trv-select-none k-link" href="#">parameterEditorSelectNone</a>
37
+ </div>
38
+ <div class="trv-list"></div>
39
+ </div>
40
+ </template>
41
+
42
+ <template id="trv-parameter-editor-available-values-multiselect-combo">
43
+ <div class="trv-parameter-editor-available-values-multiselect">
44
+ <div class="trv-parameter-actions k-content">
45
+ <a class="trv-select-all k-link" href="#">parameterEditorSelectAll</a>
46
+ <a tabindex="-1" class="trv-select-none k-link" href="#">parameterEditorSelectNone</a>
47
+ </div>
48
+ <div class="trv-combo"></div>
49
+ </div>
50
+ </template>
51
+
52
+ <template id="trv-parameter-editor-available-values">
53
+ <div class="trv-parameter-editor-available-values">
54
+ <div class="trv-parameter-actions k-content">
55
+ <a tabindex="-1" class="trv-select-none k-link" href="#">parameterEditorSelectNone</a>
56
+ </div>
57
+ <div class="trv-list" id="trv-parameter-editor-singleselect-list"></div>
58
+ </div>
59
+ </template>
60
+
61
+ <template id="trv-parameter-editor-available-values-combo">
62
+ <div class="trv-parameter-editor-available-values">
63
+ <div class="trv-parameter-actions k-content">
64
+ <a tabindex="-1" class="trv-select-none k-link" href="#">parameterEditorSelectNone</a>
65
+ </div>
66
+ <div class="trv-combo" id="trv-parameter-editor-singleselect-combo"></div>
67
+ </div>
68
+ </template>
69
+
70
+ <template id="trv-parameter-editor-datetime">
71
+ <input type="datetime" class="trv-parameter-editor-datetime" />
72
+ </template>
73
+
74
+ <template id="trv-parameter-editor-text">
75
+ <input type="text" class="k-textbox trv-parameter-editor-text" />
76
+ </template>
77
+
78
+ <template id="trv-parameter-editor-number">
79
+ <input type="number" step="any" class="k-textbox trv-parameter-editor-number" />
80
+ </template>
81
+
82
+ <template id="trv-parameter-editor-boolean">
83
+ <input type="checkbox" class="trv-parameter-editor-boolean" />
84
+ </template>
85
+
86
+ <template id="trv-parameter-editor-multivalue">
87
+ <div class="trv-parameter-editor-multivalue">
88
+ <textarea class="k-textbox"></textarea>
89
+ </div>
90
+ </template>
91
+
92
+ <template id="trv-report-viewer">
93
+ <div class="trv-report-viewer">
94
+ <div tabindex="3" class="trv-side-menu k-content" data-role="telerik_ReportViewer_SideMenu">
95
+ <ul tabindex="3" aria-label="ariaLabelSideMenu">
96
+ <li aria-label="ariaLabelMenuNavigateBackward"><a data-command="telerik_ReportViewer_historyBack" title="menuNavigateBackwardTitle" href="#"><i class="t-font-icon k-icon t-i-undo"></i><span>menuNavigateBackwardText</span></a></li>
97
+ <li aria-label="ariaLabelMenuNavigateForward"><a data-command="telerik_ReportViewer_historyForward" title="menuNavigateForwardTitle" href="#"><i class="t-font-icon k-icon t-i-redo"></i><span>menuNavigateForwardText</span></a></li>
98
+ <li aria-label="ariaLabelMenuStopRendering"><a data-command="telerik_ReportViewer_stopRendering" href="#" title="menuStopRenderingTitle"><i class="t-font-icon k-icon t-i-stop-rendering"></i><span>menuStopRenderingText</span></a></li>
99
+ <li aria-label="ariaLabelMenuRefresh"><a data-command="telerik_ReportViewer_refresh" href="#" title="menuRefreshTitle"><i class="t-font-icon k-icon t-i-refresh-a"></i><span>menuRefreshText</span></a></li>
100
+ <li aria-label="ariaLabelMenuFirstPage"><a data-command="telerik_ReportViewer_goToFirstPage" title="menuFirstPageTitle" href="#"><i class="t-font-icon k-icon t-i-arrow-double-60-w"></i><span>menuFirstPageText</span></a></li>
101
+ <li aria-label="ariaLabelMenuLastPage"><a data-command="telerik_ReportViewer_goToLastPage" title="menuLastPageTitle" href="#"><i class="t-font-icon k-icon t-i-arrow-double-60-e"></i><span>menuLastPageText</span></a></li>
102
+ <li aria-label="ariaLabelMenuPrint"><a data-command="telerik_ReportViewer_print" title="menuPrintTitle" href="#"><i class="t-font-icon k-icon t-i-print"></i><span>menuPrintText</span></a></li>
103
+ <li aria-label="ariaLabelMenuSendMail"><a data-command="telerik_ReportViewer_toggleSendEmailDialog" title="menuSendMailTitle" href="#"><i class="t-font-icon k-icon t-i-email"></i><span>menuSendMailText</span></a></li>
104
+ <li aria-label="ariaLabelMenuExport" id="trv-side-menu-export-command">
105
+ <a title="menuExportTitle" href="#" data-command="telerik_ReportViewer_export">
106
+ <i class="t-font-icon k-icon t-i-download"></i>
107
+ <span>menuExportText</span>
108
+ </a>
109
+ <ul data-command-list="export-format-list"></ul>
110
+ </li>
111
+ <li aria-label="ariaLabelMenuPrintPreview"><a data-command="telerik_ReportViewer_togglePrintPreview" title="menuPrintPreviewTitle" href="#"><i class="t-font-icon k-icon t-i-file"></i><span>menuPrintPreviewText</span></a></li>
112
+ <li aria-label="ariaLabelMenuSearch"><a data-command="telerik_ReportViewer_toggleSearchDialog" title="menuSearchTitle" href="#"><i class="t-font-icon k-icon t-i-search"></i><span>menuSearchText</span></a></li>
113
+ </ul>
114
+ </div>
115
+ <div class="trv-content-wrapper k-content">
116
+ <div class="trv-nav k-widget">
117
+ <ul tabindex="1" aria-label="ariaLabelMainMenu" class="trv-menu-large" data-role="telerik_ReportViewer_MainMenu">
118
+ <li aria-label="ariaLabelMenuNavigateBackward"><a data-command="telerik_ReportViewer_historyBack" title="menuNavigateBackwardTitle" href="#"><i class="t-font-icon k-icon t-i-undo"></i></a></li>
119
+ <li aria-label="ariaLabelMenuNavigateForward"><a data-command="telerik_ReportViewer_historyForward" title="menuNavigateForwardTitle" href="#"><i class="t-font-icon k-icon t-i-redo"></i></a></li>
120
+
121
+ <li aria-label="ariaLabelMenuStopRendering"><a data-command="telerik_ReportViewer_stopRendering" title="menuStopRenderingTitle" href="#"><i class="t-font-icon k-icon t-i-stop-rendering"></i></a></li>
122
+ <li aria-label="ariaLabelMenuRefresh"><a data-command="telerik_ReportViewer_refresh" href="#" title="menuRefreshTitle"><i class="t-font-icon k-icon t-i-refresh-a"></i></a></li>
123
+
124
+ <li aria-label="ariaLabelMenuFirstPage"><a data-command="telerik_ReportViewer_goToFirstPage" title="menuFirstPageTitle" href="#"><i class="t-font-icon k-icon t-i-arrow-double-60-w"></i></a></li>
125
+ <li aria-label="ariaLabelMenuPreviousPage"><a data-command="telerik_ReportViewer_goToPrevPage" title="menuPreviousPageTitle" href="#"><i class="t-font-icon k-icon t-i-seek-w"></i></a></li>
126
+
127
+ <li aria-label="ariaLabelMenuPageNumber" title="menuPageNumberTitle" class="trv-report-pager">
128
+ <input class="k-textbox" data-role="telerik_ReportViewer_PageNumberInput" type="number" />
129
+ <span>&nbsp;/&nbsp;</span>
130
+ <span data-role="telerik_ReportViewer_PageCountLabel"></span>
131
+ </li>
132
+
133
+ <li aria-label="ariaLabelMenuNextPage"><a data-command="telerik_ReportViewer_goToNextPage" title="menuNextPageTitle" href="#"><i class="t-font-icon k-icon t-i-seek-e"></i></a></li>
134
+ <li aria-label="ariaLabelMenuLastPage"><a data-command="telerik_ReportViewer_goToLastPage" title="menuLastPageTitle" href="#"><i class="t-font-icon k-icon t-i-arrow-double-60-e"></i></a></li>
135
+
136
+ <li aria-label="ariaLabelMenuPrintPreview"><a data-command="telerik_ReportViewer_togglePrintPreview" title="menuPrintPreviewTitle" href="#"><i class="t-font-icon k-icon t-i-file"></i></a></li>
137
+
138
+ <li aria-label="ariaLabelMenuExport" id="trv-main-menu-export-command">
139
+ <a title="menuExportTitle" href="#" data-command="telerik_ReportViewer_export">
140
+ <i class="t-font-icon k-icon t-i-download"></i>&nbsp;</a>
141
+ <ul data-command-list="export-format-list" id="trv-main-menu-export-format-list"></ul>
142
+ </li>
143
+
144
+ <li aria-label="ariaLabelMenuPrint"><a data-command="telerik_ReportViewer_print" title="menuPrintTitle" href="#"><i class="t-font-icon k-icon t-i-print"></i></a></li>
145
+ <li aria-label="ariaLabelMenuSendMail"><a data-command="telerik_ReportViewer_toggleSendEmailDialog" title="menuSendMailTitle" href="#"><i class="t-font-icon k-icon t-i-email"></i></a></li>
146
+
147
+ <li aria-label="ariaLabelMenuDocumentMap"><a data-command="telerik_ReportViewer_toggleDocumentMap" title="menuDocumentMapTitle" href="#"><i class="t-font-icon k-icon t-i-book"></i></a></li>
148
+ <li aria-label="ariaLabelMenuParametersArea"><a data-command="telerik_ReportViewer_toggleParametersArea" title="menuParametersAreaTitle" href="#"><i class="t-font-icon k-icon t-i-filter"></i></a></li>
149
+
150
+ <li aria-label="ariaLabelMenuZoomIn"><a title="menuZoomInTitle" href="#" data-command="telerik_ReportViewer_zoomIn"><i class="t-font-icon k-icon t-i-zoom-in"></i></a></li>
151
+ <li aria-label="ariaLabelMenuZoomOut"><a title="menuZoomOutTitle" href="#" data-command="telerik_ReportViewer_zoomOut"><i class="t-font-icon k-icon t-i-zoom-out"></i></a></li>
152
+ <li aria-label="ariaLabelMenuPageState"><a title="menuPageStateTitle" href="#" data-command="telerik_ReportViewer_toggleZoomMode"><i class="t-font-icon k-icon t-i-zoom"></i></a></li>
153
+ <li aria-label="ariaLabelMenuSearch"><a title="menuSearchTitle" href="#" data-command="telerik_ReportViewer_toggleSearchDialog"><i class="t-font-icon k-icon t-i-search"></i></a></li>
154
+ </ul>
155
+ <ul tabindex="2" aria-label="ariaLabelCompactMenu" class="trv-menu-small" data-role="telerik_ReportViewer_MainMenu">
156
+ <li aria-label="ariaLabelMenuSideMenu"><a data-command="telerik_ReportViewer_toggleSideMenu" title="menuSideMenuTitle" href="#"><i class="t-font-icon k-icon t-i-reorder"></i></a></li>
157
+
158
+ <li aria-label="ariaLabelMenuPreviousPage"><a data-command="telerik_ReportViewer_goToPrevPage" title="menuPreviousPageTitle" href="#"><i class="t-font-icon k-icon t-i-seek-w"></i></a></li>
159
+ <li aria-label="ariaLabelMenuPageNumber" title="menuPageNumberTitle" class="trv-report-pager">
160
+ <input class="k-textbox" data-role="telerik_ReportViewer_PageNumberInput" type="number" />
161
+ <span>&nbsp;/&nbsp;</span>
162
+ <span data-role="telerik_ReportViewer_PageCountLabel"></span>
163
+ </li>
164
+ <li aria-label="ariaLabelMenuNextPage"><a data-command="telerik_ReportViewer_goToNextPage" title="menuNextPageTitle" href="#"><i class="t-font-icon k-icon t-i-seek-e"></i></a></li>
165
+
166
+ <li aria-label="ariaLabelMenuDocumentMap"><a data-command="telerik_ReportViewer_toggleDocumentMap" title="menuDocumentMapTitle" href="#"><i class="t-font-icon k-icon t-i-book"></i></a></li>
167
+ <li aria-label="ariaLabelMenuParametersArea"><a data-command="telerik_ReportViewer_toggleParametersArea" title="menuParametersAreaTitle" href="#"><i class="t-font-icon k-icon t-i-filter"></i></a></li>
168
+ </ul>
169
+ </div>
170
+
171
+ <div class="trv-content trv-parameters-splitter" role="form">
172
+
173
+ <div class="trv-content trv-document-map-splitter" role="form">
174
+ <div data-id="trv-document-map" class="trv-document-map k-widget" data-role="telerik_ReportViewer_DocumentMapArea">
175
+ <div tabindex="200" class="trv-document-map-overlay" role="navigation" aria-label="ariaLabelDocumentMap"></div>
176
+ </div>
177
+
178
+ <div data-id="trv-pages-area" class="trv-pages-area k-widget" tabindex="1000" data-role="telerik_ReportViewer_PagesArea" role="main" aria-label="ariaLabelPagesArea">
179
+ <div class='trv-page-container'>
180
+ <div class='trv-page-wrapper active'></div>
181
+ </div>
182
+ <div class='trv-error-pane'>
183
+ <div class="trv-centered k-tooltip-validation k-widget">
184
+ <div class='trv-error-message'></div>
185
+ </div>
186
+ <div style="clear: both;"></div>
187
+ </div>
188
+ </div>
189
+ </div>
190
+
191
+ <div data-id="trv-parameters-area" class="trv-parameters-area k-widget" data-role="telerik_ReportViewer_ParametersArea">
192
+ <div tabindex="300" class='trv-parameters-area-content' role="complementary"></div>
193
+ <div class='trv-parameters-area-footer'>
194
+ <button tabindex="399" aria-label="ariaLabelParametersAreaPreviewButton" class='k-button k-primary trv-parameters-area-preview-button'>parametersAreaPreviewButton</button>
195
+ </div>
196
+ <div class='trv-error-pane k-tooltip-validation k-widget'>
197
+ <div class='trv-error-message'></div>
198
+ </div>
199
+ <div class="trv-parameters-area-overlay"></div>
200
+ </div>
201
+ </div>
202
+
203
+ <div tabindex="400" class="trv-search-dialog k-widget trv-hidden" data-role="telerik_ReportViewer_SearchDialog" aria-label="ariaLabelSearchDialogArea">
204
+ <div class="trv-search-window trv-window">
205
+ <p data-role="telerik_ReportViewer_SearchDialog_CaptionLabel" class="trv-search-dialog-caption-label">searchDialogCaptionText</p>
206
+ <div class='trv-search-dialog-input-area' role="search">
207
+ <input class='trv-search-dialog-input-box' />
208
+ <ul class="trv-search-dialog-stopsearch-placeholder">
209
+ <li><a data-command="telerik_ReportViewer_searchDialog_StopSearch" title="searchDialogStopTitle" aria-label="ariaLabelSearchDialogStop" href="#"><i class="t-font-icon k-icon t-i-search-stop"></i></a></li>
210
+ </ul>
211
+ </div>
212
+ <ul aria-label="ariaLabelSearchDialogOptions" class="trv-search-dialog-search-options">
213
+ <li class="k-button">
214
+ <a data-command="telerik_ReportViewer_searchDialog_MatchCase" title="searchDialogMatchCaseTitle" aria-label="ariaLabelSearchDialogMatchCase" href="#">
215
+ <i class="t-font-icon k-icon t-i-search-match-case"></i>
216
+ </a>
217
+ </li>
218
+ <li class="k-button">
219
+ <a data-command="telerik_ReportViewer_searchDialog_MatchWholeWord" title="searchDialogMatchWholeWordTitle" aria-label="ariaLabelSearchDialogMatchWholeWord" href="#">
220
+ <i class="t-font-icon k-icon t-i-search-match-whole-word"></i>
221
+ </a>
222
+ </li>
223
+ <li class="k-button">
224
+ <a data-command="telerik_ReportViewer_searchDialog_UseRegex" title="searchDialogUseRegexTitle" aria-label="ariaLabelSearchDialogUseRegex" href="#">
225
+ <i class="t-font-icon k-icon t-i-search-use-regex"></i>
226
+ </a>
227
+ </li>
228
+ <li>
229
+ <i data-role="telerik_ReportViewer_SearchDialog_Error" class="t-font-icon k-icon t-i-search-error"></i>
230
+ </li>
231
+ </ul>
232
+ <div class="trv-search-dialog-results">
233
+ <span class="trv-search-dialog-results-label"></span>
234
+ <ul class="trv-search-dialog-navigational-buttons">
235
+ <li><a data-command="telerik_ReportViewer_searchDialog_NavigateUp" title="searchDialogNavigateUpTitle" aria-label="ariaLabelSearchDialogNavigateUp" href="#"><i class="t-font-icon k-icon t-i-search-navigate-up"></i></a></li>
236
+ <li><a data-command="telerik_ReportViewer_searchDialog_NavigateDown" title="searchDialogNavigateDownTitle" aria-label="ariaLabelSearchDialogNavigateDown" href="#"><i class="t-font-icon k-icon t-i-search-navigate-down"></i></a></li>
237
+ </ul>
238
+ </div>
239
+ <div class='trv-search-dialog-results-area' role="list">
240
+ </div>
241
+ </div>
242
+ </div>
243
+
244
+ <div tabindex="401" class="trv-send-email-dialog k-widget trv-hidden" data-role="telerik_ReportViewer_SendEmail" aria-label="ariaLabelSendEmailDialogArea">
245
+ <div class="trv-send-email-window trv-window">
246
+ <div class="trv-send-email-fields">
247
+ <div class="trv-send-email-labels">
248
+ <div class="trv-send-email-label">
249
+ <label for="from" class="trv-replace-string">sendEmailFromLabel</label>
250
+ </div>
251
+ <div class="trv-send-email-label">
252
+ <label for="to" class="trv-replace-string">sendEmailToLabel</label>
253
+ </div>
254
+ <div class="trv-send-email-label">
255
+ <label for="cc" class="trv-replace-string">sendEmailCCLabel</label>
256
+ </div>
257
+ <div class="trv-send-email-label">
258
+ <label for="subject" class="trv-replace-string">sendEmailSubjectLabel</label>
259
+ </div>
260
+ <div class="trv-send-email-label">
261
+ <label for="format" class="trv-replace-string">sendEmailFormatLabel</label>
262
+ </div>
263
+ </div>
264
+
265
+ <div class="trv-send-email-inputs">
266
+ <div class="trv-send-email-field">
267
+ <input name="from"
268
+ autofocus
269
+ class='k-textbox trv-input-box'
270
+ aria-label="ariaLabelSendEmailFrom"
271
+ data-required-msg="sendEmailValidationEmailRequired"
272
+ data-email-msg="sendEmailValidationEmailFormat"
273
+ data-single-email-msg="sendEmailValidationSingleEmail"
274
+ type="email" />
275
+ <span class="k-invalid-msg" data-for="from"></span>
276
+ </div>
277
+ <div class="trv-send-email-field">
278
+ <input name="to"
279
+ class='k-textbox trv-input-box'
280
+ aria-label="ariaLabelSendEmailTo"
281
+ data-required-msg="sendEmailValidationEmailRequired"
282
+ data-email-msg="sendEmailValidationEmailFormat"
283
+ type="email" />
284
+ <span class="k-invalid-msg" data-for="to"></span>
285
+ </div>
286
+ <div class="trv-send-email-field">
287
+ <input name="cc"
288
+ class='k-textbox trv-input-box'
289
+ type="email"
290
+ aria-label="ariaLabelSendEmailCC"
291
+ data-email-msg="sendEmailValidationEmailFormat" />
292
+ <span class="k-invalid-msg" data-for="cc"></span>
293
+ </div>
294
+ <div class="trv-send-email-field">
295
+ <input name="subject"
296
+ aria-label="ariaLabelSendEmailSubject"
297
+ class='k-textbox trv-input-box'
298
+ type="text" />
299
+ </div>
300
+ <div class="trv-send-email-field">
301
+ <input name="format"
302
+ aria-label="ariaLabelSendEmailFormat"
303
+ data-required-msg="sendEmailValidationFormatRequired"
304
+ type="text" />
305
+ <span class="k-invalid-msg" data-for="format"></span>
306
+ </div>
307
+ </div>
308
+ </div>
309
+
310
+ <div class="trv-send-email-editor">
311
+ <div>
312
+ <textarea class="trv-send-email-editor"
313
+ style="width:100%;height:100%"></textarea>
314
+
315
+ </div>
316
+ </div>
317
+
318
+ <div class="trv-send-email-actions">
319
+ <button class="k-button trv-replace-string"
320
+ data-command="telerik_ReportViewer_sendEmail_Send"
321
+ aria-label="ariaLabelSendEmailSend"
322
+ title="ariaLabelSendEmailSend">sendEmailSendLabel</button>
323
+ <button class="k-button trv-replace-string"
324
+ data-command="telerik_ReportViewer_sendEmail_Cancel"
325
+ aria-label="ariaLabelSendEmailCancel"
326
+ title="ariaLabelSendEmailCancel">sendEmailCancelLabel</button>
327
+ </div>
328
+ </div>
329
+ </div>
330
+ </div>
331
+ </div>
332
+ </template>
333
+
334
+ <template id="trv-pages-area-kendo-tooltip">
335
+ <div class="trv-pages-area-kendo-tooltip">
336
+ <div class="trv-pages-area-kendo-tooltip-title"></div>
337
+ <div class="trv-pages-area-kendo-tooltip-text"></div>
338
+ </div>
339
+ </template>
340
+
341
+ </body>
342
+ </html>
343
+ <!-- DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 755A6AD9C5137A1D98CEEB296E893AA6 -->
@@ -0,0 +1 @@
1
+ export { TelerikReportViewer } from './telerik-report-viewer';
@@ -0,0 +1,209 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
2
+
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
4
+
5
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
6
+
7
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+
9
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
10
+
11
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
12
+
13
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
14
+
15
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
16
+
17
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
18
+
19
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
20
+
21
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
22
+
23
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
24
+
25
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
26
+
27
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
28
+
29
+ import '../dependencies/initExtDeps';
30
+ import React from 'react';
31
+ import { ReportViewer } from '../dependencies/telerikReportViewer.js';
32
+ export var TelerikReportViewer = /*#__PURE__*/function (_React$Component) {
33
+ _inherits(TelerikReportViewer, _React$Component);
34
+
35
+ var _super = _createSuper(TelerikReportViewer);
36
+
37
+ function TelerikReportViewer() {
38
+ var _this;
39
+
40
+ _classCallCheck(this, TelerikReportViewer);
41
+
42
+ _this = _super.call(this);
43
+ _this.state = {
44
+ reportViewerID: ''
45
+ };
46
+ return _this;
47
+ }
48
+
49
+ _createClass(TelerikReportViewer, [{
50
+ key: "componentDidMount",
51
+ value: function componentDidMount() {
52
+ this.setState({
53
+ reportViewerID: this.props.id || "reportViewer1"
54
+ });
55
+ var keepClientAlive = this.props.keepClientAlive === undefined ? true : this.props.keepClientAlive;
56
+ this.viewerObject = new ReportViewer(this.el, {
57
+ id: this.state.reportViewerID,
58
+ serviceUrl: this.props.serviceUrl,
59
+ reportServer: this.props.reportServer,
60
+ trvTemplateUrl: this.props.templateUrl,
61
+ initialPageAreaImageUrl: this.props.initialPageAreaImageUrl,
62
+ reportSource: this.props.reportSource,
63
+ sendEmail: this.props.sendEmail,
64
+ scale: this.props.scale,
65
+ scaleMode: this.props.scaleMode,
66
+ viewMode: this.props.viewMode,
67
+ pageMode: this.props.pageMode,
68
+ parameters: this.props.parameters,
69
+ persistSession: this.props.persistSession,
70
+ parameterEditors: this.props.parameterEditors,
71
+ authenticationToken: this.props.authenticationToken,
72
+ ready: this.props.ready,
73
+ printMode: this.props.printMode,
74
+ selector: this.props.selector,
75
+ disabledButtonClass: this.props.disabledButtonClass,
76
+ checkedButtonClass: this.props.checkedButtonClass,
77
+ exportBegin: this.props.exportBegin,
78
+ exportEnd: this.props.exportEnd,
79
+ printBegin: this.props.printBegin,
80
+ printEnd: this.props.printEnd,
81
+ renderingBegin: this.props.renderingBegin,
82
+ renderingEnd: this.props.renderingEnd,
83
+ sendEmailBegin: this.props.sendEmailBegin,
84
+ sendEmailEnd: this.props.sendEmailEnd,
85
+ updateUi: this.props.updateUi,
86
+ pageReady: this.props.pageReady,
87
+ error: this.props.error,
88
+ interactiveActionExecuting: this.props.interactiveActionExecuting,
89
+ interactiveActionEnter: this.props.interactiveActionEnter,
90
+ interactiveActionLeave: this.props.interactiveActionLeave,
91
+ viewerToolTipOpening: this.props.viewerToolTipOpening,
92
+ enableAccessibility: this.props.enableAccessibility,
93
+ searchMetadataOnDemand: this.props.searchMetadataOnDemand,
94
+ parametersAreaVisible: this.props.parametersAreaVisible,
95
+ documentMapVisible: this.props.documentMapVisible,
96
+ documentMapAreaPosition: this.props.documentMapAreaPosition,
97
+ parametersAreaPosition: this.props.parametersAreaPosition,
98
+ keepClientAlive: keepClientAlive
99
+ });
100
+ this.commands = this.viewerObject.commands;
101
+ }
102
+ }, {
103
+ key: "render",
104
+ value: function render() {
105
+ var _this2 = this;
106
+
107
+ return /*#__PURE__*/React.createElement("div", {
108
+ id: this.state.reportViewerID,
109
+ style: _objectSpread({}, this.props.viewerContainerStyle),
110
+ ref: function ref(el) {
111
+ return _this2.el = el;
112
+ }
113
+ });
114
+ }
115
+ }, {
116
+ key: "refreshReport",
117
+ value: function refreshReport() {
118
+ return this.viewerObject.refreshReport();
119
+ }
120
+ }, {
121
+ key: "getReportSource",
122
+ value: function getReportSource() {
123
+ return this.viewerObject.reportSource();
124
+ }
125
+ }, {
126
+ key: "setReportSource",
127
+ value: function setReportSource(rs) {
128
+ return this.viewerObject.reportSource(rs);
129
+ }
130
+ }, {
131
+ key: "getViewMode",
132
+ value: function getViewMode() {
133
+ return this.viewerObject.viewMode();
134
+ }
135
+ }, {
136
+ key: "setViewMode",
137
+ value: function setViewMode(vm) {
138
+ return this.viewerObject.viewMode(vm);
139
+ }
140
+ }, {
141
+ key: "getScale",
142
+ value: function getScale() {
143
+ return this.viewerObject.scale();
144
+ }
145
+ }, {
146
+ key: "setScale",
147
+ value: function setScale(scale) {
148
+ return this.viewerObject.scale(scale);
149
+ }
150
+ }, {
151
+ key: "pageCount",
152
+ value: function pageCount() {
153
+ return this.viewerObject.pageCount();
154
+ }
155
+ }, {
156
+ key: "currentPage",
157
+ value: function currentPage() {
158
+ return this.viewerObject.currentPage();
159
+ }
160
+ }, {
161
+ key: "setAuthenticationToken",
162
+ value: function setAuthenticationToken(token) {
163
+ return this.viewerObject.authenticationToken(token);
164
+ }
165
+ }, {
166
+ key: "getAccessibilityKeyMap",
167
+ value: function getAccessibilityKeyMap() {
168
+ return this.viewerObject.accessibilityKeyMap();
169
+ }
170
+ }, {
171
+ key: "setAccessibilityKeyMap",
172
+ value: function setAccessibilityKeyMap(keyMap) {
173
+ return this.viewerObject.accessibilityKeyMap(keyMap);
174
+ }
175
+ }, {
176
+ key: "bind",
177
+ value: function bind(eventName, eventHandler) {
178
+ this.viewerObject.bind(eventName, eventHandler);
179
+ }
180
+ }, {
181
+ key: "unbind",
182
+ value: function unbind(eventName, eventHandler) {
183
+ this.viewerObject.unbind(eventName, eventHandler);
184
+ }
185
+ }, {
186
+ key: "unbindAll",
187
+ value: function unbindAll(eventName) {
188
+ this.viewerObject.unbind(eventName);
189
+ }
190
+ }, {
191
+ key: "getPageMode",
192
+ value: function getPageMode() {
193
+ return this.viewerObject.pageMode();
194
+ }
195
+ }, {
196
+ key: "setPageMode",
197
+ value: function setPageMode(psm) {
198
+ return this.viewerObject.pageMode(psm);
199
+ }
200
+ }, {
201
+ key: "clearReportSource",
202
+ value: function clearReportSource() {
203
+ return this.viewerObject.clearReportSource();
204
+ }
205
+ }]);
206
+
207
+ return TelerikReportViewer;
208
+ }(React.Component);
209
+ export default TelerikReportViewer;