@progress/kendo-react-pdf-viewer 8.2.0-develop.9 → 8.2.1-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/index.d.mts +15 -15
- package/index.d.ts +15 -15
- package/package-metadata.mjs +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<img src="https://www.telerik.com/kendo-react-ui/components/npm-banner.svg"/>
|
|
3
3
|
</a>
|
|
4
4
|
|
|
5
|
-
# KendoReact
|
|
5
|
+
# KendoReact PDF Viewer Library for React
|
|
6
6
|
|
|
7
7
|
> **Important**
|
|
8
8
|
> * This package is а part of [KendoReact](https://www.telerik.com/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-pdfviewer)—a commercial UI library.
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
>
|
|
13
13
|
> [Start using KendoReact](https://www.telerik.com/try/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-pdfviewer) and speed up your development process!
|
|
14
14
|
|
|
15
|
-
The [React
|
|
15
|
+
The [React PDF Viewer library](https://www.telerik.com/kendo-react-ui/pdfviewer), part of KendoReact, allows users to view and interact with PDF files directly in the browser, without needing to download the file or use third-party tools or browser extensions.
|
|
16
16
|
|
|
17
|
-
## React
|
|
17
|
+
## React PDF Viewer
|
|
18
18
|
|
|
19
|
-
Among the features which the KendoReact
|
|
19
|
+
Among the features which the KendoReact PDF Viewer component delivers are:
|
|
20
20
|
|
|
21
21
|
- Open – opens a PDF file
|
|
22
22
|
- Page – goes to previous/next page or jump to first/last page
|
|
@@ -28,7 +28,7 @@ Among the features which the KendoReact PDFViewer component delivers are:
|
|
|
28
28
|
|
|
29
29
|
## Support Options
|
|
30
30
|
|
|
31
|
-
For any issues you might encounter while working with the KendoReact
|
|
31
|
+
For any issues you might encounter while working with the KendoReact PDF Viewer, use any of the available support channels:
|
|
32
32
|
|
|
33
33
|
* Industry-leading technical support—KendoReact paid license holders and users with an active (free) trial license can take advantage of our outstanding customer support. To submit a ticket, use [the dedicated KendoReact support system](https://www.telerik.com/account/support-tickets?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-listview).
|
|
34
34
|
* Product forums—The [KendoReact forums](https://www.telerik.com/forums/kendo-ui-react?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-listview) are part of the free support you can get from the community and from the KendoReact team.
|
|
@@ -37,8 +37,8 @@ For any issues you might encounter while working with the KendoReact PDFViewer,
|
|
|
37
37
|
## Resources
|
|
38
38
|
|
|
39
39
|
* [Getting Started with KendoReact](https://www.telerik.com/kendo-react-ui/components/getting-started/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-pdfviewer)
|
|
40
|
-
* [Get Started with the KendoReact
|
|
41
|
-
* [API Reference of the KendoReact
|
|
40
|
+
* [Get Started with the KendoReact PDF Viewer](https://www.telerik.com/kendo-react-ui/components/pdfviewer/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-pdfviewer)
|
|
41
|
+
* [API Reference of the KendoReact PDF Viewer](https://www.telerik.com/kendo-react-ui/components/pdfviewer/api/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-pdfviewer)
|
|
42
42
|
* [KendoReact Roadmap](https://www.telerik.com/support/whats-new/kendo-react-ui/roadmap?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-pdfviewer)
|
|
43
43
|
* [Blogs](https://www.telerik.com/blogs/tag/kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-pdfviewer)
|
|
44
44
|
* [Demos, documentation, and component reference](https://www.telerik.com/kendo-react-ui/components/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-pdfviewer)
|
|
@@ -47,7 +47,7 @@ For any issues you might encounter while working with the KendoReact PDFViewer,
|
|
|
47
47
|
|
|
48
48
|
High-level component overview pages
|
|
49
49
|
|
|
50
|
-
* [React
|
|
50
|
+
* [React PDF Viewer Component](https://www.telerik.com/kendo-react-ui/pdfviewer)
|
|
51
51
|
|
|
52
52
|
*Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
|
|
53
53
|
|
package/index.d.mts
CHANGED
|
@@ -14,7 +14,7 @@ import { TypedArray } from '@progress/kendo-pdfviewer-common';
|
|
|
14
14
|
export { currentPage }
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* The KendoReact [
|
|
17
|
+
* The KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) DownloadEvent object.
|
|
18
18
|
*/
|
|
19
19
|
export declare interface DownloadEvent extends PDFViewerEvent {
|
|
20
20
|
/**
|
|
@@ -32,7 +32,7 @@ export declare interface DownloadEvent extends PDFViewerEvent {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* The KendoReact [
|
|
35
|
+
* The KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) ErrorEvent object.
|
|
36
36
|
*/
|
|
37
37
|
declare interface ErrorEvent_2 extends PDFViewerEvent {
|
|
38
38
|
/**
|
|
@@ -45,13 +45,13 @@ declare interface ErrorEvent_2 extends PDFViewerEvent {
|
|
|
45
45
|
export { ErrorEvent_2 as ErrorEvent }
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* The KendoReact [
|
|
48
|
+
* The KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) LoadEvent object.
|
|
49
49
|
*/
|
|
50
50
|
export declare interface LoadEvent extends PDFViewerEvent {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* The KendoReact [
|
|
54
|
+
* The KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) PageEvent object.
|
|
55
55
|
*/
|
|
56
56
|
export declare interface PageEvent extends PDFViewerEvent {
|
|
57
57
|
/**
|
|
@@ -65,7 +65,7 @@ export declare interface PageEvent extends PDFViewerEvent {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* Represents the [KendoReact
|
|
68
|
+
* Represents the [KendoReact PDF Viewer component]({% slug api_pdf-viewer_pdfviewerprops %}).
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* ```jsx
|
|
@@ -86,29 +86,29 @@ declare interface PDFViewerEvent {
|
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom)
|
|
89
|
-
* callback of the [
|
|
89
|
+
* callback of the [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) component.
|
|
90
90
|
*/
|
|
91
91
|
export declare interface PDFViewerHandle {
|
|
92
92
|
/**
|
|
93
|
-
* The root DOM element of the
|
|
93
|
+
* The root DOM element of the PDF Viewer component.
|
|
94
94
|
*/
|
|
95
95
|
element: HTMLDivElement | null;
|
|
96
96
|
/**
|
|
97
|
-
* The props of the
|
|
97
|
+
* The props of the PDF Viewer component.
|
|
98
98
|
*/
|
|
99
99
|
props: PDFViewerProps;
|
|
100
100
|
/**
|
|
101
|
-
* The `PDF.js` document loaded in the
|
|
101
|
+
* The `PDF.js` document loaded in the PDF Viewer component.
|
|
102
102
|
*/
|
|
103
103
|
document: any;
|
|
104
104
|
/**
|
|
105
|
-
* The `PDF.js` pages loaded in the
|
|
105
|
+
* The `PDF.js` pages loaded in the PDF Viewer component.
|
|
106
106
|
*/
|
|
107
107
|
pages: any[];
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
* The props of the KendoReact [
|
|
111
|
+
* The props of the KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) component.
|
|
112
112
|
*/
|
|
113
113
|
export declare interface PDFViewerProps {
|
|
114
114
|
/**
|
|
@@ -128,7 +128,7 @@ export declare interface PDFViewerProps {
|
|
|
128
128
|
*/
|
|
129
129
|
typedArray?: TypedArray;
|
|
130
130
|
/**
|
|
131
|
-
* Represents the additional styles which will be added to the
|
|
131
|
+
* Represents the additional styles which will be added to the PDF Viewer component.
|
|
132
132
|
*/
|
|
133
133
|
style?: React_2.CSSProperties;
|
|
134
134
|
/**
|
|
@@ -213,9 +213,9 @@ export declare interface PDFViewerProps {
|
|
|
213
213
|
export declare type PDFViewerTool = 'pager' | 'spacer' | 'zoomInOut' | 'zoom' | 'selection' | 'search' | 'open' | 'download' | 'print';
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
|
-
* Scrolls the
|
|
216
|
+
* Scrolls the PDF Viewer document to the passed page number.
|
|
217
217
|
*
|
|
218
|
-
* @param rootElement The root HTML element of the
|
|
218
|
+
* @param rootElement The root HTML element of the PDF Viewer component.
|
|
219
219
|
* @param pageNumber The page number.
|
|
220
220
|
*
|
|
221
221
|
* @example
|
|
@@ -241,7 +241,7 @@ export declare type PDFViewerTool = 'pager' | 'spacer' | 'zoomInOut' | 'zoom' |
|
|
|
241
241
|
export declare const scrollToPage: (rootElement: HTMLElement, pageNumber: number) => void;
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
|
-
* The KendoReact [
|
|
244
|
+
* The KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) ZoomEvent object.
|
|
245
245
|
*/
|
|
246
246
|
export declare interface ZoomEvent extends PDFViewerEvent {
|
|
247
247
|
/**
|
package/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { TypedArray } from '@progress/kendo-pdfviewer-common';
|
|
|
14
14
|
export { currentPage }
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* The KendoReact [
|
|
17
|
+
* The KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) DownloadEvent object.
|
|
18
18
|
*/
|
|
19
19
|
export declare interface DownloadEvent extends PDFViewerEvent {
|
|
20
20
|
/**
|
|
@@ -32,7 +32,7 @@ export declare interface DownloadEvent extends PDFViewerEvent {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* The KendoReact [
|
|
35
|
+
* The KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) ErrorEvent object.
|
|
36
36
|
*/
|
|
37
37
|
declare interface ErrorEvent_2 extends PDFViewerEvent {
|
|
38
38
|
/**
|
|
@@ -45,13 +45,13 @@ declare interface ErrorEvent_2 extends PDFViewerEvent {
|
|
|
45
45
|
export { ErrorEvent_2 as ErrorEvent }
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* The KendoReact [
|
|
48
|
+
* The KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) LoadEvent object.
|
|
49
49
|
*/
|
|
50
50
|
export declare interface LoadEvent extends PDFViewerEvent {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* The KendoReact [
|
|
54
|
+
* The KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) PageEvent object.
|
|
55
55
|
*/
|
|
56
56
|
export declare interface PageEvent extends PDFViewerEvent {
|
|
57
57
|
/**
|
|
@@ -65,7 +65,7 @@ export declare interface PageEvent extends PDFViewerEvent {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* Represents the [KendoReact
|
|
68
|
+
* Represents the [KendoReact PDF Viewer component]({% slug api_pdf-viewer_pdfviewerprops %}).
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* ```jsx
|
|
@@ -86,29 +86,29 @@ declare interface PDFViewerEvent {
|
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom)
|
|
89
|
-
* callback of the [
|
|
89
|
+
* callback of the [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) component.
|
|
90
90
|
*/
|
|
91
91
|
export declare interface PDFViewerHandle {
|
|
92
92
|
/**
|
|
93
|
-
* The root DOM element of the
|
|
93
|
+
* The root DOM element of the PDF Viewer component.
|
|
94
94
|
*/
|
|
95
95
|
element: HTMLDivElement | null;
|
|
96
96
|
/**
|
|
97
|
-
* The props of the
|
|
97
|
+
* The props of the PDF Viewer component.
|
|
98
98
|
*/
|
|
99
99
|
props: PDFViewerProps;
|
|
100
100
|
/**
|
|
101
|
-
* The `PDF.js` document loaded in the
|
|
101
|
+
* The `PDF.js` document loaded in the PDF Viewer component.
|
|
102
102
|
*/
|
|
103
103
|
document: any;
|
|
104
104
|
/**
|
|
105
|
-
* The `PDF.js` pages loaded in the
|
|
105
|
+
* The `PDF.js` pages loaded in the PDF Viewer component.
|
|
106
106
|
*/
|
|
107
107
|
pages: any[];
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
* The props of the KendoReact [
|
|
111
|
+
* The props of the KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) component.
|
|
112
112
|
*/
|
|
113
113
|
export declare interface PDFViewerProps {
|
|
114
114
|
/**
|
|
@@ -128,7 +128,7 @@ export declare interface PDFViewerProps {
|
|
|
128
128
|
*/
|
|
129
129
|
typedArray?: TypedArray;
|
|
130
130
|
/**
|
|
131
|
-
* Represents the additional styles which will be added to the
|
|
131
|
+
* Represents the additional styles which will be added to the PDF Viewer component.
|
|
132
132
|
*/
|
|
133
133
|
style?: React_2.CSSProperties;
|
|
134
134
|
/**
|
|
@@ -213,9 +213,9 @@ export declare interface PDFViewerProps {
|
|
|
213
213
|
export declare type PDFViewerTool = 'pager' | 'spacer' | 'zoomInOut' | 'zoom' | 'selection' | 'search' | 'open' | 'download' | 'print';
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
|
-
* Scrolls the
|
|
216
|
+
* Scrolls the PDF Viewer document to the passed page number.
|
|
217
217
|
*
|
|
218
|
-
* @param rootElement The root HTML element of the
|
|
218
|
+
* @param rootElement The root HTML element of the PDF Viewer component.
|
|
219
219
|
* @param pageNumber The page number.
|
|
220
220
|
*
|
|
221
221
|
* @example
|
|
@@ -241,7 +241,7 @@ export declare type PDFViewerTool = 'pager' | 'spacer' | 'zoomInOut' | 'zoom' |
|
|
|
241
241
|
export declare const scrollToPage: (rootElement: HTMLElement, pageNumber: number) => void;
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
|
-
* The KendoReact [
|
|
244
|
+
* The KendoReact [PDF Viewer]({% slug api_pdf-viewer_pdfviewer %}) ZoomEvent object.
|
|
245
245
|
*/
|
|
246
246
|
export declare interface ZoomEvent extends PDFViewerEvent {
|
|
247
247
|
/**
|
package/package-metadata.mjs
CHANGED
|
@@ -10,7 +10,7 @@ const e = {
|
|
|
10
10
|
name: "@progress/kendo-react-pdf-viewer",
|
|
11
11
|
productName: "KendoReact",
|
|
12
12
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
-
publishDate:
|
|
13
|
+
publishDate: 1723022855,
|
|
14
14
|
version: "",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
|
|
16
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-pdf-viewer",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.1-develop.1",
|
|
4
4
|
"description": "KendoReact PDFViewer package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"@progress/kendo-file-saver": "^1.1.1",
|
|
26
26
|
"@progress/kendo-licensing": "^1.3.4",
|
|
27
27
|
"@progress/kendo-pdfviewer-common": "0.2.10",
|
|
28
|
-
"@progress/kendo-react-buttons": "8.2.
|
|
29
|
-
"@progress/kendo-react-common": "8.2.
|
|
30
|
-
"@progress/kendo-react-data-tools": "8.2.
|
|
31
|
-
"@progress/kendo-react-dropdowns": "8.2.
|
|
32
|
-
"@progress/kendo-react-indicators": "8.2.
|
|
33
|
-
"@progress/kendo-react-inputs": "8.2.
|
|
34
|
-
"@progress/kendo-react-intl": "8.2.
|
|
35
|
-
"@progress/kendo-react-upload": "8.2.
|
|
28
|
+
"@progress/kendo-react-buttons": "8.2.1-develop.1",
|
|
29
|
+
"@progress/kendo-react-common": "8.2.1-develop.1",
|
|
30
|
+
"@progress/kendo-react-data-tools": "8.2.1-develop.1",
|
|
31
|
+
"@progress/kendo-react-dropdowns": "8.2.1-develop.1",
|
|
32
|
+
"@progress/kendo-react-indicators": "8.2.1-develop.1",
|
|
33
|
+
"@progress/kendo-react-inputs": "8.2.1-develop.1",
|
|
34
|
+
"@progress/kendo-react-intl": "8.2.1-develop.1",
|
|
35
|
+
"@progress/kendo-react-upload": "8.2.1-develop.1",
|
|
36
36
|
"@progress/kendo-svg-icons": "^3.0.0",
|
|
37
37
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
38
38
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"Pivot Table"
|
|
54
54
|
],
|
|
55
55
|
"@progress": {
|
|
56
|
-
"friendlyName": "
|
|
56
|
+
"friendlyName": "PDF Viewer",
|
|
57
57
|
"framework": "KendoReact"
|
|
58
58
|
},
|
|
59
59
|
"repository": {
|