@syncfusion/ej2-angular-pdfviewer 31.2.13 → 31.2.14
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 +2055 -3571
- package/README.md +101 -98
- package/esm2020/src/index.mjs +5 -8
- package/esm2020/src/pdfviewer/pdfviewer-all.module.mjs +65 -0
- package/esm2020/src/pdfviewer/pdfviewer.component.mjs +150 -0
- package/esm2020/src/pdfviewer/pdfviewer.module.mjs +25 -0
- package/esm2020/syncfusion-ej2-angular-pdfviewer.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-pdfviewer.mjs +239 -0
- package/fesm2015/syncfusion-ej2-angular-pdfviewer.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-pdfviewer.mjs +239 -0
- package/fesm2020/syncfusion-ej2-angular-pdfviewer.mjs.map +1 -0
- package/package.json +2 -2
- package/schematics/collection.json +10 -14
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +25 -25
- package/schematics/utils/lib-details.d.ts +4 -4
- package/schematics/utils/lib-details.js +2 -3
- package/schematics/utils/lib-details.ts +4 -4
- package/src/index.d.ts +4 -7
- package/src/pdfviewer/pdfviewer-all.module.d.ts +25 -0
- package/src/pdfviewer/pdfviewer.component.d.ts +108 -0
- package/src/pdfviewer/pdfviewer.module.d.ts +11 -0
- package/styles/bds-lite.css +1 -1
- package/styles/bds-lite.scss +1 -1
- package/styles/bds.css +1 -1
- package/styles/bds.scss +1 -2
- package/styles/bootstrap-dark-lite.css +1 -1
- package/styles/bootstrap-dark-lite.scss +1 -1
- package/styles/bootstrap-dark.css +1 -1
- package/styles/bootstrap-dark.scss +1 -2
- package/styles/bootstrap-lite.css +1 -1
- package/styles/bootstrap-lite.scss +1 -1
- package/styles/bootstrap.css +1 -1
- package/styles/bootstrap.scss +1 -2
- package/styles/bootstrap4-lite.css +1 -1
- package/styles/bootstrap4-lite.scss +1 -1
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap4.scss +1 -2
- package/styles/bootstrap5-dark-lite.css +1 -1
- package/styles/bootstrap5-dark-lite.scss +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5-dark.scss +1 -2
- package/styles/bootstrap5-lite.css +1 -1
- package/styles/bootstrap5-lite.scss +1 -1
- package/styles/bootstrap5.3-lite.css +1 -1
- package/styles/bootstrap5.3-lite.scss +1 -1
- package/styles/bootstrap5.3.css +1 -1
- package/styles/bootstrap5.3.scss +1 -2
- package/styles/bootstrap5.css +1 -1
- package/styles/bootstrap5.scss +1 -2
- package/styles/fabric-dark-lite.css +1 -1
- package/styles/fabric-dark-lite.scss +1 -1
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric-dark.scss +1 -2
- package/styles/fabric-lite.css +1 -1
- package/styles/fabric-lite.scss +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fabric.scss +1 -2
- package/styles/fluent-dark-lite.css +1 -1
- package/styles/fluent-dark-lite.scss +1 -1
- package/styles/fluent-dark.css +1 -1
- package/styles/fluent-dark.scss +1 -2
- package/styles/fluent-lite.css +1 -1
- package/styles/fluent-lite.scss +1 -1
- package/styles/fluent.css +1 -1
- package/styles/fluent.scss +1 -2
- package/styles/fluent2-lite.css +1 -1
- package/styles/fluent2-lite.scss +1 -1
- package/styles/fluent2.css +1 -1
- package/styles/fluent2.scss +1 -2
- package/styles/highcontrast-light-lite.css +1 -1
- package/styles/highcontrast-light-lite.scss +1 -1
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast-light.scss +1 -2
- package/styles/highcontrast-lite.css +1 -1
- package/styles/highcontrast-lite.scss +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/highcontrast.scss +1 -2
- package/styles/material-dark-lite.css +1 -1
- package/styles/material-dark-lite.scss +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material-dark.scss +1 -2
- package/styles/material-lite.css +1 -1
- package/styles/material-lite.scss +1 -1
- package/styles/material.css +1 -1
- package/styles/material.scss +1 -2
- package/styles/material3-dark-lite.css +1 -1
- package/styles/material3-dark-lite.scss +1 -1
- package/styles/material3-dark.css +1 -1
- package/styles/material3-dark.scss +1 -2
- package/styles/material3-lite.css +1 -1
- package/styles/material3-lite.scss +1 -1
- package/styles/material3.css +1 -1
- package/styles/material3.scss +1 -2
- package/styles/pdfviewer/bds.css +1 -0
- package/styles/pdfviewer/bds.scss +1 -0
- package/styles/pdfviewer/bootstrap-dark.css +1 -0
- package/styles/pdfviewer/bootstrap-dark.scss +1 -0
- package/styles/pdfviewer/bootstrap.css +1 -0
- package/styles/pdfviewer/bootstrap.scss +1 -0
- package/styles/pdfviewer/bootstrap4.css +1 -0
- package/styles/pdfviewer/bootstrap4.scss +1 -0
- package/styles/pdfviewer/bootstrap5-dark.css +1 -0
- package/styles/pdfviewer/bootstrap5-dark.scss +1 -0
- package/styles/pdfviewer/bootstrap5.3.css +1 -0
- package/styles/pdfviewer/bootstrap5.3.scss +1 -0
- package/styles/pdfviewer/bootstrap5.css +1 -0
- package/styles/pdfviewer/bootstrap5.scss +1 -0
- package/styles/pdfviewer/fabric-dark.css +1 -0
- package/styles/pdfviewer/fabric-dark.scss +1 -0
- package/styles/pdfviewer/fabric.css +1 -0
- package/styles/pdfviewer/fabric.scss +1 -0
- package/styles/pdfviewer/fluent-dark.css +1 -0
- package/styles/pdfviewer/fluent-dark.scss +1 -0
- package/styles/pdfviewer/fluent.css +1 -0
- package/styles/pdfviewer/fluent.scss +1 -0
- package/styles/pdfviewer/fluent2.css +1 -0
- package/styles/pdfviewer/fluent2.scss +1 -0
- package/styles/pdfviewer/highcontrast-light.css +1 -0
- package/styles/pdfviewer/highcontrast-light.scss +1 -0
- package/styles/pdfviewer/highcontrast.css +1 -0
- package/styles/pdfviewer/highcontrast.scss +1 -0
- package/styles/pdfviewer/material-dark.css +1 -0
- package/styles/pdfviewer/material-dark.scss +1 -0
- package/styles/pdfviewer/material.css +1 -0
- package/styles/pdfviewer/material.scss +1 -0
- package/styles/pdfviewer/material3-dark.css +1 -0
- package/styles/pdfviewer/material3-dark.scss +2 -0
- package/styles/pdfviewer/material3.css +1 -0
- package/styles/pdfviewer/material3.scss +2 -0
- package/styles/pdfviewer/tailwind-dark.css +1 -0
- package/styles/pdfviewer/tailwind-dark.scss +1 -0
- package/styles/pdfviewer/tailwind.css +1 -0
- package/styles/pdfviewer/tailwind.scss +1 -0
- package/styles/pdfviewer/tailwind3.css +1 -0
- package/styles/pdfviewer/tailwind3.scss +1 -0
- package/styles/tailwind-dark-lite.css +1 -1
- package/styles/tailwind-dark-lite.scss +1 -1
- package/styles/tailwind-dark.css +1 -1
- package/styles/tailwind-dark.scss +1 -2
- package/styles/tailwind-lite.css +1 -1
- package/styles/tailwind-lite.scss +1 -1
- package/styles/tailwind.css +1 -1
- package/styles/tailwind.scss +1 -2
- package/styles/tailwind3-lite.css +1 -1
- package/styles/tailwind3-lite.scss +1 -1
- package/styles/tailwind3.css +1 -1
- package/styles/tailwind3.scss +1 -2
- package/{syncfusion-ej2-angular-documenteditor.d.ts → syncfusion-ej2-angular-pdfviewer.d.ts} +1 -1
- package/esm2020/src/document-editor/documenteditor-all.module.mjs +0 -134
- package/esm2020/src/document-editor/documenteditor.component.mjs +0 -311
- package/esm2020/src/document-editor/documenteditor.module.mjs +0 -25
- package/esm2020/src/document-editor-container/documenteditorcontainer-all.module.mjs +0 -32
- package/esm2020/src/document-editor-container/documenteditorcontainer.component.mjs +0 -73
- package/esm2020/src/document-editor-container/documenteditorcontainer.module.mjs +0 -25
- package/esm2020/syncfusion-ej2-angular-documenteditor.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs +0 -584
- package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs +0 -584
- package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs.map +0 -1
- package/schematics/generators/documenteditorcontainer-default/index.d.ts +0 -3
- package/schematics/generators/documenteditorcontainer-default/index.js +0 -8
- package/schematics/generators/documenteditorcontainer-default/index.ts +0 -8
- package/schematics/generators/documenteditorcontainer-default/sample-details.d.ts +0 -5
- package/schematics/generators/documenteditorcontainer-default/sample-details.js +0 -8
- package/schematics/generators/documenteditorcontainer-default/sample-details.ts +0 -5
- package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -25
- package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/assets/data.ts +0 -1423
- package/schematics/generators/documenteditorcontainer-default/schema.d.ts +0 -3
- package/schematics/generators/documenteditorcontainer-default/schema.js +0 -2
- package/schematics/generators/documenteditorcontainer-default/schema.json +0 -125
- package/schematics/generators/documenteditorcontainer-default/schema.ts +0 -3
- package/src/document-editor/documenteditor-all.module.d.ts +0 -48
- package/src/document-editor/documenteditor.component.d.ts +0 -58
- package/src/document-editor/documenteditor.module.d.ts +0 -11
- package/src/document-editor-container/documenteditorcontainer-all.module.d.ts +0 -14
- package/src/document-editor-container/documenteditorcontainer.component.d.ts +0 -48
- package/src/document-editor-container/documenteditorcontainer.module.d.ts +0 -11
- package/styles/document-editor/bds.css +0 -1
- package/styles/document-editor/bds.scss +0 -1
- package/styles/document-editor/bootstrap-dark.css +0 -1
- package/styles/document-editor/bootstrap-dark.scss +0 -1
- package/styles/document-editor/bootstrap.css +0 -1
- package/styles/document-editor/bootstrap.scss +0 -1
- package/styles/document-editor/bootstrap4.css +0 -1
- package/styles/document-editor/bootstrap4.scss +0 -1
- package/styles/document-editor/bootstrap5-dark.css +0 -1
- package/styles/document-editor/bootstrap5-dark.scss +0 -1
- package/styles/document-editor/bootstrap5.3.css +0 -1
- package/styles/document-editor/bootstrap5.3.scss +0 -1
- package/styles/document-editor/bootstrap5.css +0 -1
- package/styles/document-editor/bootstrap5.scss +0 -1
- package/styles/document-editor/fabric-dark.css +0 -1
- package/styles/document-editor/fabric-dark.scss +0 -1
- package/styles/document-editor/fabric.css +0 -1
- package/styles/document-editor/fabric.scss +0 -1
- package/styles/document-editor/fluent-dark.css +0 -1
- package/styles/document-editor/fluent-dark.scss +0 -1
- package/styles/document-editor/fluent.css +0 -1
- package/styles/document-editor/fluent.scss +0 -1
- package/styles/document-editor/fluent2.css +0 -1
- package/styles/document-editor/fluent2.scss +0 -1
- package/styles/document-editor/highcontrast-light.css +0 -1
- package/styles/document-editor/highcontrast-light.scss +0 -1
- package/styles/document-editor/highcontrast.css +0 -1
- package/styles/document-editor/highcontrast.scss +0 -1
- package/styles/document-editor/material-dark.css +0 -1
- package/styles/document-editor/material-dark.scss +0 -1
- package/styles/document-editor/material.css +0 -1
- package/styles/document-editor/material.scss +0 -1
- package/styles/document-editor/material3-dark.css +0 -1
- package/styles/document-editor/material3-dark.scss +0 -2
- package/styles/document-editor/material3.css +0 -1
- package/styles/document-editor/material3.scss +0 -2
- package/styles/document-editor/tailwind-dark.css +0 -1
- package/styles/document-editor/tailwind-dark.scss +0 -1
- package/styles/document-editor/tailwind.css +0 -1
- package/styles/document-editor/tailwind.scss +0 -1
- package/styles/document-editor/tailwind3.css +0 -1
- package/styles/document-editor/tailwind3.scss +0 -1
- package/styles/document-editor-container/bds.css +0 -1
- package/styles/document-editor-container/bds.scss +0 -1
- package/styles/document-editor-container/bootstrap-dark.css +0 -1
- package/styles/document-editor-container/bootstrap-dark.scss +0 -1
- package/styles/document-editor-container/bootstrap.css +0 -1
- package/styles/document-editor-container/bootstrap.scss +0 -1
- package/styles/document-editor-container/bootstrap4.css +0 -1
- package/styles/document-editor-container/bootstrap4.scss +0 -1
- package/styles/document-editor-container/bootstrap5-dark.css +0 -1
- package/styles/document-editor-container/bootstrap5-dark.scss +0 -1
- package/styles/document-editor-container/bootstrap5.3.css +0 -1
- package/styles/document-editor-container/bootstrap5.3.scss +0 -1
- package/styles/document-editor-container/bootstrap5.css +0 -1
- package/styles/document-editor-container/bootstrap5.scss +0 -1
- package/styles/document-editor-container/fabric-dark.css +0 -1
- package/styles/document-editor-container/fabric-dark.scss +0 -1
- package/styles/document-editor-container/fabric.css +0 -1
- package/styles/document-editor-container/fabric.scss +0 -1
- package/styles/document-editor-container/fluent-dark.css +0 -1
- package/styles/document-editor-container/fluent-dark.scss +0 -1
- package/styles/document-editor-container/fluent.css +0 -1
- package/styles/document-editor-container/fluent.scss +0 -1
- package/styles/document-editor-container/fluent2.css +0 -1
- package/styles/document-editor-container/fluent2.scss +0 -1
- package/styles/document-editor-container/highcontrast-light.css +0 -1
- package/styles/document-editor-container/highcontrast-light.scss +0 -1
- package/styles/document-editor-container/highcontrast.css +0 -1
- package/styles/document-editor-container/highcontrast.scss +0 -1
- package/styles/document-editor-container/material-dark.css +0 -1
- package/styles/document-editor-container/material-dark.scss +0 -1
- package/styles/document-editor-container/material.css +0 -1
- package/styles/document-editor-container/material.scss +0 -1
- package/styles/document-editor-container/material3-dark.css +0 -1
- package/styles/document-editor-container/material3-dark.scss +0 -2
- package/styles/document-editor-container/material3.css +0 -1
- package/styles/document-editor-container/material3.scss +0 -2
- package/styles/document-editor-container/tailwind-dark.css +0 -1
- package/styles/document-editor-container/tailwind-dark.scss +0 -1
- package/styles/document-editor-container/tailwind.css +0 -1
- package/styles/document-editor-container/tailwind.scss +0 -1
- package/styles/document-editor-container/tailwind3.css +0 -1
- package/styles/document-editor-container/tailwind3.scss +0 -1
package/README.md
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
# Angular
|
|
1
|
+
# Angular PDF Viewer Component
|
|
2
2
|
|
|
3
|
-
The [Angular
|
|
4
|
-
|
|
5
|
-
An example [DOCX Editor server-side Web API projects for ASP.NET MVC, ASP.NET Core, and Java is available in GitHub](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm) which contains all the mandatory Web APIs for opening Word documents, paste with formatting, restrict editing, spell-checking, and saving documents other than SFDT/DOCX format. Apart from these operations, all the user interactions and editing operations run purely in the client-side provides much faster editing experience to the users.
|
|
6
|
-
|
|
7
|
-
Syncfusion provides a predefined [DOCX Editor server docker image](https://hub.docker.com/r/syncfusion/word-processor-server?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm) targeting ASP.NET Core 2.1 framework. You can directly pull this docker image and deploy it in server on the go. You can also create own docker image by customizing the existing [docker project from GitHub](https://github.com/SyncfusionExamples/Word-Processor-Server-Docker?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm).
|
|
3
|
+
The Syncfusion® [Angular PDF Viewer](https://www.syncfusion.com/pdf-viewer-sdk/angular-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm) component enables you to view, annotate, prepare and fill forms, and print PDF files from your web applications.
|
|
8
4
|
|
|
9
5
|
<p align="center">
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
<a href="https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm">Getting started</a> .
|
|
7
|
+
<a href="https://document.syncfusion.com/demos/pdf-viewer/angular/#/tailwind3/pdfviewer/default/?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm#/fluent2/pdfviewer/default">Online demos</a> .
|
|
8
|
+
<a href="https://www.syncfusion.com/pdf-viewer-sdk/angular-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm">Learn more</a>
|
|
13
9
|
</p>
|
|
14
10
|
|
|
15
11
|
<p align="center">
|
|
16
|
-
|
|
12
|
+
<img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/angular/angular-pdf-viewer.png" alt="Angular PDF Viewer Component"/>
|
|
17
13
|
</p>
|
|
18
14
|
|
|
19
15
|
<p align="center">
|
|
@@ -27,125 +23,134 @@ Trusted by the world's leading companies
|
|
|
27
23
|
|
|
28
24
|
### Create an Angular Application
|
|
29
25
|
|
|
30
|
-
|
|
26
|
+
You can use [Angular CLI](https://github.com/angular/angular-cli) to setup your Angular applications. To install the Angular CLI, use the following command.
|
|
31
27
|
|
|
32
28
|
```bash
|
|
33
|
-
|
|
34
|
-
cd quickstart
|
|
35
|
-
npm install
|
|
29
|
+
npm install -g @angular/cli
|
|
36
30
|
```
|
|
37
31
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
All Syncfusion Angular packages are published in [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install Angular Document editor package, use the following command.
|
|
32
|
+
Create a new Angular application using the following Angular CLI command.
|
|
41
33
|
|
|
42
34
|
```bash
|
|
43
|
-
|
|
35
|
+
ng new my-app
|
|
36
|
+
cd my-app
|
|
44
37
|
```
|
|
45
38
|
|
|
46
|
-
### Adding
|
|
39
|
+
### Adding Syncfusion® PDF Viewer package
|
|
47
40
|
|
|
48
|
-
|
|
41
|
+
All Syncfusion® Angular packages are available in [npmjs.com](https://www.npmjs.com/~syncfusionorg). To install the Angular PDF Viewer package, use the following command.
|
|
49
42
|
|
|
50
|
-
```
|
|
51
|
-
@
|
|
52
|
-
@import '../../node_modules/@syncfusion/ej2-buttons/styles/material.css';
|
|
53
|
-
@import '../../node_modules/@syncfusion/ej2-inputs/styles/material.css';
|
|
54
|
-
@import '../../node_modules/@syncfusion/ej2-popups/styles/material.css';
|
|
55
|
-
@import '../../node_modules/@syncfusion/ej2-lists/styles/material.css';
|
|
56
|
-
@import '../../node_modules/@syncfusion/ej2-navigations/styles/material.css';
|
|
57
|
-
@import '../../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
|
|
58
|
-
@import '../../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
|
|
59
|
-
@import '../../node_modules/@syncfusion/ej2-angular-documenteditor/styles/material.css';
|
|
43
|
+
```bash
|
|
44
|
+
ng add @syncfusion/ej2-angular-pdfviewer
|
|
60
45
|
```
|
|
61
46
|
|
|
62
|
-
|
|
47
|
+
The above command does the below configuration to your Angular app.
|
|
63
48
|
|
|
64
|
-
|
|
49
|
+
* Adds `@syncfusion/ej2-angular-pdfviewer` package and its peer dependencies to your `package.json` file.
|
|
50
|
+
* Imports the `PdfViewerModule` in your application module `app.module.ts`.
|
|
51
|
+
* Registers the Syncfusion® UI default theme (material) in the `angular.json` file.
|
|
65
52
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
@
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
export class AppModule { }
|
|
53
|
+
This makes it easy to add the Syncfusion® Angular PDF Viewer module to your project and start using it in your application.
|
|
54
|
+
|
|
55
|
+
### Adding CSS references for PDF Viewer
|
|
56
|
+
|
|
57
|
+
Add CSS references needed for a PDF Viewer in **src/styles.css** from the **../node_modules/@syncfusion** package folder.
|
|
58
|
+
|
|
59
|
+
```css
|
|
60
|
+
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
|
|
61
|
+
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
|
|
62
|
+
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
|
|
63
|
+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
|
|
64
|
+
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
|
|
65
|
+
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
|
|
66
|
+
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
|
|
67
|
+
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
|
|
68
|
+
@import '../node_modules/@syncfusion/ej2-notifications/styles/material.css';
|
|
69
|
+
@import "../node_modules/@syncfusion/ej2-angular-pdfviewer/styles/material.css";
|
|
84
70
|
```
|
|
85
71
|
|
|
86
|
-
|
|
72
|
+
### Add PDF Viewer component
|
|
87
73
|
|
|
88
|
-
|
|
89
|
-
Add the Angular Document Editor by using <ejs-documenteditorcontainer> selector in template section of the **app.component.ts** file.
|
|
74
|
+
In **src/app/app.component.ts**, use `<ejs-pdfviewer>` selector in the `template` attribute of the `@Component` directive to render the Syncfusion® Angular PDF Viewer component.
|
|
90
75
|
|
|
91
76
|
```typescript
|
|
92
|
-
import { Component, OnInit } from '@angular/core';
|
|
93
|
-
import {
|
|
77
|
+
import { Component, ViewEncapsulation, OnInit } from '@angular/core';
|
|
78
|
+
import {
|
|
79
|
+
PdfViewerComponent,
|
|
80
|
+
LinkAnnotationService,
|
|
81
|
+
BookmarkViewService,
|
|
82
|
+
MagnificationService,
|
|
83
|
+
ThumbnailViewService,
|
|
84
|
+
ToolbarService,
|
|
85
|
+
NavigationService,
|
|
86
|
+
TextSearchService,
|
|
87
|
+
TextSelectionService,
|
|
88
|
+
PrintService,
|
|
89
|
+
AnnotationService,
|
|
90
|
+
FormFieldsService,
|
|
91
|
+
FormDesignerService
|
|
92
|
+
} from '@syncfusion/ej2-angular-pdfviewer';
|
|
94
93
|
|
|
95
94
|
@Component({
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
selector: 'app-root',
|
|
96
|
+
template: `<div class="content-wrapper">
|
|
97
|
+
<ejs-pdfviewer id="pdfViewer"
|
|
98
|
+
[serviceUrl]='service'
|
|
99
|
+
[documentPath]='document'
|
|
100
|
+
style="height:640px;display:block">
|
|
101
|
+
</ejs-pdfviewer>
|
|
102
|
+
</div>`,
|
|
103
|
+
encapsulation: ViewEncapsulation.None,
|
|
104
|
+
providers: [
|
|
105
|
+
LinkAnnotationService,
|
|
106
|
+
BookmarkViewService,
|
|
107
|
+
MagnificationService,
|
|
108
|
+
ThumbnailViewService,
|
|
109
|
+
ToolbarService,
|
|
110
|
+
NavigationService,
|
|
111
|
+
TextSearchService,
|
|
112
|
+
TextSelectionService,
|
|
113
|
+
PrintService,
|
|
114
|
+
AnnotationService,
|
|
115
|
+
FormFieldsService,
|
|
116
|
+
FormDesignerService
|
|
117
|
+
],
|
|
100
118
|
})
|
|
101
119
|
export class AppComponent implements OnInit {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
120
|
+
public service: string =
|
|
121
|
+
'https://ej2services.syncfusion.com/production/web-services/api/pdfviewer';
|
|
122
|
+
public document: string = 'PDF_Succinctly.pdf';
|
|
123
|
+
ngOnInit(): void {
|
|
124
|
+
}
|
|
105
125
|
}
|
|
106
126
|
```
|
|
107
127
|
|
|
108
|
-
> The web API ('https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/') is created specifically for our online demos. You should host web API on your side, refer the [web service documentation](https://help.syncfusion.com/document-processing/word/word-processor/angular/web-services/core?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm) for more information.
|
|
109
|
-
|
|
110
128
|
## Supported frameworks
|
|
111
129
|
|
|
112
|
-
|
|
130
|
+
PDF Viewer component is also offered in the following list of frameworks.
|
|
113
131
|
|
|
114
|
-
| [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/
|
|
132
|
+
| [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/pdf-viewer-sdk/javascript-pdf-viewer?utm_medium=listing&utm_source=github)<br/> [JavaScript](https://www.syncfusion.com/pdf-viewer-sdk/javascript-pdf-viewer?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/pdf-viewer-sdk/react-pdf-viewer?utm_medium=listing&utm_source=github)<br/> [React](https://www.syncfusion.com/pdf-viewer-sdk/react-pdf-viewer?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/pdf-viewer-sdk/vue-pdf-viewer?utm_medium=listing&utm_source=github)<br/> [Vue](https://www.syncfusion.com/pdf-viewer-sdk/vue-pdf-viewer?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/pdf-viewer-sdk/asp-net-core-pdf-viewer?utm_medium=listing&utm_source=github)<br/> [ASP.NET Core](https://www.syncfusion.com/pdf-viewer-sdk/asp-net-core-pdf-viewer?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/pdf-viewer-sdk/asp-net-mvc-pdf-viewer?utm_medium=listing&utm_source=github)<br/> [ASP.NET MVC](https://www.syncfusion.com/pdf-viewer-sdk/asp-net-mvc-pdf-viewer?utm_medium=listing&utm_source=github) |
|
|
115
133
|
| :-----: | :-----: | :-----: | :-----: | :-----: |
|
|
116
134
|
|
|
117
|
-
## Showcase samples
|
|
118
|
-
|
|
119
|
-
* Expense Tracker - [Source](https://github.com/syncfusion/ej2-showcase-angular-expensetracker?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm), [Live Demo](https://ej2.syncfusion.com/showcase/angular/expensetracker/#/dashboard?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm)
|
|
120
|
-
* Loan Calculator - [Source](https://github.com/syncfusion/ej2-sample-ng-loancalculator?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm), [Live Demo](https://ej2.syncfusion.com/showcase/angular/loancalculator/?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm)
|
|
121
|
-
* Fitness Tracker - [Source](https://github.com/SyncfusionExamples/showcase-angular-health-tracker-dashboard-demo), [Live Demo](https://ej2.syncfusion.com/showcase/angular/fitness-tracker-app/)
|
|
122
|
-
|
|
123
135
|
## Key features
|
|
124
136
|
|
|
125
|
-
* [Document
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
*
|
|
136
|
-
* Import - Provides the options to import the native `Syncfusion Document Text (*.sfdt)` format documents in the client-side. With server-side library, importing other formats can be achieved.
|
|
137
|
-
* Print - Provides the options to print the documents.
|
|
138
|
-
* Clipboard - Provides support to cut, copy, and paste rich text contents within the component. Also allows pasting simple text from other applications. Paste rich text from other applications using server-side library.
|
|
139
|
-
* User interface - Provides intuitive user friendly interface to perform various operations.
|
|
140
|
-
* Context menu - Provides context menu.
|
|
141
|
-
* Dialog - Provides dialog for inserting elements such as hyperlink, table and formatting such as font, paragraph, list, style, table.
|
|
142
|
-
* Options pane - Provides options pane to perform find and replace operations.
|
|
137
|
+
* [View PDF Document](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/getting-started/) - Open and display both the normal and the protected PDF files with AES and RC4 encryption.
|
|
138
|
+
* [Annotations](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/annotation/text-markup-annotation/) - Annotate with text markup, shapes, stamps, ink, and sticky notes.
|
|
139
|
+
* [Form Fields](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/form-designer/create-fillable-pdf-forms/create-programmatically/) - Form filling and form designing can be done.
|
|
140
|
+
* [Signature](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/handwritten-signature/) - Hand-written and digital signatures are allowed.
|
|
141
|
+
* [Toolbar](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/toolbar/) - Built-in-toolbar and custom toolbars to perform user interaction of PDF Viewer functionalities.
|
|
142
|
+
* [Navigation](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/navigation/) - Easy navigation with the help of bookmarks, thumbnails, hyperlinks, and table of contents.
|
|
143
|
+
* [Magnification](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/magnification/) - Fit to page, fit to width, and automatic (fits to the visible area).
|
|
144
|
+
* [Search](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/text-search/) - Search a text easily across the PDF document.
|
|
145
|
+
* [Core Interactions](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/interaction-mode/) - Allows scrolling, zooming, panning, selection, and page navigation.
|
|
146
|
+
* [Print](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/print/) - Print the entire document or a specific page directly from the browser.
|
|
147
|
+
* [Globalization](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/angular/globalization/) - Provides inherent support to localize the UI.
|
|
143
148
|
|
|
144
149
|
## Resources
|
|
145
150
|
|
|
146
151
|
* [Theme Studio](https://ej2.syncfusion.com/themestudio/)
|
|
147
|
-
* [What's New](https://www.syncfusion.com/products/whatsnew/
|
|
148
|
-
* [Road Map](https://www.syncfusion.com/products/roadmap/
|
|
152
|
+
* [What's New](https://www.syncfusion.com/products/whatsnew/pdf-viewer-sdk?utm_medium=listing&utm_source=github)
|
|
153
|
+
* [Road Map](https://www.syncfusion.com/products/roadmap/pdf-viewer-sdk)
|
|
149
154
|
* [E-Books](https://www.syncfusion.com/succinctly-free-ebooks?searchkey=angular&type=all)
|
|
150
155
|
|
|
151
156
|
## Support
|
|
@@ -153,14 +158,14 @@ The Angular DOCX Editor (Document Editor) component is also offered in the follo
|
|
|
153
158
|
Product support is available through the following mediums.
|
|
154
159
|
|
|
155
160
|
* [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
|
|
156
|
-
* [Community forum](https://www.syncfusion.com/forums/
|
|
161
|
+
* [Community forum](https://www.syncfusion.com/forums/pdf-viewer-sdk?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm)
|
|
157
162
|
* [GitHub issues](https://github.com/syncfusion/ej2-angular-ui-components/issues/new)
|
|
158
|
-
* [Request feature or report bug](https://www.syncfusion.com/feedback/
|
|
163
|
+
* [Request feature or report bug](https://www.syncfusion.com/feedback/pdf-viewer-sdk?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm)
|
|
159
164
|
* Live chat
|
|
160
165
|
|
|
161
166
|
## Changelog
|
|
162
167
|
|
|
163
|
-
Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/components/
|
|
168
|
+
Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/components/pdfviewer/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
|
|
164
169
|
|
|
165
170
|
## License and copyright
|
|
166
171
|
|
|
@@ -168,6 +173,4 @@ Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-componen
|
|
|
168
173
|
|
|
169
174
|
> 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.
|
|
170
175
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
© Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
|
|
176
|
+
© Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
|
package/esm2020/src/index.mjs
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
export { DocumentEditorContainerAllModule, ToolbarService, RibbonService } from './document-editor-container/documenteditorcontainer-all.module';
|
|
7
|
-
export * from '@syncfusion/ej2-documenteditor';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMva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ja0RpYWxvZ1NlcnZpY2UsIENvbGxhYm9yYXRpdmVFZGl0aW5nU2VydmljZSwgQ29sdW1uc0RpYWxvZ1NlcnZpY2UsIENvbGxhYm9yYXRpdmVFZGl0aW5nSGFuZGxlclNlcnZpY2UsIE9wdGltaXplZFNlcnZpY2UsIFRhYkRpYWxvZ1NlcnZpY2UsIFRleHRGb3JtRmllbGREaWFsb2dTZXJ2aWNlLCBEcm9wRG93bkZvcm1GaWVsZERpYWxvZ1NlcnZpY2UsIENoZWNrQm94Rm9ybUZpZWxkRGlhbG9nU2VydmljZSB9IGZyb20gJy4vZG9jdW1lbnQtZWRpdG9yL2RvY3VtZW50ZWRpdG9yLWFsbC5tb2R1bGUnO1xuZXhwb3J0IHsgRG9jdW1lbnRFZGl0b3JDb250YWluZXJDb21wb25lbnR9IGZyb20gJy4vZG9jdW1lbnQtZWRpdG9yLWNvbnRhaW5lci9kb2N1bWVudGVkaXRvcmNvbnRhaW5lci5jb21wb25lbnQnO1xuZXhwb3J0IHsgRG9jdW1lbnRFZGl0b3JDb250YWluZXJNb2R1bGUgfSBmcm9tICcuL2RvY3VtZW50LWVkaXRvci1jb250YWluZXIvZG9jdW1lbnRlZGl0b3Jjb250YWluZXIubW9kdWxlJztcbmV4cG9ydCB7IERvY3VtZW50RWRpdG9yQ29udGFpbmVyQWxsTW9kdWxlLCBUb29sYmFyU2VydmljZSwgUmliYm9uU2VydmljZSB9IGZyb20gJy4vZG9jdW1lbnQtZWRpdG9yLWNvbnRhaW5lci9kb2N1bWVudGVkaXRvcmNvbnRhaW5lci1hbGwubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJ0BzeW5jZnVzaW9uL2VqMi1kb2N1bWVudGVkaXRvcic7Il19
|
|
1
|
+
export { PdfViewerComponent } from './pdfviewer/pdfviewer.component';
|
|
2
|
+
export { PdfViewerModule } from './pdfviewer/pdfviewer.module';
|
|
3
|
+
export { PdfViewerAllModule, LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, PrintService, TextSelectionService, TextSearchService, AnnotationService, FormDesignerService, FormFieldsService, PageOrganizerService } from './pdfviewer/pdfviewer-all.module';
|
|
4
|
+
export * from '@syncfusion/ej2-pdfviewer';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFDLE1BQU0saUNBQWlDLENBQUM7QUFDcEUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQy9ELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxxQkFBcUIsRUFBRSxtQkFBbUIsRUFBRSxvQkFBb0IsRUFBRSxvQkFBb0IsRUFBRSxjQUFjLEVBQUUsaUJBQWlCLEVBQUUsWUFBWSxFQUFFLG9CQUFvQixFQUFFLGlCQUFpQixFQUFFLGlCQUFpQixFQUFFLG1CQUFtQixFQUFFLGlCQUFpQixFQUFFLG9CQUFvQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDelUsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IFBkZlZpZXdlckNvbXBvbmVudH0gZnJvbSAnLi9wZGZ2aWV3ZXIvcGRmdmlld2VyLmNvbXBvbmVudCc7XG5leHBvcnQgeyBQZGZWaWV3ZXJNb2R1bGUgfSBmcm9tICcuL3BkZnZpZXdlci9wZGZ2aWV3ZXIubW9kdWxlJztcbmV4cG9ydCB7IFBkZlZpZXdlckFsbE1vZHVsZSwgTGlua0Fubm90YXRpb25TZXJ2aWNlLCBCb29rbWFya1ZpZXdTZXJ2aWNlLCBNYWduaWZpY2F0aW9uU2VydmljZSwgVGh1bWJuYWlsVmlld1NlcnZpY2UsIFRvb2xiYXJTZXJ2aWNlLCBOYXZpZ2F0aW9uU2VydmljZSwgUHJpbnRTZXJ2aWNlLCBUZXh0U2VsZWN0aW9uU2VydmljZSwgVGV4dFNlYXJjaFNlcnZpY2UsIEFubm90YXRpb25TZXJ2aWNlLCBGb3JtRGVzaWduZXJTZXJ2aWNlLCBGb3JtRmllbGRzU2VydmljZSwgUGFnZU9yZ2FuaXplclNlcnZpY2UgfSBmcm9tICcuL3BkZnZpZXdlci9wZGZ2aWV3ZXItYWxsLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICdAc3luY2Z1c2lvbi9lajItcGRmdmlld2VyJzsiXX0=
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { PdfViewerModule } from './pdfviewer.module';
|
|
4
|
+
import { LinkAnnotation, BookmarkView, Magnification, ThumbnailView, Toolbar, Navigation, Print, TextSelection, TextSearch, Annotation, FormDesigner, FormFields, PageOrganizer } from '@syncfusion/ej2-pdfviewer';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export const LinkAnnotationService = { provide: 'PdfViewerLinkAnnotation', useValue: LinkAnnotation };
|
|
7
|
+
export const BookmarkViewService = { provide: 'PdfViewerBookmarkView', useValue: BookmarkView };
|
|
8
|
+
export const MagnificationService = { provide: 'PdfViewerMagnification', useValue: Magnification };
|
|
9
|
+
export const ThumbnailViewService = { provide: 'PdfViewerThumbnailView', useValue: ThumbnailView };
|
|
10
|
+
export const ToolbarService = { provide: 'PdfViewerToolbar', useValue: Toolbar };
|
|
11
|
+
export const NavigationService = { provide: 'PdfViewerNavigation', useValue: Navigation };
|
|
12
|
+
export const PrintService = { provide: 'PdfViewerPrint', useValue: Print };
|
|
13
|
+
export const TextSelectionService = { provide: 'PdfViewerTextSelection', useValue: TextSelection };
|
|
14
|
+
export const TextSearchService = { provide: 'PdfViewerTextSearch', useValue: TextSearch };
|
|
15
|
+
export const AnnotationService = { provide: 'PdfViewerAnnotation', useValue: Annotation };
|
|
16
|
+
export const FormDesignerService = { provide: 'PdfViewerFormDesigner', useValue: FormDesigner };
|
|
17
|
+
export const FormFieldsService = { provide: 'PdfViewerFormFields', useValue: FormFields };
|
|
18
|
+
export const PageOrganizerService = { provide: 'PdfViewerPageOrganizer', useValue: PageOrganizer };
|
|
19
|
+
/**
|
|
20
|
+
* NgModule definition for the PdfViewer component with providers.
|
|
21
|
+
*/
|
|
22
|
+
export class PdfViewerAllModule {
|
|
23
|
+
}
|
|
24
|
+
PdfViewerAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PdfViewerAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
25
|
+
PdfViewerAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PdfViewerAllModule, imports: [CommonModule, PdfViewerModule], exports: [PdfViewerModule] });
|
|
26
|
+
PdfViewerAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PdfViewerAllModule, providers: [
|
|
27
|
+
LinkAnnotationService,
|
|
28
|
+
BookmarkViewService,
|
|
29
|
+
MagnificationService,
|
|
30
|
+
ThumbnailViewService,
|
|
31
|
+
ToolbarService,
|
|
32
|
+
NavigationService,
|
|
33
|
+
PrintService,
|
|
34
|
+
TextSelectionService,
|
|
35
|
+
TextSearchService,
|
|
36
|
+
AnnotationService,
|
|
37
|
+
FormDesignerService,
|
|
38
|
+
FormFieldsService,
|
|
39
|
+
PageOrganizerService
|
|
40
|
+
], imports: [[CommonModule, PdfViewerModule], PdfViewerModule] });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PdfViewerAllModule, decorators: [{
|
|
42
|
+
type: NgModule,
|
|
43
|
+
args: [{
|
|
44
|
+
imports: [CommonModule, PdfViewerModule],
|
|
45
|
+
exports: [
|
|
46
|
+
PdfViewerModule
|
|
47
|
+
],
|
|
48
|
+
providers: [
|
|
49
|
+
LinkAnnotationService,
|
|
50
|
+
BookmarkViewService,
|
|
51
|
+
MagnificationService,
|
|
52
|
+
ThumbnailViewService,
|
|
53
|
+
ToolbarService,
|
|
54
|
+
NavigationService,
|
|
55
|
+
PrintService,
|
|
56
|
+
TextSelectionService,
|
|
57
|
+
TextSearchService,
|
|
58
|
+
AnnotationService,
|
|
59
|
+
FormDesignerService,
|
|
60
|
+
FormFieldsService,
|
|
61
|
+
PageOrganizerService
|
|
62
|
+
]
|
|
63
|
+
}]
|
|
64
|
+
}] });
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmdmlld2VyLWFsbC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcGRmdmlld2VyL3BkZnZpZXdlci1hbGwubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBQ3hELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDckQsT0FBTyxFQUFDLGNBQWMsRUFBRSxZQUFZLEVBQUUsYUFBYSxFQUFFLGFBQWEsRUFBRSxPQUFPLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBRSxhQUFhLEVBQUUsVUFBVSxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUFFLGFBQWEsRUFBQyxNQUFNLDJCQUEyQixDQUFBOztBQUdoTixNQUFNLENBQUMsTUFBTSxxQkFBcUIsR0FBa0IsRUFBRSxPQ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