@progress/kendo-angular-pdfviewer 25.0.0-develop.7 → 25.0.0
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/NOTICE.txt +33 -34
- package/codemods/libs/common/src/codemods/utils.js +15 -0
- package/fesm2022/progress-kendo-angular-pdfviewer.mjs +148 -62
- package/index.d.ts +20 -2
- package/package-metadata.mjs +2 -2
- package/package.json +16 -16
- package/schematics/ngAdd/index.js +2 -2
package/NOTICE.txt
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
Progress Kendo UI for Angular 2026
|
|
2
|
+
Progress Kendo UI for Angular 2026 Updated August 2026
|
|
3
3
|
|
|
4
4
|
----------------------------------------------------------------------------------------------------------------------------
|
|
5
5
|
NOTICES REPORT
|
|
6
6
|
----------------------------------------------------------------------------------------------------------------------------
|
|
7
7
|
|
|
8
8
|
Portions of the Products include certain open source and commercial third-party components listed below ("Third-Party
|
|
9
|
-
Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include
|
|
10
|
-
|
|
11
|
-
acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-
|
|
12
|
-
|
|
9
|
+
Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include the
|
|
10
|
+
following notices and additional licensing terms as a condition of PSC's use of such Third-Party Components. You
|
|
11
|
+
acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-Party
|
|
12
|
+
Components or the Product. You hereby undertake to comply with all licenses related to the applicable Third-Party
|
|
13
13
|
Components. Notwithstanding anything to the contrary, to the extent that any of the terms and conditions of the Progress
|
|
14
|
-
Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for
|
|
15
|
-
|
|
14
|
+
Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for these
|
|
15
|
+
technologies, such terms and conditions are offered by PSC alone and not by any other party.
|
|
16
16
|
|
|
17
17
|
----------------------------------------------------------------------------------------------------------------------------
|
|
18
18
|
Report Content
|
|
@@ -25,40 +25,38 @@
|
|
|
25
25
|
|
|
26
26
|
----------------------------------------------------------------------------------------------------------------------------
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
AI governed by the terms and conditions of a license agreement from AI licensor will be required for use and access of
|
|
32
|
-
|
|
33
|
-
a valid use of AI. You acknowledge and accept that Progress is not a party to the license agreement between You
|
|
34
|
-
licensor for AI use, and as a result Progress does not have any control over AI and its availability, and Progress
|
|
35
|
-
|
|
36
|
-
with the Software.
|
|
28
|
+
GENERATIVE ARTIFICIAL INTELLIGENCE INTEGRATION
|
|
29
|
+
If the Software documentation specifies integration with some form of generative artificial intelligence (AI), then the
|
|
30
|
+
Software will include a configuration to connect to AI. You acknowledge that a separate license or subscription access
|
|
31
|
+
to AI governed by the terms and conditions of a license agreement from AI licensor will be required for use and access of
|
|
32
|
+
AI capabilities integrated with the Software. You will be responsible to comply with the terms of such license agreement
|
|
33
|
+
for a valid use of AI. You acknowledge and accept that Progress is not a party to the license agreement between You
|
|
34
|
+
and AI licensor for AI use, and as a result Progress does not have any control over AI and its availability, and Progress
|
|
35
|
+
disclaims any and all liabilities for any output, error, damages, loss, etc., or any other result of Your use of AI
|
|
36
|
+
integrated with the Software.
|
|
37
37
|
|
|
38
38
|
----------------------------------------------------------------------------------------------------------------------------
|
|
39
39
|
|
|
40
|
-
NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or
|
|
41
|
-
|
|
40
|
+
NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or other
|
|
41
|
+
documentation that accompanies updates received in connection with support of the Product.
|
|
42
42
|
|
|
43
43
|
----------------------------------------------------------------------------------------------------------------------------
|
|
44
44
|
|
|
45
45
|
TECHNOLOGIES DISTRIBUTED UNDER ORIGINAL LICENSE
|
|
46
|
-
The Product contains the following third-party technologies licensed to PSC under licenses that require PSC to
|
|
47
|
-
|
|
48
|
-
below.
|
|
46
|
+
The Product contains the following third-party technologies licensed to PSC under licenses that require PSC to distribute the
|
|
47
|
+
technologies to Users only under its original license terms as noted, the text of which is copied herein below.
|
|
49
48
|
|
|
50
49
|
Component License
|
|
51
|
-
|
|
52
|
-
caniuse-lite | 1.0.30001797 Creative Commons Attribution 4.0
|
|
50
|
+
caniuse-lite | 1.0.30001806 Creative Commons Attribution 4.0
|
|
53
51
|
|
|
54
52
|
----------------------------------------------------------------------------------------------------------------------------
|
|
55
53
|
|
|
56
|
-
Components:
|
|
54
|
+
Components:
|
|
57
55
|
|
|
58
56
|
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
59
57
|
| Component | Origin | License |
|
|
60
58
|
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
61
|
-
| caniuse-lite 1.0.
|
|
59
|
+
| caniuse-lite 1.0.30001806 | https://github.com/ben-eb/caniuse-lit | Creative Commons Attribution 4.0 |
|
|
62
60
|
| | e | |
|
|
63
61
|
| jszip 3.10.1 | https://github.com/Stuk/jszip | MIT License |
|
|
64
62
|
| Microsofttslib 1.14.1 | http://github.com/Microsoft/tslib/ | BSD Zero Clause License |
|
|
@@ -66,12 +64,14 @@ Components:
|
|
|
66
64
|
| node-semver 7.7.1 | https://github.com/npm/node-semver | ISC License |
|
|
67
65
|
| nodeca/pako 1.0.11 | https://github.com/nodeca/pako | MIT License |
|
|
68
66
|
| orderedmap 2.1.1 | https://github.com/marijnh/orderedmap | MIT License |
|
|
69
|
-
| pdfjs-dist-for-node 5.
|
|
67
|
+
| pdfjs-dist-for-node 5.5.207 | http://mozilla.github.io/pdf.js/ | Apache License 2.0 |
|
|
68
|
+
| @progress/kendo-svg-icons 5.4.0 | https://github.com/telerik/kendo-icon | Apache License 2.0 |
|
|
69
|
+
| | s#readme | |
|
|
70
70
|
| prosemirror-commands 1.7.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
71
71
|
| | irror-commands#readme | |
|
|
72
72
|
| prosemirror-dropcursor 1.8.2 | https://github.com/prosemirror/prosem | MIT License |
|
|
73
73
|
| | irror-dropcursor#readme | |
|
|
74
|
-
| prosemirror-gapcursor 1.4.
|
|
74
|
+
| prosemirror-gapcursor 1.4.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
75
75
|
| | irror-gapcursor#readme | |
|
|
76
76
|
| prosemirror-history 1.5.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
77
77
|
| | irror-history#readme | |
|
|
@@ -79,7 +79,7 @@ Components:
|
|
|
79
79
|
| | irror-inputrules#readme | |
|
|
80
80
|
| prosemirror-keymap 1.2.3 | https://github.com/prosemirror/prosem | MIT License |
|
|
81
81
|
| | irror-keymap#readme | |
|
|
82
|
-
| prosemirror-model 1.25.
|
|
82
|
+
| prosemirror-model 1.25.9 | https://github.com/prosemirror/prosem | MIT License |
|
|
83
83
|
| | irror-model#readme | |
|
|
84
84
|
| prosemirror-schema-list 1.5.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
85
85
|
| | irror-schema-list#readme | |
|
|
@@ -87,16 +87,14 @@ Components:
|
|
|
87
87
|
| | irror-state#readme | |
|
|
88
88
|
| prosemirror-tables 1.8.5 | https://github.com/prosemirror/prosem | MIT License |
|
|
89
89
|
| | irror-tables#readme | |
|
|
90
|
-
| prosemirror-transform 1.
|
|
90
|
+
| prosemirror-transform 1.12.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
91
91
|
| | irror-transform#readme | |
|
|
92
|
-
| prosemirror-view 1.
|
|
92
|
+
| prosemirror-view 1.42.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
93
93
|
| | irror-view#readme | |
|
|
94
94
|
| rope-sequence 1.3.4 | https://github.com/marijnh/rope-seque | MIT License |
|
|
95
95
|
| | nce#readme | |
|
|
96
96
|
| w3c-keyname 2.2.8 | https://github.com/marijnh/w3c-keynam | MIT License |
|
|
97
97
|
| | e#readme | |
|
|
98
|
-
| @progress/kendo-svg-icons 4.9.2 | https://github.com/telerik/kendo-icon | Apache License 2.0 |
|
|
99
|
-
| | s#readme | |
|
|
100
98
|
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
101
99
|
|
|
102
100
|
-------------------------------------------------------------------------------------------------------------------------
|
|
@@ -104,7 +102,8 @@ License Data and Text:
|
|
|
104
102
|
-------------------------------------------------------------------------------------------------------------------------
|
|
105
103
|
|
|
106
104
|
Apache License 2.0
|
|
107
|
-
(@progress/kendo-svg-icons 4.
|
|
105
|
+
(@progress/kendo-svg-icons 5.4.0, pdfjs-dist-for-node 5.5.207)
|
|
106
|
+
|
|
108
107
|
Apache License
|
|
109
108
|
Version 2.0, January 2004
|
|
110
109
|
=========================
|
|
@@ -372,7 +371,7 @@ THIS SOFTWARE.
|
|
|
372
371
|
---
|
|
373
372
|
|
|
374
373
|
Creative Commons Attribution 4.0
|
|
375
|
-
(caniuse-lite 1.0.
|
|
374
|
+
(caniuse-lite 1.0.30001806)
|
|
376
375
|
|
|
377
376
|
Creative Commons Attribution 4.0
|
|
378
377
|
================================
|
|
@@ -13,6 +13,7 @@ exports.writeInstructionMarker = writeInstructionMarker;
|
|
|
13
13
|
exports.isApiChangeTarget = isApiChangeTarget;
|
|
14
14
|
exports.isRenderingChangeTarget = isRenderingChangeTarget;
|
|
15
15
|
exports.executeCodemodTest = executeCodemodTest;
|
|
16
|
+
exports.removeAttributeFromDirectiveHost = removeAttributeFromDirectiveHost;
|
|
16
17
|
const tslib_1 = require("tslib");
|
|
17
18
|
/// <reference types="node" />
|
|
18
19
|
const fs = tslib_1.__importStar(require("fs"));
|
|
@@ -1486,3 +1487,17 @@ function executeCodemodTest(codemod, testDir, exampleFileName = 'example.ts', ex
|
|
|
1486
1487
|
catch { }
|
|
1487
1488
|
}
|
|
1488
1489
|
}
|
|
1490
|
+
function removeAttributeFromDirectiveHost(templateContent, directiveAttr, attrToRemove) {
|
|
1491
|
+
const escapedDirective = directiveAttr.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1492
|
+
const escapedAttr = attrToRemove.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1493
|
+
const boundPattern = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*${escapedDirective}[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
1494
|
+
const staticPattern = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*${escapedDirective}[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
1495
|
+
// Also match when the attribute appears before the directive
|
|
1496
|
+
const boundPatternBefore = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*${escapedDirective}[^>]*?>)`, 'gi');
|
|
1497
|
+
const staticPatternBefore = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*${escapedDirective}[^>]*?>)`, 'gi');
|
|
1498
|
+
let result = templateContent.replace(boundPattern, '$1$3');
|
|
1499
|
+
result = result.replace(staticPattern, '$1$3');
|
|
1500
|
+
result = result.replace(boundPatternBefore, '$1$3');
|
|
1501
|
+
result = result.replace(staticPatternBefore, '$1$3');
|
|
1502
|
+
return result;
|
|
1503
|
+
}
|
|
@@ -7,12 +7,12 @@ import { Input, Directive, forwardRef, Component, Injectable, HostBinding, Event
|
|
|
7
7
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
|
+
import { PreventableEvent, Keys, normalizeKeys, focusableSelector, getLicenseMessage, shouldShowValidationUI, hasObservers, EventsOutsideAngularDirective, WatermarkOverlayComponent, provideComponentName, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
11
|
import { PdfViewerInteractionMode, PdfViewer } from '@progress/kendo-pdfviewer-common';
|
|
11
|
-
import { PreventableEvent, Keys, normalizeKeys, focusableSelector, getLicenseMessage, shouldShowValidationUI, hasObservers, EventsOutsideAngularDirective, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
12
12
|
import { FileSelectComponent, UploadDropZoneComponent, CustomMessagesComponent as CustomMessagesComponent$1 } from '@progress/kendo-angular-upload';
|
|
13
13
|
import { Subscription } from 'rxjs';
|
|
14
14
|
import { PagerComponent, CustomMessagesComponent } from '@progress/kendo-angular-pager';
|
|
15
|
-
import { zoomInIcon, zoomOutIcon, handIcon, pointerIcon, searchIcon, folderOpenIcon, downloadIcon, printIcon,
|
|
15
|
+
import { zoomInIcon, zoomOutIcon, handIcon, pointerIcon, searchIcon, folderOpenIcon, downloadIcon, printIcon, editAnnotationsIcon, highlightIcon, freeTextIcon, xIcon, convertLowercaseIcon, arrowUpIcon, arrowDownIcon, handleDragIcon, paletteIcon, trashIcon, checkIcon } from '@progress/kendo-svg-icons';
|
|
16
16
|
import * as i1$1 from '@progress/kendo-angular-dropdowns';
|
|
17
17
|
import { ComboBoxComponent, ItemTemplateDirective, KENDO_DROPDOWNLIST } from '@progress/kendo-angular-dropdowns';
|
|
18
18
|
import * as i2 from '@progress/kendo-angular-buttons';
|
|
@@ -125,6 +125,10 @@ class Messages extends ComponentMessages {
|
|
|
125
125
|
* Sets the title for the **Search** close button.
|
|
126
126
|
*/
|
|
127
127
|
searchCloseTitle;
|
|
128
|
+
/**
|
|
129
|
+
* Sets the title for the **Search** drag handle button.
|
|
130
|
+
*/
|
|
131
|
+
searchDragHandleTitle;
|
|
128
132
|
/**
|
|
129
133
|
* Sets the title for the **Search** match case button.
|
|
130
134
|
*/
|
|
@@ -197,10 +201,22 @@ class Messages extends ComponentMessages {
|
|
|
197
201
|
* Sets the text for the FileSelect button in the blank page drop zone.
|
|
198
202
|
*/
|
|
199
203
|
blankPageSelect;
|
|
200
|
-
|
|
201
|
-
|
|
204
|
+
/**
|
|
205
|
+
* Sets the `aria-label` attribute for the toolbar.
|
|
206
|
+
*/
|
|
207
|
+
toolbarLabel;
|
|
208
|
+
/**
|
|
209
|
+
* Sets the `aria-label` attribute for the inner input of the zoom level ComboBox.
|
|
210
|
+
*/
|
|
211
|
+
zoomLevelAriaLabel;
|
|
212
|
+
/**
|
|
213
|
+
* Sets the `aria-label` attribute for the inner input of the search TextBox.
|
|
214
|
+
*/
|
|
215
|
+
searchAriaLabel;
|
|
216
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
217
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: Messages, isStandalone: true, 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", searchDragHandleTitle: "searchDragHandleTitle", 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", blankPageDropFilesHere: "blankPageDropFilesHere", blankPageExternalDropFilesHere: "blankPageExternalDropFilesHere", blankPageSelect: "blankPageSelect", toolbarLabel: "toolbarLabel", zoomLevelAriaLabel: "zoomLevelAriaLabel", searchAriaLabel: "searchAriaLabel" }, usesInheritance: true, ngImport: i0 });
|
|
202
218
|
}
|
|
203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, decorators: [{
|
|
204
220
|
type: Directive,
|
|
205
221
|
args: [{
|
|
206
222
|
selector: 'kendo-pdfviewer-messages-base'
|
|
@@ -251,6 +267,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
251
267
|
type: Input
|
|
252
268
|
}], searchCloseTitle: [{
|
|
253
269
|
type: Input
|
|
270
|
+
}], searchDragHandleTitle: [{
|
|
271
|
+
type: Input
|
|
254
272
|
}], searchMatchCaseTitle: [{
|
|
255
273
|
type: Input
|
|
256
274
|
}], zoomInputPlaceholder: [{
|
|
@@ -287,6 +305,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
287
305
|
type: Input
|
|
288
306
|
}], blankPageSelect: [{
|
|
289
307
|
type: Input
|
|
308
|
+
}], toolbarLabel: [{
|
|
309
|
+
type: Input
|
|
310
|
+
}], zoomLevelAriaLabel: [{
|
|
311
|
+
type: Input
|
|
312
|
+
}], searchAriaLabel: [{
|
|
313
|
+
type: Input
|
|
290
314
|
}] } });
|
|
291
315
|
|
|
292
316
|
/**
|
|
@@ -313,13 +337,13 @@ class PDFViewerCustomMessagesComponent extends Messages {
|
|
|
313
337
|
get override() {
|
|
314
338
|
return true;
|
|
315
339
|
}
|
|
316
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
317
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
340
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PDFViewerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
341
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: PDFViewerCustomMessagesComponent, isStandalone: true, selector: "kendo-pdfviewer-messages", providers: [{
|
|
318
342
|
provide: Messages,
|
|
319
343
|
useExisting: forwardRef(() => PDFViewerCustomMessagesComponent)
|
|
320
344
|
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
321
345
|
}
|
|
322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PDFViewerCustomMessagesComponent, decorators: [{
|
|
323
347
|
type: Component,
|
|
324
348
|
args: [{
|
|
325
349
|
providers: [{
|
|
@@ -340,8 +364,8 @@ const packageMetadata = {
|
|
|
340
364
|
productName: 'Kendo UI for Angular',
|
|
341
365
|
productCode: 'KENDOUIANGULAR',
|
|
342
366
|
productCodes: ['KENDOUIANGULAR'],
|
|
343
|
-
publishDate:
|
|
344
|
-
version: '25.0.0
|
|
367
|
+
publishDate: 1786526090,
|
|
368
|
+
version: '25.0.0',
|
|
345
369
|
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',
|
|
346
370
|
};
|
|
347
371
|
|
|
@@ -491,10 +515,10 @@ class ToolbarNavigationService {
|
|
|
491
515
|
}
|
|
492
516
|
this.focusableTools[this.currentFocusIndex].activate();
|
|
493
517
|
}
|
|
494
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
495
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
518
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarNavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
519
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarNavigationService });
|
|
496
520
|
}
|
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarNavigationService, decorators: [{
|
|
498
522
|
type: Injectable
|
|
499
523
|
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
500
524
|
|
|
@@ -528,10 +552,10 @@ class ToolbarComboBoxDirective {
|
|
|
528
552
|
}
|
|
529
553
|
}
|
|
530
554
|
};
|
|
531
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
532
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
555
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarComboBoxDirective, deps: [{ token: i1$1.ComboBoxComponent }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
556
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: ToolbarComboBoxDirective, isStandalone: true, selector: "[kendoPDFViewerComboBox]", ngImport: i0 });
|
|
533
557
|
}
|
|
534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarComboBoxDirective, decorators: [{
|
|
535
559
|
type: Directive,
|
|
536
560
|
args: [{
|
|
537
561
|
selector: '[kendoPDFViewerComboBox]',
|
|
@@ -590,10 +614,10 @@ class ToolbarFocusableDirective {
|
|
|
590
614
|
this.renderer.setAttribute(element, 'tabindex', '0');
|
|
591
615
|
element.focus();
|
|
592
616
|
}
|
|
593
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
594
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
617
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
618
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: ToolbarFocusableDirective, isStandalone: true, selector: "[kendoPDFViewerToolbarFocusable]", ngImport: i0 });
|
|
595
619
|
}
|
|
596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarFocusableDirective, decorators: [{
|
|
597
621
|
type: Directive,
|
|
598
622
|
args: [{
|
|
599
623
|
selector: '[kendoPDFViewerToolbarFocusable]',
|
|
@@ -639,12 +663,12 @@ class ToolbarInputWrapperComponent {
|
|
|
639
663
|
ngOnDestroy() {
|
|
640
664
|
this.subs.unsubscribe();
|
|
641
665
|
}
|
|
642
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
643
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
666
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarInputWrapperComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
667
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: ToolbarInputWrapperComponent, isStandalone: true, selector: "kendo-toolbar-input-wrapper", inputs: { toolbarTool: "toolbarTool" }, host: { properties: { "class.k-toolbar-item": "this.hostClass" } }, ngImport: i0, template: `
|
|
644
668
|
<ng-content></ng-content>
|
|
645
669
|
`, isInline: true });
|
|
646
670
|
}
|
|
647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarInputWrapperComponent, decorators: [{
|
|
648
672
|
type: Component,
|
|
649
673
|
args: [{
|
|
650
674
|
selector: 'kendo-toolbar-input-wrapper',
|
|
@@ -667,6 +691,9 @@ class ToolbarComponent {
|
|
|
667
691
|
localization;
|
|
668
692
|
navigationService;
|
|
669
693
|
toolbarClasses = true;
|
|
694
|
+
get ariaLabel() {
|
|
695
|
+
return this.messageFor('toolbarLabel');
|
|
696
|
+
}
|
|
670
697
|
fileSelectEl;
|
|
671
698
|
zoomLevel = {
|
|
672
699
|
text: '125%',
|
|
@@ -715,7 +742,7 @@ class ToolbarComponent {
|
|
|
715
742
|
folderOpenIcon = folderOpenIcon;
|
|
716
743
|
downloadIcon = downloadIcon;
|
|
717
744
|
printIcon = printIcon;
|
|
718
|
-
|
|
745
|
+
editAnnotationsIcon = editAnnotationsIcon;
|
|
719
746
|
highlightIcon = highlightIcon;
|
|
720
747
|
freeTextIcon = freeTextIcon;
|
|
721
748
|
xIcon = xIcon;
|
|
@@ -769,8 +796,8 @@ class ToolbarComponent {
|
|
|
769
796
|
text: `${Math.round(newValue * 100)}%`
|
|
770
797
|
};
|
|
771
798
|
}));
|
|
772
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
773
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
799
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.LocalizationService }, { token: ToolbarNavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
800
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", 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", type: "type", wrapperId: "wrapperId", isAnnotationsToolbarVisible: "isAnnotationsToolbarVisible", annotationsToolId: "annotationsToolId", isSelectionEnabled: "isSelectionEnabled" }, 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", toggleAnnotationsToolbar: "toggleAnnotationsToolbar", setAnnotationMode: "setAnnotationMode" }, host: { properties: { "class.k-toolbar": "this.toolbarClasses", "class.k-toolbar-flat": "this.toolbarClasses", "attr.aria-label": "this.ariaLabel" } }, providers: [ToolbarNavigationService], viewQueries: [{ propertyName: "fileSelectEl", first: true, predicate: ["fileSelectEl"], descendants: true }], ngImport: i0, template: `
|
|
774
801
|
@if (type === 'tools') {
|
|
775
802
|
@for (tool of tools; track $index) {
|
|
776
803
|
@switch (tool) {
|
|
@@ -850,12 +877,13 @@ class ToolbarComponent {
|
|
|
850
877
|
[data]="zoomOptionsData"
|
|
851
878
|
[disabled]="disabledTools"
|
|
852
879
|
[placeholder]="messageFor('zoomInputPlaceholder')"
|
|
880
|
+
[inputAttributes]="{'aria-label': messageFor('zoomLevelAriaLabel')}"
|
|
853
881
|
textField="displayValue"
|
|
854
882
|
valueField="id"
|
|
855
883
|
[value]="zoomLevelChooserValue"
|
|
856
884
|
[allowCustom]="true"
|
|
857
885
|
[valueNormalizer]="valueNormalizer"
|
|
858
|
-
[clearButton]="
|
|
886
|
+
[clearButton]="true"
|
|
859
887
|
(valueChange)="onZoomLevelChooserValueChange($event)">
|
|
860
888
|
<ng-template kendoComboBoxItemTemplate let-dataItem>
|
|
861
889
|
{{ dataItem.type ? messageFor('f' + dataItem.type.slice(1)) : dataItem.text }}
|
|
@@ -962,14 +990,14 @@ class ToolbarComponent {
|
|
|
962
990
|
kendoButton
|
|
963
991
|
class="k-toolbar-button"
|
|
964
992
|
fillMode="flat"
|
|
965
|
-
icon="
|
|
993
|
+
icon="edit-annotations"
|
|
966
994
|
[selected]="isAnnotationsToolbarVisible"
|
|
967
995
|
[disabled]="disabledTools || !isSelectionEnabled"
|
|
968
996
|
[attr.title]="messageFor('annotationsTitle')"
|
|
969
997
|
[attr.aria-label]="messageFor('annotationsTitle')"
|
|
970
998
|
[attr.aria-controls]="wrapperId"
|
|
971
999
|
[attr.aria-expanded]="isAnnotationsToolbarVisible"
|
|
972
|
-
[svgIcon]="
|
|
1000
|
+
[svgIcon]="editAnnotationsIcon"
|
|
973
1001
|
(click)="toggleAnnotationsToolbar.emit();"></button>
|
|
974
1002
|
}
|
|
975
1003
|
}
|
|
@@ -1033,7 +1061,7 @@ class ToolbarComponent {
|
|
|
1033
1061
|
}
|
|
1034
1062
|
`, isInline: true, dependencies: [{ kind: "component", type: ToolbarInputWrapperComponent, selector: "kendo-toolbar-input-wrapper", inputs: ["toolbarTool"] }, { kind: "directive", type: ToolbarFocusableDirective, selector: "[kendoPDFViewerToolbarFocusable]" }, { kind: "component", type: PagerComponent, selector: "kendo-datapager, kendo-pager", inputs: ["externalTemplate", "total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size", "responsive", "adaptiveMode"], outputs: ["pageChange", "pageSizeChange", "pagerInputVisibilityChange", "pageTextVisibilityChange", "itemsTextVisibilityChange"], exportAs: ["kendoDataPager", "kendoPager"] }, { kind: "component", type: CustomMessagesComponent, selector: "kendo-datapager-messages, kendo-pager-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]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], 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", "adaptiveTitle", "adaptiveSubtitle", "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]" }] });
|
|
1035
1063
|
}
|
|
1036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
1037
1065
|
type: Component,
|
|
1038
1066
|
args: [{
|
|
1039
1067
|
selector: '[kendoPDFViewerToolbar]',
|
|
@@ -1118,12 +1146,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1118
1146
|
[data]="zoomOptionsData"
|
|
1119
1147
|
[disabled]="disabledTools"
|
|
1120
1148
|
[placeholder]="messageFor('zoomInputPlaceholder')"
|
|
1149
|
+
[inputAttributes]="{'aria-label': messageFor('zoomLevelAriaLabel')}"
|
|
1121
1150
|
textField="displayValue"
|
|
1122
1151
|
valueField="id"
|
|
1123
1152
|
[value]="zoomLevelChooserValue"
|
|
1124
1153
|
[allowCustom]="true"
|
|
1125
1154
|
[valueNormalizer]="valueNormalizer"
|
|
1126
|
-
[clearButton]="
|
|
1155
|
+
[clearButton]="true"
|
|
1127
1156
|
(valueChange)="onZoomLevelChooserValueChange($event)">
|
|
1128
1157
|
<ng-template kendoComboBoxItemTemplate let-dataItem>
|
|
1129
1158
|
{{ dataItem.type ? messageFor('f' + dataItem.type.slice(1)) : dataItem.text }}
|
|
@@ -1230,14 +1259,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1230
1259
|
kendoButton
|
|
1231
1260
|
class="k-toolbar-button"
|
|
1232
1261
|
fillMode="flat"
|
|
1233
|
-
icon="
|
|
1262
|
+
icon="edit-annotations"
|
|
1234
1263
|
[selected]="isAnnotationsToolbarVisible"
|
|
1235
1264
|
[disabled]="disabledTools || !isSelectionEnabled"
|
|
1236
1265
|
[attr.title]="messageFor('annotationsTitle')"
|
|
1237
1266
|
[attr.aria-label]="messageFor('annotationsTitle')"
|
|
1238
1267
|
[attr.aria-controls]="wrapperId"
|
|
1239
1268
|
[attr.aria-expanded]="isAnnotationsToolbarVisible"
|
|
1240
|
-
[svgIcon]="
|
|
1269
|
+
[svgIcon]="editAnnotationsIcon"
|
|
1241
1270
|
(click)="toggleAnnotationsToolbar.emit();"></button>
|
|
1242
1271
|
}
|
|
1243
1272
|
}
|
|
@@ -1309,6 +1338,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1309
1338
|
}, {
|
|
1310
1339
|
type: HostBinding,
|
|
1311
1340
|
args: ['class.k-toolbar-flat']
|
|
1341
|
+
}], ariaLabel: [{
|
|
1342
|
+
type: HostBinding,
|
|
1343
|
+
args: ['attr.aria-label']
|
|
1312
1344
|
}], fileSelectEl: [{
|
|
1313
1345
|
type: ViewChild,
|
|
1314
1346
|
args: ['fileSelectEl']
|
|
@@ -1399,6 +1431,7 @@ class PDFViewerSearchComponent {
|
|
|
1399
1431
|
convertLowercaseIcon = convertLowercaseIcon;
|
|
1400
1432
|
arrowUpIcon = arrowUpIcon;
|
|
1401
1433
|
arrowDownIcon = arrowDownIcon;
|
|
1434
|
+
handleDragIcon = handleDragIcon;
|
|
1402
1435
|
xIcon = xIcon;
|
|
1403
1436
|
value = null;
|
|
1404
1437
|
matchCase = false;
|
|
@@ -1417,19 +1450,30 @@ class PDFViewerSearchComponent {
|
|
|
1417
1450
|
this.closeButton.nativeElement.focus();
|
|
1418
1451
|
}
|
|
1419
1452
|
}
|
|
1420
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1421
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1453
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PDFViewerSearchComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1454
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", 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", "attr.aria-label": "this.ariaLabel" } }, viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textbox"], descendants: true }, { propertyName: "closeButton", first: true, predicate: ["closeButton"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
|
1455
|
+
<button
|
|
1456
|
+
type="button"
|
|
1457
|
+
kendoButton
|
|
1458
|
+
class="k-search-dialog-draghandle"
|
|
1459
|
+
fillMode="flat"
|
|
1460
|
+
[attr.aria-label]="messageFor('searchDragHandleTitle')"
|
|
1461
|
+
icon="handle-drag"
|
|
1462
|
+
[svgIcon]="handleDragIcon"></button>
|
|
1422
1463
|
<kendo-textbox
|
|
1423
1464
|
#textbox
|
|
1424
1465
|
[placeholder]="messageFor('searchInputPlaceholder')"
|
|
1466
|
+
[inputAttributes]="{'aria-label': messageFor('searchAriaLabel')}"
|
|
1425
1467
|
[value]="value"
|
|
1426
1468
|
(valueChange)="value = $event; searchChange.emit({text: $event, matchCase})"
|
|
1427
1469
|
(keydown.shift.tab)="onShiftTab($event)">
|
|
1428
|
-
<ng-template kendoTextBoxSuffixTemplate>
|
|
1470
|
+
<ng-template kendoTextBoxSuffixTemplate [showSeparator]="true">
|
|
1429
1471
|
<button
|
|
1430
1472
|
type="button"
|
|
1431
1473
|
kendoButton
|
|
1474
|
+
class="k-match-case-button"
|
|
1432
1475
|
[attr.title]="messageFor('searchMatchCaseTitle')"
|
|
1476
|
+
[attr.aria-label]="messageFor('searchMatchCaseTitle')"
|
|
1433
1477
|
fillMode="flat"
|
|
1434
1478
|
[togglable]="true"
|
|
1435
1479
|
(click)="matchCase = !matchCase; searchChange.emit({text: value, matchCase})"
|
|
@@ -1444,6 +1488,7 @@ class PDFViewerSearchComponent {
|
|
|
1444
1488
|
type="button"
|
|
1445
1489
|
kendoButton
|
|
1446
1490
|
[attr.title]="messageFor('searchPreviousMatchTitle')"
|
|
1491
|
+
[attr.aria-label]="messageFor('searchPreviousMatchTitle')"
|
|
1447
1492
|
fillMode="flat"
|
|
1448
1493
|
[disabled]="matches === 0"
|
|
1449
1494
|
(click)="prevMatch.emit()"
|
|
@@ -1453,6 +1498,7 @@ class PDFViewerSearchComponent {
|
|
|
1453
1498
|
type="button"
|
|
1454
1499
|
kendoButton
|
|
1455
1500
|
[attr.title]="messageFor('searchNextMatchTitle')"
|
|
1501
|
+
[attr.aria-label]="messageFor('searchNextMatchTitle')"
|
|
1456
1502
|
fillMode="flat"
|
|
1457
1503
|
[disabled]="matches === 0"
|
|
1458
1504
|
(click)="nextMatch.emit()"
|
|
@@ -1463,6 +1509,7 @@ class PDFViewerSearchComponent {
|
|
|
1463
1509
|
#closeButton
|
|
1464
1510
|
kendoButton
|
|
1465
1511
|
[attr.title]="messageFor('searchCloseTitle')"
|
|
1512
|
+
[attr.aria-label]="messageFor('searchCloseTitle')"
|
|
1466
1513
|
fillMode="flat"
|
|
1467
1514
|
(click)="close.emit()"
|
|
1468
1515
|
(keydown.tab)="$event.preventDefault(); textbox.focus();"
|
|
@@ -1470,22 +1517,33 @@ class PDFViewerSearchComponent {
|
|
|
1470
1517
|
[svgIcon]="xIcon"></button>
|
|
1471
1518
|
`, 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]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
1472
1519
|
}
|
|
1473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PDFViewerSearchComponent, decorators: [{
|
|
1474
1521
|
type: Component,
|
|
1475
1522
|
args: [{
|
|
1476
1523
|
selector: '[kendoPDFViewerSearch]',
|
|
1477
1524
|
template: `
|
|
1525
|
+
<button
|
|
1526
|
+
type="button"
|
|
1527
|
+
kendoButton
|
|
1528
|
+
class="k-search-dialog-draghandle"
|
|
1529
|
+
fillMode="flat"
|
|
1530
|
+
[attr.aria-label]="messageFor('searchDragHandleTitle')"
|
|
1531
|
+
icon="handle-drag"
|
|
1532
|
+
[svgIcon]="handleDragIcon"></button>
|
|
1478
1533
|
<kendo-textbox
|
|
1479
1534
|
#textbox
|
|
1480
1535
|
[placeholder]="messageFor('searchInputPlaceholder')"
|
|
1536
|
+
[inputAttributes]="{'aria-label': messageFor('searchAriaLabel')}"
|
|
1481
1537
|
[value]="value"
|
|
1482
1538
|
(valueChange)="value = $event; searchChange.emit({text: $event, matchCase})"
|
|
1483
1539
|
(keydown.shift.tab)="onShiftTab($event)">
|
|
1484
|
-
<ng-template kendoTextBoxSuffixTemplate>
|
|
1540
|
+
<ng-template kendoTextBoxSuffixTemplate [showSeparator]="true">
|
|
1485
1541
|
<button
|
|
1486
1542
|
type="button"
|
|
1487
1543
|
kendoButton
|
|
1544
|
+
class="k-match-case-button"
|
|
1488
1545
|
[attr.title]="messageFor('searchMatchCaseTitle')"
|
|
1546
|
+
[attr.aria-label]="messageFor('searchMatchCaseTitle')"
|
|
1489
1547
|
fillMode="flat"
|
|
1490
1548
|
[togglable]="true"
|
|
1491
1549
|
(click)="matchCase = !matchCase; searchChange.emit({text: value, matchCase})"
|
|
@@ -1500,6 +1558,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1500
1558
|
type="button"
|
|
1501
1559
|
kendoButton
|
|
1502
1560
|
[attr.title]="messageFor('searchPreviousMatchTitle')"
|
|
1561
|
+
[attr.aria-label]="messageFor('searchPreviousMatchTitle')"
|
|
1503
1562
|
fillMode="flat"
|
|
1504
1563
|
[disabled]="matches === 0"
|
|
1505
1564
|
(click)="prevMatch.emit()"
|
|
@@ -1509,6 +1568,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1509
1568
|
type="button"
|
|
1510
1569
|
kendoButton
|
|
1511
1570
|
[attr.title]="messageFor('searchNextMatchTitle')"
|
|
1571
|
+
[attr.aria-label]="messageFor('searchNextMatchTitle')"
|
|
1512
1572
|
fillMode="flat"
|
|
1513
1573
|
[disabled]="matches === 0"
|
|
1514
1574
|
(click)="nextMatch.emit()"
|
|
@@ -1519,6 +1579,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1519
1579
|
#closeButton
|
|
1520
1580
|
kendoButton
|
|
1521
1581
|
[attr.title]="messageFor('searchCloseTitle')"
|
|
1582
|
+
[attr.aria-label]="messageFor('searchCloseTitle')"
|
|
1522
1583
|
fillMode="flat"
|
|
1523
1584
|
(click)="close.emit()"
|
|
1524
1585
|
(keydown.tab)="$event.preventDefault(); textbox.focus();"
|
|
@@ -1565,8 +1626,8 @@ class LoaderComponent {
|
|
|
1565
1626
|
loaderContainerClass = true;
|
|
1566
1627
|
loaderContainerSizingClass = true;
|
|
1567
1628
|
loaderPositionClass = true;
|
|
1568
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1569
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1629
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1630
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", 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: `
|
|
1570
1631
|
<div class="k-loader-container-overlay k-overlay"></div>
|
|
1571
1632
|
<div class="k-loader-container-inner">
|
|
1572
1633
|
<kendo-loader
|
|
@@ -1576,7 +1637,7 @@ class LoaderComponent {
|
|
|
1576
1637
|
</div>
|
|
1577
1638
|
`, isInline: true, dependencies: [{ kind: "component", type: LoaderComponent$1, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }] });
|
|
1578
1639
|
}
|
|
1579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
1580
1641
|
type: Component,
|
|
1581
1642
|
args: [{
|
|
1582
1643
|
selector: '[kendoPDFViewerLoader]',
|
|
@@ -1614,15 +1675,15 @@ class LocalizedPDFViewerMessagesDirective extends Messages {
|
|
|
1614
1675
|
super();
|
|
1615
1676
|
this.service = service;
|
|
1616
1677
|
}
|
|
1617
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1618
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1678
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedPDFViewerMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1679
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: LocalizedPDFViewerMessagesDirective, isStandalone: true, selector: "[kendoPDFViewerLocalizedMessages]", providers: [
|
|
1619
1680
|
{
|
|
1620
1681
|
provide: Messages,
|
|
1621
1682
|
useExisting: forwardRef(() => LocalizedPDFViewerMessagesDirective)
|
|
1622
1683
|
}
|
|
1623
1684
|
], usesInheritance: true, ngImport: i0 });
|
|
1624
1685
|
}
|
|
1625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedPDFViewerMessagesDirective, decorators: [{
|
|
1626
1687
|
type: Directive,
|
|
1627
1688
|
args: [{
|
|
1628
1689
|
providers: [
|
|
@@ -1657,10 +1718,10 @@ class BlankPageTemplateDirective {
|
|
|
1657
1718
|
constructor(templateRef) {
|
|
1658
1719
|
this.templateRef = templateRef;
|
|
1659
1720
|
}
|
|
1660
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1661
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1721
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: BlankPageTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1722
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: BlankPageTemplateDirective, isStandalone: true, selector: "[kendoPdfViewerBlankPageTemplate]", ngImport: i0 });
|
|
1662
1723
|
}
|
|
1663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: BlankPageTemplateDirective, decorators: [{
|
|
1664
1725
|
type: Directive,
|
|
1665
1726
|
args: [{
|
|
1666
1727
|
selector: '[kendoPdfViewerBlankPageTemplate]',
|
|
@@ -1751,8 +1812,8 @@ class AnnotationPopupToolbarContentComponent {
|
|
|
1751
1812
|
onColorValueChange(value) {
|
|
1752
1813
|
this.pdfViewerWidget[this.annotationEditorType === 'highlight' ? 'setHighlightColor' : 'setFreeTextColor'](value);
|
|
1753
1814
|
}
|
|
1754
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1755
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1815
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AnnotationPopupToolbarContentComponent, deps: [{ token: i1$2.DialogService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1816
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: AnnotationPopupToolbarContentComponent, isStandalone: true, selector: "[kendoPDFViewerAnnotationPopupToolbar]", host: { properties: { "class.k-toolbar": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses", "class.k-toolbar-flat": "this.hostClasses" } }, providers: [DialogService], ngImport: i0, template: `
|
|
1756
1817
|
@if (showToolbar) {
|
|
1757
1818
|
<button
|
|
1758
1819
|
kendoButton
|
|
@@ -1797,7 +1858,7 @@ class AnnotationPopupToolbarContentComponent {
|
|
|
1797
1858
|
}
|
|
1798
1859
|
`, isInline: true, dependencies: [{ kind: "component", type: i2.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i3.FlatColorPickerComponent, selector: "kendo-flatcolorpicker", inputs: ["readonly", "disabled", "format", "value", "tabindex", "clearButton", "preview", "actionsLayout", "activeView", "views", "gradientSettings", "adaptiveMode", "paletteSettings", "size"], outputs: ["valueChange", "cancel", "activeViewChange", "clearButtonClick", "actionButtonClick"], exportAs: ["kendoFlatColorPicker"] }, { kind: "component", type: i1$1.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }] });
|
|
1799
1860
|
}
|
|
1800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AnnotationPopupToolbarContentComponent, decorators: [{
|
|
1801
1862
|
type: Component,
|
|
1802
1863
|
args: [{
|
|
1803
1864
|
selector: '[kendoPDFViewerAnnotationPopupToolbar]',
|
|
@@ -2312,8 +2373,7 @@ class PDFViewerComponent {
|
|
|
2312
2373
|
}
|
|
2313
2374
|
let newZoom = zoomLevel.type ? this.pdfViewerWidget?.calculateZoomLevel({
|
|
2314
2375
|
zoomLevel: zoomLevel.value,
|
|
2315
|
-
zoomLevelType: zoomLevel.type
|
|
2316
|
-
currentZoom: this.zoom
|
|
2376
|
+
zoomLevelType: zoomLevel.type
|
|
2317
2377
|
}) : Math.min(Math.max(zoomLevel.value, this.minZoom), this.maxZoom);
|
|
2318
2378
|
newZoom = Math.round((newZoom + Number.EPSILON) * 100) / 100;
|
|
2319
2379
|
const sameZoom = this.zoom === newZoom;
|
|
@@ -2589,13 +2649,14 @@ class PDFViewerComponent {
|
|
|
2589
2649
|
observer.observe(element, { attributeFilter: ['class'] });
|
|
2590
2650
|
return observer;
|
|
2591
2651
|
};
|
|
2592
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2593
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2652
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PDFViewerComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i2$1.PopupService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2653
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: PDFViewerComponent, isStandalone: true, selector: "kendo-pdfviewer", inputs: { tools: "tools", loaderSettings: "loaderSettings", renderForms: "renderForms", saveFileName: "saveFileName", saveOptions: "saveOptions", url: "url", data: "data", arrayBuffer: "arrayBuffer", typedArray: "typedArray", zoom: "zoom", zoomRate: "zoomRate", minZoom: "minZoom", maxZoom: "maxZoom", loadOnDemand: "loadOnDemand", loadOnDemandPageSize: "loadOnDemandPageSize", removeAnnotationConfirmation: "removeAnnotationConfirmation" }, outputs: { fileSelect: "fileSelect", load: "load", error: "error", download: "download", pageChange: "pageChange", zoomLevelChange: "zoomLevelChange" }, host: { properties: { "class.k-pdf-viewer": "this.hostClass", "attr.dir": "this.direction", "attr.display": "this.display" } }, providers: [
|
|
2594
2654
|
LocalizationService,
|
|
2595
2655
|
{
|
|
2596
2656
|
provide: L10N_PREFIX,
|
|
2597
2657
|
useValue: 'kendo.pdfviewer'
|
|
2598
|
-
}
|
|
2658
|
+
},
|
|
2659
|
+
provideComponentName('pdfviewer')
|
|
2599
2660
|
], queries: [{ propertyName: "blankPageTemplate", first: true, predicate: BlankPageTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "pagesContainer", first: true, predicate: ["pagesContainer"], descendants: true }, { propertyName: "pagesContainerViewContainerRef", first: true, predicate: ["pagesContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dialogContainerViewContainerRef", first: true, predicate: ["dialogContainer"], descendants: true, read: ViewContainerRef }], exportAs: ["kendo-pdfviewer"], usesOnChanges: true, ngImport: i0, template: `
|
|
2600
2661
|
<ng-container kendoPDFViewerLocalizedMessages
|
|
2601
2662
|
i18n-pagerFirstPage="kendo.pdfviewer.pagerFirstPage|The label for the first page button in the Pager"
|
|
@@ -2667,6 +2728,9 @@ class PDFViewerComponent {
|
|
|
2667
2728
|
i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
|
|
2668
2729
|
searchCloseTitle="Close"
|
|
2669
2730
|
|
|
2731
|
+
i18n-searchDragHandleTitle="kendo.pdfviewer.searchDragHandleTitle|The title of the Search tool drag handle button."
|
|
2732
|
+
searchDragHandleTitle="Drag handle"
|
|
2733
|
+
|
|
2670
2734
|
i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
|
|
2671
2735
|
searchMatchCaseTitle="Match case"
|
|
2672
2736
|
|
|
@@ -2719,7 +2783,16 @@ class PDFViewerComponent {
|
|
|
2719
2783
|
blankPageExternalDropFilesHere="Drag and drop files here to upload"
|
|
2720
2784
|
|
|
2721
2785
|
i18n-blankPageSelect="kendo.pdfviewer.blankPageSelect|The FileSelect button text for the blank page."
|
|
2722
|
-
blankPageSelect="Select files..."
|
|
2786
|
+
blankPageSelect="Select files..."
|
|
2787
|
+
|
|
2788
|
+
i18n-toolbarLabel="kendo.pdfviewer.toolbarLabel|The aria-label for the toolbar."
|
|
2789
|
+
toolbarLabel="Toolbar"
|
|
2790
|
+
|
|
2791
|
+
i18n-zoomLevelAriaLabel="kendo.pdfviewer.zoomLevelAriaLabel|The aria-label for the inner input of the zoom level ComboBox."
|
|
2792
|
+
zoomLevelAriaLabel="Zoom level"
|
|
2793
|
+
|
|
2794
|
+
i18n-searchAriaLabel="kendo.pdfviewer.searchAriaLabel|The aria-label for the inner input of the search TextBox."
|
|
2795
|
+
searchAriaLabel="Search text">
|
|
2723
2796
|
</ng-container>
|
|
2724
2797
|
@if (loading) {
|
|
2725
2798
|
<div kendoPDFViewerLoader
|
|
@@ -2825,7 +2898,7 @@ class PDFViewerComponent {
|
|
|
2825
2898
|
}
|
|
2826
2899
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedPDFViewerMessagesDirective, selector: "[kendoPDFViewerLocalizedMessages]" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { 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", "type", "wrapperId", "isAnnotationsToolbarVisible", "annotationsToolId", "isSelectionEnabled"], outputs: ["fileSelect", "fileSelectStart", "fileSelectError", "download", "selectionEnabled", "panningEnabled", "pageChange", "zoomIn", "zoomOut", "zoomLevelChange", "print", "search", "toggleAnnotationsToolbar", "setAnnotationMode"] }, { kind: "component", type: PDFViewerSearchComponent, selector: "[kendoPDFViewerSearch]", inputs: ["matches", "currentMatch"], outputs: ["searchChange", "prevMatch", "nextMatch", "close"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay], kendo-watermark-overlay", inputs: ["licenseMessage"] }, { kind: "component", type: FileSelectComponent, selector: "kendo-fileselect", inputs: ["name"], outputs: ["valueChange"], exportAs: ["kendoFileSelect"] }, { kind: "component", type: UploadDropZoneComponent, selector: "kendo-uploaddropzone", inputs: ["zoneId", "icon", "iconClass", "svgIcon"], exportAs: ["kendoUploadDropZone"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CustomMessagesComponent$1, selector: "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages" }] });
|
|
2827
2900
|
}
|
|
2828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PDFViewerComponent, decorators: [{
|
|
2829
2902
|
type: Component,
|
|
2830
2903
|
args: [{
|
|
2831
2904
|
exportAs: 'kendo-pdfviewer',
|
|
@@ -2835,7 +2908,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2835
2908
|
{
|
|
2836
2909
|
provide: L10N_PREFIX,
|
|
2837
2910
|
useValue: 'kendo.pdfviewer'
|
|
2838
|
-
}
|
|
2911
|
+
},
|
|
2912
|
+
provideComponentName('pdfviewer')
|
|
2839
2913
|
],
|
|
2840
2914
|
template: `
|
|
2841
2915
|
<ng-container kendoPDFViewerLocalizedMessages
|
|
@@ -2908,6 +2982,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2908
2982
|
i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
|
|
2909
2983
|
searchCloseTitle="Close"
|
|
2910
2984
|
|
|
2985
|
+
i18n-searchDragHandleTitle="kendo.pdfviewer.searchDragHandleTitle|The title of the Search tool drag handle button."
|
|
2986
|
+
searchDragHandleTitle="Drag handle"
|
|
2987
|
+
|
|
2911
2988
|
i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
|
|
2912
2989
|
searchMatchCaseTitle="Match case"
|
|
2913
2990
|
|
|
@@ -2960,7 +3037,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2960
3037
|
blankPageExternalDropFilesHere="Drag and drop files here to upload"
|
|
2961
3038
|
|
|
2962
3039
|
i18n-blankPageSelect="kendo.pdfviewer.blankPageSelect|The FileSelect button text for the blank page."
|
|
2963
|
-
blankPageSelect="Select files..."
|
|
3040
|
+
blankPageSelect="Select files..."
|
|
3041
|
+
|
|
3042
|
+
i18n-toolbarLabel="kendo.pdfviewer.toolbarLabel|The aria-label for the toolbar."
|
|
3043
|
+
toolbarLabel="Toolbar"
|
|
3044
|
+
|
|
3045
|
+
i18n-zoomLevelAriaLabel="kendo.pdfviewer.zoomLevelAriaLabel|The aria-label for the inner input of the zoom level ComboBox."
|
|
3046
|
+
zoomLevelAriaLabel="Zoom level"
|
|
3047
|
+
|
|
3048
|
+
i18n-searchAriaLabel="kendo.pdfviewer.searchAriaLabel|The aria-label for the inner input of the search TextBox."
|
|
3049
|
+
searchAriaLabel="Search text">
|
|
2964
3050
|
</ng-container>
|
|
2965
3051
|
@if (loading) {
|
|
2966
3052
|
<div kendoPDFViewerLoader
|
|
@@ -3178,15 +3264,15 @@ const KENDO_PDFVIEWER = [
|
|
|
3178
3264
|
* ```
|
|
3179
3265
|
*/
|
|
3180
3266
|
class PDFViewerModule {
|
|
3181
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3182
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
3183
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
3267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PDFViewerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3268
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: PDFViewerModule, imports: [PDFViewerComponent, PDFViewerCustomMessagesComponent, BlankPageTemplateDirective], exports: [PDFViewerComponent, PDFViewerCustomMessagesComponent, BlankPageTemplateDirective] });
|
|
3269
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PDFViewerModule, providers: [
|
|
3184
3270
|
IconsService,
|
|
3185
3271
|
PopupService,
|
|
3186
3272
|
ResizeBatchService
|
|
3187
3273
|
], imports: [PDFViewerComponent] });
|
|
3188
3274
|
}
|
|
3189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PDFViewerModule, decorators: [{
|
|
3190
3276
|
type: NgModule,
|
|
3191
3277
|
args: [{
|
|
3192
3278
|
exports: [...KENDO_PDFVIEWER],
|
package/index.d.ts
CHANGED
|
@@ -197,6 +197,7 @@ declare class ToolbarComponent {
|
|
|
197
197
|
private localization;
|
|
198
198
|
private navigationService;
|
|
199
199
|
toolbarClasses: boolean;
|
|
200
|
+
get ariaLabel(): string;
|
|
200
201
|
fileSelectEl: ElementRef;
|
|
201
202
|
zoomLevel: ZoomLevel;
|
|
202
203
|
calculatedComboBoxValue: {
|
|
@@ -241,7 +242,7 @@ declare class ToolbarComponent {
|
|
|
241
242
|
folderOpenIcon: SVGIcon;
|
|
242
243
|
downloadIcon: SVGIcon;
|
|
243
244
|
printIcon: SVGIcon;
|
|
244
|
-
|
|
245
|
+
editAnnotationsIcon: SVGIcon;
|
|
245
246
|
highlightIcon: SVGIcon;
|
|
246
247
|
freeTextIcon: SVGIcon;
|
|
247
248
|
xIcon: SVGIcon;
|
|
@@ -723,6 +724,10 @@ declare class Messages extends ComponentMessages {
|
|
|
723
724
|
* Sets the title for the **Search** close button.
|
|
724
725
|
*/
|
|
725
726
|
searchCloseTitle: string;
|
|
727
|
+
/**
|
|
728
|
+
* Sets the title for the **Search** drag handle button.
|
|
729
|
+
*/
|
|
730
|
+
searchDragHandleTitle: string;
|
|
726
731
|
/**
|
|
727
732
|
* Sets the title for the **Search** match case button.
|
|
728
733
|
*/
|
|
@@ -795,8 +800,20 @@ declare class Messages extends ComponentMessages {
|
|
|
795
800
|
* Sets the text for the FileSelect button in the blank page drop zone.
|
|
796
801
|
*/
|
|
797
802
|
blankPageSelect: string;
|
|
803
|
+
/**
|
|
804
|
+
* Sets the `aria-label` attribute for the toolbar.
|
|
805
|
+
*/
|
|
806
|
+
toolbarLabel: string;
|
|
807
|
+
/**
|
|
808
|
+
* Sets the `aria-label` attribute for the inner input of the zoom level ComboBox.
|
|
809
|
+
*/
|
|
810
|
+
zoomLevelAriaLabel: string;
|
|
811
|
+
/**
|
|
812
|
+
* Sets the `aria-label` attribute for the inner input of the search TextBox.
|
|
813
|
+
*/
|
|
814
|
+
searchAriaLabel: string;
|
|
798
815
|
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
799
|
-
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>;
|
|
816
|
+
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; }; "searchDragHandleTitle": { "alias": "searchDragHandleTitle"; "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; }; "toolbarLabel": { "alias": "toolbarLabel"; "required": false; }; "zoomLevelAriaLabel": { "alias": "zoomLevelAriaLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
800
817
|
}
|
|
801
818
|
|
|
802
819
|
/**
|
|
@@ -880,6 +897,7 @@ declare class PDFViewerSearchComponent implements AfterViewInit {
|
|
|
880
897
|
convertLowercaseIcon: SVGIcon;
|
|
881
898
|
arrowUpIcon: SVGIcon;
|
|
882
899
|
arrowDownIcon: SVGIcon;
|
|
900
|
+
handleDragIcon: SVGIcon;
|
|
883
901
|
xIcon: SVGIcon;
|
|
884
902
|
value: string;
|
|
885
903
|
matchCase: boolean;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0
|
|
10
|
+
"publishDate": 1786526090,
|
|
11
|
+
"version": "25.0.0",
|
|
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": "25.0.0
|
|
3
|
+
"version": "25.0.0",
|
|
4
4
|
"description": "Kendo UI PDFViewer for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"package": {
|
|
35
35
|
"productName": "Kendo UI for Angular",
|
|
36
36
|
"productCode": "KENDOUIANGULAR",
|
|
37
|
-
"publishDate":
|
|
37
|
+
"publishDate": 1786526090,
|
|
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
|
},
|
|
@@ -44,25 +44,25 @@
|
|
|
44
44
|
"@angular/core": "20 - 22",
|
|
45
45
|
"@angular/platform-browser": "20 - 22",
|
|
46
46
|
"@progress/kendo-licensing": "^1.11.0",
|
|
47
|
-
"@progress/kendo-angular-buttons": "25.0.0
|
|
48
|
-
"@progress/kendo-angular-common": "25.0.0
|
|
49
|
-
"@progress/kendo-angular-dialog": "25.0.0
|
|
50
|
-
"@progress/kendo-angular-dropdowns": "25.0.0
|
|
51
|
-
"@progress/kendo-angular-inputs": "25.0.0
|
|
52
|
-
"@progress/kendo-angular-intl": "25.0.0
|
|
53
|
-
"@progress/kendo-angular-l10n": "25.0.0
|
|
54
|
-
"@progress/kendo-angular-icons": "25.0.0
|
|
55
|
-
"@progress/kendo-angular-indicators": "25.0.0
|
|
56
|
-
"@progress/kendo-angular-pager": "25.0.0
|
|
57
|
-
"@progress/kendo-angular-popup": "25.0.0
|
|
58
|
-
"@progress/kendo-angular-upload": "25.0.0
|
|
47
|
+
"@progress/kendo-angular-buttons": "25.0.0",
|
|
48
|
+
"@progress/kendo-angular-common": "25.0.0",
|
|
49
|
+
"@progress/kendo-angular-dialog": "25.0.0",
|
|
50
|
+
"@progress/kendo-angular-dropdowns": "25.0.0",
|
|
51
|
+
"@progress/kendo-angular-inputs": "25.0.0",
|
|
52
|
+
"@progress/kendo-angular-intl": "25.0.0",
|
|
53
|
+
"@progress/kendo-angular-l10n": "25.0.0",
|
|
54
|
+
"@progress/kendo-angular-icons": "25.0.0",
|
|
55
|
+
"@progress/kendo-angular-indicators": "25.0.0",
|
|
56
|
+
"@progress/kendo-angular-pager": "25.0.0",
|
|
57
|
+
"@progress/kendo-angular-popup": "25.0.0",
|
|
58
|
+
"@progress/kendo-angular-upload": "25.0.0",
|
|
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": "25.0.0
|
|
63
|
+
"@progress/kendo-angular-schematics": "25.0.0",
|
|
64
64
|
"@progress/kendo-file-saver": "^1.0.1",
|
|
65
|
-
"@progress/kendo-pdfviewer-common": "1.0.
|
|
65
|
+
"@progress/kendo-pdfviewer-common": "1.0.2"
|
|
66
66
|
},
|
|
67
67
|
"schematics": "./schematics/collection.json",
|
|
68
68
|
"module": "fesm2022/progress-kendo-angular-pdfviewer.mjs",
|
|
@@ -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': '25.0.0
|
|
13
|
-
'@progress/kendo-angular-treeview': '25.0.0
|
|
12
|
+
'@progress/kendo-angular-navigation': '25.0.0',
|
|
13
|
+
'@progress/kendo-angular-treeview': '25.0.0'
|
|
14
14
|
} });
|
|
15
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
16
16
|
}
|