@syncfusion/ej2-vue-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 +51 -555
- package/README.md +127 -37
- package/dist/ej2-vue-pdfviewer.umd.min.js +2 -2
- package/dist/ej2-vue-pdfviewer.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-pdfviewer.es2015.js +6 -6
- package/dist/es6/ej2-vue-pdfviewer.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-pdfviewer.es5.js +6 -6
- package/dist/es6/ej2-vue-pdfviewer.es5.js.map +1 -1
- package/dist/global/ej2-vue-pdfviewer.min.js +2 -2
- package/package.json +10 -18
- package/src/pdfviewer/pdfviewer.component.d.ts +3 -3
- package/src/pdfviewer/pdfviewer.component.js +6 -6
package/README.md
CHANGED
|
@@ -1,62 +1,152 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Vue PDF Viewer Component
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The [Vue PDF Viewer](https://www.syncfusion.com/Vue-ui-components/Vue-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=Vue-pdf-viewer-npm) component enables you to view, annotate, prepare and fill forms, and print PDF files from your web applications.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://ej2.syncfusion.com/Vue/documentation/pdfviewer/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=Vue-pdf-viewer-npm">Getting started</a> .
|
|
7
|
+
<a href="https://ej2.syncfusion.com/Vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=Vue-pdf-viewer-npm#/bootstrap5/pdfviewer/default">Online demos</a> .
|
|
8
|
+
<a href="https://www.syncfusion.com/Vue-components/Vue-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=Vue-pdf-viewer-npm">Learn more</a>
|
|
9
|
+
</p>
|
|
6
10
|
|
|
7
|
-
>
|
|
11
|
+
<p align="center">
|
|
12
|
+
<img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/vue/vue-pdf-viewer.png" alt="Vue PDF Viewer Component"/>
|
|
13
|
+
</p>
|
|
8
14
|
|
|
9
|
-
>
|
|
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
|
-
|
|
24
|
+
### Create a Vue Application
|
|
14
25
|
|
|
15
|
-
|
|
16
|
-
|
|
26
|
+
You can use [`Vue CLI`](https://github.com/vuejs/vue-cli) to setup your Vue 2 applications.To install Vue CLI use the following commands.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npm install -g @vue/cli
|
|
30
|
+
npm install -g @vue/cli-init
|
|
31
|
+
vue init webpack-simple quickstart
|
|
32
|
+
cd quickstart
|
|
33
|
+
npm install
|
|
17
34
|
```
|
|
18
35
|
|
|
19
|
-
|
|
36
|
+
Initiating a new project prompts us to choose the type of project to be used for the current application. Select the option `Default ([Vue 2] babel, eslint)` from the menu.
|
|
20
37
|
|
|
21
|
-
|
|
22
|
-
* [View Online Demos](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pdf-viewer-npm#/material/pdfviewer/default.html)
|
|
23
|
-
* [Product Page](https://www.syncfusion.com/vue-ui-components/vue-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=vue-pdf-viewer-npm)
|
|
38
|
+
### Adding Syncfusion PDF Viewer package
|
|
24
39
|
|
|
25
|
-
|
|
40
|
+
All Syncfusion Vue packages are published in [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install Vue PDF Viewer package, use the following command.
|
|
26
41
|
|
|
27
|
-
|
|
42
|
+
```bash
|
|
43
|
+
npm install @syncfusion/ej2-vue-pdfviewer --save
|
|
44
|
+
```
|
|
28
45
|
|
|
29
|
-
|
|
30
|
-
2. [JavaScript PDF Viewer](https://www.syncfusion.com/javascript-ui-controls/js-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=vue-pdf-viewer-npm)
|
|
31
|
-
3. [React PDF Viewer](https://www.syncfusion.com/react-ui-components/react-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=vue-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=vue-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=vue-pdf-viewer-npm)
|
|
46
|
+
### Registering PDF Viewer component
|
|
34
47
|
|
|
35
|
-
|
|
48
|
+
You can register the PDF Viewer component in your application by using the **Vue.use()**. Refer to the code example given below.
|
|
36
49
|
|
|
37
|
-
|
|
38
|
-
|
|
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.
|
|
50
|
+
```typescript
|
|
51
|
+
import { PdfViewerPlugin } from '@syncfusion/ej2-vue-pdfviewer';
|
|
45
52
|
|
|
46
|
-
|
|
53
|
+
Vue.use(PdfViewerPlugin);
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
> Registering **PdfViewerPlugin** in Vue, will register the PDF Viewer component along with its required child directives globally.
|
|
57
|
+
|
|
58
|
+
### Adding CSS references for PDF Viewer
|
|
59
|
+
|
|
60
|
+
Add CSS references needed for PDF Viewer in **style** section of the **App.vue** file from **../node_modules/@syncfusion** package folder.
|
|
61
|
+
|
|
62
|
+
```html
|
|
63
|
+
<style>
|
|
64
|
+
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
|
|
65
|
+
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
|
|
66
|
+
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
|
|
67
|
+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
|
|
68
|
+
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
|
|
69
|
+
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
|
|
70
|
+
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
|
|
71
|
+
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
|
|
72
|
+
@import '../node_modules/@syncfusion/ej2-notifications/styles/material.css';
|
|
73
|
+
@import "../node_modules/@syncfusion/ej2-vue-pdfviewer/styles/material.css";
|
|
74
|
+
</style>
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Add PDF Viewer component
|
|
78
|
+
|
|
79
|
+
Add the Vue PDF Viewer by using **ejs-pdfviewer** selector in **template** section of the **App.vue** file.
|
|
80
|
+
|
|
81
|
+
```html
|
|
82
|
+
<template>
|
|
83
|
+
<div id="app">
|
|
84
|
+
<ejs-pdfviewer id="pdfViewer" :serviceUrl="serviceUrl" :documentPath="documentPath"> </ejs-pdfviewer>
|
|
85
|
+
</div>
|
|
86
|
+
</template>
|
|
87
|
+
|
|
88
|
+
<script>
|
|
89
|
+
import Vue from 'vue';
|
|
90
|
+
import { PdfViewerPlugin, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields, FormDesigner } from '@syncfusion/ej2-vue-pdfviewer';
|
|
91
|
+
Vue.use(PdfViewerPlugin);
|
|
92
|
+
export default {
|
|
93
|
+
name: 'app',
|
|
94
|
+
data () {
|
|
95
|
+
return {
|
|
96
|
+
serviceUrl:"https://ej2services.syncfusion.com/production/web-services/api/pdfviewer",
|
|
97
|
+
documentPath:"PDF_Succinctly.pdf"
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
provide: {
|
|
101
|
+
PdfViewer: [Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields, FormDesigner]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
</script>
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
> Refer the [Getting Started with Vue3](https://ej2.syncfusion.com/vue/documentation/pdfviewer/getting-started-application/) for using Syncfusion Vue components in Vue 3 applications.
|
|
47
108
|
|
|
48
|
-
|
|
109
|
+
## Supported frameworks
|
|
49
110
|
|
|
50
|
-
|
|
51
|
-
* New [GitHub issue](https://github.com/syncfusion/ej2-pdfviewer/issues/new?utm_source=npm&utm_medium=listing&utm_campaign=vue-pdf-viewer-npm).
|
|
52
|
-
* Ask your query in Stack Overflow with tag `syncfusion`, `ej2`.
|
|
111
|
+
PDF Viewer component is also offered in the following list of frameworks.
|
|
53
112
|
|
|
54
|
-
|
|
113
|
+
| [<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/> [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github) | [<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/> [Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github) | [<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/> [Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github) | [<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/> [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github) | [<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/> [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github) |
|
|
114
|
+
| :-----: | :-----: | :-----: | :-----: | :-----: |
|
|
55
115
|
|
|
56
|
-
|
|
116
|
+
## Key features
|
|
117
|
+
|
|
118
|
+
* [View PDF Document](https://ej2.syncfusion.com/vue/documentation/pdfviewer/getting-started/) - Open and display both the normal and the protected PDF files with AES and RC4 encryption.
|
|
119
|
+
* [Annotations](https://ej2.syncfusion.com/vue/documentation/pdfviewer/annotation/text-markup-annotation/) - Annotate with text markup, shapes, stamps, ink, and sticky notes.
|
|
120
|
+
* [Form Fields](https://ej2.syncfusion.com/vue/documentation/pdfviewer/form-designer/create-fillable-PDF-forms/create-programmatically/) - Form filling and form designing can be done.
|
|
121
|
+
* [Signature](https://ej2.syncfusion.com/angular/documentation/pdfviewer/handwritten-signature/) - Hand-written and digital signatures are allowed.
|
|
122
|
+
* [Toolbar](https://ej2.syncfusion.com/vue/documentation/pdfviewer/toolbar/) - Built-in-toolbar and custom toolbars to perform user interaction of PDF Viewer functionalities.
|
|
123
|
+
* [Navigation](https://ej2.syncfusion.com/vue/documentation/pdfviewer/navigation/) - Easy navigation with the help of bookmarks, thumbnails, hyperlinks, and table of contents.
|
|
124
|
+
* [Magnification](https://ej2.syncfusion.com/vue/documentation/pdfviewer/magnification/) - Fit to page, fit to width, and automatic (fits to the visible area).
|
|
125
|
+
* [Search](https://ej2.syncfusion.com/vue/documentation/pdfviewer/text-search/) - Search a text easily across the PDF document.
|
|
126
|
+
* [Core Interactions](https://ej2.syncfusion.com/vue/documentation/pdfviewer/interaction-mode/) - Allows scrolling, zooming, panning, selection, and page navigation.
|
|
127
|
+
* [Print](https://ej2.syncfusion.com/vue/documentation/pdfviewer/interaction-mode/) - Print the entire document or a specific page directly from the browser.
|
|
128
|
+
* [Globalization](https://ej2.syncfusion.com/vue/documentation/pdfviewer/globalization/) - Provides inherent support to localize the UI.
|
|
129
|
+
|
|
130
|
+
## Support
|
|
131
|
+
|
|
132
|
+
Product support is available through the following mediums.
|
|
133
|
+
|
|
134
|
+
* [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
|
|
135
|
+
* [Community forum](https://www.syncfusion.com/forums/Vue-js2?utm_source=npm&utm_medium=listing&utm_campaign=Vue-pdf-viewer-npm)
|
|
136
|
+
* [GitHub issues](https://github.com/syncfusion/ej2-Vue-ui-components/issues/new)
|
|
137
|
+
* [Request feature or report bug](https://www.syncfusion.com/feedback/Vue?utm_source=npm&utm_medium=listing&utm_campaign=Vue-pdf-viewer-npm)
|
|
138
|
+
* Live chat
|
|
57
139
|
|
|
58
140
|
## Changelog
|
|
59
141
|
|
|
60
|
-
Check the changelog [here](https://github.com/syncfusion/ej2-pdfviewer/blob/master/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=
|
|
142
|
+
Check the changelog [here](https://github.com/syncfusion/ej2-pdfviewer/blob/master/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=Vue-pdf-viewer-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
|
|
143
|
+
|
|
144
|
+
## License and copyright
|
|
145
|
+
|
|
146
|
+
> 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+ [Vue UI components](https://www.syncfusion.com/Vue-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).
|
|
147
|
+
|
|
148
|
+
> 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.
|
|
149
|
+
|
|
150
|
+
See [LICENSE FILE](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=Vue-pdf-viewer-npm) for more info.
|
|
61
151
|
|
|
62
|
-
|
|
152
|
+
© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-pdfviewer.umd.min.js
|
|
3
|
-
* version : 20.
|
|
3
|
+
* version : 20.4.40
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-pdfviewer"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-pdfviewer","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Pdfviewer,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,o){"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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),r=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=["isLazyUpdate","plugins","DropdownFieldSettings","ajaxRequestSettings","annotationSelectorSettings","annotationSettings","annotations","areaSettings","arrowSettings","checkBoxFieldSettings","circleSettings","contextMenuOption","contextMenuSettings","currentPageNumber","customStamp","customStampSettings","dateTimeFormat","designerMode","disableContextMenuItems","distanceSettings","documentPath","downloadFileName","drawingObject","enableAnnotation","enableAnnotationToolbar","enableAutoComplete","enableBookmark","enableBookmarkStyles","enableCommentPanel","enableDesktopMode","enableDownload","enableFormDesigner","enableFormDesignerToolbar","enableFormFields","enableFormFieldsValidation","enableFreeText","enableHandwrittenSignature","enableHyperlink","enableImportAnnotationMeasurement","enableInkAnnotation","enableMagnification","enableMeasureAnnotation","enableMultiLineOverlap","enableMultiPageAnnotation","enableNavigation","enableNavigationToolbar","enablePersistence","enablePinchZoom","enablePrint","enablePrintRotation","enableRtl","enableShapeAnnotation","enableShapeLabel","enableStampAnnotations","enableStickyNotesAnnotation","enableTextMarkupAnnotation","enableTextMarkupResizer","enableTextSearch","enableTextSelection","enableThumbnail","enableToolbar","enableZoomOptimization","exportAnnotationFileName","formFieldCollections","formFields","freeTextSettings","handWrittenSignatureSettings","height","hideEmptyDigitalSignatureFields","hideSaveSignature","highlightSettings","hyperlinkOpenState","initialDialogSettings","initialFieldSettings","inkAnnotationSettings","interactionMode","isAnnotationToolbarOpen","isAnnotationToolbarVisible","isBookmarkPanelOpen","isCommandPanelOpen","isDocumentEdited","isExtractText","isFormDesignerToolbarVisible","isFormFieldDocument","isInitialFieldToolbarSelection","isMaintainSelection","isSignatureEditable","isThumbnailViewOpen","isValidFreeText","lineSettings","listBoxFieldSettings","locale","measurementSettings","pageCount","passwordFieldSettings","perimeterSettings","polygonSettings","printMode","radioButtonFieldSettings","radiusSettings","rectangleSettings","restrictZoomRequest","retryCount","retryStatusCodes","scrollSettings","selectedItems","serverActionSettings","serviceUrl","shapeLabelSettings","showDigitalSignatureAppearance","showNotificationDialog","signatureDialogSettings","signatureFieldSettings","signatureFitMode","stampSettings","stickyNotesSettings","strikethroughSettings","textFieldSettings","textSearchColorSettings","tileRenderingSettings","toolbarSettings","underlineSettings","volumeSettings","width","zoomMode","zoomValue","addSignature","ajaxRequestFailed","ajaxRequestInitiate","ajaxRequestSuccess","annotationAdd","annotationDoubleClick","annotationMouseLeave","annotationMouseover","annotationMove","annotationMoving","annotationPropertiesChange","annotationRemove","annotationResize","annotationSelect","annotationUnSelect","beforeAddFreeText","bookmarkClick","buttonFieldClick","commentAdd","commentDelete","commentEdit","commentSelect","commentStatusChanged","created","documentLoad","documentLoadFailed","documentUnload","downloadEnd","downloadStart","exportFailed","exportStart","exportSuccess","extractTextCompleted","formFieldAdd","formFieldClick","formFieldDoubleClick","formFieldFocusOut","formFieldMouseLeave","formFieldMouseover","formFieldMove","formFieldPropertiesChange","formFieldRemove","formFieldResize","formFieldSelect","formFieldUnselect","hyperlinkClick","hyperlinkMouseOver","importFailed","importStart","importSuccess","moveSignature","pageChange","pageClick","pageMouseover","printEnd","printStart","removeSignature","resizeSignature","signaturePropertiesChange","signatureSelect","textSearchComplete","textSearchHighlight","textSearchStart","textSelectionEnd","textSelectionStart","thumbnailClick","validateFormFields","zoomChange"],s=[],l=function(e){function l(){var n=e.call(this,arguments)||this;return n.propKeys=a,n.models=s,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.PdfViewer({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return i(l,e),l.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var i=n[t],r=this.templateCollection[i];if(r&&r.length){for(var a=0,s=r;a<s.length;a++){var l=s[a];o.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[i]}}},l.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},l.prototype.render=function(e){return e("div",this.$slots.default)},l.prototype.custom=function(){this.updated()},l.prototype.addAnnotation=function(e){return this.ej2Instances.addAnnotation(e)},l.prototype.clearFormFields=function(e){return this.ej2Instances.clearFormFields(e)},l.prototype.convertClientPointToPagePoint=function(e,t){return this.ej2Instances.convertClientPointToPagePoint(e,t)},l.prototype.convertPagePointToClientPoint=function(e,t){return this.ej2Instances.convertPagePointToClientPoint(e,t)},l.prototype.convertPagePointToScrollingPoint=function(e,t){return this.ej2Instances.convertPagePointToScrollingPoint(e,t)},l.prototype.deleteAnnotations=function(){return this.ej2Instances.deleteAnnotations()},l.prototype.download=function(){return this.ej2Instances.download()},l.prototype.exportAnnotation=function(e){return this.ej2Instances.exportAnnotation(e)},l.prototype.exportAnnotationsAsBase64String=function(e){return this.ej2Instances.exportAnnotationsAsBase64String(e)},l.prototype.exportAnnotationsAsObject=function(){return this.ej2Instances.exportAnnotationsAsObject()},l.prototype.exportFormFields=function(e){return this.ej2Instances.exportFormFields(e)},l.prototype.exportFormFieldsAsObject=function(){return this.ej2Instances.exportFormFieldsAsObject()},l.prototype.focusFormField=function(e){return this.ej2Instances.focusFormField(e)},l.prototype.getPageNumberFromClientPoint=function(e){return this.ej2Instances.getPageNumberFromClientPoint(e)},l.prototype.importAnnotation=function(e,t){return this.ej2Instances.importAnnotation(e,t)},l.prototype.importFormFields=function(e){return this.ej2Instances.importFormFields(e)},l.prototype.load=function(e,t){return this.ej2Instances.load(e,t)},l.prototype.redo=function(){return this.ej2Instances.redo()},l.prototype.requiredModules=function(){return this.ej2Instances.requiredModules()},l.prototype.resetFormFields=function(){return this.ej2Instances.resetFormFields()},l.prototype.retrieveFormFields=function(){return this.ej2Instances.retrieveFormFields()},l.prototype.saveAsBlob=function(){return this.ej2Instances.saveAsBlob()},l.prototype.setJsonData=function(e){return this.ej2Instances.setJsonData(e)},l.prototype.showNotificationPopup=function(e){return this.ej2Instances.showNotificationPopup(e)},l.prototype.undo=function(){return this.ej2Instances.undo()},l.prototype.unload=function(){return this.ej2Instances.unload()},l.prototype.updateFormFields=function(e){return this.ej2Instances.updateFormFields(e)},l.prototype.updateFormFieldsValue=function(e){return this.ej2Instances.updateFormFieldsValue(e)},l.prototype.updateViewerContainer=function(){return this.ej2Instances.updateViewerContainer()},l.prototype.zoomToRect=function(e){return this.ej2Instances.zoomToRect(e)},l=r([n.EJComponentDecorator({props:a})],l)}(n.ComponentBase),c={name:"ejs-pdfviewer",install:function(e){e.component(c.name,l)}};e.PdfViewerComponent=l,e.PdfViewerPlugin=c,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-pdfviewer"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-pdfviewer","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Pdfviewer,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,o){"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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),r=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=["isLazyUpdate","plugins","DropdownFieldSettings","ajaxRequestSettings","annotationSelectorSettings","annotationSettings","annotations","areaSettings","arrowSettings","checkBoxFieldSettings","circleSettings","contextMenuOption","contextMenuSettings","currentPageNumber","customStamp","customStampSettings","dateTimeFormat","designerMode","disableContextMenuItems","distanceSettings","documentPath","downloadFileName","drawingObject","enableAnnotation","enableAnnotationToolbar","enableAutoComplete","enableBookmark","enableBookmarkStyles","enableCommentPanel","enableDesktopMode","enableDownload","enableFormDesigner","enableFormDesignerToolbar","enableFormFields","enableFormFieldsValidation","enableFreeText","enableHandwrittenSignature","enableHyperlink","enableImportAnnotationMeasurement","enableInkAnnotation","enableMagnification","enableMeasureAnnotation","enableMultiLineOverlap","enableMultiPageAnnotation","enableNavigation","enableNavigationToolbar","enablePersistence","enablePinchZoom","enablePrint","enablePrintRotation","enableRtl","enableShapeAnnotation","enableShapeLabel","enableStampAnnotations","enableStickyNotesAnnotation","enableTextMarkupAnnotation","enableTextMarkupResizer","enableTextSearch","enableTextSelection","enableThumbnail","enableToolbar","enableZoomOptimization","exportAnnotationFileName","formFieldCollections","formFields","freeTextSettings","handWrittenSignatureSettings","height","hideEmptyDigitalSignatureFields","hideSaveSignature","highlightSettings","hyperlinkOpenState","initialDialogSettings","initialFieldSettings","inkAnnotationSettings","interactionMode","isAnnotationToolbarOpen","isAnnotationToolbarVisible","isBookmarkPanelOpen","isCommandPanelOpen","isDocumentEdited","isExtractText","isFormDesignerToolbarVisible","isFormFieldDocument","isInitialFieldToolbarSelection","isMaintainSelection","isSignatureEditable","isThumbnailViewOpen","isValidFreeText","lineSettings","listBoxFieldSettings","locale","measurementSettings","pageCount","passwordFieldSettings","perimeterSettings","polygonSettings","printMode","radioButtonFieldSettings","radiusSettings","rectangleSettings","restrictZoomRequest","retryCount","retryStatusCodes","scrollSettings","selectedItems","serverActionSettings","serviceUrl","shapeLabelSettings","showDigitalSignatureAppearance","showNotificationDialog","signatureDialogSettings","signatureFieldSettings","signatureFitMode","stampSettings","stickyNotesSettings","strikethroughSettings","textFieldSettings","textSearchColorSettings","tileRenderingSettings","toolbarSettings","underlineSettings","volumeSettings","width","zoomMode","zoomValue","addSignature","ajaxRequestFailed","ajaxRequestInitiate","ajaxRequestSuccess","annotationAdd","annotationDoubleClick","annotationMouseLeave","annotationMouseover","annotationMove","annotationMoving","annotationPropertiesChange","annotationRemove","annotationResize","annotationSelect","annotationUnSelect","beforeAddFreeText","bookmarkClick","buttonFieldClick","commentAdd","commentDelete","commentEdit","commentSelect","commentStatusChanged","created","documentLoad","documentLoadFailed","documentUnload","downloadEnd","downloadStart","exportFailed","exportStart","exportSuccess","extractTextCompleted","formFieldAdd","formFieldClick","formFieldDoubleClick","formFieldFocusOut","formFieldMouseLeave","formFieldMouseover","formFieldMove","formFieldPropertiesChange","formFieldRemove","formFieldResize","formFieldSelect","formFieldUnselect","hyperlinkClick","hyperlinkMouseOver","importFailed","importStart","importSuccess","moveSignature","pageChange","pageClick","pageMouseover","printEnd","printStart","removeSignature","resizeSignature","signaturePropertiesChange","signatureSelect","textSearchComplete","textSearchHighlight","textSearchStart","textSelectionEnd","textSelectionStart","thumbnailClick","validateFormFields","zoomChange"],s=[],l=function(e){function l(){var n=e.call(this,arguments)||this;return n.propKeys=a,n.models=s,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.PdfViewer({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return i(l,e),l.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var i=n[t],r=this.templateCollection[i];if(r&&r.length){for(var a=0,s=r;a<s.length;a++){var l=s[a];o.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[i]}}},l.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},l.prototype.render=function(e){return e("div",this.$slots.default)},l.prototype.custom=function(){this.updated()},l.prototype.addAnnotation=function(e){return this.ej2Instances.addAnnotation(e)},l.prototype.clearFormFields=function(e){return this.ej2Instances.clearFormFields(e)},l.prototype.convertClientPointToPagePoint=function(e,t){return this.ej2Instances.convertClientPointToPagePoint(e,t)},l.prototype.convertPagePointToClientPoint=function(e,t){return this.ej2Instances.convertPagePointToClientPoint(e,t)},l.prototype.convertPagePointToScrollingPoint=function(e,t){return this.ej2Instances.convertPagePointToScrollingPoint(e,t)},l.prototype.deleteAnnotations=function(){return this.ej2Instances.deleteAnnotations()},l.prototype.download=function(){return this.ej2Instances.download()},l.prototype.exportAnnotation=function(e){return this.ej2Instances.exportAnnotation(e)},l.prototype.exportAnnotationsAsBase64String=function(e){return this.ej2Instances.exportAnnotationsAsBase64String(e)},l.prototype.exportAnnotationsAsObject=function(){return this.ej2Instances.exportAnnotationsAsObject()},l.prototype.exportFormFields=function(e,t){return this.ej2Instances.exportFormFields(e,t)},l.prototype.exportFormFieldsAsObject=function(e){return this.ej2Instances.exportFormFieldsAsObject(e)},l.prototype.focusFormField=function(e){return this.ej2Instances.focusFormField(e)},l.prototype.getPageNumberFromClientPoint=function(e){return this.ej2Instances.getPageNumberFromClientPoint(e)},l.prototype.importAnnotation=function(e,t){return this.ej2Instances.importAnnotation(e,t)},l.prototype.importFormFields=function(e,t){return this.ej2Instances.importFormFields(e,t)},l.prototype.load=function(e,t){return this.ej2Instances.load(e,t)},l.prototype.redo=function(){return this.ej2Instances.redo()},l.prototype.requiredModules=function(){return this.ej2Instances.requiredModules()},l.prototype.resetFormFields=function(){return this.ej2Instances.resetFormFields()},l.prototype.retrieveFormFields=function(){return this.ej2Instances.retrieveFormFields()},l.prototype.saveAsBlob=function(){return this.ej2Instances.saveAsBlob()},l.prototype.setJsonData=function(e){return this.ej2Instances.setJsonData(e)},l.prototype.showNotificationPopup=function(e){return this.ej2Instances.showNotificationPopup(e)},l.prototype.undo=function(){return this.ej2Instances.undo()},l.prototype.unload=function(){return this.ej2Instances.unload()},l.prototype.updateFormFields=function(e){return this.ej2Instances.updateFormFields(e)},l.prototype.updateFormFieldsValue=function(e){return this.ej2Instances.updateFormFieldsValue(e)},l.prototype.updateViewerContainer=function(){return this.ej2Instances.updateViewerContainer()},l.prototype.zoomToRect=function(e){return this.ej2Instances.zoomToRect(e)},l=r([n.EJComponentDecorator({props:a})],l)}(n.ComponentBase),c={name:"ejs-pdfviewer",install:function(e){e.component(c.name,l)}};e.PdfViewerComponent=l,e.PdfViewerPlugin=c,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-vue-pdfviewer.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-pdfviewer.umd.min.js","sources":["../vue2/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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nexport var properties = ['isLazyUpdate', 'plugins', 'DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enablePrintRotation', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'formFieldCollections', 'formFields', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideEmptyDigitalSignatureFields', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'initialDialogSettings', 'initialFieldSettings', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showDigitalSignatureAppearance', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];\nexport var modelProps = [];\n/**\n * `ejs-pdfviewer` represents the VueJS PdfViewer Component.\n * ```vue\n * <ejs-pdfviewer></ejs-pdfviewer>\n * ```\n */\nvar PdfViewerComponent = /** @class */ (function (_super) {\n __extends(PdfViewerComponent, _super);\n function PdfViewerComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new PdfViewer({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n PdfViewerComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n PdfViewerComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n PdfViewerComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n PdfViewerComponent.prototype.custom = function () {\n this.updated();\n };\n PdfViewerComponent.prototype.addAnnotation = function (annotation) {\n return this.ej2Instances.addAnnotation(annotation);\n };\n PdfViewerComponent.prototype.clearFormFields = function (formField) {\n return this.ej2Instances.clearFormFields(formField);\n };\n PdfViewerComponent.prototype.convertClientPointToPagePoint = function (clientPoint, pageNumber) {\n return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);\n };\n PdfViewerComponent.prototype.convertPagePointToClientPoint = function (pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);\n };\n PdfViewerComponent.prototype.convertPagePointToScrollingPoint = function (pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);\n };\n PdfViewerComponent.prototype.deleteAnnotations = function () {\n return this.ej2Instances.deleteAnnotations();\n };\n PdfViewerComponent.prototype.download = function () {\n return this.ej2Instances.download();\n };\n PdfViewerComponent.prototype.exportAnnotation = function (annotationDataFormat) {\n return this.ej2Instances.exportAnnotation(annotationDataFormat);\n };\n PdfViewerComponent.prototype.exportAnnotationsAsBase64String = function (annotationDataFormat) {\n return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);\n };\n PdfViewerComponent.prototype.exportAnnotationsAsObject = function () {\n return this.ej2Instances.exportAnnotationsAsObject();\n };\n PdfViewerComponent.prototype.exportFormFields = function (path) {\n return this.ej2Instances.exportFormFields(path);\n };\n PdfViewerComponent.prototype.exportFormFieldsAsObject = function () {\n return this.ej2Instances.exportFormFieldsAsObject();\n };\n PdfViewerComponent.prototype.focusFormField = function (field) {\n return this.ej2Instances.focusFormField(field);\n };\n PdfViewerComponent.prototype.getPageNumberFromClientPoint = function (clientPoint) {\n return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);\n };\n PdfViewerComponent.prototype.importAnnotation = function (importData, annotationDataFormat) {\n return this.ej2Instances.importAnnotation(importData, annotationDataFormat);\n };\n PdfViewerComponent.prototype.importFormFields = function (formFields) {\n return this.ej2Instances.importFormFields(formFields);\n };\n PdfViewerComponent.prototype.load = function (document, password) {\n return this.ej2Instances.load(document, password);\n };\n PdfViewerComponent.prototype.redo = function () {\n return this.ej2Instances.redo();\n };\n PdfViewerComponent.prototype.requiredModules = function () {\n return this.ej2Instances.requiredModules();\n };\n PdfViewerComponent.prototype.resetFormFields = function () {\n return this.ej2Instances.resetFormFields();\n };\n PdfViewerComponent.prototype.retrieveFormFields = function () {\n return this.ej2Instances.retrieveFormFields();\n };\n PdfViewerComponent.prototype.saveAsBlob = function () {\n return this.ej2Instances.saveAsBlob();\n };\n PdfViewerComponent.prototype.setJsonData = function (jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n };\n PdfViewerComponent.prototype.showNotificationPopup = function (errorString) {\n return this.ej2Instances.showNotificationPopup(errorString);\n };\n PdfViewerComponent.prototype.undo = function () {\n return this.ej2Instances.undo();\n };\n PdfViewerComponent.prototype.unload = function () {\n return this.ej2Instances.unload();\n };\n PdfViewerComponent.prototype.updateFormFields = function (formFields) {\n return this.ej2Instances.updateFormFields(formFields);\n };\n PdfViewerComponent.prototype.updateFormFieldsValue = function (fieldValue) {\n return this.ej2Instances.updateFormFieldsValue(fieldValue);\n };\n PdfViewerComponent.prototype.updateViewerContainer = function () {\n return this.ej2Instances.updateViewerContainer();\n };\n PdfViewerComponent.prototype.zoomToRect = function (rectangle) {\n return this.ej2Instances.zoomToRect(rectangle);\n };\n PdfViewerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], PdfViewerComponent);\n return PdfViewerComponent;\n}(ComponentBase));\nexport { PdfViewerComponent };\nexport var PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install: function (Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","PdfViewerComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","PdfViewer","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","render","createElement","$slots","default","custom","addAnnotation","annotation","clearFormFields","formField","convertClientPointToPagePoint","clientPoint","pageNumber","convertPagePointToClientPoint","pagePoint","convertPagePointToScrollingPoint","deleteAnnotations","download","exportAnnotation","annotationDataFormat","exportAnnotationsAsBase64String","exportAnnotationsAsObject","exportFormFields","path","exportFormFieldsAsObject","focusFormField","field","getPageNumberFromClientPoint","importAnnotation","importData","importFormFields","formFields","load","document","password","redo","requiredModules","resetFormFields","retrieveFormFields","saveAsBlob","setJsonData","jsonData","showNotificationPopup","errorString","undo","unload","updateFormFields","updateFormFieldsValue","fieldValue","updateViewerContainer","zoomToRect","rectangle","EJComponentDecorator","props","ComponentBase","PdfViewerPlugin","name","install","Vue","component"],"mappings":"wZAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAK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AwB,WACjD,OAAOzG,KAAK8B,aAAa2E,yBAE7BrF,EAAmBlB,UAAUwG,WAAa,SAAUC,GAChD,OAAO3G,KAAK8B,aAAa4E,WAAWC,IAExCvF,EAAqBhB,GACjBwG,wBACIC,MAAO3F,KAEZE,IAEL0F,iBAESC,GACPC,KAAM,gBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAgBC,KAAM5F"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-pdfviewer.umd.min.js","sources":["../vue2/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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nexport var properties = ['isLazyUpdate', 'plugins', 'DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enablePrintRotation', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'formFieldCollections', 'formFields', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideEmptyDigitalSignatureFields', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'initialDialogSettings', 'initialFieldSettings', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showDigitalSignatureAppearance', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];\nexport var modelProps = [];\n/**\n * `ejs-pdfviewer` represents the VueJS PdfViewer Component.\n * ```vue\n * <ejs-pdfviewer></ejs-pdfviewer>\n * ```\n */\nvar PdfViewerComponent = /** @class */ (function (_super) {\n __extends(PdfViewerComponent, _super);\n function PdfViewerComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new PdfViewer({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n PdfViewerComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n PdfViewerComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n PdfViewerComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n PdfViewerComponent.prototype.custom = function () {\n this.updated();\n };\n PdfViewerComponent.prototype.addAnnotation = function (annotation) {\n return this.ej2Instances.addAnnotation(annotation);\n };\n PdfViewerComponent.prototype.clearFormFields = function (formField) {\n return this.ej2Instances.clearFormFields(formField);\n };\n PdfViewerComponent.prototype.convertClientPointToPagePoint = function (clientPoint, pageNumber) {\n return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);\n };\n PdfViewerComponent.prototype.convertPagePointToClientPoint = function (pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);\n };\n PdfViewerComponent.prototype.convertPagePointToScrollingPoint = function (pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);\n };\n PdfViewerComponent.prototype.deleteAnnotations = function () {\n return this.ej2Instances.deleteAnnotations();\n };\n PdfViewerComponent.prototype.download = function () {\n return this.ej2Instances.download();\n };\n PdfViewerComponent.prototype.exportAnnotation = function (annotationDataFormat) {\n return this.ej2Instances.exportAnnotation(annotationDataFormat);\n };\n PdfViewerComponent.prototype.exportAnnotationsAsBase64String = function (annotationDataFormat) {\n return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);\n };\n PdfViewerComponent.prototype.exportAnnotationsAsObject = function () {\n return this.ej2Instances.exportAnnotationsAsObject();\n };\n PdfViewerComponent.prototype.exportFormFields = function (data, formFieldDataFormat) {\n return this.ej2Instances.exportFormFields(data, formFieldDataFormat);\n };\n PdfViewerComponent.prototype.exportFormFieldsAsObject = function (formFieldDataFormat) {\n return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);\n };\n PdfViewerComponent.prototype.focusFormField = function (field) {\n return this.ej2Instances.focusFormField(field);\n };\n PdfViewerComponent.prototype.getPageNumberFromClientPoint = function (clientPoint) {\n return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);\n };\n PdfViewerComponent.prototype.importAnnotation = function (importData, annotationDataFormat) {\n return this.ej2Instances.importAnnotation(importData, annotationDataFormat);\n };\n PdfViewerComponent.prototype.importFormFields = function (data, formFieldDataFormat) {\n return this.ej2Instances.importFormFields(data, formFieldDataFormat);\n };\n PdfViewerComponent.prototype.load = function (document, password) {\n return this.ej2Instances.load(document, password);\n };\n PdfViewerComponent.prototype.redo = function () {\n return this.ej2Instances.redo();\n };\n PdfViewerComponent.prototype.requiredModules = function () {\n return this.ej2Instances.requiredModules();\n };\n PdfViewerComponent.prototype.resetFormFields = function () {\n return this.ej2Instances.resetFormFields();\n };\n PdfViewerComponent.prototype.retrieveFormFields = function () {\n return this.ej2Instances.retrieveFormFields();\n };\n PdfViewerComponent.prototype.saveAsBlob = function () {\n return this.ej2Instances.saveAsBlob();\n };\n PdfViewerComponent.prototype.setJsonData = function (jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n };\n PdfViewerComponent.prototype.showNotificationPopup = function (errorString) {\n return this.ej2Instances.showNotificationPopup(errorString);\n };\n PdfViewerComponent.prototype.undo = function () {\n return this.ej2Instances.undo();\n };\n PdfViewerComponent.prototype.unload = function () {\n return this.ej2Instances.unload();\n };\n PdfViewerComponent.prototype.updateFormFields = function (formFields) {\n return this.ej2Instances.updateFormFields(formFields);\n };\n PdfViewerComponent.prototype.updateFormFieldsValue = function (fieldValue) {\n return this.ej2Instances.updateFormFieldsValue(fieldValue);\n };\n PdfViewerComponent.prototype.updateViewerContainer = function () {\n return this.ej2Instances.updateViewerContainer();\n };\n PdfViewerComponent.prototype.zoomToRect = function (rectangle) {\n return this.ej2Instances.zoomToRect(rectangle);\n };\n PdfViewerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], PdfViewerComponent);\n return PdfViewerComponent;\n}(ComponentBase));\nexport { PdfViewerComponent };\nexport var PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install: function (Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","PdfViewerComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","PdfViewer","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","render","createElement","$slots","default","custom","addAnnotation","annotation","clearFormFields","formField","convertClientPointToPagePoint","clientPoint","pageNumber","convertPagePointToClientPoint","pagePoint","convertPagePointToScrollingPoint","deleteAnnotations","download","exportAnnotation","annotationDataFormat","exportAnnotationsAsBase64String","exportAnnotationsAsObject","exportFormFields","data","formFieldDataFormat","exportFormFieldsAsObject","focusFormField","field","getPageNumberFromClientPoint","importAnnotation","importData","importFormFields","load","document","password","redo","requiredModules","resetFormFields","retrieveFormFields","saveAsBlob","setJsonData","jsonData","showNotificationPopup","errorString","undo","unload","updateFormFields","formFields","updateFormFieldsValue","fieldValue","updateViewerContainer","zoomToRect","rectangle","EJComponentDecorator","props","ComponentBase","PdfViewerPlugin","name","install","Vue","component"],"mappings":"wZAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOf,OAAOoB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,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BlB,UAAU0F,gBAAkB,WAC3C,OAAO5F,KAAK8B,aAAa8D,mBAE7BxE,EAAmBlB,UAAU2F,gBAAkB,WAC3C,OAAO7F,KAAK8B,aAAa+D,mBAE7BzE,EAAmBlB,UAAU4F,mBAAqB,WAC9C,OAAO9F,KAAK8B,aAAagE,sBAE7B1E,EAAmBlB,UAAU6F,WAAa,WACtC,OAAO/F,KAAK8B,aAAaiE,cAE7B3E,EAAmBlB,UAAU8F,YAAc,SAAUC,GACjD,OAAOjG,KAAK8B,aAAakE,YAAYC,IAEzC7E,EAAmBlB,UAAUgG,sBAAwB,SAAUC,GAC3D,OAAOnG,KAAK8B,aAAaoE,sBAAsBC,IAEnD/E,EAAmBlB,UAAUkG,KAAO,WAChC,OAAOpG,KAAK8B,aAAasE,QAE7BhF,EAAmBlB,UAAUmG,OAAS,WAClC,OAAOrG,KAAK8B,aAAauE,UAE7BjF,EAAmBlB,UAAUoG,iBAAmB,SAAUC,GACtD,OAAOvG,KAAK8B,aAAawE,iBAAiBC,IAE9CnF,EAAmBlB,UAAUsG,sBAAwB,SAAUC,GAC3D,OAAOzG,KAAK8B,aAAa0E,sBAAsBC,IAEnDrF,EAAmBlB,UAAUwG,sBAAwB,WACjD,OAAO1G,KAAK8B,aAAa4E,yBAE7BtF,EAAmBlB,UAAUyG,WAAa,SAAUC,GAChD,OAAO5G,KAAK8B,aAAa6E,WAAWC,IAExCxF,EAAqBhB,GACjByG,wBACIC,MAAO5F,KAEZE,IAEL2F,iBAESC,GACPC,KAAM,gBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAgBC,KAAM7F"}
|
|
@@ -139,11 +139,11 @@ class PdfViewerComponent extends ComponentBase {
|
|
|
139
139
|
exportAnnotationsAsObject() {
|
|
140
140
|
return this.ej2Instances.exportAnnotationsAsObject();
|
|
141
141
|
}
|
|
142
|
-
exportFormFields(
|
|
143
|
-
return this.ej2Instances.exportFormFields(
|
|
142
|
+
exportFormFields(data, formFieldDataFormat) {
|
|
143
|
+
return this.ej2Instances.exportFormFields(data, formFieldDataFormat);
|
|
144
144
|
}
|
|
145
|
-
exportFormFieldsAsObject() {
|
|
146
|
-
return this.ej2Instances.exportFormFieldsAsObject();
|
|
145
|
+
exportFormFieldsAsObject(formFieldDataFormat) {
|
|
146
|
+
return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);
|
|
147
147
|
}
|
|
148
148
|
focusFormField(field) {
|
|
149
149
|
return this.ej2Instances.focusFormField(field);
|
|
@@ -154,8 +154,8 @@ class PdfViewerComponent extends ComponentBase {
|
|
|
154
154
|
importAnnotation(importData, annotationDataFormat) {
|
|
155
155
|
return this.ej2Instances.importAnnotation(importData, annotationDataFormat);
|
|
156
156
|
}
|
|
157
|
-
importFormFields(
|
|
158
|
-
return this.ej2Instances.importFormFields(
|
|
157
|
+
importFormFields(data, formFieldDataFormat) {
|
|
158
|
+
return this.ej2Instances.importFormFields(data, formFieldDataFormat);
|
|
159
159
|
}
|
|
160
160
|
load(document, password) {
|
|
161
161
|
return this.ej2Instances.load(document, password);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-pdfviewer.es2015.js","sources":["../src/es6/pdfviewer/pdfviewer.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enablePrintRotation', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'formFieldCollections', 'formFields', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideEmptyDigitalSignatureFields', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'initialDialogSettings', 'initialFieldSettings', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showDigitalSignatureAppearance', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-pdfviewer` represents the VueJS PdfViewer Component.\n * ```vue\n * <ejs-pdfviewer></ejs-pdfviewer>\n * ```\n */\nlet PdfViewerComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass PdfViewerComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new PdfViewer({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n custom() {\n this.updated();\n }\n addAnnotation(annotation) {\n return this.ej2Instances.addAnnotation(annotation);\n }\n clearFormFields(formField) {\n return this.ej2Instances.clearFormFields(formField);\n }\n convertClientPointToPagePoint(clientPoint, pageNumber) {\n return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);\n }\n convertPagePointToClientPoint(pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);\n }\n convertPagePointToScrollingPoint(pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);\n }\n deleteAnnotations() {\n return this.ej2Instances.deleteAnnotations();\n }\n download() {\n return this.ej2Instances.download();\n }\n exportAnnotation(annotationDataFormat) {\n return this.ej2Instances.exportAnnotation(annotationDataFormat);\n }\n exportAnnotationsAsBase64String(annotationDataFormat) {\n return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);\n }\n exportAnnotationsAsObject() {\n return this.ej2Instances.exportAnnotationsAsObject();\n }\n exportFormFields(path) {\n return this.ej2Instances.exportFormFields(path);\n }\n exportFormFieldsAsObject() {\n return this.ej2Instances.exportFormFieldsAsObject();\n }\n focusFormField(field) {\n return this.ej2Instances.focusFormField(field);\n }\n getPageNumberFromClientPoint(clientPoint) {\n return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);\n }\n importAnnotation(importData, annotationDataFormat) {\n return this.ej2Instances.importAnnotation(importData, annotationDataFormat);\n }\n importFormFields(formFields) {\n return this.ej2Instances.importFormFields(formFields);\n }\n load(document, password) {\n return this.ej2Instances.load(document, password);\n }\n redo() {\n return this.ej2Instances.redo();\n }\n requiredModules() {\n return this.ej2Instances.requiredModules();\n }\n resetFormFields() {\n return this.ej2Instances.resetFormFields();\n }\n retrieveFormFields() {\n return this.ej2Instances.retrieveFormFields();\n }\n saveAsBlob() {\n return this.ej2Instances.saveAsBlob();\n }\n setJsonData(jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n }\n showNotificationPopup(errorString) {\n return this.ej2Instances.showNotificationPopup(errorString);\n }\n undo() {\n return this.ej2Instances.undo();\n }\n unload() {\n return this.ej2Instances.unload();\n }\n updateFormFields(formFields) {\n return this.ej2Instances.updateFormFields(formFields);\n }\n updateFormFieldsValue(fieldValue) {\n return this.ej2Instances.updateFormFieldsValue(fieldValue);\n }\n updateViewerContainer() {\n return this.ej2Instances.updateViewerContainer();\n }\n zoomToRect(rectangle) {\n return this.ej2Instances.zoomToRect(rectangle);\n }\n};\nPdfViewerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], PdfViewerComponent);\nexport { PdfViewerComponent };\nexport const PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install(Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,O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,SAAS,CAAC,CAAC;KAClD;CACJ,CAAC;AACF,kBAAkB,GAAG,UAAU,CAAC;IAC5B,oBAAoB,CAAC;QACjB,KAAK,EAAE,UAAU;KACpB,EAAE,SAAS,CAAC;;;;;;;;;;;CAWhB,EAAE,kBAAkB,CAAC,CAAC;AACvB,AACO,MAAM,eAAe,GAAG;IAC3B,IAAI,EAAE,eAAe;IACrB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;KAC3D;CACJ;;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-pdfviewer.es2015.js","sources":["../src/es6/pdfviewer/pdfviewer.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enablePrintRotation', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'formFieldCollections', 'formFields', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideEmptyDigitalSignatureFields', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'initialDialogSettings', 'initialFieldSettings', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showDigitalSignatureAppearance', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-pdfviewer` represents the VueJS PdfViewer Component.\n * ```vue\n * <ejs-pdfviewer></ejs-pdfviewer>\n * ```\n */\nlet PdfViewerComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass PdfViewerComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new PdfViewer({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n custom() {\n this.updated();\n }\n addAnnotation(annotation) {\n return this.ej2Instances.addAnnotation(annotation);\n }\n clearFormFields(formField) {\n return this.ej2Instances.clearFormFields(formField);\n }\n convertClientPointToPagePoint(clientPoint, pageNumber) {\n return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);\n }\n convertPagePointToClientPoint(pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);\n }\n convertPagePointToScrollingPoint(pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);\n }\n deleteAnnotations() {\n return this.ej2Instances.deleteAnnotations();\n }\n download() {\n return this.ej2Instances.download();\n }\n exportAnnotation(annotationDataFormat) {\n return this.ej2Instances.exportAnnotation(annotationDataFormat);\n }\n exportAnnotationsAsBase64String(annotationDataFormat) {\n return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);\n }\n exportAnnotationsAsObject() {\n return this.ej2Instances.exportAnnotationsAsObject();\n }\n exportFormFields(data, formFieldDataFormat) {\n return this.ej2Instances.exportFormFields(data, formFieldDataFormat);\n }\n exportFormFieldsAsObject(formFieldDataFormat) {\n return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);\n }\n focusFormField(field) {\n return this.ej2Instances.focusFormField(field);\n }\n getPageNumberFromClientPoint(clientPoint) {\n return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);\n }\n importAnnotation(importData, annotationDataFormat) {\n return this.ej2Instances.importAnnotation(importData, annotationDataFormat);\n }\n importFormFields(data, formFieldDataFormat) {\n return this.ej2Instances.importFormFields(data, formFieldDataFormat);\n }\n load(document, password) {\n return this.ej2Instances.load(document, password);\n }\n redo() {\n return this.ej2Instances.redo();\n }\n requiredModules() {\n return this.ej2Instances.requiredModules();\n }\n resetFormFields() {\n return this.ej2Instances.resetFormFields();\n }\n retrieveFormFields() {\n return this.ej2Instances.retrieveFormFields();\n }\n saveAsBlob() {\n return this.ej2Instances.saveAsBlob();\n }\n setJsonData(jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n }\n showNotificationPopup(errorString) {\n return this.ej2Instances.showNotificationPopup(errorString);\n }\n undo() {\n return this.ej2Instances.undo();\n }\n unload() {\n return this.ej2Instances.unload();\n }\n updateFormFields(formFields) {\n return this.ej2Instances.updateFormFields(formFields);\n }\n updateFormFieldsValue(fieldValue) {\n return this.ej2Instances.updateFormFieldsValue(fieldValue);\n }\n updateViewerContainer() {\n return this.ej2Instances.updateViewerContainer();\n }\n zoomToRect(rectangle) {\n return this.ej2Instances.zoomToRect(rectangle);\n }\n};\nPdfViewerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], PdfViewerComponent);\nexport { PdfViewerComponent };\nexport const PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install(Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;SAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,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AAE,kBAAkB,CAAC,CAAC;AACvB,AACO,MAAM,eAAe,GAAG;IAC3B,IAAI,EAAE,eAAe;IACrB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;KAC3D;CACJ;;;;;"}
|
|
@@ -147,11 +147,11 @@ var PdfViewerComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
147
147
|
PdfViewerComponent.prototype.exportAnnotationsAsObject = function () {
|
|
148
148
|
return this.ej2Instances.exportAnnotationsAsObject();
|
|
149
149
|
};
|
|
150
|
-
PdfViewerComponent.prototype.exportFormFields = function (
|
|
151
|
-
return this.ej2Instances.exportFormFields(
|
|
150
|
+
PdfViewerComponent.prototype.exportFormFields = function (data, formFieldDataFormat) {
|
|
151
|
+
return this.ej2Instances.exportFormFields(data, formFieldDataFormat);
|
|
152
152
|
};
|
|
153
|
-
PdfViewerComponent.prototype.exportFormFieldsAsObject = function () {
|
|
154
|
-
return this.ej2Instances.exportFormFieldsAsObject();
|
|
153
|
+
PdfViewerComponent.prototype.exportFormFieldsAsObject = function (formFieldDataFormat) {
|
|
154
|
+
return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);
|
|
155
155
|
};
|
|
156
156
|
PdfViewerComponent.prototype.focusFormField = function (field) {
|
|
157
157
|
return this.ej2Instances.focusFormField(field);
|
|
@@ -162,8 +162,8 @@ var PdfViewerComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
162
162
|
PdfViewerComponent.prototype.importAnnotation = function (importData, annotationDataFormat) {
|
|
163
163
|
return this.ej2Instances.importAnnotation(importData, annotationDataFormat);
|
|
164
164
|
};
|
|
165
|
-
PdfViewerComponent.prototype.importFormFields = function (
|
|
166
|
-
return this.ej2Instances.importFormFields(
|
|
165
|
+
PdfViewerComponent.prototype.importFormFields = function (data, formFieldDataFormat) {
|
|
166
|
+
return this.ej2Instances.importFormFields(data, formFieldDataFormat);
|
|
167
167
|
};
|
|
168
168
|
PdfViewerComponent.prototype.load = function (document, password) {
|
|
169
169
|
return this.ej2Instances.load(document, password);
|