@syncfusion/ej2-vue-pdfviewer 20.4.54 → 21.1.36

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 (50) hide show
  1. package/CHANGELOG.md +195 -0
  2. package/README.md +1 -1
  3. package/dist/ej2-vue-pdfviewer.umd.min.js +2 -2
  4. package/dist/ej2-vue-pdfviewer.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-vue-pdfviewer.es2015.js +161 -182
  6. package/dist/es6/ej2-vue-pdfviewer.es2015.js.map +1 -1
  7. package/dist/es6/ej2-vue-pdfviewer.es5.js +173 -199
  8. package/dist/es6/ej2-vue-pdfviewer.es5.js.map +1 -1
  9. package/dist/global/ej2-vue-pdfviewer.min.js +2 -2
  10. package/package.json +11 -10
  11. package/src/pdfviewer/pdfviewer.component.d.ts +3 -52
  12. package/src/pdfviewer/pdfviewer.component.js +174 -203
  13. package/styles/bootstrap-dark.css +55 -11
  14. package/styles/bootstrap.css +55 -11
  15. package/styles/bootstrap4.css +55 -11
  16. package/styles/bootstrap5-dark.css +67 -17
  17. package/styles/bootstrap5.css +67 -17
  18. package/styles/fabric-dark.css +55 -11
  19. package/styles/fabric.css +55 -11
  20. package/styles/fluent-dark.css +92 -17
  21. package/styles/fluent.css +92 -17
  22. package/styles/highcontrast-light.css +55 -11
  23. package/styles/highcontrast.css +55 -11
  24. package/styles/material-dark.css +55 -11
  25. package/styles/material.css +55 -16
  26. package/styles/material3-dark.css +3482 -0
  27. package/styles/material3-dark.scss +2 -0
  28. package/styles/material3.css +3538 -0
  29. package/styles/material3.scss +2 -0
  30. package/styles/pdfviewer/bootstrap-dark.css +55 -11
  31. package/styles/pdfviewer/bootstrap.css +55 -11
  32. package/styles/pdfviewer/bootstrap4.css +55 -11
  33. package/styles/pdfviewer/bootstrap5-dark.css +67 -17
  34. package/styles/pdfviewer/bootstrap5.css +67 -17
  35. package/styles/pdfviewer/fabric-dark.css +55 -11
  36. package/styles/pdfviewer/fabric.css +55 -11
  37. package/styles/pdfviewer/fluent-dark.css +92 -17
  38. package/styles/pdfviewer/fluent.css +92 -17
  39. package/styles/pdfviewer/highcontrast-light.css +55 -11
  40. package/styles/pdfviewer/highcontrast.css +55 -11
  41. package/styles/pdfviewer/material-dark.css +55 -11
  42. package/styles/pdfviewer/material.css +55 -16
  43. package/styles/pdfviewer/material3-dark.css +3482 -0
  44. package/styles/pdfviewer/material3-dark.scss +2 -0
  45. package/styles/pdfviewer/material3.css +3538 -0
  46. package/styles/pdfviewer/material3.scss +2 -0
  47. package/styles/pdfviewer/tailwind-dark.css +58 -11
  48. package/styles/pdfviewer/tailwind.css +58 -11
  49. package/styles/tailwind-dark.css +58 -11
  50. package/styles/tailwind.css +58 -11
package/CHANGELOG.md CHANGED
@@ -4,6 +4,201 @@
4
4
 
5
5
  ### PDF Viewer
6
6
 
7
+ #### New Features
8
+
9
+ - `#I832710` - Now, we can restrict the file download of export annotation and form fields.
10
+
11
+ #### Bug Fixes
12
+
13
+ - `#I473505` - Now, the PDF pages are rendered properly for the provided PDF file.
14
+ - `#I472797` - Now, the wrap box for free text annotation automatically updates when changing the font size if the autofit property is set to true.
15
+ - `#I473873` - Now, the content of the typed handwritten signature is properly preserved in the saved document.
16
+
17
+ ## 22.1.34 (2023-06-21)
18
+
19
+ ### PDF Viewer
20
+
21
+ #### Bug Fixes
22
+
23
+ - `#I464829` - Now, we can select text in the comment panel using the mouse cursor.
24
+ - `#I464868` - Now, the default placeholder text is automatically selected when the comment text box for free text annotation is in focus.
25
+ - `#I430769` - Now, when the document is reloaded, exported, or imported into the PDF viewer, the order of the annotations is preserved.
26
+ - `#I472757`- Now, the custom Stamp is not removed when downloading the document after undo and redo.
27
+
28
+ #### New Features
29
+
30
+ - `#I426363`, `F180068` – Provided the support for value property in the radio button and checkbox field.
31
+ - `#I448261` – Exposed the API to load the number of pages on the initial loading.
32
+
33
+ ## 21.2.9 (2023-06-06)
34
+
35
+ ### PDF Viewer
36
+
37
+ #### Bug Fixes
38
+
39
+ - `#I464832` - Now, we can able to edit the first comment of the text markup annotation.
40
+ - `#I464832` - Now, the words within the comments are split for readability.
41
+ - `#I464992` - Now, enabling the form designer toolbar programmatically activates the form designer mode.
42
+ - `#I466770` - Now, able to edit the free text annotation content programmatically and the content does not change while exporting.
43
+ - `#I465319` - Now, adding a free text annotation shows its content once in the comment panel.
44
+ - `#I464819` - Now, web service not listening does not occur when loading the provided PDF file.
45
+
46
+ ## 21.2.8 (2023-05-30)
47
+
48
+ ### PDF Viewer
49
+
50
+ #### Bug Fixes
51
+
52
+ - `#I464823` - Now, able to edit the annotation comments when cursor is placed in the textbox.
53
+ - `#I464868` - Now, when double-clicking the free text annotation comment, the comment is focused.
54
+ - `#I438900` - Now, double tap zooming is working after signing the signature field.
55
+ - `#I438900` - Now, double tap zooming is working on iOS devices even if annotation module is not injected.
56
+ - `#I467181` - Now, the tab key is working when we add PDF Viewer and input elements in the same page.
57
+ - `#I467222` - Now, the `triggerAnnotationPropChange` event is not triggered multiple times when adding the free text annotation programmatically.
58
+ - `#I464511` - Now, the content of the free text annotation does not changes when we click outside of it.
59
+ - `#I463293` - Now, the form fields are placed properly while zoom in or zoom out in mobile device.
60
+
61
+ ## 21.2.5 (2023-05-16)
62
+
63
+ ### PDF Viewer
64
+
65
+ #### Bug Fixes
66
+
67
+ - `#I460490` - Now, the signature style is saved when we save the typed signature option.
68
+ - `#I460513` - Now, the exception does not occur when downloading the provided PDF file.
69
+ - `#I459487` - Now, the script error does not occur when importing the values programmatically.
70
+ - `#I461544` - Now, scrolling the multiline textbox field works when we set it to read-only.
71
+ - `#I462652` - Now, the form field validation works properly for non-rendered pages.
72
+ - `#I460704` - Now, the script error does not occur when pressing the delete key.
73
+
74
+ ## 21.2.4 (2023-05-09)
75
+
76
+ ### PDF Viewer
77
+
78
+ #### New Features
79
+
80
+ - `#I426363`, `F180068` – Provided support for value property in the radio button and checkbox field.
81
+
82
+ #### Bug Fixes
83
+
84
+ - `#I456051` - Now, the stamp annotations are displayed correctly in the provided document.
85
+ - `#I452436` - Now, the radio button and checkbox are added properly.
86
+ - `#I403367` - Now, underlining and text selection are working properly in the provided document.
87
+ - `#I456864` - Now, the download performance has been enhanced when downloading the provided document.
88
+ - `#I458313` - Now, the add annotation API working fine when the annotation object is given as input.
89
+
90
+ ## 21.2.3 (2023-05-03)
91
+
92
+ ### PDF Viewer
93
+
94
+ #### Bug Fixes
95
+
96
+ - `#F181471` - Now, deleted comment value will not appeared while importing the exported XFDF/JSON annotation data.
97
+ - `#I453496` - Now, when `enableAnnotation` is set to false, the script error does not happen while scrolling the document.
98
+ - `#I452488` - Now, large files are loaded through the document file path.
99
+ - `#F181447` - Now, the free text annotation content is changed properly while resizing.
100
+
101
+ ## 21.1.41 (2023-04-18)
102
+
103
+ ### PDF Viewer
104
+
105
+ #### Bug Fixes
106
+
107
+ - `#F181315` - Now, the `commentEdit` event is triggered when editing free text annotations.
108
+ - `#I452575` - Now, `clearFormFields` API deletes the signature content only and preserves form field.
109
+ - `#I449909` - Now, the image in the provided document is rendered properly.
110
+ - `#I449638` - The issue with Signature canvas content clearing on window resizing has been resolved.
111
+
112
+ ## 21.1.39 (2023-04-11)
113
+
114
+ ### PDF Viewer
115
+
116
+ #### New Features
117
+
118
+ - `#I448261` – Exposed the API to load the number of pages on initial loading.
119
+
120
+ #### Bug Fixes
121
+
122
+ - `#F181069` - Now, the fill color of the free text annotation is preserved properly on XFDF import.
123
+ - `#F180774` - Now, the date format and time zone were correct when importing the annotations in the Azure app service.
124
+ - `#F181073` - Now, we can able to delete and set status of annotations last comment.
125
+ - `#I446702` - Now, the zooming operations for documents with mixed page orientations function correctly.
126
+ - `#F181068` - Now, the free text annotation is resized properly if a large content is added to the comment panel.
127
+ - `#I447783` - Reloading a PDF document with handwritten signatures on non-rendered pages are preserved properly.
128
+
129
+ ## 21.1.38 (2023-04-04)
130
+
131
+ ### PDF Viewer
132
+
133
+ #### Bug Fixes
134
+
135
+ - `#I180998` - Now, the date format is same while importing the exported annotations.
136
+ - `#I447985` - Now, the textbox and password fields value can be deleted by pressing the delete key.
137
+ - `#F181004` - Now, while attempting to delete the annotation from the comment panel working properly.
138
+
139
+ ## 21.1.37 (2023-03-29)
140
+
141
+ ### PDF Viewer
142
+
143
+ #### Bug Fixes
144
+
145
+ - `#F180886` - Now, the `setAnnotationMode` API supports switching between annotations.
146
+ - `#I181023` - Now, the time is shown properly in the comment panel while adding the free text annotation programmatically.
147
+ - `#I180982`, `#I180983` - Now, able to post a comment with single character or pasted content.
148
+ - `#I180968` - Now, red vertical lines are not showing in the highlight annotation on viewing the downloaded document on other viewers.
149
+ - `#F180997` - Now, the free text content is updated if we directly type in the comment panel.
150
+
151
+ ## 21.1.35 (2023-03-23)
152
+
153
+ ### PDF Viewer
154
+
155
+ #### Bug Fixes
156
+
157
+ - `#I437765` - Now, the script error does not occur when the update form field value API is used when a signature already has signature content.
158
+ - `#F180666` - Now, the exception does not occur while downloading the document after adding the type and uploading the handwritten signature and initial annotation.
159
+ - `#I428493` - Now, the signature image in the signature field is visible while printing in the other viewers changes made on the server side.
160
+ - `#I441773` - Now, the annotation positions are moving properly.
161
+ - Now, the `PDFium` package has been updated.
162
+ - `#I438960` - Now, the different culture date time is working properly while exporting annotations.
163
+ - `#I444307` - Now, the check box is not added to the left-most corner of the page.
164
+ - `#I444707` - Now, the signature dialog box footer button alignment is proper in the fluent theme.
165
+ - `#I440251` - Now, the typed handwritten signature is not broken into a new line after downloading and viewing in other viewers.
166
+ - `#I429508` - Now, the form fields appear properly in mobile mode.
167
+ - `#I433831` - The A4 document size is now properly set during printing.
168
+ - `#F180764` - Now, if you move the arrow or line annotations programmatically, their position won't be changed during export.
169
+ - `#I429549` - Now, the checkbox displays properly during the print preview.
170
+ - `#I436286` - Now that the enable shape annotation is false, the script error no longer occurs.
171
+ - `#I429775` - Now, the problem with some specific document's slow rendering has been resolved.
172
+ - `#I437396` - Now, when the page's zoom level is higher, the resizer will not enable inside the annotation.
173
+ - `#I435370` - Now, the border color is preserved properly for the transparent textbox field.
174
+ - `#I438421` - Now, the script error does not occur while loading an annotation restricted document when the `enableAnnotation` API is set to false.
175
+ - `#F180082` - Now, while adding the text markup annotation programmatically, the text markup content is added properly.
176
+ - `#I434198` - Now, the custom stamp is added properly on the form fields.
177
+ - `#I180081` - Now, when attempting to delete a post in the comment panel, the annotations are not deleted from the comment panel.
178
+ - `#I431466` - Now, the toolbar behavior is stable in mobile mode.
179
+ - `#I432820`, `#I432145`, `#F179720` - Now, the formFields with the same name in non-rendered pages are downloaded successfully.
180
+ - `#I429549` - Now, the checkboxes are no longer offset to the right in the print preview.
181
+ - `#I429288` - Now, the delete option for a draw signature type will be visible in the context menu.
182
+ - `#I431758` - Now, the checkboxes with the same name are correctly selected.
183
+ - `#I429416` - The checkbox layer is now rendered properly when loading the provided PDF document.
184
+ - `#I431679` - Now, the handwritten signature does not become empty when a random signature is added.
185
+ - `#I431466` - Now, the toolbar icon is properly visible in mobile mode.
186
+ - `#I431286` - Now, the radio button selector size is proper in the given document.
187
+ - `#I408530`, `#I428623` - Now, the free text annotations do not shift towards the left side in edit mode.
188
+
189
+ #### New Features
190
+
191
+ - `#I344527` - Now, the support provided is navigated to the next and previous signature field in the form designer.
192
+ - `#I443775` - Now, support is provided for the saving type and image signatures in the form fields.
193
+ - Now, the JSON structure has been modified based on the PDF library.
194
+ - `#I411856` - Now, support is provided to render the accessibility tags in the PDF Viewer.
195
+ - `#I426307` - Improvements to page rendering for zoom levels under 25% by using thumbnail images.
196
+ - Now, support is provided for the tab navigation in the form fields and form designer.
197
+
198
+ ## 20.4.54 (2023-03-14)
199
+
200
+ ### PDF Viewer
201
+
7
202
  #### Bug Fixes
8
203
 
9
204
  - `#I438960` - Now, different culture date time is working properly while exporting annotations.
package/README.md CHANGED
@@ -139,7 +139,7 @@ Product support is available through the following mediums.
139
139
 
140
140
  ## Changelog
141
141
 
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.
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
143
 
144
144
  ## License and copyright
145
145
 
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-pdfviewer.umd.min.js
3
- * version : 20.4.54
3
+ * version : 21.1.36
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,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})});
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","contextMenuOption","contextMenuSettings","currentPageNumber","customStamp","customStampSettings","dateTimeFormat","designerMode","disableContextMenuItems","distanceSettings","documentPath","downloadFileName","drawingObject","enableAccessibilityTags","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","initialRenderPages","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","retryTimeout","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=[],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{ej2Instance: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)},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})});
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 (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,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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', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAccessibilityTags', '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', 'initialRenderPages', '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', 'retryTimeout', '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 = [];\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 ej2Instance: 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 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","ej2Instance","PdfViewer","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","bindProperties","ej2Instances","_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","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,gBAAiB,wBAAyB,iBAAkB,oBAAqB,sBAAuB,oBAAqB,cAAe,sBAAuB,iBAAkB,eAAgB,0BAA2B,mBAAoB,eAAgB,mBAAoB,gBAAiB,0BAA2B,mBAAoB,0BAA2B,qBAAsB,iBAAkB,uBAAwB,qBAAsB,oBAAqB,iBAAkB,qBAAsB,4BAA6B,mBAAoB,6BAA8B,iBAAkB,6BAA8B,kBAAmB,oCAAqC,sBAAuB,sBAAuB,0BAA2B,yBAA0B,4BAA6B,mBAAoB,0BAA2B,oBAAqB,kBAAmB,cAAe,sBAAuB,YAAa,wBAAyB,mBAAoB,yBAA0B,8BAA+B,6BAA8B,0BAA2B,mBAAoB,sBAAuB,kBAAmB,gBAAiB,yBA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