@progress/kendo-angular-pdfviewer 23.1.0-develop.2 → 23.1.0-develop.3
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.
|
@@ -203,7 +203,6 @@ class Messages extends ComponentMessages {
|
|
|
203
203
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: Messages, decorators: [{
|
|
204
204
|
type: Directive,
|
|
205
205
|
args: [{
|
|
206
|
-
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
207
206
|
selector: 'kendo-pdfviewer-messages-base'
|
|
208
207
|
}]
|
|
209
208
|
}], propDecorators: { zoomInTitle: [{
|
|
@@ -342,7 +341,7 @@ const packageMetadata = {
|
|
|
342
341
|
productCode: 'KENDOUIANGULAR',
|
|
343
342
|
productCodes: ['KENDOUIANGULAR'],
|
|
344
343
|
publishDate: 0,
|
|
345
|
-
version: '23.1.0-develop.
|
|
344
|
+
version: '23.1.0-develop.3',
|
|
346
345
|
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',
|
|
347
346
|
};
|
|
348
347
|
|
|
@@ -661,7 +660,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
661
660
|
args: ['class.k-toolbar-item']
|
|
662
661
|
}] } });
|
|
663
662
|
|
|
664
|
-
/* eslint-disable @typescript-eslint/no-empty-function */
|
|
665
663
|
/**
|
|
666
664
|
* @hidden
|
|
667
665
|
*/
|
|
@@ -774,7 +772,7 @@ class ToolbarComponent {
|
|
|
774
772
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.LocalizationService }, { token: ToolbarNavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
775
773
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", 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" } }, providers: [ToolbarNavigationService], viewQueries: [{ propertyName: "fileSelectEl", first: true, predicate: ["fileSelectEl"], descendants: true }], ngImport: i0, template: `
|
|
776
774
|
@if (type === 'tools') {
|
|
777
|
-
@for (tool of tools; track
|
|
775
|
+
@for (tool of tools; track $index) {
|
|
778
776
|
@switch (tool) {
|
|
779
777
|
@case ('pager') {
|
|
780
778
|
<kendo-toolbar-input-wrapper
|
|
@@ -1042,7 +1040,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1042
1040
|
providers: [ToolbarNavigationService],
|
|
1043
1041
|
template: `
|
|
1044
1042
|
@if (type === 'tools') {
|
|
1045
|
-
@for (tool of tools; track
|
|
1043
|
+
@for (tool of tools; track $index) {
|
|
1046
1044
|
@switch (tool) {
|
|
1047
1045
|
@case ('pager') {
|
|
1048
1046
|
<kendo-toolbar-input-wrapper
|
|
@@ -2399,6 +2397,7 @@ class PDFViewerComponent {
|
|
|
2399
2397
|
this.pdfViewerWidget?.destroy();
|
|
2400
2398
|
this.loading = true;
|
|
2401
2399
|
this.emitLoad = true;
|
|
2400
|
+
this.skip = 0;
|
|
2402
2401
|
this.ngZone.runOutsideAngular(() => {
|
|
2403
2402
|
// try to destroy if new dynamic data source
|
|
2404
2403
|
this.pagesContainer && removeChildren(this.pagesContainer.nativeElement);
|
|
@@ -2467,6 +2466,7 @@ class PDFViewerComponent {
|
|
|
2467
2466
|
}
|
|
2468
2467
|
};
|
|
2469
2468
|
loadHandler = (e) => {
|
|
2469
|
+
const shouldFocusFirstPage = this.emitLoad;
|
|
2470
2470
|
if (!this.pdfContext) {
|
|
2471
2471
|
this.pdfViewerWidget.documentScroller.enablePanEventsTracking();
|
|
2472
2472
|
}
|
|
@@ -2483,7 +2483,9 @@ class PDFViewerComponent {
|
|
|
2483
2483
|
this.pdfContext = { ...e, element: this.pagesContainer.nativeElement };
|
|
2484
2484
|
this.onZoomLevelChange(zoomLevelOption, false);
|
|
2485
2485
|
}
|
|
2486
|
-
|
|
2486
|
+
if (shouldFocusFirstPage) {
|
|
2487
|
+
this.pdfViewerWidget.activatePageNumber(1);
|
|
2488
|
+
}
|
|
2487
2489
|
this.cdr.markForCheck();
|
|
2488
2490
|
this.assignPageIds();
|
|
2489
2491
|
this.ngZone.run(() => this.loading = false);
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "23.1.0-develop.
|
|
10
|
+
"publishDate": 1771356145,
|
|
11
|
+
"version": "23.1.0-develop.3",
|
|
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": "23.1.0-develop.
|
|
3
|
+
"version": "23.1.0-develop.3",
|
|
4
4
|
"description": "Kendo UI PDFViewer for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1771356145,
|
|
23
23
|
"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"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
"@angular/core": "19 - 21",
|
|
30
30
|
"@angular/platform-browser": "19 - 21",
|
|
31
31
|
"@progress/kendo-licensing": "^1.10.0",
|
|
32
|
-
"@progress/kendo-angular-buttons": "23.1.0-develop.
|
|
33
|
-
"@progress/kendo-angular-common": "23.1.0-develop.
|
|
34
|
-
"@progress/kendo-angular-dialog": "23.1.0-develop.
|
|
35
|
-
"@progress/kendo-angular-dropdowns": "23.1.0-develop.
|
|
36
|
-
"@progress/kendo-angular-inputs": "23.1.0-develop.
|
|
37
|
-
"@progress/kendo-angular-intl": "23.1.0-develop.
|
|
38
|
-
"@progress/kendo-angular-l10n": "23.1.0-develop.
|
|
39
|
-
"@progress/kendo-angular-icons": "23.1.0-develop.
|
|
40
|
-
"@progress/kendo-angular-indicators": "23.1.0-develop.
|
|
41
|
-
"@progress/kendo-angular-pager": "23.1.0-develop.
|
|
42
|
-
"@progress/kendo-angular-popup": "23.1.0-develop.
|
|
43
|
-
"@progress/kendo-angular-upload": "23.1.0-develop.
|
|
32
|
+
"@progress/kendo-angular-buttons": "23.1.0-develop.3",
|
|
33
|
+
"@progress/kendo-angular-common": "23.1.0-develop.3",
|
|
34
|
+
"@progress/kendo-angular-dialog": "23.1.0-develop.3",
|
|
35
|
+
"@progress/kendo-angular-dropdowns": "23.1.0-develop.3",
|
|
36
|
+
"@progress/kendo-angular-inputs": "23.1.0-develop.3",
|
|
37
|
+
"@progress/kendo-angular-intl": "23.1.0-develop.3",
|
|
38
|
+
"@progress/kendo-angular-l10n": "23.1.0-develop.3",
|
|
39
|
+
"@progress/kendo-angular-icons": "23.1.0-develop.3",
|
|
40
|
+
"@progress/kendo-angular-indicators": "23.1.0-develop.3",
|
|
41
|
+
"@progress/kendo-angular-pager": "23.1.0-develop.3",
|
|
42
|
+
"@progress/kendo-angular-popup": "23.1.0-develop.3",
|
|
43
|
+
"@progress/kendo-angular-upload": "23.1.0-develop.3",
|
|
44
44
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"tslib": "^2.3.1",
|
|
48
|
-
"@progress/kendo-angular-schematics": "23.1.0-develop.
|
|
48
|
+
"@progress/kendo-angular-schematics": "23.1.0-develop.3",
|
|
49
49
|
"@progress/kendo-file-saver": "^1.0.1",
|
|
50
50
|
"@progress/kendo-pdfviewer-common": "0.6.3"
|
|
51
51
|
},
|
|
@@ -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': '23.1.0-develop.
|
|
13
|
-
'@progress/kendo-angular-treeview': '23.1.0-develop.
|
|
12
|
+
'@progress/kendo-angular-navigation': '23.1.0-develop.3',
|
|
13
|
+
'@progress/kendo-angular-treeview': '23.1.0-develop.3'
|
|
14
14
|
} });
|
|
15
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
16
16
|
}
|