@progress/kendo-angular-pdfviewer 16.5.0-develop.6 → 16.6.0-develop.1
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.
- package/directives.d.ts +10 -0
- package/esm2020/directives.mjs +13 -0
- package/esm2020/index.mjs +1 -0
- package/esm2020/loader/loader.component.mjs +6 -4
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pdfviewer.component.mjs +10 -9
- package/esm2020/pdfviewer.module.mjs +20 -66
- package/esm2020/toolbar/input-wrapper.component.mjs +3 -2
- package/esm2020/toolbar/search.component.mjs +7 -6
- package/esm2020/toolbar/toolbar-combobox.directive.mjs +5 -2
- package/esm2020/toolbar/toolbar-focusable.directive.mjs +5 -2
- package/esm2020/toolbar/toolbar.component.mjs +12 -10
- package/fesm2015/progress-kendo-angular-pdfviewer.mjs +299 -314
- package/fesm2020/progress-kendo-angular-pdfviewer.mjs +299 -314
- package/index.d.ts +1 -0
- package/loader/loader.component.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/package.json +12 -12
- package/pdfviewer.component.d.ts +1 -1
- package/pdfviewer.module.d.ts +2 -17
- package/schematics/ngAdd/index.js +2 -2
- package/toolbar/input-wrapper.component.d.ts +1 -1
- package/toolbar/search.component.d.ts +1 -1
- package/toolbar/toolbar-combobox.directive.d.ts +1 -1
- package/toolbar/toolbar-focusable.directive.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +1 -1
@@ -3,30 +3,120 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import * as i0 from '@angular/core';
|
6
|
-
import {
|
7
|
-
import * as i3 from '@angular/common';
|
8
|
-
import { CommonModule } from '@angular/common';
|
9
|
-
import { validatePackage } from '@progress/kendo-licensing';
|
10
|
-
import { currentPage, removeChildren, scrollToPage, calculateZoomLevel, SearchService, print, goToNextSearchMatch, goToPreviousSearchMatch, loadPDF, Scroller, reloadDocument } from '@progress/kendo-pdfviewer-common';
|
11
|
-
import * as i3$2 from '@progress/kendo-angular-common';
|
12
|
-
import { PreventableEvent, focusableSelector, Keys, hasObservers, shouldShowValidationUI, WatermarkModule } from '@progress/kendo-angular-common';
|
6
|
+
import { Directive, Input, forwardRef, Component, Injectable, HostBinding, EventEmitter, ViewChild, Output, ElementRef, HostListener, isDevMode, NgModule } from '@angular/core';
|
13
7
|
import * as i1 from '@progress/kendo-angular-l10n';
|
14
8
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
9
|
+
import { validatePackage } from '@progress/kendo-licensing';
|
10
|
+
import { currentPage, removeChildren, scrollToPage, calculateZoomLevel, SearchService, print, goToNextSearchMatch, goToPreviousSearchMatch, loadPDF, Scroller, reloadDocument } from '@progress/kendo-pdfviewer-common';
|
11
|
+
import { PreventableEvent, Keys, focusableSelector, hasObservers, shouldShowValidationUI, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
15
12
|
import { saveAs } from '@progress/kendo-file-saver';
|
16
13
|
import { Subscription } from 'rxjs';
|
17
|
-
import '
|
14
|
+
import { PagerComponent, CustomMessagesComponent } from '@progress/kendo-angular-pager';
|
18
15
|
import { zoomInIcon, zoomOutIcon, handIcon, pointerIcon, searchIcon, folderOpenIcon, downloadIcon, printIcon, convertLowercaseIcon, arrowUpIcon, arrowDownIcon, xIcon } from '@progress/kendo-svg-icons';
|
19
|
-
import * as i4 from '@progress/kendo-angular-pager';
|
20
|
-
import { PagerModule } from '@progress/kendo-angular-pager';
|
21
|
-
import * as i5 from '@progress/kendo-angular-buttons';
|
22
|
-
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
23
16
|
import * as i1$1 from '@progress/kendo-angular-dropdowns';
|
24
|
-
import {
|
25
|
-
import
|
26
|
-
import {
|
27
|
-
import
|
28
|
-
import {
|
29
|
-
import
|
17
|
+
import { ComboBoxComponent, ItemTemplateDirective } from '@progress/kendo-angular-dropdowns';
|
18
|
+
import { ButtonGroupComponent, ButtonComponent } from '@progress/kendo-angular-buttons';
|
19
|
+
import { NgFor, NgSwitch, NgSwitchCase, NgIf } from '@angular/common';
|
20
|
+
import { TextBoxComponent, TextBoxSuffixTemplateDirective } from '@progress/kendo-angular-inputs';
|
21
|
+
import { LoaderComponent as LoaderComponent$1 } from '@progress/kendo-angular-indicators';
|
22
|
+
import 'pdfjs-dist/build/pdf.worker.entry';
|
23
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
24
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
25
|
+
|
26
|
+
/**
|
27
|
+
* @hidden
|
28
|
+
*/
|
29
|
+
class Messages extends ComponentMessages {
|
30
|
+
}
|
31
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
32
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "kendo-pdfviewer-messages-base", inputs: { zoomInTitle: "zoomInTitle", zoomOutTitle: "zoomOutTitle", selectionTitle: "selectionTitle", panningTitle: "panningTitle", searchTitle: "searchTitle", openTitle: "openTitle", downloadTitle: "downloadTitle", printTitle: "printTitle", pagerInputLabel: "pagerInputLabel", pagerInputTitle: "pagerInputTitle", pagerFirstPage: "pagerFirstPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerLastPage: "pagerLastPage", pagerOf: "pagerOf", pagerPage: "pagerPage", fitToPage: "fitToPage", fitToWidth: "fitToWidth", searchInputPlaceholder: "searchInputPlaceholder", searchMatchesOf: "searchMatchesOf", searchPreviousMatchTitle: "searchPreviousMatchTitle", searchNextMatchTitle: "searchNextMatchTitle", searchCloseTitle: "searchCloseTitle", searchMatchCaseTitle: "searchMatchCaseTitle", zoomInputPlaceholder: "zoomInputPlaceholder" }, usesInheritance: true, ngImport: i0 });
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
|
34
|
+
type: Directive,
|
35
|
+
args: [{
|
36
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
37
|
+
selector: 'kendo-pdfviewer-messages-base'
|
38
|
+
}]
|
39
|
+
}], propDecorators: { zoomInTitle: [{
|
40
|
+
type: Input
|
41
|
+
}], zoomOutTitle: [{
|
42
|
+
type: Input
|
43
|
+
}], selectionTitle: [{
|
44
|
+
type: Input
|
45
|
+
}], panningTitle: [{
|
46
|
+
type: Input
|
47
|
+
}], searchTitle: [{
|
48
|
+
type: Input
|
49
|
+
}], openTitle: [{
|
50
|
+
type: Input
|
51
|
+
}], downloadTitle: [{
|
52
|
+
type: Input
|
53
|
+
}], printTitle: [{
|
54
|
+
type: Input
|
55
|
+
}], pagerInputLabel: [{
|
56
|
+
type: Input
|
57
|
+
}], pagerInputTitle: [{
|
58
|
+
type: Input
|
59
|
+
}], pagerFirstPage: [{
|
60
|
+
type: Input
|
61
|
+
}], pagerPreviousPage: [{
|
62
|
+
type: Input
|
63
|
+
}], pagerNextPage: [{
|
64
|
+
type: Input
|
65
|
+
}], pagerLastPage: [{
|
66
|
+
type: Input
|
67
|
+
}], pagerOf: [{
|
68
|
+
type: Input
|
69
|
+
}], pagerPage: [{
|
70
|
+
type: Input
|
71
|
+
}], fitToPage: [{
|
72
|
+
type: Input
|
73
|
+
}], fitToWidth: [{
|
74
|
+
type: Input
|
75
|
+
}], searchInputPlaceholder: [{
|
76
|
+
type: Input
|
77
|
+
}], searchMatchesOf: [{
|
78
|
+
type: Input
|
79
|
+
}], searchPreviousMatchTitle: [{
|
80
|
+
type: Input
|
81
|
+
}], searchNextMatchTitle: [{
|
82
|
+
type: Input
|
83
|
+
}], searchCloseTitle: [{
|
84
|
+
type: Input
|
85
|
+
}], searchMatchCaseTitle: [{
|
86
|
+
type: Input
|
87
|
+
}], zoomInputPlaceholder: [{
|
88
|
+
type: Input
|
89
|
+
}] } });
|
90
|
+
|
91
|
+
/**
|
92
|
+
* Custom component messages override default component messages.
|
93
|
+
*/
|
94
|
+
class PDFViewerCustomMessagesComponent extends Messages {
|
95
|
+
constructor(service) {
|
96
|
+
super();
|
97
|
+
this.service = service;
|
98
|
+
}
|
99
|
+
get override() {
|
100
|
+
return true;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
PDFViewerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
104
|
+
PDFViewerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFViewerCustomMessagesComponent, isStandalone: true, selector: "kendo-pdfviewer-messages", providers: [{
|
105
|
+
provide: Messages,
|
106
|
+
useExisting: forwardRef(() => PDFViewerCustomMessagesComponent)
|
107
|
+
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerCustomMessagesComponent, decorators: [{
|
109
|
+
type: Component,
|
110
|
+
args: [{
|
111
|
+
providers: [{
|
112
|
+
provide: Messages,
|
113
|
+
useExisting: forwardRef(() => PDFViewerCustomMessagesComponent)
|
114
|
+
}],
|
115
|
+
selector: 'kendo-pdfviewer-messages',
|
116
|
+
template: ``,
|
117
|
+
standalone: true
|
118
|
+
}]
|
119
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
30
120
|
|
31
121
|
/**
|
32
122
|
* @hidden
|
@@ -35,8 +125,8 @@ const packageMetadata = {
|
|
35
125
|
name: '@progress/kendo-angular-pdfviewer',
|
36
126
|
productName: 'Kendo UI for Angular',
|
37
127
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
38
|
-
publishDate:
|
39
|
-
version: '16.
|
128
|
+
publishDate: 1721828055,
|
129
|
+
version: '16.6.0-develop.1',
|
40
130
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning',
|
41
131
|
};
|
42
132
|
|
@@ -174,57 +264,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
174
264
|
/**
|
175
265
|
* @hidden
|
176
266
|
*/
|
177
|
-
class
|
178
|
-
constructor(
|
179
|
-
this.
|
180
|
-
this.
|
181
|
-
this.
|
182
|
-
|
267
|
+
class ToolbarComboBoxDirective {
|
268
|
+
constructor(combo, hostEl) {
|
269
|
+
this.combo = combo;
|
270
|
+
this.hostEl = hostEl;
|
271
|
+
this.keydownHandler = (e) => {
|
272
|
+
if (e.keyCode === Keys.Escape) {
|
273
|
+
e.stopPropagation();
|
274
|
+
if (this.combo.isOpen) {
|
275
|
+
this.combo.toggle(false);
|
276
|
+
}
|
277
|
+
else {
|
278
|
+
this.hostEl.nativeElement.parentElement.focus();
|
279
|
+
}
|
280
|
+
}
|
281
|
+
};
|
183
282
|
}
|
184
283
|
ngAfterViewInit() {
|
185
|
-
this.
|
186
|
-
|
187
|
-
|
188
|
-
}
|
189
|
-
else if (this.toolbarTool.element) {
|
190
|
-
this.toolbarTool.element.nativeElement.setAttribute('tabindex', '0');
|
191
|
-
this.toolbarTool.element.nativeElement.focus();
|
192
|
-
}
|
193
|
-
}));
|
194
|
-
this.subs.add(this.renderer.listen(this.host.nativeElement, 'blur', () => this.host.nativeElement.querySelectorAll(focusableSelector).forEach(el => el.setAttribute('tabindex', '-1'))));
|
195
|
-
this.subs.add(this.renderer.listen(this.host.nativeElement, 'keydown.escape', () => {
|
196
|
-
if (this.toolbarTool.blur) {
|
197
|
-
this.toolbarTool.blur();
|
198
|
-
}
|
199
|
-
else if (this.toolbarTool.element) {
|
200
|
-
this.toolbarTool.element.nativeElement.setAttribute('tabindex', '-1');
|
201
|
-
this.toolbarTool.element.nativeElement.blur();
|
202
|
-
}
|
203
|
-
this.host.nativeElement.focus();
|
204
|
-
}));
|
284
|
+
this.inputElement = this.combo.searchbar.input.nativeElement;
|
285
|
+
this.hostEl.nativeElement.setAttribute('tabindex', '-1');
|
286
|
+
this.inputElement.addEventListener('keydown', this.keydownHandler, true);
|
205
287
|
}
|
206
288
|
ngOnDestroy() {
|
207
|
-
this.
|
289
|
+
this.inputElement.removeEventListener('keydown', this.keydownHandler);
|
208
290
|
}
|
209
291
|
}
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarInputWrapperComponent, decorators: [{
|
215
|
-
type: Component,
|
292
|
+
ToolbarComboBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComboBoxDirective, deps: [{ token: i1$1.ComboBoxComponent }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
293
|
+
ToolbarComboBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarComboBoxDirective, isStandalone: true, selector: "[kendoPDFViewerComboBox]", ngImport: i0 });
|
294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComboBoxDirective, decorators: [{
|
295
|
+
type: Directive,
|
216
296
|
args: [{
|
217
|
-
selector: '
|
218
|
-
|
219
|
-
<ng-content></ng-content>
|
220
|
-
`
|
297
|
+
selector: '[kendoPDFViewerComboBox]',
|
298
|
+
standalone: true
|
221
299
|
}]
|
222
|
-
}], ctorParameters: function () { return [{ type:
|
223
|
-
type: Input
|
224
|
-
}], hostClass: [{
|
225
|
-
type: HostBinding,
|
226
|
-
args: ['class.k-toolbar-item']
|
227
|
-
}] } });
|
300
|
+
}], ctorParameters: function () { return [{ type: i1$1.ComboBoxComponent }, { type: i0.ElementRef }]; } });
|
228
301
|
|
229
302
|
const controller = new AbortController();
|
230
303
|
const { signal } = controller;
|
@@ -275,46 +348,70 @@ class ToolbarFocusableDirective {
|
|
275
348
|
}
|
276
349
|
}
|
277
350
|
ToolbarFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
278
|
-
ToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarFocusableDirective, selector: "[kendoPDFViewerToolbarFocusable]", ngImport: i0 });
|
351
|
+
ToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarFocusableDirective, isStandalone: true, selector: "[kendoPDFViewerToolbarFocusable]", ngImport: i0 });
|
279
352
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarFocusableDirective, decorators: [{
|
280
353
|
type: Directive,
|
281
|
-
args: [{
|
354
|
+
args: [{
|
355
|
+
selector: '[kendoPDFViewerToolbarFocusable]',
|
356
|
+
standalone: true
|
357
|
+
}]
|
282
358
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ToolbarNavigationService }, { type: i0.Renderer2 }]; } });
|
283
359
|
|
284
360
|
/**
|
285
361
|
* @hidden
|
286
362
|
*/
|
287
|
-
class
|
288
|
-
constructor(
|
289
|
-
this.
|
290
|
-
this.
|
291
|
-
this.
|
292
|
-
|
293
|
-
e.stopPropagation();
|
294
|
-
if (this.combo.isOpen) {
|
295
|
-
this.combo.toggle(false);
|
296
|
-
}
|
297
|
-
else {
|
298
|
-
this.hostEl.nativeElement.parentElement.focus();
|
299
|
-
}
|
300
|
-
}
|
301
|
-
};
|
363
|
+
class ToolbarInputWrapperComponent {
|
364
|
+
constructor(host, renderer) {
|
365
|
+
this.host = host;
|
366
|
+
this.renderer = renderer;
|
367
|
+
this.hostClass = true;
|
368
|
+
this.subs = new Subscription();
|
302
369
|
}
|
303
370
|
ngAfterViewInit() {
|
304
|
-
this.
|
305
|
-
|
306
|
-
|
371
|
+
this.subs.add(this.renderer.listen(this.host.nativeElement, 'keydown.enter', () => {
|
372
|
+
if (this.toolbarTool.focus) {
|
373
|
+
this.toolbarTool.focus();
|
374
|
+
}
|
375
|
+
else if (this.toolbarTool.element) {
|
376
|
+
this.toolbarTool.element.nativeElement.setAttribute('tabindex', '0');
|
377
|
+
this.toolbarTool.element.nativeElement.focus();
|
378
|
+
}
|
379
|
+
}));
|
380
|
+
this.subs.add(this.renderer.listen(this.host.nativeElement, 'blur', () => this.host.nativeElement.querySelectorAll(focusableSelector).forEach(el => el.setAttribute('tabindex', '-1'))));
|
381
|
+
this.subs.add(this.renderer.listen(this.host.nativeElement, 'keydown.escape', () => {
|
382
|
+
if (this.toolbarTool.blur) {
|
383
|
+
this.toolbarTool.blur();
|
384
|
+
}
|
385
|
+
else if (this.toolbarTool.element) {
|
386
|
+
this.toolbarTool.element.nativeElement.setAttribute('tabindex', '-1');
|
387
|
+
this.toolbarTool.element.nativeElement.blur();
|
388
|
+
}
|
389
|
+
this.host.nativeElement.focus();
|
390
|
+
}));
|
307
391
|
}
|
308
392
|
ngOnDestroy() {
|
309
|
-
this.
|
393
|
+
this.subs.unsubscribe();
|
310
394
|
}
|
311
395
|
}
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
396
|
+
ToolbarInputWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarInputWrapperComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
397
|
+
ToolbarInputWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarInputWrapperComponent, isStandalone: true, selector: "kendo-toolbar-input-wrapper", inputs: { toolbarTool: "toolbarTool" }, host: { properties: { "class.k-toolbar-item": "this.hostClass" } }, ngImport: i0, template: `
|
398
|
+
<ng-content></ng-content>
|
399
|
+
`, isInline: true });
|
400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarInputWrapperComponent, decorators: [{
|
401
|
+
type: Component,
|
402
|
+
args: [{
|
403
|
+
selector: 'kendo-toolbar-input-wrapper',
|
404
|
+
template: `
|
405
|
+
<ng-content></ng-content>
|
406
|
+
`,
|
407
|
+
standalone: true
|
408
|
+
}]
|
409
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { toolbarTool: [{
|
410
|
+
type: Input
|
411
|
+
}], hostClass: [{
|
412
|
+
type: HostBinding,
|
413
|
+
args: ['class.k-toolbar-item']
|
414
|
+
}] } });
|
318
415
|
|
319
416
|
/* eslint-disable @typescript-eslint/no-empty-function */
|
320
417
|
/**
|
@@ -386,7 +483,7 @@ class ToolbarComponent {
|
|
386
483
|
}
|
387
484
|
}
|
388
485
|
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.LocalizationService }, { token: ToolbarNavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
389
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarComponent, selector: "[kendoPDFViewerToolbar]", inputs: { zoomLevel: "zoomLevel", calculatedComboBoxValue: "calculatedComboBoxValue", skip: "skip", pageSize: "pageSize", total: "total", zoomInDisabled: "zoomInDisabled", zoomOutDisabled: "zoomOutDisabled", disabledTools: "disabledTools", zoomLevelChooserValue: "zoomLevelChooserValue", zoomOptionsData: "zoomOptionsData", pagesContainerId: "pagesContainerId", tools: "tools" }, outputs: { fileSelect: "fileSelect", fileSelectStart: "fileSelectStart", fileSelectError: "fileSelectError", download: "download", selectionEnabled: "selectionEnabled", panningEnabled: "panningEnabled", pageChange: "pageChange", zoomIn: "zoomIn", zoomOut: "zoomOut", zoomLevelChange: "zoomLevelChange", print: "print", search: "search" }, host: { properties: { "class.k-toolbar": "this.toolbarClass", "class.k-toolbar-md": "this.toolbarSizeClass" } }, providers: [ToolbarNavigationService], viewQueries: [{ propertyName: "fileSelectEl", first: true, predicate: ["fileSelectEl"], descendants: true }], ngImport: i0, template: `
|
486
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarComponent, isStandalone: true, selector: "[kendoPDFViewerToolbar]", inputs: { zoomLevel: "zoomLevel", calculatedComboBoxValue: "calculatedComboBoxValue", skip: "skip", pageSize: "pageSize", total: "total", zoomInDisabled: "zoomInDisabled", zoomOutDisabled: "zoomOutDisabled", disabledTools: "disabledTools", zoomLevelChooserValue: "zoomLevelChooserValue", zoomOptionsData: "zoomOptionsData", pagesContainerId: "pagesContainerId", tools: "tools" }, outputs: { fileSelect: "fileSelect", fileSelectStart: "fileSelectStart", fileSelectError: "fileSelectError", download: "download", selectionEnabled: "selectionEnabled", panningEnabled: "panningEnabled", pageChange: "pageChange", zoomIn: "zoomIn", zoomOut: "zoomOut", zoomLevelChange: "zoomLevelChange", print: "print", search: "search" }, host: { properties: { "class.k-toolbar": "this.toolbarClass", "class.k-toolbar-md": "this.toolbarSizeClass" } }, providers: [ToolbarNavigationService], viewQueries: [{ propertyName: "fileSelectEl", first: true, predicate: ["fileSelectEl"], descendants: true }], ngImport: i0, template: `
|
390
487
|
<ng-container *ngFor="let tool of tools">
|
391
488
|
<ng-container [ngSwitch]="tool">
|
392
489
|
<kendo-toolbar-input-wrapper
|
@@ -550,7 +647,7 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
550
647
|
aria-hidden="true"
|
551
648
|
accept=".pdf, .PDF"
|
552
649
|
(change)="onFileSelect($event)" />
|
553
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
650
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: ToolbarInputWrapperComponent, selector: "kendo-toolbar-input-wrapper", inputs: ["toolbarTool"] }, { kind: "directive", type: ToolbarFocusableDirective, selector: "[kendoPDFViewerToolbarFocusable]" }, { kind: "component", type: PagerComponent, selector: "kendo-datapager", inputs: ["total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size"], outputs: ["pageChange", "pageSizeChange"], exportAs: ["kendoDataPager"] }, { kind: "component", type: CustomMessagesComponent, selector: "kendo-datapager-messages" }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "directive", type: ToolbarComboBoxDirective, selector: "[kendoPDFViewerComboBox]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
554
651
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, decorators: [{
|
555
652
|
type: Component,
|
556
653
|
args: [{
|
@@ -720,7 +817,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
720
817
|
aria-hidden="true"
|
721
818
|
accept=".pdf, .PDF"
|
722
819
|
(change)="onFileSelect($event)" />
|
723
|
-
|
820
|
+
`,
|
821
|
+
standalone: true,
|
822
|
+
imports: [NgFor, NgSwitch, NgSwitchCase, ToolbarInputWrapperComponent, ToolbarFocusableDirective, PagerComponent, CustomMessagesComponent, ButtonGroupComponent, ButtonComponent, ComboBoxComponent, ToolbarComboBoxDirective, ItemTemplateDirective, NgIf]
|
724
823
|
}]
|
725
824
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ToolbarNavigationService }]; }, propDecorators: { toolbarClass: [{
|
726
825
|
type: HostBinding,
|
@@ -781,147 +880,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
781
880
|
type: Output
|
782
881
|
}] } });
|
783
882
|
|
784
|
-
/**
|
785
|
-
* @hidden
|
786
|
-
*/
|
787
|
-
class LoaderComponent {
|
788
|
-
constructor() {
|
789
|
-
this.loaderContainerClass = true;
|
790
|
-
this.loaderContainerSizingClass = true;
|
791
|
-
this.loaderPositionClass = true;
|
792
|
-
}
|
793
|
-
}
|
794
|
-
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
795
|
-
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LoaderComponent, selector: "[kendoPDFViewerLoader]", inputs: { settings: "settings" }, host: { properties: { "class.k-loader-container": "this.loaderContainerClass", "class.k-loader-container-md": "this.loaderContainerSizingClass", "class.k-loader-top": "this.loaderPositionClass" } }, ngImport: i0, template: `
|
796
|
-
<div class="k-loader-container-overlay k-overlay-light"></div>
|
797
|
-
<div class="k-loader-container-inner">
|
798
|
-
<kendo-loader
|
799
|
-
[size]="settings?.size"
|
800
|
-
[type]="settings?.type"
|
801
|
-
[themeColor]="settings?.themeColor"></kendo-loader>
|
802
|
-
</div>
|
803
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$2.LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }] });
|
804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoaderComponent, decorators: [{
|
805
|
-
type: Component,
|
806
|
-
args: [{
|
807
|
-
selector: '[kendoPDFViewerLoader]',
|
808
|
-
template: `
|
809
|
-
<div class="k-loader-container-overlay k-overlay-light"></div>
|
810
|
-
<div class="k-loader-container-inner">
|
811
|
-
<kendo-loader
|
812
|
-
[size]="settings?.size"
|
813
|
-
[type]="settings?.type"
|
814
|
-
[themeColor]="settings?.themeColor"></kendo-loader>
|
815
|
-
</div>
|
816
|
-
`
|
817
|
-
}]
|
818
|
-
}], propDecorators: { settings: [{
|
819
|
-
type: Input
|
820
|
-
}], loaderContainerClass: [{
|
821
|
-
type: HostBinding,
|
822
|
-
args: ['class.k-loader-container']
|
823
|
-
}], loaderContainerSizingClass: [{
|
824
|
-
type: HostBinding,
|
825
|
-
args: ['class.k-loader-container-md']
|
826
|
-
}], loaderPositionClass: [{
|
827
|
-
type: HostBinding,
|
828
|
-
args: ['class.k-loader-top']
|
829
|
-
}] } });
|
830
|
-
|
831
|
-
/**
|
832
|
-
* @hidden
|
833
|
-
*/
|
834
|
-
class Messages extends ComponentMessages {
|
835
|
-
}
|
836
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
837
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "kendo-pdfviewer-messages-base", inputs: { zoomInTitle: "zoomInTitle", zoomOutTitle: "zoomOutTitle", selectionTitle: "selectionTitle", panningTitle: "panningTitle", searchTitle: "searchTitle", openTitle: "openTitle", downloadTitle: "downloadTitle", printTitle: "printTitle", pagerInputLabel: "pagerInputLabel", pagerInputTitle: "pagerInputTitle", pagerFirstPage: "pagerFirstPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerLastPage: "pagerLastPage", pagerOf: "pagerOf", pagerPage: "pagerPage", fitToPage: "fitToPage", fitToWidth: "fitToWidth", searchInputPlaceholder: "searchInputPlaceholder", searchMatchesOf: "searchMatchesOf", searchPreviousMatchTitle: "searchPreviousMatchTitle", searchNextMatchTitle: "searchNextMatchTitle", searchCloseTitle: "searchCloseTitle", searchMatchCaseTitle: "searchMatchCaseTitle", zoomInputPlaceholder: "zoomInputPlaceholder" }, usesInheritance: true, ngImport: i0 });
|
838
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
|
839
|
-
type: Directive,
|
840
|
-
args: [{
|
841
|
-
// eslint-disable-next-line @angular-eslint/directive-selector
|
842
|
-
selector: 'kendo-pdfviewer-messages-base'
|
843
|
-
}]
|
844
|
-
}], propDecorators: { zoomInTitle: [{
|
845
|
-
type: Input
|
846
|
-
}], zoomOutTitle: [{
|
847
|
-
type: Input
|
848
|
-
}], selectionTitle: [{
|
849
|
-
type: Input
|
850
|
-
}], panningTitle: [{
|
851
|
-
type: Input
|
852
|
-
}], searchTitle: [{
|
853
|
-
type: Input
|
854
|
-
}], openTitle: [{
|
855
|
-
type: Input
|
856
|
-
}], downloadTitle: [{
|
857
|
-
type: Input
|
858
|
-
}], printTitle: [{
|
859
|
-
type: Input
|
860
|
-
}], pagerInputLabel: [{
|
861
|
-
type: Input
|
862
|
-
}], pagerInputTitle: [{
|
863
|
-
type: Input
|
864
|
-
}], pagerFirstPage: [{
|
865
|
-
type: Input
|
866
|
-
}], pagerPreviousPage: [{
|
867
|
-
type: Input
|
868
|
-
}], pagerNextPage: [{
|
869
|
-
type: Input
|
870
|
-
}], pagerLastPage: [{
|
871
|
-
type: Input
|
872
|
-
}], pagerOf: [{
|
873
|
-
type: Input
|
874
|
-
}], pagerPage: [{
|
875
|
-
type: Input
|
876
|
-
}], fitToPage: [{
|
877
|
-
type: Input
|
878
|
-
}], fitToWidth: [{
|
879
|
-
type: Input
|
880
|
-
}], searchInputPlaceholder: [{
|
881
|
-
type: Input
|
882
|
-
}], searchMatchesOf: [{
|
883
|
-
type: Input
|
884
|
-
}], searchPreviousMatchTitle: [{
|
885
|
-
type: Input
|
886
|
-
}], searchNextMatchTitle: [{
|
887
|
-
type: Input
|
888
|
-
}], searchCloseTitle: [{
|
889
|
-
type: Input
|
890
|
-
}], searchMatchCaseTitle: [{
|
891
|
-
type: Input
|
892
|
-
}], zoomInputPlaceholder: [{
|
893
|
-
type: Input
|
894
|
-
}] } });
|
895
|
-
|
896
|
-
/**
|
897
|
-
* @hidden
|
898
|
-
*/
|
899
|
-
class LocalizedPDFViewerMessagesDirective extends Messages {
|
900
|
-
constructor(service) {
|
901
|
-
super();
|
902
|
-
this.service = service;
|
903
|
-
}
|
904
|
-
}
|
905
|
-
LocalizedPDFViewerMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedPDFViewerMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
906
|
-
LocalizedPDFViewerMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedPDFViewerMessagesDirective, selector: "[kendoPDFViewerLocalizedMessages]", providers: [
|
907
|
-
{
|
908
|
-
provide: Messages,
|
909
|
-
useExisting: forwardRef(() => LocalizedPDFViewerMessagesDirective)
|
910
|
-
}
|
911
|
-
], usesInheritance: true, ngImport: i0 });
|
912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedPDFViewerMessagesDirective, decorators: [{
|
913
|
-
type: Directive,
|
914
|
-
args: [{
|
915
|
-
providers: [
|
916
|
-
{
|
917
|
-
provide: Messages,
|
918
|
-
useExisting: forwardRef(() => LocalizedPDFViewerMessagesDirective)
|
919
|
-
}
|
920
|
-
],
|
921
|
-
selector: '[kendoPDFViewerLocalizedMessages]'
|
922
|
-
}]
|
923
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
924
|
-
|
925
883
|
/**
|
926
884
|
* @hidden
|
927
885
|
*/
|
@@ -957,7 +915,7 @@ class PDFViewerSearchComponent {
|
|
957
915
|
}
|
958
916
|
}
|
959
917
|
PDFViewerSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerSearchComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
960
|
-
PDFViewerSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFViewerSearchComponent, selector: "[kendoPDFViewerSearch]", inputs: { matches: "matches", currentMatch: "currentMatch" }, outputs: { searchChange: "searchChange", prevMatch: "prevMatch", nextMatch: "nextMatch", close: "close" }, host: { listeners: { "keydown.escape": "onEscape()" }, properties: { "attr.role": "this.ariaRole" } }, viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textbox"], descendants: true }, { propertyName: "closeButton", first: true, predicate: ["closeButton"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
918
|
+
PDFViewerSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFViewerSearchComponent, isStandalone: true, selector: "[kendoPDFViewerSearch]", inputs: { matches: "matches", currentMatch: "currentMatch" }, outputs: { searchChange: "searchChange", prevMatch: "prevMatch", nextMatch: "nextMatch", close: "close" }, host: { listeners: { "keydown.escape": "onEscape()" }, properties: { "attr.role": "this.ariaRole" } }, viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textbox"], descendants: true }, { propertyName: "closeButton", first: true, predicate: ["closeButton"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
961
919
|
<kendo-textbox
|
962
920
|
#textbox
|
963
921
|
[placeholder]="messageFor('searchInputPlaceholder')"
|
@@ -1007,7 +965,7 @@ PDFViewerSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0
|
|
1007
965
|
(keydown.tab)="$event.preventDefault(); textbox.focus();"
|
1008
966
|
icon='x'
|
1009
967
|
[svgIcon]="xIcon"></button>
|
1010
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
968
|
+
`, isInline: true, dependencies: [{ kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: TextBoxSuffixTemplateDirective, selector: "[kendoTextBoxSuffixTemplate]", inputs: ["showSeparator"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
1011
969
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerSearchComponent, decorators: [{
|
1012
970
|
type: Component,
|
1013
971
|
args: [{
|
@@ -1062,7 +1020,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1062
1020
|
(keydown.tab)="$event.preventDefault(); textbox.focus();"
|
1063
1021
|
icon='x'
|
1064
1022
|
[svgIcon]="xIcon"></button>
|
1065
|
-
|
1023
|
+
`,
|
1024
|
+
standalone: true,
|
1025
|
+
imports: [TextBoxComponent, TextBoxSuffixTemplateDirective, ButtonComponent]
|
1066
1026
|
}]
|
1067
1027
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { textbox: [{
|
1068
1028
|
type: ViewChild,
|
@@ -1090,6 +1050,85 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1090
1050
|
type: Output
|
1091
1051
|
}] } });
|
1092
1052
|
|
1053
|
+
/**
|
1054
|
+
* @hidden
|
1055
|
+
*/
|
1056
|
+
class LoaderComponent {
|
1057
|
+
constructor() {
|
1058
|
+
this.loaderContainerClass = true;
|
1059
|
+
this.loaderContainerSizingClass = true;
|
1060
|
+
this.loaderPositionClass = true;
|
1061
|
+
}
|
1062
|
+
}
|
1063
|
+
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
1064
|
+
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LoaderComponent, isStandalone: true, selector: "[kendoPDFViewerLoader]", inputs: { settings: "settings" }, host: { properties: { "class.k-loader-container": "this.loaderContainerClass", "class.k-loader-container-md": "this.loaderContainerSizingClass", "class.k-loader-top": "this.loaderPositionClass" } }, ngImport: i0, template: `
|
1065
|
+
<div class="k-loader-container-overlay k-overlay-light"></div>
|
1066
|
+
<div class="k-loader-container-inner">
|
1067
|
+
<kendo-loader
|
1068
|
+
[size]="settings?.size"
|
1069
|
+
[type]="settings?.type"
|
1070
|
+
[themeColor]="settings?.themeColor"></kendo-loader>
|
1071
|
+
</div>
|
1072
|
+
`, isInline: true, dependencies: [{ kind: "component", type: LoaderComponent$1, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }] });
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoaderComponent, decorators: [{
|
1074
|
+
type: Component,
|
1075
|
+
args: [{
|
1076
|
+
selector: '[kendoPDFViewerLoader]',
|
1077
|
+
template: `
|
1078
|
+
<div class="k-loader-container-overlay k-overlay-light"></div>
|
1079
|
+
<div class="k-loader-container-inner">
|
1080
|
+
<kendo-loader
|
1081
|
+
[size]="settings?.size"
|
1082
|
+
[type]="settings?.type"
|
1083
|
+
[themeColor]="settings?.themeColor"></kendo-loader>
|
1084
|
+
</div>
|
1085
|
+
`,
|
1086
|
+
standalone: true,
|
1087
|
+
imports: [LoaderComponent$1]
|
1088
|
+
}]
|
1089
|
+
}], propDecorators: { settings: [{
|
1090
|
+
type: Input
|
1091
|
+
}], loaderContainerClass: [{
|
1092
|
+
type: HostBinding,
|
1093
|
+
args: ['class.k-loader-container']
|
1094
|
+
}], loaderContainerSizingClass: [{
|
1095
|
+
type: HostBinding,
|
1096
|
+
args: ['class.k-loader-container-md']
|
1097
|
+
}], loaderPositionClass: [{
|
1098
|
+
type: HostBinding,
|
1099
|
+
args: ['class.k-loader-top']
|
1100
|
+
}] } });
|
1101
|
+
|
1102
|
+
/**
|
1103
|
+
* @hidden
|
1104
|
+
*/
|
1105
|
+
class LocalizedPDFViewerMessagesDirective extends Messages {
|
1106
|
+
constructor(service) {
|
1107
|
+
super();
|
1108
|
+
this.service = service;
|
1109
|
+
}
|
1110
|
+
}
|
1111
|
+
LocalizedPDFViewerMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedPDFViewerMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
1112
|
+
LocalizedPDFViewerMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedPDFViewerMessagesDirective, isStandalone: true, selector: "[kendoPDFViewerLocalizedMessages]", providers: [
|
1113
|
+
{
|
1114
|
+
provide: Messages,
|
1115
|
+
useExisting: forwardRef(() => LocalizedPDFViewerMessagesDirective)
|
1116
|
+
}
|
1117
|
+
], usesInheritance: true, ngImport: i0 });
|
1118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedPDFViewerMessagesDirective, decorators: [{
|
1119
|
+
type: Directive,
|
1120
|
+
args: [{
|
1121
|
+
providers: [
|
1122
|
+
{
|
1123
|
+
provide: Messages,
|
1124
|
+
useExisting: forwardRef(() => LocalizedPDFViewerMessagesDirective)
|
1125
|
+
}
|
1126
|
+
],
|
1127
|
+
selector: '[kendoPDFViewerLocalizedMessages]',
|
1128
|
+
standalone: true
|
1129
|
+
}]
|
1130
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
1131
|
+
|
1093
1132
|
let counter = 0;
|
1094
1133
|
/**
|
1095
1134
|
* Represents the [Kendo UI PDFViewer component for Angular]({% slug overview_pdfviewer %}).
|
@@ -1556,7 +1595,7 @@ class PDFViewerComponent {
|
|
1556
1595
|
}
|
1557
1596
|
}
|
1558
1597
|
PDFViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
1559
|
-
PDFViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFViewerComponent, selector: "kendo-pdfviewer", inputs: { tools: "tools", loaderSettings: "loaderSettings", saveFileName: "saveFileName", saveOptions: "saveOptions", url: "url", data: "data", arrayBuffer: "arrayBuffer", typedArray: "typedArray", zoom: "zoom", zoomRate: "zoomRate", minZoom: "minZoom", maxZoom: "maxZoom" }, outputs: { load: "load", error: "error", download: "download", pageChange: "pageChange", zoomLevelChange: "zoomLevelChange" }, host: { properties: { "class.k-pdf-viewer": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
|
1598
|
+
PDFViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFViewerComponent, isStandalone: true, selector: "kendo-pdfviewer", inputs: { tools: "tools", loaderSettings: "loaderSettings", saveFileName: "saveFileName", saveOptions: "saveOptions", url: "url", data: "data", arrayBuffer: "arrayBuffer", typedArray: "typedArray", zoom: "zoom", zoomRate: "zoomRate", minZoom: "minZoom", maxZoom: "maxZoom" }, outputs: { load: "load", error: "error", download: "download", pageChange: "pageChange", zoomLevelChange: "zoomLevelChange" }, host: { properties: { "class.k-pdf-viewer": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
|
1560
1599
|
LocalizationService,
|
1561
1600
|
{
|
1562
1601
|
provide: L10N_PREFIX,
|
@@ -1695,7 +1734,7 @@ PDFViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
1695
1734
|
</div>
|
1696
1735
|
|
1697
1736
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
1698
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
1737
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedPDFViewerMessagesDirective, selector: "[kendoPDFViewerLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoaderComponent, selector: "[kendoPDFViewerLoader]", inputs: ["settings"] }, { kind: "component", type: ToolbarComponent, selector: "[kendoPDFViewerToolbar]", inputs: ["zoomLevel", "calculatedComboBoxValue", "skip", "pageSize", "total", "zoomInDisabled", "zoomOutDisabled", "disabledTools", "zoomLevelChooserValue", "zoomOptionsData", "pagesContainerId", "tools"], outputs: ["fileSelect", "fileSelectStart", "fileSelectError", "download", "selectionEnabled", "panningEnabled", "pageChange", "zoomIn", "zoomOut", "zoomLevelChange", "print", "search"] }, { kind: "component", type: PDFViewerSearchComponent, selector: "[kendoPDFViewerSearch]", inputs: ["matches", "currentMatch"], outputs: ["searchChange", "prevMatch", "nextMatch", "close"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
1699
1738
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerComponent, decorators: [{
|
1700
1739
|
type: Component,
|
1701
1740
|
args: [{
|
@@ -1842,6 +1881,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1842
1881
|
|
1843
1882
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
1844
1883
|
`,
|
1884
|
+
standalone: true,
|
1885
|
+
imports: [LocalizedPDFViewerMessagesDirective, NgIf, LoaderComponent, ToolbarComponent, PDFViewerSearchComponent, WatermarkOverlayComponent]
|
1845
1886
|
}]
|
1846
1887
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }]; }, propDecorators: { hostClass: [{
|
1847
1888
|
type: HostBinding,
|
@@ -1889,55 +1930,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1889
1930
|
}] } });
|
1890
1931
|
|
1891
1932
|
/**
|
1892
|
-
*
|
1933
|
+
* Utility array that contains all `@progress/kendo-angular-pdfviewer` related components and directives
|
1893
1934
|
*/
|
1894
|
-
|
1895
|
-
constructor(service) {
|
1896
|
-
super();
|
1897
|
-
this.service = service;
|
1898
|
-
}
|
1899
|
-
get override() {
|
1900
|
-
return true;
|
1901
|
-
}
|
1902
|
-
}
|
1903
|
-
PDFViewerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
1904
|
-
PDFViewerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFViewerCustomMessagesComponent, selector: "kendo-pdfviewer-messages", providers: [{
|
1905
|
-
provide: Messages,
|
1906
|
-
useExisting: forwardRef(() => PDFViewerCustomMessagesComponent)
|
1907
|
-
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
1908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerCustomMessagesComponent, decorators: [{
|
1909
|
-
type: Component,
|
1910
|
-
args: [{
|
1911
|
-
providers: [{
|
1912
|
-
provide: Messages,
|
1913
|
-
useExisting: forwardRef(() => PDFViewerCustomMessagesComponent)
|
1914
|
-
}],
|
1915
|
-
selector: 'kendo-pdfviewer-messages',
|
1916
|
-
template: ``
|
1917
|
-
}]
|
1918
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
1919
|
-
|
1920
|
-
const DIRECTIVES = [
|
1935
|
+
const KENDO_PDFVIEWER = [
|
1921
1936
|
PDFViewerComponent,
|
1922
|
-
|
1923
|
-
LoaderComponent,
|
1924
|
-
PDFViewerCustomMessagesComponent,
|
1925
|
-
LocalizedPDFViewerMessagesDirective,
|
1926
|
-
ToolbarInputWrapperComponent,
|
1927
|
-
ToolbarFocusableDirective,
|
1928
|
-
ToolbarComboBoxDirective,
|
1929
|
-
PDFViewerSearchComponent
|
1930
|
-
];
|
1931
|
-
const IMPORTS = [
|
1932
|
-
CommonModule,
|
1933
|
-
IconsModule,
|
1934
|
-
PagerModule,
|
1935
|
-
ButtonsModule,
|
1936
|
-
TextBoxModule,
|
1937
|
-
ComboBoxModule,
|
1938
|
-
LoaderModule,
|
1939
|
-
WatermarkModule
|
1937
|
+
PDFViewerCustomMessagesComponent
|
1940
1938
|
];
|
1939
|
+
|
1940
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
1941
1941
|
/**
|
1942
1942
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
1943
1943
|
* definition for the PDFViewer component.
|
@@ -1945,37 +1945,22 @@ const IMPORTS = [
|
|
1945
1945
|
class PDFViewerModule {
|
1946
1946
|
}
|
1947
1947
|
PDFViewerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1948
|
-
PDFViewerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerModule,
|
1949
|
-
|
1950
|
-
|
1951
|
-
|
1952
|
-
|
1953
|
-
|
1954
|
-
ToolbarFocusableDirective,
|
1955
|
-
ToolbarComboBoxDirective,
|
1956
|
-
PDFViewerSearchComponent], imports: [CommonModule,
|
1957
|
-
IconsModule,
|
1958
|
-
PagerModule,
|
1959
|
-
ButtonsModule,
|
1960
|
-
TextBoxModule,
|
1961
|
-
ComboBoxModule,
|
1962
|
-
LoaderModule,
|
1963
|
-
WatermarkModule], exports: [PDFViewerComponent,
|
1964
|
-
ToolbarComponent,
|
1965
|
-
LoaderComponent,
|
1966
|
-
PDFViewerCustomMessagesComponent,
|
1967
|
-
LocalizedPDFViewerMessagesDirective,
|
1968
|
-
ToolbarInputWrapperComponent,
|
1969
|
-
ToolbarFocusableDirective,
|
1970
|
-
ToolbarComboBoxDirective,
|
1971
|
-
PDFViewerSearchComponent] });
|
1972
|
-
PDFViewerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerModule, imports: [IMPORTS] });
|
1948
|
+
PDFViewerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerModule, imports: [PDFViewerComponent, PDFViewerCustomMessagesComponent], exports: [PDFViewerComponent, PDFViewerCustomMessagesComponent] });
|
1949
|
+
PDFViewerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerModule, providers: [
|
1950
|
+
IconsService,
|
1951
|
+
PopupService,
|
1952
|
+
ResizeBatchService
|
1953
|
+
], imports: [KENDO_PDFVIEWER] });
|
1973
1954
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFViewerModule, decorators: [{
|
1974
1955
|
type: NgModule,
|
1975
1956
|
args: [{
|
1976
|
-
|
1977
|
-
|
1978
|
-
|
1957
|
+
exports: [...KENDO_PDFVIEWER],
|
1958
|
+
imports: [...KENDO_PDFVIEWER],
|
1959
|
+
providers: [
|
1960
|
+
IconsService,
|
1961
|
+
PopupService,
|
1962
|
+
ResizeBatchService
|
1963
|
+
]
|
1979
1964
|
}]
|
1980
1965
|
}] });
|
1981
1966
|
|
@@ -1983,5 +1968,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1983
1968
|
* Generated bundle index. Do not edit.
|
1984
1969
|
*/
|
1985
1970
|
|
1986
|
-
export { LoaderComponent, LocalizedPDFViewerMessagesDirective, PDFViewerComponent, PDFViewerCustomMessagesComponent, PDFViewerDownloadEvent, PDFViewerModule, PDFViewerSearchComponent, ToolbarComboBoxDirective, ToolbarComponent, ToolbarFocusableDirective, ToolbarInputWrapperComponent };
|
1971
|
+
export { KENDO_PDFVIEWER, LoaderComponent, LocalizedPDFViewerMessagesDirective, PDFViewerComponent, PDFViewerCustomMessagesComponent, PDFViewerDownloadEvent, PDFViewerModule, PDFViewerSearchComponent, ToolbarComboBoxDirective, ToolbarComponent, ToolbarFocusableDirective, ToolbarInputWrapperComponent };
|
1987
1972
|
|