@progress/kendo-angular-pdfviewer 24.2.2-develop.9 → 25.0.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/fesm2022/progress-kendo-angular-pdfviewer.mjs +45 -45
- package/index.d.ts +951 -16
- package/package-metadata.mjs +2 -2
- package/package.json +19 -19
- package/schematics/ngAdd/index.js +2 -2
- package/annotations/annotation-editor.d.ts +0 -41
- package/directives.d.ts +0 -25
- package/loader/loader.component.d.ts +0 -17
- package/localization/custom-messages.component.d.ts +0 -29
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -177
- package/models/annotation-editor.type.d.ts +0 -17
- package/models/events.d.ts +0 -76
- package/models/loader-settings.d.ts +0 -22
- package/models/pdfviewer-context.d.ts +0 -27
- package/models/toolbar-tool.d.ts +0 -8
- package/models/zoom-level.d.ts +0 -14
- package/package-metadata.d.ts +0 -9
- package/pdfviewer.component.d.ts +0 -361
- package/pdfviewer.module.d.ts +0 -31
- package/templates/blank-page-template.directive.d.ts +0 -28
- package/toolbar/input-wrapper.component.d.ts +0 -21
- package/toolbar/search.component.d.ts +0 -40
- package/toolbar/toolbar-combobox.directive.d.ts +0 -21
- package/toolbar/toolbar-focusable.directive.d.ts +0 -21
- package/toolbar/toolbar-navigation.service.d.ts +0 -23
- package/toolbar/toolbar.component.d.ts +0 -87
- package/util.d.ts +0 -43
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1783680060,
|
|
11
|
+
"version": "25.0.0-develop.1",
|
|
12
12
|
"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"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-pdfviewer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0-develop.1",
|
|
4
4
|
"description": "Kendo UI PDFViewer for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -34,33 +34,33 @@
|
|
|
34
34
|
"package": {
|
|
35
35
|
"productName": "Kendo UI for Angular",
|
|
36
36
|
"productCode": "KENDOUIANGULAR",
|
|
37
|
-
"publishDate":
|
|
37
|
+
"publishDate": 1783680060,
|
|
38
38
|
"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"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@angular/animations": "
|
|
43
|
-
"@angular/common": "
|
|
44
|
-
"@angular/core": "
|
|
45
|
-
"@angular/platform-browser": "
|
|
42
|
+
"@angular/animations": "20 - 22",
|
|
43
|
+
"@angular/common": "20 - 22",
|
|
44
|
+
"@angular/core": "20 - 22",
|
|
45
|
+
"@angular/platform-browser": "20 - 22",
|
|
46
46
|
"@progress/kendo-licensing": "^1.11.0",
|
|
47
|
-
"@progress/kendo-angular-buttons": "
|
|
48
|
-
"@progress/kendo-angular-common": "
|
|
49
|
-
"@progress/kendo-angular-dialog": "
|
|
50
|
-
"@progress/kendo-angular-dropdowns": "
|
|
51
|
-
"@progress/kendo-angular-inputs": "
|
|
52
|
-
"@progress/kendo-angular-intl": "
|
|
53
|
-
"@progress/kendo-angular-l10n": "
|
|
54
|
-
"@progress/kendo-angular-icons": "
|
|
55
|
-
"@progress/kendo-angular-indicators": "
|
|
56
|
-
"@progress/kendo-angular-pager": "
|
|
57
|
-
"@progress/kendo-angular-popup": "
|
|
58
|
-
"@progress/kendo-angular-upload": "
|
|
47
|
+
"@progress/kendo-angular-buttons": "25.0.0-develop.1",
|
|
48
|
+
"@progress/kendo-angular-common": "25.0.0-develop.1",
|
|
49
|
+
"@progress/kendo-angular-dialog": "25.0.0-develop.1",
|
|
50
|
+
"@progress/kendo-angular-dropdowns": "25.0.0-develop.1",
|
|
51
|
+
"@progress/kendo-angular-inputs": "25.0.0-develop.1",
|
|
52
|
+
"@progress/kendo-angular-intl": "25.0.0-develop.1",
|
|
53
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.1",
|
|
54
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.1",
|
|
55
|
+
"@progress/kendo-angular-indicators": "25.0.0-develop.1",
|
|
56
|
+
"@progress/kendo-angular-pager": "25.0.0-develop.1",
|
|
57
|
+
"@progress/kendo-angular-popup": "25.0.0-develop.1",
|
|
58
|
+
"@progress/kendo-angular-upload": "25.0.0-develop.1",
|
|
59
59
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"tslib": "^2.3.1",
|
|
63
|
-
"@progress/kendo-angular-schematics": "
|
|
63
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.1",
|
|
64
64
|
"@progress/kendo-file-saver": "^1.0.1",
|
|
65
65
|
"@progress/kendo-pdfviewer-common": "1.0.0"
|
|
66
66
|
},
|
|
@@ -9,8 +9,8 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'PDFViewerModule', package: 'pdfviewer', peerDependencies: {
|
|
11
11
|
// peers of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-navigation': '
|
|
13
|
-
'@progress/kendo-angular-treeview': '
|
|
12
|
+
'@progress/kendo-angular-navigation': '25.0.0-develop.1',
|
|
13
|
+
'@progress/kendo-angular-treeview': '25.0.0-develop.1'
|
|
14
14
|
} });
|
|
15
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
16
16
|
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgZone, ViewContainerRef } from '@angular/core';
|
|
6
|
-
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { PopupRef } from '@progress/kendo-angular-popup';
|
|
9
|
-
import { PdfViewer } from '@progress/kendo-pdfviewer-common';
|
|
10
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
11
|
-
import { AnnotationEditorType } from './../models/annotation-editor.type';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class AnnotationPopupToolbarContentComponent {
|
|
17
|
-
private dialogService;
|
|
18
|
-
private ngZone;
|
|
19
|
-
hostClasses: boolean;
|
|
20
|
-
paletteIcon: SVGIcon;
|
|
21
|
-
trashIcon: SVGIcon;
|
|
22
|
-
localizationService: LocalizationService;
|
|
23
|
-
pdfViewerWidget: PdfViewer;
|
|
24
|
-
anchor: HTMLElement;
|
|
25
|
-
annotationEditorType: AnnotationEditorType;
|
|
26
|
-
popupRef: PopupRef;
|
|
27
|
-
showToolbar: boolean;
|
|
28
|
-
initialColor: string;
|
|
29
|
-
fontSizes: number[];
|
|
30
|
-
initialFontSize: number;
|
|
31
|
-
dialogContainer: ViewContainerRef;
|
|
32
|
-
removeAnnotationConfirmation: boolean;
|
|
33
|
-
private dialogResultSub;
|
|
34
|
-
constructor(dialogService: DialogService, ngZone: NgZone);
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
editAnnotation(): void;
|
|
37
|
-
deleteAnnotation(): void;
|
|
38
|
-
onColorValueChange(value: string): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationPopupToolbarContentComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnotationPopupToolbarContentComponent, "[kendoPDFViewerAnnotationPopupToolbar]", never, {}, {}, never, never, true, never>;
|
|
41
|
-
}
|
package/directives.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { PDFViewerCustomMessagesComponent } from "./localization/custom-messages.component";
|
|
6
|
-
import { PDFViewerComponent } from "./pdfviewer.component";
|
|
7
|
-
import { BlankPageTemplateDirective } from "./templates/blank-page-template.directive";
|
|
8
|
-
/**
|
|
9
|
-
* Use the `KENDO_PDFVIEWER` utility array to add all `@progress/kendo-angular-pdf-viewer`-related components and directives to a standalone Angular component.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```typescript
|
|
13
|
-
* import { Component } from '@angular/core';
|
|
14
|
-
* import { KENDO_PDFVIEWER } from "@progress/kendo-angular-pdf-viewer";
|
|
15
|
-
*
|
|
16
|
-
* @Component({
|
|
17
|
-
* standalone: true,
|
|
18
|
-
* imports: [KENDO_PDFVIEWER],
|
|
19
|
-
* selector: 'my-app',
|
|
20
|
-
* template: `<kendo-pdf-viewer [url]="pdfUrl"></kendo-pdf-viewer>`
|
|
21
|
-
* })
|
|
22
|
-
* export class AppComponent {}
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare const KENDO_PDFVIEWER: readonly [typeof PDFViewerComponent, typeof PDFViewerCustomMessagesComponent, typeof BlankPageTemplateDirective];
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LoaderSettings } from '../models/loader-settings';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class LoaderComponent {
|
|
11
|
-
settings: LoaderSettings;
|
|
12
|
-
loaderContainerClass: boolean;
|
|
13
|
-
loaderContainerSizingClass: boolean;
|
|
14
|
-
loaderPositionClass: boolean;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "[kendoPDFViewerLoader]", never, { "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { Messages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the custom messages component of the PDFViewer.
|
|
10
|
-
*
|
|
11
|
-
* Use this component to override default messages for the PDFViewer.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-pdfviewer [url]="pdfUrl">
|
|
16
|
-
* <kendo-pdfviewer-messages
|
|
17
|
-
* downloadTitle="Download PDF"
|
|
18
|
-
* printTitle="Print PDF">
|
|
19
|
-
* </kendo-pdfviewer-messages>
|
|
20
|
-
* </kendo-pdfviewer>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare class PDFViewerCustomMessagesComponent extends Messages {
|
|
24
|
-
protected service: LocalizationService;
|
|
25
|
-
constructor(service: LocalizationService);
|
|
26
|
-
protected get override(): boolean;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PDFViewerCustomMessagesComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PDFViewerCustomMessagesComponent, "kendo-pdfviewer-messages", never, {}, {}, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { Messages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class LocalizedPDFViewerMessagesDirective extends Messages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedPDFViewerMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedPDFViewerMessagesDirective, "[kendoPDFViewerLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class Messages extends ComponentMessages {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the title and label for the **ZoomIn** tool.
|
|
13
|
-
*/
|
|
14
|
-
zoomInTitle: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets the title and label for the **ZoomOut** tool.
|
|
17
|
-
*/
|
|
18
|
-
zoomOutTitle: string;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the title and label for the **Selection** tool.
|
|
21
|
-
*/
|
|
22
|
-
selectionTitle: string;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the title and label for the **Panning** tool.
|
|
25
|
-
*/
|
|
26
|
-
panningTitle: string;
|
|
27
|
-
/**
|
|
28
|
-
* Sets the title and label for the **Search** tool.
|
|
29
|
-
*/
|
|
30
|
-
searchTitle: string;
|
|
31
|
-
/**
|
|
32
|
-
* Sets the title and label for the **Open** tool.
|
|
33
|
-
*/
|
|
34
|
-
openTitle: string;
|
|
35
|
-
/**
|
|
36
|
-
* Sets the title and label for the **Download** tool.
|
|
37
|
-
*/
|
|
38
|
-
downloadTitle: string;
|
|
39
|
-
/**
|
|
40
|
-
* Sets the title and label for the **Print** tool.
|
|
41
|
-
*/
|
|
42
|
-
printTitle: string;
|
|
43
|
-
/**
|
|
44
|
-
* Sets the `aria-label` attribute for the Pager input element.
|
|
45
|
-
*/
|
|
46
|
-
pagerInputLabel: string;
|
|
47
|
-
/**
|
|
48
|
-
* Sets the `title` attribute for the Pager input element.
|
|
49
|
-
*/
|
|
50
|
-
pagerInputTitle: string;
|
|
51
|
-
/**
|
|
52
|
-
* Sets the label for the Pager **First page** button.
|
|
53
|
-
*/
|
|
54
|
-
pagerFirstPage: string;
|
|
55
|
-
/**
|
|
56
|
-
* Sets the label for the Pager **Previous page** button.
|
|
57
|
-
*/
|
|
58
|
-
pagerPreviousPage: string;
|
|
59
|
-
/**
|
|
60
|
-
* Sets the label for the Pager **Next page** button.
|
|
61
|
-
*/
|
|
62
|
-
pagerNextPage: string;
|
|
63
|
-
/**
|
|
64
|
-
* Sets the label for the Pager **Last page** button.
|
|
65
|
-
*/
|
|
66
|
-
pagerLastPage: string;
|
|
67
|
-
/**
|
|
68
|
-
* Sets the text before the Pager total-page number.
|
|
69
|
-
*/
|
|
70
|
-
pagerOf: string;
|
|
71
|
-
/**
|
|
72
|
-
* Sets the text before the Pager input.
|
|
73
|
-
*/
|
|
74
|
-
pagerPage: string;
|
|
75
|
-
/**
|
|
76
|
-
* Sets the text for the zoom level chooser **Fit to page** option.
|
|
77
|
-
*/
|
|
78
|
-
fitToPage: string;
|
|
79
|
-
/**
|
|
80
|
-
* Sets the text for the zoom level chooser **Fit to width** option.
|
|
81
|
-
*/
|
|
82
|
-
fitToWidth: string;
|
|
83
|
-
/**
|
|
84
|
-
* Sets the placeholder text for the search input.
|
|
85
|
-
*/
|
|
86
|
-
searchInputPlaceholder: string;
|
|
87
|
-
/**
|
|
88
|
-
* Sets the text before the total number of matches in the **Search** tool.
|
|
89
|
-
*/
|
|
90
|
-
searchMatchesOf: string;
|
|
91
|
-
/**
|
|
92
|
-
* Sets the title for the **Search** previous match button.
|
|
93
|
-
*/
|
|
94
|
-
searchPreviousMatchTitle: string;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the title for the **Search** next match button.
|
|
97
|
-
*/
|
|
98
|
-
searchNextMatchTitle: string;
|
|
99
|
-
/**
|
|
100
|
-
* Sets the title for the **Search** close button.
|
|
101
|
-
*/
|
|
102
|
-
searchCloseTitle: string;
|
|
103
|
-
/**
|
|
104
|
-
* Sets the title for the **Search** match case button.
|
|
105
|
-
*/
|
|
106
|
-
searchMatchCaseTitle: string;
|
|
107
|
-
/**
|
|
108
|
-
* Sets the placeholder text for the zoom tool input.
|
|
109
|
-
*/
|
|
110
|
-
zoomInputPlaceholder: string;
|
|
111
|
-
/**
|
|
112
|
-
* Sets the title and label for the **Annotation Editor** tool.
|
|
113
|
-
*/
|
|
114
|
-
annotationsTitle: string;
|
|
115
|
-
/**
|
|
116
|
-
* Sets the title and label for the **Annotation Editor** tool.
|
|
117
|
-
*/
|
|
118
|
-
annotationEditorTitle: string;
|
|
119
|
-
/**
|
|
120
|
-
* Sets the title and label for the **Delete Annotation** tool.
|
|
121
|
-
*/
|
|
122
|
-
deleteAnnotationTitle: string;
|
|
123
|
-
/**
|
|
124
|
-
* Sets the title and label for the **Highligh Annotation** tool.
|
|
125
|
-
*/
|
|
126
|
-
highlightAnnotationTitle: string;
|
|
127
|
-
/**
|
|
128
|
-
* Sets the title and label for the **Free Text Annotation** tool.
|
|
129
|
-
*/
|
|
130
|
-
freeTextAnnotationTitle: string;
|
|
131
|
-
/**
|
|
132
|
-
* Sets the title and label for the **Close Annotations Toolbar** tool.
|
|
133
|
-
*/
|
|
134
|
-
closeAnnotationsToolbarTitle: string;
|
|
135
|
-
/**
|
|
136
|
-
* Sets the title of the **Delete Annotation** confirmation dialog.
|
|
137
|
-
*/
|
|
138
|
-
deleteAnnotationConfirmationDialogTitle: string;
|
|
139
|
-
/**
|
|
140
|
-
* Sets the content text of the **Delete Annotation** confirmation dialog.
|
|
141
|
-
*/
|
|
142
|
-
deleteAnnotationConfirmationDialogContent: string;
|
|
143
|
-
/**
|
|
144
|
-
* Sets the text of the **Delete Annotation** confirmation dialog confirm action button.
|
|
145
|
-
*/
|
|
146
|
-
deleteAnnotationConfirmationDialogConfirmText: string;
|
|
147
|
-
/**
|
|
148
|
-
* Sets the text of the **Delete Annotation** confirmation dialog reject action button.
|
|
149
|
-
*/
|
|
150
|
-
deleteAnnotationConfirmationDialogRejectText: string;
|
|
151
|
-
/**
|
|
152
|
-
* Sets the text of the **Font Size** section in the annotation editor dialog.
|
|
153
|
-
*/
|
|
154
|
-
annotationEditorFontSizeTitle: string;
|
|
155
|
-
/**
|
|
156
|
-
* Sets the text of the **Color** section in the annotation editor dialog.
|
|
157
|
-
*/
|
|
158
|
-
annotationEditorColorTitle: string;
|
|
159
|
-
/**
|
|
160
|
-
* Sets the label for the PDF viewer canvas container.
|
|
161
|
-
*/
|
|
162
|
-
canvasLabel: string;
|
|
163
|
-
/**
|
|
164
|
-
* Sets the text for the FileSelect drop zone hint when no file is being dragged.
|
|
165
|
-
*/
|
|
166
|
-
blankPageDropFilesHere: string;
|
|
167
|
-
/**
|
|
168
|
-
* Sets the text for the FileSelect external drop zone hint when no file is being dragged.
|
|
169
|
-
*/
|
|
170
|
-
blankPageExternalDropFilesHere: string;
|
|
171
|
-
/**
|
|
172
|
-
* Sets the text for the FileSelect button in the blank page drop zone.
|
|
173
|
-
*/
|
|
174
|
-
blankPageSelect: string;
|
|
175
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
176
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-pdfviewer-messages-base", never, { "zoomInTitle": { "alias": "zoomInTitle"; "required": false; }; "zoomOutTitle": { "alias": "zoomOutTitle"; "required": false; }; "selectionTitle": { "alias": "selectionTitle"; "required": false; }; "panningTitle": { "alias": "panningTitle"; "required": false; }; "searchTitle": { "alias": "searchTitle"; "required": false; }; "openTitle": { "alias": "openTitle"; "required": false; }; "downloadTitle": { "alias": "downloadTitle"; "required": false; }; "printTitle": { "alias": "printTitle"; "required": false; }; "pagerInputLabel": { "alias": "pagerInputLabel"; "required": false; }; "pagerInputTitle": { "alias": "pagerInputTitle"; "required": false; }; "pagerFirstPage": { "alias": "pagerFirstPage"; "required": false; }; "pagerPreviousPage": { "alias": "pagerPreviousPage"; "required": false; }; "pagerNextPage": { "alias": "pagerNextPage"; "required": false; }; "pagerLastPage": { "alias": "pagerLastPage"; "required": false; }; "pagerOf": { "alias": "pagerOf"; "required": false; }; "pagerPage": { "alias": "pagerPage"; "required": false; }; "fitToPage": { "alias": "fitToPage"; "required": false; }; "fitToWidth": { "alias": "fitToWidth"; "required": false; }; "searchInputPlaceholder": { "alias": "searchInputPlaceholder"; "required": false; }; "searchMatchesOf": { "alias": "searchMatchesOf"; "required": false; }; "searchPreviousMatchTitle": { "alias": "searchPreviousMatchTitle"; "required": false; }; "searchNextMatchTitle": { "alias": "searchNextMatchTitle"; "required": false; }; "searchCloseTitle": { "alias": "searchCloseTitle"; "required": false; }; "searchMatchCaseTitle": { "alias": "searchMatchCaseTitle"; "required": false; }; "zoomInputPlaceholder": { "alias": "zoomInputPlaceholder"; "required": false; }; "annotationsTitle": { "alias": "annotationsTitle"; "required": false; }; "annotationEditorTitle": { "alias": "annotationEditorTitle"; "required": false; }; "deleteAnnotationTitle": { "alias": "deleteAnnotationTitle"; "required": false; }; "highlightAnnotationTitle": { "alias": "highlightAnnotationTitle"; "required": false; }; "freeTextAnnotationTitle": { "alias": "freeTextAnnotationTitle"; "required": false; }; "closeAnnotationsToolbarTitle": { "alias": "closeAnnotationsToolbarTitle"; "required": false; }; "deleteAnnotationConfirmationDialogTitle": { "alias": "deleteAnnotationConfirmationDialogTitle"; "required": false; }; "deleteAnnotationConfirmationDialogContent": { "alias": "deleteAnnotationConfirmationDialogContent"; "required": false; }; "deleteAnnotationConfirmationDialogConfirmText": { "alias": "deleteAnnotationConfirmationDialogConfirmText"; "required": false; }; "deleteAnnotationConfirmationDialogRejectText": { "alias": "deleteAnnotationConfirmationDialogRejectText"; "required": false; }; "annotationEditorFontSizeTitle": { "alias": "annotationEditorFontSizeTitle"; "required": false; }; "annotationEditorColorTitle": { "alias": "annotationEditorColorTitle"; "required": false; }; "canvasLabel": { "alias": "canvasLabel"; "required": false; }; "blankPageDropFilesHere": { "alias": "blankPageDropFilesHere"; "required": false; }; "blankPageExternalDropFilesHere": { "alias": "blankPageExternalDropFilesHere"; "required": false; }; "blankPageSelect": { "alias": "blankPageSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
177
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const AnnotationEditorTypes: {
|
|
9
|
-
disable: number;
|
|
10
|
-
none: number;
|
|
11
|
-
freeText: number;
|
|
12
|
-
highlight: number;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export type AnnotationEditorType = keyof typeof AnnotationEditorTypes;
|
package/models/events.d.ts
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { PreventableEvent } from "@progress/kendo-angular-common";
|
|
6
|
-
import { PDFViewerContext } from "./pdfviewer-context";
|
|
7
|
-
import { SaveOptions } from "@progress/kendo-file-saver";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the event data object of the `LoadEvent`.
|
|
10
|
-
*/
|
|
11
|
-
export interface PDFViewerLoadEvent {
|
|
12
|
-
/**
|
|
13
|
-
* Represents the loaded `PDF.js` document, its pages, and their DOM element wrapper.
|
|
14
|
-
*/
|
|
15
|
-
context: PDFViewerContext;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Represents the event data object of the `ErrorEvent`.
|
|
19
|
-
*/
|
|
20
|
-
export interface PDFViewerErrorEvent {
|
|
21
|
-
/**
|
|
22
|
-
* Provides the original `Error` object.
|
|
23
|
-
*/
|
|
24
|
-
error: Error;
|
|
25
|
-
/**
|
|
26
|
-
* Represents the loaded `PDF.js` document, its pages, and their DOM element wrapper.
|
|
27
|
-
*/
|
|
28
|
-
context: PDFViewerContext;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Represents the arguments for the PDFViewer `download` event. The event fires when the user clicks the **Download** tool. Canceling the event prevents the download.
|
|
32
|
-
*/
|
|
33
|
-
export declare class PDFViewerDownloadEvent extends PreventableEvent {
|
|
34
|
-
/**
|
|
35
|
-
* Provides the file name for saving.
|
|
36
|
-
*/
|
|
37
|
-
readonly fileName: string;
|
|
38
|
-
/**
|
|
39
|
-
* Provides the save options.
|
|
40
|
-
*/
|
|
41
|
-
readonly saveOptions: SaveOptions;
|
|
42
|
-
/**
|
|
43
|
-
* Represents the loaded `PDF.js` document, its pages, and their DOM element wrapper.
|
|
44
|
-
*/
|
|
45
|
-
readonly context: PDFViewerContext;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
constructor(fileName: string, saveOptions: SaveOptions, context: PDFViewerContext);
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Represents the data object of the `PDFViewerPageChangeEvent`
|
|
53
|
-
*/
|
|
54
|
-
export interface PDFViewerPageChangeEvent {
|
|
55
|
-
/**
|
|
56
|
-
* Provides the previous active page before triggering the event.
|
|
57
|
-
*/
|
|
58
|
-
previousPage: number;
|
|
59
|
-
/**
|
|
60
|
-
* Provides the current active page after triggering the event.
|
|
61
|
-
*/
|
|
62
|
-
currentPage: number;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Represents the data object of the `PDFViewerZoomChangeEvent`
|
|
66
|
-
*/
|
|
67
|
-
export interface PDFViewerZoomChangeEvent {
|
|
68
|
-
/**
|
|
69
|
-
* Provides the previous zoom level.
|
|
70
|
-
*/
|
|
71
|
-
previousZoomLevel: number;
|
|
72
|
-
/**
|
|
73
|
-
* Provides the current zoom level.
|
|
74
|
-
*/
|
|
75
|
-
currentZoomLevel: number;
|
|
76
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LoaderSize, LoaderThemeColor, LoaderType } from "@progress/kendo-angular-indicators";
|
|
6
|
-
/**
|
|
7
|
-
* Defines the configuration options for the Loader component displayed while loading a PDF document.
|
|
8
|
-
*/
|
|
9
|
-
export interface LoaderSettings {
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the size of the Loader.
|
|
12
|
-
*/
|
|
13
|
-
size: LoaderSize;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the Loader animation type.
|
|
16
|
-
*/
|
|
17
|
-
type: LoaderType;
|
|
18
|
-
/**
|
|
19
|
-
* Specifies the Loader theme color.
|
|
20
|
-
*/
|
|
21
|
-
themeColor: LoaderThemeColor;
|
|
22
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { PDFDocumentProxy } from "@progress/kendo-pdfviewer-common";
|
|
6
|
-
import { PDFPageProxy } from 'pdfjs-dist';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the currently loaded `PDF.js` document, its pages, and their DOM element wrapper.
|
|
9
|
-
*/
|
|
10
|
-
export interface PDFViewerContext {
|
|
11
|
-
/**
|
|
12
|
-
* Represents the loaded `PDF.js` document.
|
|
13
|
-
*/
|
|
14
|
-
pdfDoc: PDFDocumentProxy;
|
|
15
|
-
/**
|
|
16
|
-
* Defines the root DOM element wrapper for the PDF document.
|
|
17
|
-
*/
|
|
18
|
-
element: HTMLDivElement;
|
|
19
|
-
/**
|
|
20
|
-
* Defines the loaded `PDF.js` pages.
|
|
21
|
-
*/
|
|
22
|
-
pdfPages: PDFPageProxy[];
|
|
23
|
-
/**
|
|
24
|
-
* Represents the current zoom level.
|
|
25
|
-
*/
|
|
26
|
-
zoom: number;
|
|
27
|
-
}
|
package/models/toolbar-tool.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Defines the possible types of PDFViewer toolbar tools.
|
|
7
|
-
*/
|
|
8
|
-
export type PDFViewerTool = 'pager' | 'spacer' | 'zoomInOut' | 'zoom' | 'selection' | 'search' | 'open' | 'download' | 'print' | 'annotations';
|
package/models/zoom-level.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export interface ZoomLevel {
|
|
9
|
-
id?: number;
|
|
10
|
-
text?: string;
|
|
11
|
-
displayValue?: string;
|
|
12
|
-
type?: string;
|
|
13
|
-
value?: number;
|
|
14
|
-
}
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { type PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|