@syncfusion/ej2-vue-pdfviewer 25.2.7 → 26.1.35-4568

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.
Files changed (81) hide show
  1. package/CHANGELOG.md +205 -2055
  2. package/README.md +0 -152
  3. package/dist/ej2-vue-pdfviewer.umd.min.js +1 -10
  4. package/dist/ej2-vue-pdfviewer.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-vue-pdfviewer.es2015.js +16 -58
  6. package/dist/es6/ej2-vue-pdfviewer.es2015.js.map +1 -1
  7. package/dist/es6/ej2-vue-pdfviewer.es5.js +16 -58
  8. package/dist/es6/ej2-vue-pdfviewer.es5.js.map +1 -1
  9. package/license +6 -6
  10. package/package.json +62 -62
  11. package/src/pdfviewer/pdfviewer.component.d.ts +7 -21
  12. package/src/pdfviewer/pdfviewer.component.js +16 -58
  13. package/dist/global/ej2-vue-pdfviewer.min.js +0 -10
  14. package/styles/bootstrap-dark.css +0 -1
  15. package/styles/bootstrap-dark.scss +0 -1
  16. package/styles/bootstrap.css +0 -1
  17. package/styles/bootstrap.scss +0 -1
  18. package/styles/bootstrap4.css +0 -1
  19. package/styles/bootstrap4.scss +0 -1
  20. package/styles/bootstrap5-dark.css +0 -1
  21. package/styles/bootstrap5-dark.scss +0 -1
  22. package/styles/bootstrap5.css +0 -1
  23. package/styles/bootstrap5.scss +0 -1
  24. package/styles/fabric-dark.css +0 -1
  25. package/styles/fabric-dark.scss +0 -1
  26. package/styles/fabric.css +0 -1
  27. package/styles/fabric.scss +0 -1
  28. package/styles/fluent-dark.css +0 -1
  29. package/styles/fluent-dark.scss +0 -1
  30. package/styles/fluent.css +0 -1
  31. package/styles/fluent.scss +0 -1
  32. package/styles/highcontrast-light.css +0 -1
  33. package/styles/highcontrast-light.scss +0 -1
  34. package/styles/highcontrast.css +0 -1
  35. package/styles/highcontrast.scss +0 -1
  36. package/styles/material-dark.css +0 -1
  37. package/styles/material-dark.scss +0 -1
  38. package/styles/material.css +0 -1
  39. package/styles/material.scss +0 -1
  40. package/styles/material3-dark.css +0 -1
  41. package/styles/material3-dark.scss +0 -2
  42. package/styles/material3.css +0 -1
  43. package/styles/material3.scss +0 -2
  44. package/styles/pdfviewer/bootstrap-dark.css +0 -1
  45. package/styles/pdfviewer/bootstrap-dark.scss +0 -1
  46. package/styles/pdfviewer/bootstrap.css +0 -1
  47. package/styles/pdfviewer/bootstrap.scss +0 -1
  48. package/styles/pdfviewer/bootstrap4.css +0 -1
  49. package/styles/pdfviewer/bootstrap4.scss +0 -1
  50. package/styles/pdfviewer/bootstrap5-dark.css +0 -1
  51. package/styles/pdfviewer/bootstrap5-dark.scss +0 -1
  52. package/styles/pdfviewer/bootstrap5.css +0 -1
  53. package/styles/pdfviewer/bootstrap5.scss +0 -1
  54. package/styles/pdfviewer/fabric-dark.css +0 -1
  55. package/styles/pdfviewer/fabric-dark.scss +0 -1
  56. package/styles/pdfviewer/fabric.css +0 -1
  57. package/styles/pdfviewer/fabric.scss +0 -1
  58. package/styles/pdfviewer/fluent-dark.css +0 -1
  59. package/styles/pdfviewer/fluent-dark.scss +0 -1
  60. package/styles/pdfviewer/fluent.css +0 -1
  61. package/styles/pdfviewer/fluent.scss +0 -1
  62. package/styles/pdfviewer/highcontrast-light.css +0 -1
  63. package/styles/pdfviewer/highcontrast-light.scss +0 -1
  64. package/styles/pdfviewer/highcontrast.css +0 -1
  65. package/styles/pdfviewer/highcontrast.scss +0 -1
  66. package/styles/pdfviewer/material-dark.css +0 -1
  67. package/styles/pdfviewer/material-dark.scss +0 -1
  68. package/styles/pdfviewer/material.css +0 -1
  69. package/styles/pdfviewer/material.scss +0 -1
  70. package/styles/pdfviewer/material3-dark.css +0 -1
  71. package/styles/pdfviewer/material3-dark.scss +0 -2
  72. package/styles/pdfviewer/material3.css +0 -1
  73. package/styles/pdfviewer/material3.scss +0 -2
  74. package/styles/pdfviewer/tailwind-dark.css +0 -1
  75. package/styles/pdfviewer/tailwind-dark.scss +0 -1
  76. package/styles/pdfviewer/tailwind.css +0 -1
  77. package/styles/pdfviewer/tailwind.scss +0 -1
  78. package/styles/tailwind-dark.css +0 -1
  79. package/styles/tailwind-dark.scss +0 -1
  80. package/styles/tailwind.css +0 -1
  81. package/styles/tailwind.scss +0 -1
package/README.md CHANGED
@@ -1,152 +0,0 @@
1
- # Vue PDF Viewer Component
2
-
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
-
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>
10
-
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>
14
-
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>
21
-
22
- ## Setup
23
-
24
- ### Create a Vue Application
25
-
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
34
- ```
35
-
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.
37
-
38
- ### Adding Syncfusion PDF Viewer package
39
-
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.
41
-
42
- ```bash
43
- npm install @syncfusion/ej2-vue-pdfviewer --save
44
- ```
45
-
46
- ### Registering PDF Viewer component
47
-
48
- You can register the PDF Viewer component in your application by using the **Vue.use()**. Refer to the code example given below.
49
-
50
- ```typescript
51
- import { PdfViewerPlugin } from '@syncfusion/ej2-vue-pdfviewer';
52
-
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.
108
-
109
- ## Supported frameworks
110
-
111
- PDF Viewer component is also offered in the following list of frameworks.
112
-
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/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
114
- | :-----: | :-----: | :-----: | :-----: | :-----: |
115
-
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
139
-
140
- ## Changelog
141
-
142
- Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/pdfviewer/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.
151
-
152
- © Copyright 2024 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
@@ -1,11 +1,2 @@
1
- /*!
2
- * filename: ej2-vue-pdfviewer.umd.min.js
3
- * version : 25.2.7
4
- * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
- !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,i){"use strict";var o=["isLazyUpdate","plugins","DropdownFieldSettings","ajaxRequestSettings","annotationSelectorSettings","annotationSettings","annotations","areaSettings","arrowSettings","checkBoxFieldSettings","circleSettings","commandManager","contextMenuOption","contextMenuSettings","currentPageNumber","customContextMenuItems","customStamp","customStampSettings","dateTimeFormat","designerMode","disableContextMenuItems","disableDefaultContextMenu","distanceSettings","documentPath","downloadFileName","drawingObject","enableAccessibilityTags","enableAnnotation","enableAnnotationToolbar","enableAutoComplete","enableBookmark","enableBookmarkStyles","enableCommentPanel","enableDesktopMode","enableDownload","enableFormDesigner","enableFormDesignerToolbar","enableFormFields","enableFormFieldsValidation","enableFreeText","enableHandwrittenSignature","enableHtmlSanitizer","enableHyperlink","enableImportAnnotationMeasurement","enableInkAnnotation","enableMagnification","enableMeasureAnnotation","enableMultiLineOverlap","enableMultiPageAnnotation","enableNavigation","enableNavigationToolbar","enablePageOrganizer","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","initialRenderPages","inkAnnotationSettings","interactionMode","isAnnotationToolbarOpen","isAnnotationToolbarVisible","isBookmarkPanelOpen","isCommandPanelOpen","isDocumentEdited","isExtractText","isFormDesignerToolbarVisible","isFormFieldDocument","isInitialFieldToolbarSelection","isMaintainSelection","isPageOrganizerOpen","isSignatureEditable","isThumbnailViewOpen","isValidFreeText","lineSettings","listBoxFieldSettings","locale","measurementSettings","pageCount","pageOrganizerSettings","passwordFieldSettings","perimeterSettings","polygonSettings","printMode","printScaleRatio","radioButtonFieldSettings","radiusSettings","rectangleSettings","resourceUrl","restrictZoomRequest","retryCount","retryStatusCodes","retryTimeout","scrollSettings","selectedItems","serverActionSettings","serviceUrl","shapeLabelSettings","showCustomContextMenuBottom","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","customContextMenuBeforeOpen","customContextMenuSelect","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","keyboardCustomCommands","moveSignature","pageChange","pageClick","pageMouseover","pageOrganizerSaveAs","pageRenderComplete","pageRenderInitiate","printEnd","printStart","removeSignature","resizeSignature","signaturePropertiesChange","signatureSelect","textSearchComplete","textSearchHighlight","textSearchStart","textSelectionEnd","textSelectionStart","thumbnailClick","toolbarClick","validateFormFields","zoomChange"],s=[],a=n.getProps({props:o}),r=a[0],l=a[1],u=Object.keys(l);u.push("modelchanged","update:modelValue");for(var c=0,d=s;c<d.length;c++){var m=d[c];u.push("update:"+m)}var p=n.vueDefineComponent({name:"PdfViewerComponent",mixins:[n.ComponentBase],props:r,watch:l,emits:u,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.PdfViewer({}),propKeys:o,models:s,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,o=null;return i.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",o)},methods:{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 o=n[t],s=this.templateCollection[o];if(s&&s.length){for(var a=0,r=s;a<r.length;a++){var l=r[a];i.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[o]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),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(i){t!==i||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},addAnnotation:function(e){return this.ej2Instances.addAnnotation(e)},addCustomMenu:function(e,t,n){return this.ej2Instances.addCustomMenu(e,t,n)},clearFormFields:function(e){return this.ej2Instances.clearFormFields(e)},convertClientPointToPagePoint:function(e,t){return this.ej2Instances.convertClientPointToPagePoint(e,t)},convertPagePointToClientPoint:function(e,t){return this.ej2Instances.convertPagePointToClientPoint(e,t)},convertPagePointToScrollingPoint:function(e,t){return this.ej2Instances.convertPagePointToScrollingPoint(e,t)},deleteAnnotations:function(){return this.ej2Instances.deleteAnnotations()},download:function(){return this.ej2Instances.download()},exportAnnotation:function(e){return this.ej2Instances.exportAnnotation(e)},exportAnnotationsAsBase64String:function(e){return this.ej2Instances.exportAnnotationsAsBase64String(e)},exportAnnotationsAsObject:function(e){return this.ej2Instances.exportAnnotationsAsObject(e)},exportFormFields:function(e,t){return this.ej2Instances.exportFormFields(e,t)},exportFormFieldsAsObject:function(e){return this.ej2Instances.exportFormFieldsAsObject(e)},focusFormField:function(e){return this.ej2Instances.focusFormField(e)},getPageNumberFromClientPoint:function(e){return this.ej2Instances.getPageNumberFromClientPoint(e)},importAnnotation:function(e,t){return this.ej2Instances.importAnnotation(e,t)},importFormFields:function(e,t){return this.ej2Instances.importFormFields(e,t)},load:function(e,t){return this.ej2Instances.load(e,t)},redo:function(){return this.ej2Instances.redo()},requiredModules:function(){return this.ej2Instances.requiredModules()},resetFormFields:function(){return this.ej2Instances.resetFormFields()},retrieveFormFields:function(){return this.ej2Instances.retrieveFormFields()},saveAsBlob:function(){return this.ej2Instances.saveAsBlob()},setJsonData:function(e){return this.ej2Instances.setJsonData(e)},showNotificationPopup:function(e){return this.ej2Instances.showNotificationPopup(e)},undo:function(){return this.ej2Instances.undo()},unload:function(){return this.ej2Instances.unload()},updateFormFields:function(e){return this.ej2Instances.updateFormFields(e)},updateFormFieldsValue:function(e){return this.ej2Instances.updateFormFieldsValue(e)},updateViewerContainer:function(){return this.ej2Instances.updateViewerContainer()},zoomToRect:function(e){return this.ej2Instances.zoomToRect(e)}}}),g={name:"ejs-pdfviewer",install:function(e){e.component(g.name,p)}};e.PdfViewerComponent=p,e.PdfViewerPlugin=g,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
1
+ !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,i){"use strict";var s=["isLazyUpdate","plugins","ajaxRequestSettings","annotationSelectorSettings","annotationSettings","annotationToolbarSettings","annotations","areaSettings","arrowSettings","circleSettings","contextMenuOption","customStampItems","customStampSettings","distanceSettings","documentPath","downloadFileName","drawingObject","enableAnnotation","enableAnnotationToolbar","enableBookmark","enableCommentPanel","enableDownload","enableFormFields","enableFormFieldsValidation","enableFreeText","enableHandwrittenSignature","enableHyperlink","enableMagnification","enableMeasureAnnotation","enableMultiLineOverlap","enableMultiPageAnnotation","enableNavigation","enableNavigationToolbar","enablePersistence","enablePinchZoom","enablePrint","enableRtl","enableShapeAnnotation","enableShapeLabel","enableStampAnnotations","enableStickyNotesAnnotation","enableTaggedPDF","enableTextMarkupAnnotation","enableTextMarkupResizer","enableTextSearch","enableTextSelection","enableThumbnail","enableToolbar","enableZoomOptimization","freeTextSettings","handWrittenSignatureSettings","height","highlightSettings","httpResponseType","hyperlinkOpenState","interactionMode","isCommandPanelOpen","isExtractText","isSignatureEditable","isThumbnailViewOpen","lineSettings","locale","measurementSettings","perimeterSettings","polygonSettings","printMode","radiusSettings","rectangleSettings","restrictZoomRequest","retryCount","retryStatusCodes","retryTimeout","scrollSettings","selectedItems","serverActionSettings","serviceUrl","shapeLabelSettings","showNotificationDialog","stampSettings","stickyNotesSettings","strikethroughSettings","textSearchColorSettings","tileRenderingSettings","toolbarSettings","underlineSettings","volumeSettings","width","zoomMode","zoomValue","addSignature","ajaxRequestFailed","ajaxRequestInitiate","ajaxRequestSuccess","annotationAdd","annotationDoubleClick","annotationMouseover","annotationMove","annotationPropertiesChange","annotationRemove","annotationResize","annotationSelect","beforeRenderPdfPage","documentLoad","documentLoadFailed","documentUnload","downloadEnd","downloadStart","exportFailed","exportStart","exportSuccess","extractTextCompleted","hyperlinkClick","hyperlinkMouseOver","importFailed","importStart","importSuccess","moveSignature","pageChange","pageClick","pageMouseover","removeSignature","resizeSignature","signaturePropertiesChange","textSelectionEnd","textSelectionStart","thumbnailClick","validateFormFields","zoomChange"],o=[],a=n.getProps({props:s}),r=a[0],l=a[1],u=Object.keys(l);u.push("modelchanged","update:modelValue");for(var c=0,d=o;c<d.length;c++){var p=d[c];u.push("update:"+p)}var m=n.vueDefineComponent({name:"PdfViewerComponent",mixins:[n.ComponentBase],props:r,watch:l,emits:u,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.PdfViewer({}),propKeys:s,models:o,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",s)},methods:{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 s=n[t],o=this.templateCollection[s];if(o&&o.length){for(var a=0,r=o;a<r.length;a++){var l=r[a];i.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[s]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),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(i){t!==i||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},deleteAnnotations:function(){return this.ej2Instances.deleteAnnotations()},download:function(){return this.ej2Instances.download()},exportAnnotations:function(){return this.ej2Instances.exportAnnotations()},exportAnnotationsAsObject:function(){return this.ej2Instances.exportAnnotationsAsObject()},exportFormFields:function(e){return this.ej2Instances.exportFormFields(e)},exportFormFieldsAsObject:function(){return this.ej2Instances.exportFormFieldsAsObject()},importAnnotations:function(e){return this.ej2Instances.importAnnotations(e)},importFormFields:function(e){return this.ej2Instances.importFormFields(e)},load:function(e,t){return this.ej2Instances.load(e,t)},redo:function(){return this.ej2Instances.redo()},renderPdfPages:function(e){return this.ej2Instances.renderPdfPages(e)},requiredModules:function(){return this.ej2Instances.requiredModules()},saveAsBlob:function(){return this.ej2Instances.saveAsBlob()},setJsonData:function(e){return this.ej2Instances.setJsonData(e)},undo:function(){return this.ej2Instances.undo()},unload:function(){return this.ej2Instances.unload()},updateViewerContainer:function(){return this.ej2Instances.updateViewerContainer()}}}),h={name:"ejs-pdfviewer",install:function(e){e.component(h.name,m)}};e.PdfViewerComponent=m,e.PdfViewerPlugin=h,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
2
  //# sourceMappingURL=ej2-vue-pdfviewer.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-pdfviewer.umd.min.js","sources":["../src/pdfviewer/pdfviewer.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, 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', 'commandManager', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customContextMenuItems', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'disableDefaultContextMenu', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAccessibilityTags', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHtmlSanitizer', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePageOrganizer', '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', 'initialRenderPages', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isPageOrganizerOpen', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'pageOrganizerSettings', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'printScaleRatio', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'resourceUrl', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'retryTimeout', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showCustomContextMenuBottom', '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', 'customContextMenuBeforeOpen', 'customContextMenuSelect', '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', 'keyboardCustomCommands', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'pageOrganizerSaveAs', 'pageRenderComplete', 'pageRenderInitiate', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'toolbarClick', 'validateFormFields', 'zoomChange'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * `ejs-pdfviewer` represents the VueJS PdfViewer Component.\n * ```vue\n * <ejs-pdfviewer></ejs-pdfviewer>\n * ```\n */\nexport var PdfViewerComponent = vueDefineComponent({\n name: 'PdfViewerComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new PdfViewer({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var 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 methods: {\n 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 setProperties: function (prop, muteOnChange) {\n var _this = this;\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(function (key) {\n _this.models.map(function (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 custom: function () {\n this.updated();\n },\n addAnnotation: function (annotation) {\n return this.ej2Instances.addAnnotation(annotation);\n },\n addCustomMenu: function (menuItems, disableDefaultItems, appendToEnd) {\n return this.ej2Instances.addCustomMenu(menuItems, disableDefaultItems, appendToEnd);\n },\n clearFormFields: function (formField) {\n return this.ej2Instances.clearFormFields(formField);\n },\n convertClientPointToPagePoint: function (clientPoint, pageNumber) {\n return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);\n },\n convertPagePointToClientPoint: function (pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);\n },\n convertPagePointToScrollingPoint: function (pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);\n },\n deleteAnnotations: function () {\n return this.ej2Instances.deleteAnnotations();\n },\n download: function () {\n return this.ej2Instances.download();\n },\n exportAnnotation: function (annotationDataFormat) {\n return this.ej2Instances.exportAnnotation(annotationDataFormat);\n },\n exportAnnotationsAsBase64String: function (annotationDataFormat) {\n return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);\n },\n exportAnnotationsAsObject: function (annotationDataFormat) {\n return this.ej2Instances.exportAnnotationsAsObject(annotationDataFormat);\n },\n exportFormFields: function (data, formFieldDataFormat) {\n return this.ej2Instances.exportFormFields(data, formFieldDataFormat);\n },\n exportFormFieldsAsObject: function (formFieldDataFormat) {\n return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);\n },\n focusFormField: function (field) {\n return this.ej2Instances.focusFormField(field);\n },\n getPageNumberFromClientPoint: function (clientPoint) {\n return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);\n },\n importAnnotation: function (importData, annotationDataFormat) {\n return this.ej2Instances.importAnnotation(importData, annotationDataFormat);\n },\n importFormFields: function (data, formFieldDataFormat) {\n return this.ej2Instances.importFormFields(data, formFieldDataFormat);\n },\n load: function (document, password) {\n return this.ej2Instances.load(document, password);\n },\n redo: function () {\n return this.ej2Instances.redo();\n },\n requiredModules: function () {\n return this.ej2Instances.requiredModules();\n },\n resetFormFields: function () {\n return this.ej2Instances.resetFormFields();\n },\n retrieveFormFields: function () {\n return this.ej2Instances.retrieveFormFields();\n },\n saveAsBlob: function () {\n return this.ej2Instances.saveAsBlob();\n },\n setJsonData: function (jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n },\n showNotificationPopup: function (errorString) {\n return this.ej2Instances.showNotificationPopup(errorString);\n },\n undo: function () {\n return this.ej2Instances.undo();\n },\n unload: function () {\n return this.ej2Instances.unload();\n },\n updateFormFields: function (formFields) {\n return this.ej2Instances.updateFormFields(formFields);\n },\n updateFormFieldsValue: function (fieldValue) {\n return this.ej2Instances.updateFormFieldsValue(fieldValue);\n },\n updateViewerContainer: function () {\n return this.ej2Instances.updateViewerContainer();\n },\n zoomToRect: function (rectangle) {\n return this.ej2Instances.zoomToRect(rectangle);\n },\n }\n});\nexport var PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install: function (Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","PdfViewerComponent","vueDefineComponent","name","mixins","ComponentBase","emits","provide","custom","this","data","ej2Instances","PdfViewer","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","bindProperties","_setProperties","setProperties","clearTemplate","updated","render","createElement","h","gh","slots","isNullOrUndefined","$slots","default","methods","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","addAnnotation","annotation","addCustomMenu","menuItems","disableDefaultItems","appendToEnd","clearFormFields","formField","convertClientPointToPagePoint","clientPoint","pageNumber","convertPagePointToClientPoint","pagePoint","convertPagePointToScrollingPoint","deleteAnnotations","download","exportAnnotation","annotationDataFormat","exportAnnotationsAsBase64String","exportAnnotationsAsObject","exportFormFields","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","PdfViewerPlugin","install","Vue","component"],"mappings":"wZAGO,IAAIA,GAAc,eAAgB,UAAW,wBAAyB,sBAAuB,6BAA8B,qBAAsB,cAAe,eAAgB,gBAA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AE7BC,gBAAiB,WACb,OAAOlF,KAAKE,aAAagF,mBAE7BC,gBAAiB,WACb,OAAOnF,KAAKE,aAAaiF,mBAE7BC,mBAAoB,WAChB,OAAOpF,KAAKE,aAAakF,sBAE7BC,WAAY,WACR,OAAOrF,KAAKE,aAAamF,cAE7BC,YAAa,SAAUC,GACnB,OAAOvF,KAAKE,aAAaoF,YAAYC,IAEzCC,sBAAuB,SAAUC,GAC7B,OAAOzF,KAAKE,aAAasF,sBAAsBC,IAEnDC,KAAM,WACF,OAAO1F,KAAKE,aAAawF,QAE7BC,OAAQ,WACJ,OAAO3F,KAAKE,aAAayF,UAE7BC,iBAAkB,SAAUC,GACxB,OAAO7F,KAAKE,aAAa0F,iBAAiBC,IAE9CC,sBAAuB,SAAUC,GAC7B,OAAO/F,KAAKE,aAAa4F,sBAAsBC,IAEnDC,sBAAuB,WACnB,OAAOhG,KAAKE,aAAa8F,yBAE7BC,WAAY,SAAUC,GAClB,OAAOlG,KAAKE,aAAa+F,WAAWC,OAIrCC,GACPzG,KAAM,gBACN0G,QAAS,SAAUC,GACfA,EAAIC,UAAUH,EAAgBzG,KAAMF"}
1
+ {"version":3,"file":"ej2-vue-pdfviewer.umd.min.js","sources":["../src/pdfviewer/pdfviewer.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nexport var properties = ['isLazyUpdate', 'plugins', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotationToolbarSettings', 'annotations', 'areaSettings', 'arrowSettings', 'circleSettings', 'contextMenuOption', 'customStampItems', 'customStampSettings', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAnnotation', 'enableAnnotationToolbar', 'enableBookmark', 'enableCommentPanel', 'enableDownload', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTaggedPDF', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'highlightSettings', 'httpResponseType', 'hyperlinkOpenState', 'interactionMode', 'isCommandPanelOpen', 'isExtractText', 'isSignatureEditable', 'isThumbnailViewOpen', 'lineSettings', 'locale', 'measurementSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'retryTimeout', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showNotificationDialog', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseover', 'annotationMove', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'beforeRenderPdfPage', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * `ejs-pdfviewer` represents the VueJS PdfViewer Component.\n * ```vue\n * <ejs-pdfviewer></ejs-pdfviewer>\n * ```\n */\nexport var PdfViewerComponent = vueDefineComponent({\n name: 'PdfViewerComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new PdfViewer({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var 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 methods: {\n 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 setProperties: function (prop, muteOnChange) {\n var _this = this;\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(function (key) {\n _this.models.map(function (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 custom: function () {\n this.updated();\n },\n deleteAnnotations: function () {\n return this.ej2Instances.deleteAnnotations();\n },\n download: function () {\n return this.ej2Instances.download();\n },\n exportAnnotations: function () {\n return this.ej2Instances.exportAnnotations();\n },\n exportAnnotationsAsObject: function () {\n return this.ej2Instances.exportAnnotationsAsObject();\n },\n exportFormFields: function (path) {\n return this.ej2Instances.exportFormFields(path);\n },\n exportFormFieldsAsObject: function () {\n return this.ej2Instances.exportFormFieldsAsObject();\n },\n importAnnotations: function (importData) {\n return this.ej2Instances.importAnnotations(importData);\n },\n importFormFields: function (formFields) {\n return this.ej2Instances.importFormFields(formFields);\n },\n load: function (document, password) {\n return this.ej2Instances.load(document, password);\n },\n redo: function () {\n return this.ej2Instances.redo();\n },\n renderPdfPages: function (jsonData) {\n return this.ej2Instances.renderPdfPages(jsonData);\n },\n requiredModules: function () {\n return this.ej2Instances.requiredModules();\n },\n saveAsBlob: function () {\n return this.ej2Instances.saveAsBlob();\n },\n setJsonData: function (jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n },\n undo: function () {\n return this.ej2Instances.undo();\n },\n unload: function () {\n return this.ej2Instances.unload();\n },\n updateViewerContainer: function () {\n return this.ej2Instances.updateViewerContainer();\n },\n }\n});\nexport var PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install: function (Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","PdfViewerComponent","vueDefineComponent","name","mixins","ComponentBase","emits","provide","custom","this","data","ej2Instances","PdfViewer","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","bindProperties","_setProperties","setProperties","clearTemplate","updated","render","createElement","h","gh","slots","isNullOrUndefined","$slots","default","methods","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","deleteAnnotations","download","exportAnnotations","exportAnnotationsAsObject","exportFormFields","path","exportFormFieldsAsObject","importAnnotations","importData","importFormFields","formFields","load","document","password","redo","renderPdfPages","jsonData","requiredModules","saveAsBlob","setJsonData","undo","unload","updateViewerContainer","PdfViewerPlugin","install","Vue","component"],"mappings":"wZAGO,IAAIA,GAAc,eAAgB,UAAW,sBAAuB,6BAA8B,qBAAsB,4BAA6B,cAAe,eAAgB,gBAAiB,iBAAkB,oBAAqB,mBAAoB,sBAAuB,mBAAoB,eAAgB,mBAAoB,gBAAiB,mBAAoB,0BAA2B,iBAAkB,qBAAsB,iBAAkB,mBAAoB,6BAA8B,iBAAkB,6BAA8B,kBAAmB,sBAAuB,0BAA2B,yBAA0B,4BAA6B,mBAAoB,0BAA2B,oBAAqB,kBAAmB,cAAe,YAAa,wBAAyB,mBAAoB,yBAA0B,8BAA+B,kBAAmB,6BAA8B,0BAA2B,mBAAoB,sBAAuB,kBAAmB,gBAAiB,yBAA0B,mBAAoB,+BAAgC,SAAU,oBAAqB,mBAAoB,qBAAsB,kBAAmB,qBAAsB,gBAAiB,sBAAuB,sBAAuB,eAAgB,SAAU,sBAAuB,oBAAqB,kBAAmB,YAAa,iBAAkB,oBAAqB,sBAAuB,aAAc,mBAAoB,eAAgB,i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AAKE,aAAa+C,qBAE7BC,SAAU,WACN,OAAOlD,KAAKE,aAAagD,YAE7BC,kBAAmB,WACf,OAAOnD,KAAKE,aAAaiD,qBAE7BC,0BAA2B,WACvB,OAAOpD,KAAKE,aAAakD,6BAE7BC,iBAAkB,SAAUC,GACxB,OAAOtD,KAAKE,aAAamD,iBAAiBC,IAE9CC,yBAA0B,WACtB,OAAOvD,KAAKE,aAAaqD,4BAE7BC,kBAAmB,SAAUC,GACzB,OAAOzD,KAAKE,aAAasD,kBAAkBC,IAE/CC,iBAAkB,SAAUC,GACxB,OAAO3D,KAAKE,aAAawD,iBAAiBC,IAE9CC,KAAM,SAAUC,EAAUC,GACtB,OAAO9D,KAAKE,aAAa0D,KAAKC,EAAUC,IAE5CC,KAAM,WACF,OAAO/D,KAAKE,aAAa6D,QAE7BC,eAAgB,SAAUC,GACtB,OAAOjE,KAAKE,aAAa8D,eAAeC,IAE5CC,gBAAiB,WACb,OAAOlE,KAAKE,aAAagE,mBAE7BC,WAAY,WACR,OAAOnE,KAAKE,aAAaiE,cAE7BC,YAAa,SAAUH,GACnB,OAAOjE,KAAKE,aAAakE,YAAYH,IAEzCI,KAAM,WACF,OAAOrE,KAAKE,aAAamE,QAE7BC,OAAQ,WACJ,OAAOtE,KAAKE,aAAaoE,UAE7BC,sBAAuB,WACnB,OAAOvE,KAAKE,aAAaqE,4BAI1BC,GACP9E,KAAM,gBACN+E,QAAS,SAAUC,GACfA,EAAIC,UAAUH,EAAgB9E,KAAMF"}
@@ -2,7 +2,7 @@ import { PdfViewer } from '@syncfusion/ej2-pdfviewer';
2
2
  import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
3
3
  import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
4
4
 
5
- const properties = ['isLazyUpdate', 'plugins', 'DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'commandManager', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customContextMenuItems', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'disableDefaultContextMenu', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAccessibilityTags', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHtmlSanitizer', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePageOrganizer', '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', 'initialRenderPages', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isPageOrganizerOpen', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'pageOrganizerSettings', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'printScaleRatio', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'resourceUrl', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'retryTimeout', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showCustomContextMenuBottom', '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', 'customContextMenuBeforeOpen', 'customContextMenuSelect', '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', 'keyboardCustomCommands', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'pageOrganizerSaveAs', 'pageRenderComplete', 'pageRenderInitiate', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'toolbarClick', 'validateFormFields', 'zoomChange'];
5
+ const properties = ['isLazyUpdate', 'plugins', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotationToolbarSettings', 'annotations', 'areaSettings', 'arrowSettings', 'circleSettings', 'contextMenuOption', 'customStampItems', 'customStampSettings', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAnnotation', 'enableAnnotationToolbar', 'enableBookmark', 'enableCommentPanel', 'enableDownload', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTaggedPDF', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'highlightSettings', 'httpResponseType', 'hyperlinkOpenState', 'interactionMode', 'isCommandPanelOpen', 'isExtractText', 'isSignatureEditable', 'isThumbnailViewOpen', 'lineSettings', 'locale', 'measurementSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'retryTimeout', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showNotificationDialog', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseover', 'annotationMove', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'beforeRenderPdfPage', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];
6
6
  const modelProps = [];
7
7
  const testProp = getProps({ props: properties });
8
8
  const props = testProp[0];
@@ -102,56 +102,29 @@ let PdfViewerComponent = vueDefineComponent({
102
102
  custom() {
103
103
  this.updated();
104
104
  },
105
- addAnnotation(annotation) {
106
- return this.ej2Instances.addAnnotation(annotation);
107
- },
108
- addCustomMenu(menuItems, disableDefaultItems, appendToEnd) {
109
- return this.ej2Instances.addCustomMenu(menuItems, disableDefaultItems, appendToEnd);
110
- },
111
- clearFormFields(formField) {
112
- return this.ej2Instances.clearFormFields(formField);
113
- },
114
- convertClientPointToPagePoint(clientPoint, pageNumber) {
115
- return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);
116
- },
117
- convertPagePointToClientPoint(pagePoint, pageNumber) {
118
- return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);
119
- },
120
- convertPagePointToScrollingPoint(pagePoint, pageNumber) {
121
- return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);
122
- },
123
105
  deleteAnnotations() {
124
106
  return this.ej2Instances.deleteAnnotations();
125
107
  },
126
108
  download() {
127
109
  return this.ej2Instances.download();
128
110
  },
129
- exportAnnotation(annotationDataFormat) {
130
- return this.ej2Instances.exportAnnotation(annotationDataFormat);
131
- },
132
- exportAnnotationsAsBase64String(annotationDataFormat) {
133
- return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);
134
- },
135
- exportAnnotationsAsObject(annotationDataFormat) {
136
- return this.ej2Instances.exportAnnotationsAsObject(annotationDataFormat);
111
+ exportAnnotations() {
112
+ return this.ej2Instances.exportAnnotations();
137
113
  },
138
- exportFormFields(data, formFieldDataFormat) {
139
- return this.ej2Instances.exportFormFields(data, formFieldDataFormat);
114
+ exportAnnotationsAsObject() {
115
+ return this.ej2Instances.exportAnnotationsAsObject();
140
116
  },
141
- exportFormFieldsAsObject(formFieldDataFormat) {
142
- return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);
117
+ exportFormFields(path) {
118
+ return this.ej2Instances.exportFormFields(path);
143
119
  },
144
- focusFormField(field) {
145
- return this.ej2Instances.focusFormField(field);
120
+ exportFormFieldsAsObject() {
121
+ return this.ej2Instances.exportFormFieldsAsObject();
146
122
  },
147
- getPageNumberFromClientPoint(clientPoint) {
148
- return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);
123
+ importAnnotations(importData) {
124
+ return this.ej2Instances.importAnnotations(importData);
149
125
  },
150
- importAnnotation(importData, annotationDataFormat) {
151
- return this.ej2Instances.importAnnotation(importData, annotationDataFormat);
152
- },
153
- importFormFields(data, formFieldDataFormat) {
154
- return this.ej2Instances.importFormFields(data, formFieldDataFormat);
126
+ importFormFields(formFields) {
127
+ return this.ej2Instances.importFormFields(formFields);
155
128
  },
156
129
  load(document, password) {
157
130
  return this.ej2Instances.load(document, password);
@@ -159,42 +132,27 @@ let PdfViewerComponent = vueDefineComponent({
159
132
  redo() {
160
133
  return this.ej2Instances.redo();
161
134
  },
135
+ renderPdfPages(jsonData) {
136
+ return this.ej2Instances.renderPdfPages(jsonData);
137
+ },
162
138
  requiredModules() {
163
139
  return this.ej2Instances.requiredModules();
164
140
  },
165
- resetFormFields() {
166
- return this.ej2Instances.resetFormFields();
167
- },
168
- retrieveFormFields() {
169
- return this.ej2Instances.retrieveFormFields();
170
- },
171
141
  saveAsBlob() {
172
142
  return this.ej2Instances.saveAsBlob();
173
143
  },
174
144
  setJsonData(jsonData) {
175
145
  return this.ej2Instances.setJsonData(jsonData);
176
146
  },
177
- showNotificationPopup(errorString) {
178
- return this.ej2Instances.showNotificationPopup(errorString);
179
- },
180
147
  undo() {
181
148
  return this.ej2Instances.undo();
182
149
  },
183
150
  unload() {
184
151
  return this.ej2Instances.unload();
185
152
  },
186
- updateFormFields(formFields) {
187
- return this.ej2Instances.updateFormFields(formFields);
188
- },
189
- updateFormFieldsValue(fieldValue) {
190
- return this.ej2Instances.updateFormFieldsValue(fieldValue);
191
- },
192
153
  updateViewerContainer() {
193
154
  return this.ej2Instances.updateViewerContainer();
194
155
  },
195
- zoomToRect(rectangle) {
196
- return this.ej2Instances.zoomToRect(rectangle);
197
- },
198
156
  }
199
157
  });
200
158
  const PdfViewerPlugin = {
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-pdfviewer.es2015.js","sources":["../src/es6/pdfviewer/pdfviewer.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nexport const properties = ['isLazyUpdate', 'plugins', 'DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'commandManager', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customContextMenuItems', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'disableDefaultContextMenu', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAccessibilityTags', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHtmlSanitizer', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePageOrganizer', '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', 'initialRenderPages', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isPageOrganizerOpen', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'pageOrganizerSettings', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'printScaleRatio', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'resourceUrl', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'retryTimeout', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showCustomContextMenuBottom', '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', 'customContextMenuBeforeOpen', 'customContextMenuSelect', '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', 'keyboardCustomCommands', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'pageOrganizerSaveAs', 'pageRenderComplete', 'pageRenderInitiate', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'toolbarClick', 'validateFormFields', 'zoomChange'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], 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 */\nexport let PdfViewerComponent = vueDefineComponent({\n name: 'PdfViewerComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instances: new PdfViewer({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 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 methods: {\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 custom() {\n this.updated();\n },\n addAnnotation(annotation) {\n return this.ej2Instances.addAnnotation(annotation);\n },\n addCustomMenu(menuItems, disableDefaultItems, appendToEnd) {\n return this.ej2Instances.addCustomMenu(menuItems, disableDefaultItems, appendToEnd);\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(annotationDataFormat) {\n return this.ej2Instances.exportAnnotationsAsObject(annotationDataFormat);\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 }\n});\nexport const PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install(Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\n }\n};\n"],"names":[],"mappings":";;;;AAGO,MAAM,UAAU,GAAG,CAAC,cAAc,EAAE,SAAS,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,aAAa,EAAE,cAAc,EAAE,eAAe,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,aAAa,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,cAAc,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,cAAc,EAAE,kBAAkB,EAAE,eAAe,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,gBAAgB,EAA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Y,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;SAClD;QACD,qBAAqB,CAAC,WAAW,EAAE;YAC/B,OAAO,IAAI,CAAC,YAAY,CAAC,qBAAqB,CAAC,WAAW,CAAC,CAAC;SAC/D;QACD,IAAI,GAAG;YACH,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SACnC;QACD,MAAM,GAAG;YACL,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC;SACrC;QACD,gBAAgB,CAAC,UAAU,EAAE;YACzB,OAAO,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;SACzD;QACD,qBAAqB,CAAC,UAAU,EAAE;YAC9B,OAAO,IAAI,CAAC,YAAY,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;SAC9D;QACD,qBAAqB,GAAG;YACpB,OAAO,IAAI,CAAC,YAAY,CAAC,qBAAqB,EAAE,CAAC;SACpD;QACD,UAAU,CAAC,SAAS,EAAE;YAClB,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;SAClD;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,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":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nexport const properties = ['isLazyUpdate', 'plugins', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotationToolbarSettings', 'annotations', 'areaSettings', 'arrowSettings', 'circleSettings', 'contextMenuOption', 'customStampItems', 'customStampSettings', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAnnotation', 'enableAnnotationToolbar', 'enableBookmark', 'enableCommentPanel', 'enableDownload', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTaggedPDF', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'highlightSettings', 'httpResponseType', 'hyperlinkOpenState', 'interactionMode', 'isCommandPanelOpen', 'isExtractText', 'isSignatureEditable', 'isThumbnailViewOpen', 'lineSettings', 'locale', 'measurementSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'retryTimeout', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showNotificationDialog', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseover', 'annotationMove', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'beforeRenderPdfPage', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], 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 */\nexport let PdfViewerComponent = vueDefineComponent({\n name: 'PdfViewerComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instances: new PdfViewer({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 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 methods: {\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 custom() {\n this.updated();\n },\n deleteAnnotations() {\n return this.ej2Instances.deleteAnnotations();\n },\n download() {\n return this.ej2Instances.download();\n },\n exportAnnotations() {\n return this.ej2Instances.exportAnnotations();\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 importAnnotations(importData) {\n return this.ej2Instances.importAnnotations(importData);\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 renderPdfPages(jsonData) {\n return this.ej2Instances.renderPdfPages(jsonData);\n },\n requiredModules() {\n return this.ej2Instances.requiredModules();\n },\n saveAsBlob() {\n return this.ej2Instances.saveAsBlob();\n },\n setJsonData(jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n },\n undo() {\n return this.ej2Instances.undo();\n },\n unload() {\n return this.ej2Instances.unload();\n },\n updateViewerContainer() {\n return this.ej2Instances.updateViewerContainer();\n },\n }\n});\nexport const PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install(Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\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