@syncfusion/ej2-react-pdfviewer 20.3.60 → 20.4.40

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/CHANGELOG.md CHANGED
@@ -4,6 +4,57 @@
4
4
 
5
5
  ### PDF Viewer
6
6
 
7
+ #### Bug Fixes
8
+
9
+ - `#I420988` - Now, the annotations are not delete while drag, resize or deleting the form fields.
10
+ - `#I422542` - Now, the strike through can now be added to free text annotations programmatically.
11
+ - `#I424231` - Now, the issue with the document's signature disappearing has been fixed.
12
+
13
+ ## 20.4.38 (2022-12-21)
14
+
15
+ ### PDF Viewer
16
+
17
+ #### Bug Fixes
18
+
19
+ - `#F178667` - Now, the zero thickness property is applied to the form fields.
20
+ - `#I421990` - Updating read-only to false for a form field is working properly.
21
+ - `#I420531` - The free text annotations are no longer scaled on double clicks.
22
+ - `#F178453` - Cut, copy, and paste at the form fields are working properly on downloading.
23
+ - `#I419557` - The `IsPrint` property value of the text markup annotation is properly updated.
24
+ - `#I418726` - The draw and image type signatures are now preserved while changing the tabs on mobile devices.
25
+ - `#I420588` - Printing the PDF document that contains signature fields on non-rendered pages won’t throw script errors.
26
+ - `#I420304` - Programmatically updating the read only properties won’t throw script errors.
27
+ - `#I416032` - The radio button now triggers the form field click event.
28
+ - `#I420423` - The background color of the initial indicator settings can be applied programmatically while adding form fields.
29
+ - `#I422736` - Fixed issue with saving the PDF document on form fields export.
30
+ - `#I418731` - Export and import values of form fields with same name have been properly updated.
31
+ - `#I416298` - Focusing the signature and initial fields are proper on different zoom levels.
32
+ - `#I411856` - The issue with programmatically updating the initial indicator properties has been resolved.
33
+ - `#F178660` - Fixed issue with `RenderAnnotationComments` on the .NET 6.0 platform.
34
+ - `#I418199` - Programmatically updating images in the form fields won’t throw script errors.
35
+ - `#I408281` - Switching between the PDF view and the text view won’t throw script errors.
36
+ - `#I413254` - Aspect ratio is maintained for the image type signatures.
37
+ - `#F178250` - Now, the color palette is no longer obscured in the PDF Viewer.
38
+ - `#I178667` - Now, the text box's border color is properly updated and no longer hidden.
39
+ - `#I418214` - Session items of the older documents are cleared now.
40
+ - `#I178018` - Searching for a multiple-sentence phrase no longer causes the PDF Viewer to freeze.
41
+ - `#I421388` - Handwritten signatures will appear properly on loading the document again.
42
+ - `#F178018` - Now, the script issue no longer occurs when doing multiline searches in the Pdf document.
43
+
44
+ #### Features
45
+
46
+ - Form fields values can be exported to FDF and XFDF formats and the same can be imported into the PDF Viewer, programmatically.
47
+ - Digital signatures of the existing PDF documents are now rendered in the PDF Viewer.
48
+ - `#I369895`, `#I403367`, `#I406191` - Now, the text selection `strikethrough` has been improved.
49
+ - `#I419679` - Provided the support to show or hide the `FormDesignerToolbar` after document loading.
50
+ - `#I421694` - Angular applications renders PDF Viewer controls without ID properties by generating the ID internally, if not provided.
51
+ - `#I409823` - Margin can be set to the value was preserved for the free text annotation in the downloaded document.
52
+ - `#I412460` - Provided the support for retrying Ajax requests with a status code collection.
53
+
54
+ ## 20.3.60 (2022-12-06)
55
+
56
+ ### PDF Viewer
57
+
7
58
  #### New Features
8
59
 
9
60
  - `#I369895`,`#I403367`,`#I406191` - Now, improvements in text selection `strikethrough` for specific document.
package/README.md CHANGED
@@ -1,62 +1,166 @@
1
- # ej2-pdfviewer
1
+ # React PDF Viewer Component
2
2
 
3
- Syncfusion [React PDF Viewer](https://www.syncfusion.com/react-ui-components/react-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm) control enables you to view and print PDF files from your web applications.
3
+ The [React PDF Viewer](https://www.syncfusion.com/react-ui-components/react-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm) component enables you to view, annotate, prepare and fill forms, and print PDF files from your web applications.
4
4
 
5
- ![PDF Viewer](https://ej2.syncfusion.com/products/images/pdfviewer/readme.gif)
5
+ <p align="center">
6
+ <a href="https://ej2.syncfusion.com/react/documentation/pdfviewer/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm">Getting started</a> .
7
+ <a href="https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm#/bootstrap5/pdfviewer/default">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/react-components/react-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm">Learn more</a>
9
+ </p>
6
10
 
7
- > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials).
11
+ <p align="center">
12
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/react/react-pdf-viewer.png" alt="React PDF Viewer Component"/>
13
+ </p>
8
14
 
9
- > A free community license (https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
15
+ <p align="center">
16
+ Trusted by the world's leading companies
17
+ <a href="https://www.syncfusion.com">
18
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
19
+ </a>
20
+ </p>
10
21
 
11
22
  ## Setup
12
23
 
13
- To install PDF Viewer and its dependent packages, use the following command
24
+ ### Create a React Application
14
25
 
15
- ```sh
16
- npm install @syncfusion/ej2-pdfviewer
26
+ You can use [`create-react-app`](https://github.com/facebookincubator/create-react-app) to setup applications. To create React app use the following command.
27
+
28
+ ```bash
29
+ npx create-react-app my-app --template typescript
30
+ cd my-app
31
+ npm start
17
32
  ```
18
33
 
19
- ## Resources
34
+ ### Adding Syncfusion PDF Viewer package
20
35
 
21
- * [Getting Started](https://ej2.syncfusion.com/react/documentation/pdfviewer/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
22
- * [View Online Demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm#/material/pdfviewer/default)
23
- * [Product Page](https://www.syncfusion.com/react-ui-components/react-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
36
+ All Syncfusion react packages are published in the [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install the react PDF Viewer package, use the following command.
24
37
 
25
- ## Supported Frameworks
38
+ ```bash
39
+ npm install @syncfusion/ej2-react-pdfviewer --save
40
+ ```
26
41
 
27
- PDF Viewer component is also offered in following list of frameworks.
42
+ ### Adding CSS references for PDF Viewer
43
+
44
+ Add CSS references needed for a PDF Viewer in **src/index.css** from the **../node_modules/@syncfusion** package folder.
45
+
46
+ ```css
47
+ @import '../node_modules/@syncfusion/ej2-base/styles/material.css';
48
+ @import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
49
+ @import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
50
+ @import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
51
+ @import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
52
+ @import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
53
+ @import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
54
+ @import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
55
+ @import '../node_modules/@syncfusion/ej2-notifications/styles/material.css';
56
+ @import "../node_modules/@syncfusion/ej2-react-pdfviewer/styles/material.css";
57
+ ```
28
58
 
29
- 1. [Angular PDF Viewer](https://www.syncfusion.com/angular-ui-components/angular-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
30
- 2. [JavaScript PDF Viewer](https://www.syncfusion.com/javascript-ui-controls/js-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
31
- 3. [VueJS PDF Viewer](https://www.syncfusion.com/vue-ui-components/vue-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
32
- 4. [ASP.NET Core PDF Viewer](https://www.syncfusion.com/aspnet-core-ui-controls/pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
33
- 5. [ASP.NET MVC PDF Viewer](https://www.syncfusion.com/aspnet-mvc-ui-controls/pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
59
+ ### Add PDF Viewer component
60
+
61
+ In the **src/index.js** file, use the following code snippet to render the Syncfusion React PDF Viewer control and import **index.css** to apply styles to the PDF Viewer:
62
+
63
+ ```typescript
64
+ import { createRoot } from 'react-dom/client';
65
+ import './index.css';
66
+ import * as React from 'react';
67
+ import {
68
+ PdfViewerComponent,
69
+ Toolbar,
70
+ Magnification,
71
+ Navigation,
72
+ LinkAnnotation,
73
+ BookmarkView,
74
+ ThumbnailView,
75
+ Print,
76
+ TextSelection,
77
+ TextSearch,
78
+ Annotation,
79
+ FormFields,
80
+ FormDesigner,
81
+ Inject,
82
+ } from '@syncfusion/ej2-react-pdfviewer';
83
+ import { SampleBase } from './sample-base';
84
+ export class Default extends SampleBase {
85
+ render() {
86
+ return (
87
+ <div>
88
+ <div className="control-section">
89
+ <PdfViewerComponent
90
+ id="container"
91
+ documentPath="PDF_Succinctly.pdf"
92
+ serviceUrl="https://ej2services.syncfusion.com/production/web-services/api/pdfviewer"
93
+ toolbarSettings={{ showTooltip: true, toolbarItems: ['OpenOption', 'PanTool', 'AnnotationEditTool', 'FormDesignerEditTool', ], annotationToolbarItems: ['HandWrittenSignatureTool'], formDesignerToolbarItems: ['TextboxTool', 'PasswordTool', ] }}
94
+ style={{ height: '640px' }}
95
+ >
96
+ <Inject
97
+ services={[
98
+ Toolbar,
99
+ Magnification,
100
+ Navigation,
101
+ LinkAnnotation,
102
+ BookmarkView,
103
+ ThumbnailView,
104
+ Print,
105
+ TextSelection,
106
+ TextSearch,
107
+ Annotation,
108
+ FormFields,
109
+ FormDesigner,
110
+ ]}
111
+ />
112
+ </PdfViewerComponent>
113
+ </div>
114
+ </div>
115
+ );
116
+ }
117
+ }
118
+
119
+ const root = createRoot(document.getElementById('sample'));
120
+ root.render(<Default />);
121
+ ```
34
122
 
35
- ## Key Features
123
+ ## Supported frameworks
36
124
 
37
- * **View PDF Document** - Open and display both normal and PDF files protected with AES and RC4 encryption.
38
- * **Core interactions** - Scrolling, Zooming, panning and page navigation.
39
- * **Built-in toolbar** - Built-in-toolbar to perform user interaction of PDF Viewer functionalities.
40
- * **Selection** - Select and copy text from PDF file.
41
- * **Search** - Search a text easily across the PDF document.
42
- * **Navigation** - Easy navigation with the help of Bookmarks, thumbnails, hyperlinks and table of contents.
43
- * **View modes** - fit to page, fit to visible and fit to width.
44
- * **Print** - Print the entire document or a specific page directly from the browser.
125
+ PDF Viewer component is also offered in the following list of frameworks.
45
126
 
46
- ## Support
127
+ | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
128
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
47
129
 
48
- Product support is available for through following mediums.
130
+ ## Key features
49
131
 
50
- * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm).
51
- * New [GitHub issue](https://github.com/syncfusion/ej2-pdfviewer/issues/new?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm).
52
- * Ask your query in Stack Overflow with tag `syncfusion`, `ej2`.
132
+ * [View PDF Document](https://ej2.syncfusion.com/react/documentation/pdfviewer/getting-started/) - Open and display both the normal and the protected PDF files with AES and RC4 encryption.
133
+ * [Annotations](https://ej2.syncfusion.com/react/documentation/pdfviewer/annotation/text-markup-annotation/) - Annotate with text markup, shapes, stamps, ink, and sticky notes.
134
+ * [Form Fields](https://ej2.syncfusion.com/react/documentation/pdfviewer/form-designer/create-fillable-PDF-forms/create-programmatically/) - Form filling and form designing can be done.
135
+ * [Signature](https://ej2.syncfusion.com/angular/documentation/pdfviewer/handwritten-signature/) - Hand-written and digital signatures are allowed.
136
+ * [Toolbar](https://ej2.syncfusion.com/react/documentation/pdfviewer/toolbar/) - Built-in-toolbar and custom toolbars to perform user interaction of PDF Viewer functionalities.
137
+ * [Navigation](https://ej2.syncfusion.com/react/documentation/pdfviewer/navigation/) - Easy navigation with the help of bookmarks, thumbnails, hyperlinks, and table of contents.
138
+ * [Magnification](https://ej2.syncfusion.com/react/documentation/pdfviewer/magnification/) - Fit to page, fit to width, and automatic (fits to the visible area).
139
+ * [Search](https://ej2.syncfusion.com/react/documentation/pdfviewer/text-search/) - Search a text easily across the PDF document.
140
+ * [Core Interactions](https://ej2.syncfusion.com/react/documentation/pdfviewer/interaction-mode/) - Allows scrolling, zooming, panning, selection, and page navigation.
141
+ * [Print](https://ej2.syncfusion.com/react/documentation/pdfviewer/print/) - Print the entire document or a specific page directly from the browser.
142
+ * [Globalization](https://ej2.syncfusion.com/react/documentation/pdfviewer/globalization/) - Provides inherent support to localize the UI.
53
143
 
54
- ## License
144
+ ## Support
55
145
 
56
- Check the license detail [here](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm).
146
+ Product support is available through the following mediums.
147
+
148
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
149
+ * [Community forum](https://www.syncfusion.com/forums/react-js2?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
150
+ * [GitHub issues](https://github.com/syncfusion/ej2-react-ui-components/issues/new)
151
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/react?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
152
+ * Live chat
57
153
 
58
154
  ## Changelog
59
155
 
60
- Check the changelog [here](https://github.com/syncfusion/ej2-pdfviewer/blob/master/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm)
156
+ Check the changelog [here](https://github.com/syncfusion/ej2-pdfviewer/blob/master/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.
157
+
158
+ ## License and copyright
159
+
160
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [React UI components](https://www.syncfusion.com/react-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
161
+
162
+ > A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
163
+
164
+ See [LICENSE FILE](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=react-pdf-viewer-npm) for more info.
61
165
 
62
- © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
166
+ &copy; Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
package/diConfig.json CHANGED
@@ -8,27 +8,23 @@
8
8
  "ej2",
9
9
  "ej2-pdfviewer",
10
10
  "syncfusion",
11
- "web-components",
12
- "viewer",
13
- "pdf",
11
+ "pdf-viewer",
14
12
  "typescript"
15
13
  ],
16
14
  "angular": [
17
15
  "angular",
18
- "ng-pdfviewer",
19
- "ej2-ng-pdfviewer"
16
+ "angular-pdf-viewer"
20
17
  ],
21
18
  "react": [
22
19
  "react",
23
20
  "reactjs",
24
- "react-pdfviewer",
25
- "ej2-react-pdfviewer"
21
+ "react-pdf-viewer",
22
+ "javascript"
26
23
  ],
27
24
  "vue": [
28
25
  "vue",
29
26
  "vuejs",
30
- "vue-grids",
31
- "ej2-vue-grids"
27
+ "vue-pdf-viewer"
32
28
  ]
33
29
  },
34
30
  "repository": {
@@ -1,10 +1 @@
1
- /*!
2
- * filename: ej2-react-pdfviewer.min.js
3
- * version : 20.3.60
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
1
  !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionPdfviewer"),require("SyncfusionReactBase"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionPdfviewer","SyncfusionReactBase","React"],t):"object"==typeof exports?exports.SyncfusionReactPdfviewer=t(require("SyncfusionPdfviewer"),require("SyncfusionReactBase"),require("React")):e.SyncfusionReactPdfviewer=t(e.SyncfusionPdfviewer,e.SyncfusionReactBase,e.React)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";var r=n(4);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);n.d(t,"PdfViewerComponent",function(){return r.a});var o=n(1);n.n(o);n.o(o,"Inject")&&n.d(t,"Inject",function(){return o.Inject});var i=n(0);n.n(i);for(var c in i)["PdfViewerComponent","Inject","default"].indexOf(c)<0&&function(e){n.d(t,e,function(){return i[e]})}(c)},function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(5),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(n.n(i),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return c(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(o.PdfViewer);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(e,t){e.exports=n}])});
@@ -1,11 +1,2 @@
1
- /*!
2
- * filename: ej2-react-pdfviewer.umd.min.js
3
- * version : 20.3.60
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
1
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-pdfviewer"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-pdfviewer","@syncfusion/ej2-react-base"],t):t(e.ej={},e.React,e.ej2Pdfviewer,e.ej2ReactBase)}(this,function(e,t,n,r){"use strict";var i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return i(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.PdfViewer);r.applyMixins(o,[r.ComponentBase,t.Component]),e.Inject=r.Inject,e.PdfViewerComponent=o,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
2
  //# sourceMappingURL=ej2-react-pdfviewer.umd.min.js.map
package/package.json CHANGED
@@ -1,66 +1,64 @@
1
- {
2
- "_from": "@syncfusion/ej2-react-pdfviewer@*",
3
- "_id": "@syncfusion/ej2-react-pdfviewer@20.3.59",
4
- "_inBundle": false,
5
- "_integrity": "sha512-wmki8wqLfeu2d2G2+9ND+RmMhnkMsUMD7xbzBVn9w+J5llB8LyhpcrsDTSZKSg7a5JSf5V4tCEnr0GSXesz8mA==",
6
- "_location": "/@syncfusion/ej2-react-pdfviewer",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "@syncfusion/ej2-react-pdfviewer@*",
12
- "name": "@syncfusion/ej2-react-pdfviewer",
13
- "escapedName": "@syncfusion%2fej2-react-pdfviewer",
14
- "scope": "@syncfusion",
15
- "rawSpec": "*",
16
- "saveSpec": null,
17
- "fetchSpec": "*"
18
- },
19
- "_requiredBy": [
20
- "/"
21
- ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-pdfviewer/-/ej2-react-pdfviewer-20.3.59.tgz",
23
- "_shasum": "372539f50d84d53197569de54683650e0d2d1c94",
24
- "_spec": "@syncfusion/ej2-react-pdfviewer@*",
25
- "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
26
- "author": {
27
- "name": "Syncfusion Inc."
28
- },
29
- "bugs": {
30
- "url": "https://github.com/syncfusion/ej2-react-ui-components/issues"
31
- },
32
- "bundleDependencies": false,
33
- "dependencies": {
34
- "@syncfusion/ej2-base": "~20.3.56",
35
- "@syncfusion/ej2-pdfviewer": "20.3.60",
36
- "@syncfusion/ej2-react-base": "~20.3.56"
37
- },
38
- "deprecated": false,
39
- "description": "Essential JS 2 PDF viewer Component for React",
40
- "devDependencies": {},
41
- "es2015": "dist/es6/ej2-react-pdfviewer.es2015.js",
42
- "homepage": "https://github.com/syncfusion/ej2-react-ui-components#readme",
43
- "keywords": [
44
- "ej2",
45
- "ej2-pdfviewer",
46
- "syncfusion",
47
- "web-components",
48
- "viewer",
49
- "pdf",
50
- "typescript",
51
- "react",
52
- "reactjs",
53
- "react-pdfviewer",
54
- "ej2-react-pdfviewer"
55
- ],
56
- "license": "SEE LICENSE IN license",
57
- "main": "./dist/ej2-react-pdfviewer.umd.min.js",
58
- "module": "./index.js",
59
- "name": "@syncfusion/ej2-react-pdfviewer",
60
- "repository": {
61
- "type": "git",
62
- "url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
63
- },
64
- "version": "20.3.60",
65
- "sideEffects": false
66
- }
1
+ {
2
+ "_from": "@syncfusion/ej2-react-pdfviewer@*",
3
+ "_id": "@syncfusion/ej2-react-pdfviewer@20.3.67",
4
+ "_inBundle": false,
5
+ "_integrity": "sha512-UrZqbjWbolQlMVlWWYIIQXG1BYpe6dt636N27/iC4HrE2T4VDaX220mVtrO52cqea13P3dn6EtuHBz37cHU7wA==",
6
+ "_location": "/@syncfusion/ej2-react-pdfviewer",
7
+ "_phantomChildren": {},
8
+ "_requested": {
9
+ "type": "range",
10
+ "registry": true,
11
+ "raw": "@syncfusion/ej2-react-pdfviewer@*",
12
+ "name": "@syncfusion/ej2-react-pdfviewer",
13
+ "escapedName": "@syncfusion%2fej2-react-pdfviewer",
14
+ "scope": "@syncfusion",
15
+ "rawSpec": "*",
16
+ "saveSpec": null,
17
+ "fetchSpec": "*"
18
+ },
19
+ "_requiredBy": [
20
+ "/"
21
+ ],
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-react-pdfviewer/-/ej2-react-pdfviewer-20.3.67.tgz",
23
+ "_shasum": "1da0c36c0da0cb5da29ccbc2da33c7afa9084ae3",
24
+ "_spec": "@syncfusion/ej2-react-pdfviewer@*",
25
+ "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
26
+ "author": {
27
+ "name": "Syncfusion Inc."
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/syncfusion/ej2-react-ui-components/issues"
31
+ },
32
+ "bundleDependencies": false,
33
+ "dependencies": {
34
+ "@syncfusion/ej2-base": "~20.4.40",
35
+ "@syncfusion/ej2-pdfviewer": "20.4.40",
36
+ "@syncfusion/ej2-react-base": "~20.4.40"
37
+ },
38
+ "deprecated": false,
39
+ "description": "Essential JS 2 PDF viewer Component for React",
40
+ "devDependencies": {},
41
+ "es2015": "dist/es6/ej2-react-pdfviewer.es2015.js",
42
+ "homepage": "https://github.com/syncfusion/ej2-react-ui-components#readme",
43
+ "keywords": [
44
+ "ej2",
45
+ "ej2-pdfviewer",
46
+ "syncfusion",
47
+ "pdf-viewer",
48
+ "typescript",
49
+ "react",
50
+ "reactjs",
51
+ "react-pdf-viewer",
52
+ "javascript"
53
+ ],
54
+ "license": "SEE LICENSE IN license",
55
+ "main": "./dist/ej2-react-pdfviewer.umd.min.js",
56
+ "module": "./index.js",
57
+ "name": "@syncfusion/ej2-react-pdfviewer",
58
+ "repository": {
59
+ "type": "git",
60
+ "url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
61
+ },
62
+ "version": "20.4.40",
63
+ "sideEffects": false
64
+ }