@syncfusion/ej2-react-pdfviewer 34.2.4 → 34.2.6
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 +65 -13
- package/diConfig.json +2 -2
- package/dist/ej2-react-pdfviewer.min.js +1 -1
- package/dist/ej2-react-pdfviewer.umd.min.js +1 -1
- package/dist/ej2-react-pdfviewer.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-pdfviewer.es2015.js +1 -1
- package/dist/es6/ej2-react-pdfviewer.es2015.js.map +1 -1
- package/package.json +4 -4
- package/src/pdfviewer/pdfviewer.component.d.ts +1 -1
- package/src/pdfviewer/pdfviewer.component.js +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,17 @@ Trusted by the world's leading companies
|
|
|
18
18
|
<img src="https://ej2.syncfusion.com/home/images/trusted_companies.png" alt="Bootstrap logo">
|
|
19
19
|
</a>
|
|
20
20
|
</p>
|
|
21
|
+
|
|
22
|
+
> **Using this package with an AI coding agent**
|
|
23
|
+
>
|
|
24
|
+
> Before generating Syncfusion® code, ask your AI coding agent to run the Syncfusion® setup using the following prompt:
|
|
25
|
+
>
|
|
26
|
+
> ```text
|
|
27
|
+
> Set up this project for Syncfusion® before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com/agent-setup/prompt.md, then report the detected platform, installed skill pack, MCP status, and any required licensing action.
|
|
28
|
+
> ```
|
|
29
|
+
> The setup detects your project’s platform and loads the appropriate Syncfusion® skill pack. No Syncfusion® account or MCP key is required to install or read Syncfusion® agent skills.
|
|
30
|
+
>
|
|
31
|
+
> **Platform reference:** [https://ai.syncfusion.com/react/llms.txt](https://ai.syncfusion.com/react/llms.txt)
|
|
21
32
|
|
|
22
33
|
## Setup
|
|
23
34
|
|
|
@@ -129,22 +140,22 @@ PDF Viewer component is also offered in the following list of frameworks.
|
|
|
129
140
|
|
|
130
141
|
## Key features
|
|
131
142
|
|
|
132
|
-
* [View PDF Document](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/getting-started
|
|
133
|
-
* [Annotations](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/annotation/
|
|
134
|
-
* [Form Fields](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/
|
|
135
|
-
* [Signature](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/
|
|
136
|
-
* [Toolbar](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/toolbar/) - Built-in-toolbar and custom toolbars to perform user interaction of PDF Viewer functionalities.
|
|
137
|
-
* [Navigation](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/navigation/) - Easy navigation with the help of bookmarks, thumbnails, hyperlinks, and table of contents.
|
|
138
|
-
* [Magnification](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/magnification/) - Fit to page, fit to width, and automatic (fits to the visible area).
|
|
139
|
-
* [Search](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/text-search/) - Search a text easily across the PDF document.
|
|
140
|
-
* [Core Interactions](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/interaction-mode
|
|
141
|
-
* [Print](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/print/) - Print the entire document or a specific page directly from the browser.
|
|
142
|
-
* [Globalization](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/
|
|
143
|
+
* [View PDF Document](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/getting-started) - Open and display both the normal and the protected PDF files with AES and RC4 encryption.
|
|
144
|
+
* [Annotations](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/annotation/overview) - Annotate with text markup, shapes, stamps, ink, and sticky notes.
|
|
145
|
+
* [Form Fields](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/forms/overview) - Form filling and form designing can be done.
|
|
146
|
+
* [Signature](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/annotation/signature-annotation) - Hand-written and digital signatures are allowed.
|
|
147
|
+
* [Toolbar](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/toolbar-customization/overview) - Built-in-toolbar and custom toolbars to perform user interaction of PDF Viewer functionalities.
|
|
148
|
+
* [Navigation](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/interactive-pdf-navigation/overview) - Easy navigation with the help of bookmarks, thumbnails, hyperlinks, and table of contents.
|
|
149
|
+
* [Magnification](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/magnification/magnification) - Fit to page, fit to width, and automatic (fits to the visible area).
|
|
150
|
+
* [Search](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/text-search/overview) - Search a text easily across the PDF document.
|
|
151
|
+
* [Core Interactions](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/interaction-mode) - Allows scrolling, zooming, panning, selection, and page navigation.
|
|
152
|
+
* [Print](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/print/overview) - Print the entire document or a specific page directly from the browser.
|
|
153
|
+
* [Globalization](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/react/localization/default-language) - Provides inherent support to localize the UI.
|
|
143
154
|
|
|
144
155
|
## Resources
|
|
145
156
|
|
|
146
|
-
* [AI Coding Assistant](https://ej2.syncfusion.com/react/documentation/ai-
|
|
147
|
-
* [Theme Studio](https://ej2.syncfusion.com/themestudio
|
|
157
|
+
* [AI Coding Assistant](https://ej2.syncfusion.com/react/documentation/ai-tools/ai-powered-development)
|
|
158
|
+
* [Theme Studio](https://ej2.syncfusion.com/themestudio/?theme=tailwind3)
|
|
148
159
|
* [What's New](https://www.syncfusion.com/products/whatsnew/pdf-viewer-sdk?utm_medium=listing&utm_source=github)
|
|
149
160
|
* [Road Map](https://www.syncfusion.com/products/roadmap/pdf-viewer-sdk)
|
|
150
161
|
* [E-Books](https://www.syncfusion.com/succinctly-free-ebooks?searchkey=react&type=all)
|
|
@@ -159,6 +170,47 @@ Product support is available through the following mediums.
|
|
|
159
170
|
* [Request feature or report bug](https://www.syncfusion.com/feedback/pdf-viewer-sdk?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
|
|
160
171
|
* Live chat
|
|
161
172
|
|
|
173
|
+
## Other Popular React Components
|
|
174
|
+
|
|
175
|
+
Explore other popular Syncfusion<sup>®</sup> React components curated from UI components, standalone SDKs, and document solution suites.
|
|
176
|
+
|
|
177
|
+
<table>
|
|
178
|
+
<tr>
|
|
179
|
+
<td align="center">
|
|
180
|
+
<a href="https://www.syncfusion.com/react-components/react-data-grid">React DataGrid</a>
|
|
181
|
+
</td>
|
|
182
|
+
<td align="center">
|
|
183
|
+
<a href="https://www.syncfusion.com/react-components/react-charts">React Charts</a>
|
|
184
|
+
</td>
|
|
185
|
+
<td align="center">
|
|
186
|
+
<a href="https://www.syncfusion.com/react-components/react-file-manager">React File Manager</a>
|
|
187
|
+
</td>
|
|
188
|
+
<td align="center">
|
|
189
|
+
<a href="https://www.syncfusion.com/gantt-sdk/react-gantt-chart">React Gantt Chart</a>
|
|
190
|
+
</td>
|
|
191
|
+
<td align="center">
|
|
192
|
+
<a href="https://www.syncfusion.com/diagram-sdk/react-diagram">React Diagram</a>
|
|
193
|
+
</td>
|
|
194
|
+
</tr>
|
|
195
|
+
<tr>
|
|
196
|
+
<td align="center">
|
|
197
|
+
<a href="https://www.syncfusion.com/scheduler-sdk/react-scheduler">React Scheduler</a>
|
|
198
|
+
</td>
|
|
199
|
+
<td align="center">
|
|
200
|
+
<a href="https://www.syncfusion.com/docx-editor-sdk/react-docx-editor">React DOCX Editor</a>
|
|
201
|
+
</td>
|
|
202
|
+
<td align="center">
|
|
203
|
+
<a href="https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor">React Spreadsheet Editor</a>
|
|
204
|
+
</td>
|
|
205
|
+
<td align="center">
|
|
206
|
+
<a href="https://www.syncfusion.com/rich-text-editor-sdk/react-rich-text-editor">React Rich Text Editor</a>
|
|
207
|
+
</td>
|
|
208
|
+
<td align="center">
|
|
209
|
+
<a href="https://www.syncfusion.com/react-components/react-maps-library">React Maps</a>
|
|
210
|
+
</td>
|
|
211
|
+
</tr>
|
|
212
|
+
</table>
|
|
213
|
+
|
|
162
214
|
## Changelog
|
|
163
215
|
|
|
164
216
|
Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/components/pdfviewer/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
|
package/diConfig.json
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"reactComment": [
|
|
89
89
|
"/**",
|
|
90
90
|
" * `Represents the react PdfViewer Component.",
|
|
91
|
-
" * ```
|
|
91
|
+
" * ```ts",
|
|
92
92
|
" * <PdfViewerComponent />",
|
|
93
93
|
" * ```",
|
|
94
94
|
" */"
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"vueComment": [
|
|
97
97
|
"/**",
|
|
98
98
|
" * `ejs-pdfviewer` represents the VueJS PdfViewer Component.",
|
|
99
|
-
" * ```
|
|
99
|
+
" * ```html",
|
|
100
100
|
" * <ejs-pdfviewer></ejs-pdfviewer>",
|
|
101
101
|
" * ```",
|
|
102
102
|
" */"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-pdfviewer.min.js
|
|
3
|
-
* version : 34.2.
|
|
3
|
+
* version : 34.2.6
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-pdfviewer.umd.min.js
|
|
3
|
-
* version : 34.2.
|
|
3
|
+
* version : 34.2.6
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-pdfviewer.umd.min.js","sources":["../src/pdfviewer/pdfviewer.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `Represents the react PdfViewer Component.\n * ```
|
|
1
|
+
{"version":3,"file":"ej2-react-pdfviewer.umd.min.js","sources":["../src/pdfviewer/pdfviewer.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `Represents the react PdfViewer Component.\n * ```ts\n * <PdfViewerComponent />\n * ```\n */\nvar PdfViewerComponent = /** @class */ (function (_super) {\n __extends(PdfViewerComponent, _super);\n function PdfViewerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n PdfViewerComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return PdfViewerComponent;\n}(PdfViewer));\nexport { PdfViewerComponent };\napplyMixins(PdfViewerComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","PdfViewerComponent","PdfViewer","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"wYACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAqB0CS,EAtB9CC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnFK,GAA8CP,EAwBhDQ,YAvBEP,EAAUM,EAAoBP,CAAM,EAYpCO,EAAmBF,UAAUI,OAAS,WAElC,GADAN,KAAKO,YAAc,CAAA,EACf,EAAEP,KAAKQ,SAAW,CAACR,KAAKS,kBAAqBT,KAAKU,aAAgBV,KAAKW,oBAKvE,OAAOC,gBAAoB,MAAOZ,KAAKa,uBAAwB,GAAGC,OAAOd,KAAKe,MAAMC,SAAUhB,KAAKiB,OAAO,CAAC,EAJ3GpB,EAAOK,UAAUI,OAAOY,KAAKlB,IAAI,EACjCA,KAAKS,iBAAmB,CAAA,GAMzBL,GArBP,SAASA,EAAmBW,GACpBI,EAAQtB,EAAOqB,KAAKlB,KAAMe,CAAK,GAAKf,KAQxC,OAPAmB,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,uBAAyB,KAC/BF,EAAMG,cAAgB,KACtBH,EAAMI,gBAAkB,CAAA,EACxBJ,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHf,EAAoB,CAACoB,gBAAeC,YAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-pdfviewer.es2015.js","sources":["../src/es6/pdfviewer/pdfviewer.component.js"],"sourcesContent":["import * as React from 'react';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `Represents the react PdfViewer Component.\n * ```
|
|
1
|
+
{"version":3,"file":"ej2-react-pdfviewer.es2015.js","sources":["../src/es6/pdfviewer/pdfviewer.component.js"],"sourcesContent":["import * as React from 'react';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `Represents the react PdfViewer Component.\n * ```ts\n * <PdfViewerComponent />\n * ```\n */\nexport class PdfViewerComponent extends PdfViewer {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(PdfViewerComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,kBAAkB,SAAS,SAAS,CAAC;AAClD,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,QAAQ,KAAK,CAAC,KAAK,CAAC,CAAC;AACrB,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;AACzC,QAAQ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;AACpC,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;AAChC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;AACjC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,kBAAkB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-react-pdfviewer",
|
|
3
|
-
"version": "34.2.
|
|
3
|
+
"version": "34.2.6",
|
|
4
4
|
"description": "Essential JS 2 PDF viewer Component for React",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"es2015": "dist/es6/ej2-react-pdfviewer.es2015.js",
|
|
20
20
|
"readme": "ReadMe.md",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@syncfusion/ej2-base": "~34.2.
|
|
23
|
-
"@syncfusion/ej2-react-base": "~34.2.
|
|
24
|
-
"@syncfusion/ej2-pdfviewer": "34.2.
|
|
22
|
+
"@syncfusion/ej2-base": "~34.2.6",
|
|
23
|
+
"@syncfusion/ej2-react-base": "~34.2.6",
|
|
24
|
+
"@syncfusion/ej2-pdfviewer": "34.2.6"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {},
|
|
27
27
|
"sideEffects": false,
|