@progress/kendo-angular-pdfviewer 21.4.1-develop.1 → 22.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.
@@ -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 { PDFViewerCustomMessagesComponent } from "./localization/custom-messages.component";
6
- import { PDFViewerComponent } from "./pdfviewer.component";
7
- /**
8
- * Use the `KENDO_PDFVIEWER` utility array to add all `@progress/kendo-angular-pdf-viewer`-related components and directives to a standalone Angular component.
9
- *
10
- * @example
11
- * ```typescript
12
- * import { Component } from '@angular/core';
13
- * import { KENDO_PDFVIEWER } from "@progress/kendo-angular-pdf-viewer";
14
- *
15
- * @Component({
16
- * standalone: true,
17
- * imports: [KENDO_PDFVIEWER],
18
- * selector: 'my-app',
19
- * template: `<kendo-pdf-viewer [url]="pdfUrl"></kendo-pdf-viewer>`
20
- * })
21
- * export class AppComponent {}
22
- * ```
23
- */
24
- export const KENDO_PDFVIEWER = [
25
- PDFViewerComponent,
26
- PDFViewerCustomMessagesComponent
27
- ];
package/esm2022/index.mjs DELETED
@@ -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
- export { PDFViewerModule } from './pdfviewer.module';
6
- export { PDFViewerComponent } from './pdfviewer.component';
7
- export { ToolbarComponent } from './toolbar/toolbar.component';
8
- export { LoaderComponent } from './loader/loader.component';
9
- export { PDFViewerSearchComponent } from './toolbar/search.component';
10
- export { PDFViewerDownloadEvent } from './models/events';
11
- export { PDFViewerCustomMessagesComponent } from './localization/custom-messages.component';
12
- export { LocalizedPDFViewerMessagesDirective } from './localization/localized-messages.directive';
13
- // Because of Unsupported private class error
14
- export { ToolbarFocusableDirective } from './toolbar/toolbar-focusable.directive';
15
- export { ToolbarInputWrapperComponent } from './toolbar/input-wrapper.component';
16
- export { ToolbarComboBoxDirective } from './toolbar/toolbar-combobox.directive';
17
- export * from './directives';
@@ -1,54 +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 { Component, HostBinding, Input } from '@angular/core';
6
- import { LoaderComponent as LoaderIndicatorComponent } from '@progress/kendo-angular-indicators';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export class LoaderComponent {
12
- settings;
13
- loaderContainerClass = true;
14
- loaderContainerSizingClass = true;
15
- loaderPositionClass = true;
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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: `
18
- <div class="k-loader-container-overlay k-overlay-light"></div>
19
- <div class="k-loader-container-inner">
20
- <kendo-loader
21
- [size]="settings?.size"
22
- [type]="settings?.type"
23
- [themeColor]="settings?.themeColor"></kendo-loader>
24
- </div>
25
- `, isInline: true, dependencies: [{ kind: "component", type: LoaderIndicatorComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }] });
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LoaderComponent, decorators: [{
28
- type: Component,
29
- args: [{
30
- selector: '[kendoPDFViewerLoader]',
31
- template: `
32
- <div class="k-loader-container-overlay k-overlay-light"></div>
33
- <div class="k-loader-container-inner">
34
- <kendo-loader
35
- [size]="settings?.size"
36
- [type]="settings?.type"
37
- [themeColor]="settings?.themeColor"></kendo-loader>
38
- </div>
39
- `,
40
- standalone: true,
41
- imports: [LoaderIndicatorComponent]
42
- }]
43
- }], propDecorators: { settings: [{
44
- type: Input
45
- }], loaderContainerClass: [{
46
- type: HostBinding,
47
- args: ['class.k-loader-container']
48
- }], loaderContainerSizingClass: [{
49
- type: HostBinding,
50
- args: ['class.k-loader-container-md']
51
- }], loaderPositionClass: [{
52
- type: HostBinding,
53
- args: ['class.k-loader-top']
54
- }] } });
@@ -1,51 +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 { Component, forwardRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { Messages } from './messages';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * Represents the custom messages component of the PDFViewer.
12
- *
13
- * Use this component to override default messages for the PDFViewer.
14
- *
15
- * @example
16
- * ```html
17
- * <kendo-pdfviewer [url]="pdfUrl">
18
- * <kendo-pdfviewer-messages
19
- * downloadTitle="Download PDF"
20
- * printTitle="Print PDF">
21
- * </kendo-pdfviewer-messages>
22
- * </kendo-pdfviewer>
23
- * ```
24
- */
25
- export class PDFViewerCustomMessagesComponent extends Messages {
26
- service;
27
- constructor(service) {
28
- super();
29
- this.service = service;
30
- }
31
- get override() {
32
- return true;
33
- }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFViewerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
35
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PDFViewerCustomMessagesComponent, isStandalone: true, selector: "kendo-pdfviewer-messages", providers: [{
36
- provide: Messages,
37
- useExisting: forwardRef(() => PDFViewerCustomMessagesComponent)
38
- }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
39
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFViewerCustomMessagesComponent, decorators: [{
41
- type: Component,
42
- args: [{
43
- providers: [{
44
- provide: Messages,
45
- useExisting: forwardRef(() => PDFViewerCustomMessagesComponent)
46
- }],
47
- selector: 'kendo-pdfviewer-messages',
48
- template: ``,
49
- standalone: true
50
- }]
51
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });
@@ -1,39 +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 { Directive, forwardRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { Messages } from './messages';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * @hidden
12
- */
13
- export class LocalizedPDFViewerMessagesDirective extends Messages {
14
- service;
15
- constructor(service) {
16
- super();
17
- this.service = service;
18
- }
19
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedPDFViewerMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LocalizedPDFViewerMessagesDirective, isStandalone: true, selector: "[kendoPDFViewerLocalizedMessages]", providers: [
21
- {
22
- provide: Messages,
23
- useExisting: forwardRef(() => LocalizedPDFViewerMessagesDirective)
24
- }
25
- ], usesInheritance: true, ngImport: i0 });
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedPDFViewerMessagesDirective, decorators: [{
28
- type: Directive,
29
- args: [{
30
- providers: [
31
- {
32
- provide: Messages,
33
- useExisting: forwardRef(() => LocalizedPDFViewerMessagesDirective)
34
- }
35
- ],
36
- selector: '[kendoPDFViewerLocalizedMessages]',
37
- standalone: true
38
- }]
39
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });
@@ -1,249 +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 { Directive, Input } from '@angular/core';
6
- import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export class Messages extends ComponentMessages {
12
- /**
13
- * Sets the title and label for the **ZoomIn** tool.
14
- */
15
- zoomInTitle;
16
- /**
17
- * Sets the title and label for the **ZoomOut** tool.
18
- */
19
- zoomOutTitle;
20
- /**
21
- * Sets the title and label for the **Selection** tool.
22
- */
23
- selectionTitle;
24
- /**
25
- * Sets the title and label for the **Panning** tool.
26
- */
27
- panningTitle;
28
- /**
29
- * Sets the title and label for the **Search** tool.
30
- */
31
- searchTitle;
32
- /**
33
- * Sets the title and label for the **Open** tool.
34
- */
35
- openTitle;
36
- /**
37
- * Sets the title and label for the **Download** tool.
38
- */
39
- downloadTitle;
40
- /**
41
- * Sets the title and label for the **Print** tool.
42
- */
43
- printTitle;
44
- /**
45
- * Sets the `aria-label` attribute for the Pager input element.
46
- */
47
- pagerInputLabel;
48
- /**
49
- * Sets the `title` attribute for the Pager input element.
50
- */
51
- pagerInputTitle;
52
- /**
53
- * Sets the label for the Pager **First page** button.
54
- */
55
- pagerFirstPage;
56
- /**
57
- * Sets the label for the Pager **Previous page** button.
58
- */
59
- pagerPreviousPage;
60
- /**
61
- * Sets the label for the Pager **Next page** button.
62
- */
63
- pagerNextPage;
64
- /**
65
- * Sets the label for the Pager **Last page** button.
66
- */
67
- pagerLastPage;
68
- /**
69
- * Sets the text before the Pager total-page number.
70
- */
71
- pagerOf;
72
- /**
73
- * Sets the text before the Pager input.
74
- */
75
- pagerPage;
76
- /**
77
- * Sets the text for the zoom level chooser **Fit to page** option.
78
- */
79
- fitToPage;
80
- /**
81
- * Sets the text for the zoom level chooser **Fit to width** option.
82
- */
83
- fitToWidth;
84
- /**
85
- * Sets the placeholder text for the search input.
86
- */
87
- searchInputPlaceholder;
88
- /**
89
- * Sets the text before the total number of matches in the **Search** tool.
90
- */
91
- searchMatchesOf;
92
- /**
93
- * Sets the title for the **Search** previous match button.
94
- */
95
- searchPreviousMatchTitle;
96
- /**
97
- * Sets the title for the **Search** next match button.
98
- */
99
- searchNextMatchTitle;
100
- /**
101
- * Sets the title for the **Search** close button.
102
- */
103
- searchCloseTitle;
104
- /**
105
- * Sets the title for the **Search** match case button.
106
- */
107
- searchMatchCaseTitle;
108
- /**
109
- * Sets the placeholder text for the zoom tool input.
110
- */
111
- zoomInputPlaceholder;
112
- /**
113
- * Sets the title and label for the **Annotation Editor** tool.
114
- */
115
- annotationsTitle;
116
- /**
117
- * Sets the title and label for the **Annotation Editor** tool.
118
- */
119
- annotationEditorTitle;
120
- /**
121
- * Sets the title and label for the **Delete Annotation** tool.
122
- */
123
- deleteAnnotationTitle;
124
- /**
125
- * Sets the title and label for the **Highligh Annotation** tool.
126
- */
127
- highlightAnnotationTitle;
128
- /**
129
- * Sets the title and label for the **Free Text Annotation** tool.
130
- */
131
- freeTextAnnotationTitle;
132
- /**
133
- * Sets the title and label for the **Close Annotations Toolbar** tool.
134
- */
135
- closeAnnotationsToolbarTitle;
136
- /**
137
- * Sets the title of the **Delete Annotation** confirmation dialog.
138
- */
139
- deleteAnnotationConfirmationDialogTitle;
140
- /**
141
- * Sets the content text of the **Delete Annotation** confirmation dialog.
142
- */
143
- deleteAnnotationConfirmationDialogContent;
144
- /**
145
- * Sets the text of the **Delete Annotation** confirmation dialog confirm action button.
146
- */
147
- deleteAnnotationConfirmationDialogConfirmText;
148
- /**
149
- * Sets the text of the **Delete Annotation** confirmation dialog reject action button.
150
- */
151
- deleteAnnotationConfirmationDialogRejectText;
152
- /**
153
- * Sets the text of the **Font Size** section in the annotation editor dialog.
154
- */
155
- annotationEditorFontSizeTitle;
156
- /**
157
- * Sets the text of the **Color** section in the annotation editor dialog.
158
- */
159
- annotationEditorColorTitle;
160
- /**
161
- * Sets the label for the PDF viewer canvas container.
162
- */
163
- canvasLabel;
164
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
165
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", 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", annotationsTitle: "annotationsTitle", annotationEditorTitle: "annotationEditorTitle", deleteAnnotationTitle: "deleteAnnotationTitle", highlightAnnotationTitle: "highlightAnnotationTitle", freeTextAnnotationTitle: "freeTextAnnotationTitle", closeAnnotationsToolbarTitle: "closeAnnotationsToolbarTitle", deleteAnnotationConfirmationDialogTitle: "deleteAnnotationConfirmationDialogTitle", deleteAnnotationConfirmationDialogContent: "deleteAnnotationConfirmationDialogContent", deleteAnnotationConfirmationDialogConfirmText: "deleteAnnotationConfirmationDialogConfirmText", deleteAnnotationConfirmationDialogRejectText: "deleteAnnotationConfirmationDialogRejectText", annotationEditorFontSizeTitle: "annotationEditorFontSizeTitle", annotationEditorColorTitle: "annotationEditorColorTitle", canvasLabel: "canvasLabel" }, usesInheritance: true, ngImport: i0 });
166
- }
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, decorators: [{
168
- type: Directive,
169
- args: [{
170
- // eslint-disable-next-line @angular-eslint/directive-selector
171
- selector: 'kendo-pdfviewer-messages-base'
172
- }]
173
- }], propDecorators: { zoomInTitle: [{
174
- type: Input
175
- }], zoomOutTitle: [{
176
- type: Input
177
- }], selectionTitle: [{
178
- type: Input
179
- }], panningTitle: [{
180
- type: Input
181
- }], searchTitle: [{
182
- type: Input
183
- }], openTitle: [{
184
- type: Input
185
- }], downloadTitle: [{
186
- type: Input
187
- }], printTitle: [{
188
- type: Input
189
- }], pagerInputLabel: [{
190
- type: Input
191
- }], pagerInputTitle: [{
192
- type: Input
193
- }], pagerFirstPage: [{
194
- type: Input
195
- }], pagerPreviousPage: [{
196
- type: Input
197
- }], pagerNextPage: [{
198
- type: Input
199
- }], pagerLastPage: [{
200
- type: Input
201
- }], pagerOf: [{
202
- type: Input
203
- }], pagerPage: [{
204
- type: Input
205
- }], fitToPage: [{
206
- type: Input
207
- }], fitToWidth: [{
208
- type: Input
209
- }], searchInputPlaceholder: [{
210
- type: Input
211
- }], searchMatchesOf: [{
212
- type: Input
213
- }], searchPreviousMatchTitle: [{
214
- type: Input
215
- }], searchNextMatchTitle: [{
216
- type: Input
217
- }], searchCloseTitle: [{
218
- type: Input
219
- }], searchMatchCaseTitle: [{
220
- type: Input
221
- }], zoomInputPlaceholder: [{
222
- type: Input
223
- }], annotationsTitle: [{
224
- type: Input
225
- }], annotationEditorTitle: [{
226
- type: Input
227
- }], deleteAnnotationTitle: [{
228
- type: Input
229
- }], highlightAnnotationTitle: [{
230
- type: Input
231
- }], freeTextAnnotationTitle: [{
232
- type: Input
233
- }], closeAnnotationsToolbarTitle: [{
234
- type: Input
235
- }], deleteAnnotationConfirmationDialogTitle: [{
236
- type: Input
237
- }], deleteAnnotationConfirmationDialogContent: [{
238
- type: Input
239
- }], deleteAnnotationConfirmationDialogConfirmText: [{
240
- type: Input
241
- }], deleteAnnotationConfirmationDialogRejectText: [{
242
- type: Input
243
- }], annotationEditorFontSizeTitle: [{
244
- type: Input
245
- }], annotationEditorColorTitle: [{
246
- type: Input
247
- }], canvasLabel: [{
248
- type: Input
249
- }] } });
@@ -1,13 +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 const AnnotationEditorTypes = {
9
- disable: -1,
10
- none: 0,
11
- freeText: 3,
12
- highlight: 9
13
- };
@@ -1,31 +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
- /**
7
- * Represents the arguments for the PDFViewer `download` event. The event fires when the user clicks the **Download** tool. Canceling the event prevents the download.
8
- */
9
- export class PDFViewerDownloadEvent extends PreventableEvent {
10
- /**
11
- * Provides the file name for saving.
12
- */
13
- fileName;
14
- /**
15
- * Provides the save options.
16
- */
17
- saveOptions;
18
- /**
19
- * Represents the loaded `PDF.js` document, its pages, and their DOM element wrapper.
20
- */
21
- context;
22
- /**
23
- * @hidden
24
- */
25
- constructor(fileName, saveOptions, context) {
26
- super();
27
- this.fileName = fileName;
28
- this.saveOptions = saveOptions;
29
- this.context = context;
30
- }
31
- }
@@ -1,5 +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
- export {};
@@ -1,5 +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
- export {};
@@ -1,5 +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
- export {};
@@ -1,5 +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
- export {};
@@ -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
- /**
6
- * @hidden
7
- */
8
- export const packageMetadata = {
9
- name: '@progress/kendo-angular-pdfviewer',
10
- productName: 'Kendo UI for Angular',
11
- productCode: 'KENDOUIANGULAR',
12
- productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1768386635,
14
- version: '21.4.1-develop.1',
15
- 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',
16
- };