@syncfusion/ej2-vue-pdfviewer 20.4.54 → 21.1.35

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-pdfviewer.es2015.js","sources":["../src/es6/pdfviewer/pdfviewer.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enablePrintRotation', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'formFieldCollections', 'formFields', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideEmptyDigitalSignatureFields', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'initialDialogSettings', 'initialFieldSettings', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showDigitalSignatureAppearance', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-pdfviewer` represents the VueJS PdfViewer Component.\n * ```vue\n * <ejs-pdfviewer></ejs-pdfviewer>\n * ```\n */\nlet PdfViewerComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass PdfViewerComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new PdfViewer({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n custom() {\n this.updated();\n }\n addAnnotation(annotation) {\n return this.ej2Instances.addAnnotation(annotation);\n }\n clearFormFields(formField) {\n return this.ej2Instances.clearFormFields(formField);\n }\n convertClientPointToPagePoint(clientPoint, pageNumber) {\n return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);\n }\n convertPagePointToClientPoint(pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);\n }\n convertPagePointToScrollingPoint(pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);\n }\n deleteAnnotations() {\n return this.ej2Instances.deleteAnnotations();\n }\n download() {\n return this.ej2Instances.download();\n }\n exportAnnotation(annotationDataFormat) {\n return this.ej2Instances.exportAnnotation(annotationDataFormat);\n }\n exportAnnotationsAsBase64String(annotationDataFormat) {\n return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);\n }\n exportAnnotationsAsObject() {\n return this.ej2Instances.exportAnnotationsAsObject();\n }\n exportFormFields(data, formFieldDataFormat) {\n return this.ej2Instances.exportFormFields(data, formFieldDataFormat);\n }\n exportFormFieldsAsObject(formFieldDataFormat) {\n return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);\n }\n focusFormField(field) {\n return this.ej2Instances.focusFormField(field);\n }\n getPageNumberFromClientPoint(clientPoint) {\n return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);\n }\n importAnnotation(importData, annotationDataFormat) {\n return this.ej2Instances.importAnnotation(importData, annotationDataFormat);\n }\n importFormFields(data, formFieldDataFormat) {\n return this.ej2Instances.importFormFields(data, formFieldDataFormat);\n }\n load(document, password) {\n return this.ej2Instances.load(document, password);\n }\n redo() {\n return this.ej2Instances.redo();\n }\n requiredModules() {\n return this.ej2Instances.requiredModules();\n }\n resetFormFields() {\n return this.ej2Instances.resetFormFields();\n }\n retrieveFormFields() {\n return this.ej2Instances.retrieveFormFields();\n }\n saveAsBlob() {\n return this.ej2Instances.saveAsBlob();\n }\n setJsonData(jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n }\n showNotificationPopup(errorString) {\n return this.ej2Instances.showNotificationPopup(errorString);\n }\n undo() {\n return this.ej2Instances.undo();\n }\n unload() {\n return this.ej2Instances.unload();\n }\n updateFormFields(formFields) {\n return this.ej2Instances.updateFormFields(formFields);\n }\n updateFormFieldsValue(fieldValue) {\n return this.ej2Instances.updateFormFieldsValue(fieldValue);\n }\n updateViewerContainer() {\n return this.ej2Instances.updateViewerContainer();\n }\n zoomToRect(rectangle) {\n return this.ej2Instances.zoomToRect(rectangle);\n }\n};\nPdfViewerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], PdfViewerComponent);\nexport { PdfViewerComponent };\nexport const PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install(Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;SAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;IAClJ,OAAO,CAAC,GAAG,CAAC,IAAI,CA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fviewer.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', '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', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showDigitalSignatureAppearance', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], 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 clearFormFields(formField) {\n return this.ej2Instances.clearFormFields(formField);\n },\n convertClientPointToPagePoint(clientPoint, pageNumber) {\n return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);\n },\n convertPagePointToClientPoint(pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);\n },\n convertPagePointToScrollingPoint(pagePoint, pageNumber) {\n return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);\n },\n deleteAnnotations() {\n return this.ej2Instances.deleteAnnotations();\n },\n download() {\n return this.ej2Instances.download();\n },\n exportAnnotation(annotationDataFormat) {\n return this.ej2Instances.exportAnnotation(annotationDataFormat);\n },\n exportAnnotationsAsBase64String(annotationDataFormat) {\n return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);\n },\n exportAnnotationsAsObject() {\n return this.ej2Instances.exportAnnotationsAsObject();\n },\n exportFormFields(data, formFieldDataFormat) {\n return this.ej2Instances.exportFormFields(data, formFieldDataFormat);\n },\n exportFormFieldsAsObject(formFieldDataFormat) {\n return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);\n },\n focusFormField(field) {\n return this.ej2Instances.focusFormField(field);\n },\n getPageNumberFromClientPoint(clientPoint) {\n return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);\n },\n importAnnotation(importData, annotationDataFormat) {\n return this.ej2Instances.importAnnotation(importData, annotationDataFormat);\n },\n importFormFields(data, formFieldDataFormat) {\n return this.ej2Instances.importFormFields(data, formFieldDataFormat);\n },\n load(document, password) {\n return this.ej2Instances.load(document, password);\n },\n redo() {\n return this.ej2Instances.redo();\n },\n requiredModules() {\n return this.ej2Instances.requiredModules();\n },\n resetFormFields() {\n return this.ej2Instances.resetFormFields();\n },\n retrieveFormFields() {\n return this.ej2Instances.retrieveFormFields();\n },\n saveAsBlob() {\n return this.ej2Instances.saveAsBlob();\n },\n setJsonData(jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n },\n showNotificationPopup(errorString) {\n return this.ej2Instances.showNotificationPopup(errorString);\n },\n undo() {\n return this.ej2Instances.undo();\n },\n unload() {\n return this.ej2Instances.unload();\n },\n updateFormFields(formFields) {\n return this.ej2Instances.updateFormFields(formFields);\n },\n updateFormFieldsValue(fieldValue) {\n return this.ej2Instances.updateFormFieldsValue(fieldValue);\n },\n updateViewerContainer() {\n return this.ej2Instances.updateViewerContainer();\n },\n zoomToRect(rectangle) {\n return this.ej2Instances.zoomToRect(rectangle);\n },\n }\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,mBAAmB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,aAAa,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,cAAc,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,cAAc,EAAE,kBAAkB,EAAE,eAAe,EAAE,yB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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,28 +1,8 @@
1
1
  import { PdfViewer } from '@syncfusion/ej2-pdfviewer';
2
- import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
2
+ import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
3
3
  import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
4
4
 
5
- var __extends = (undefined && undefined.__extends) || (function () {
6
- var extendStatics = function (d, b) {
7
- extendStatics = Object.setPrototypeOf ||
8
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
10
- return extendStatics(d, b);
11
- };
12
- return function (d, b) {
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
19
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
21
- 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;
22
- return c > 3 && r && Object.defineProperty(target, key, r), r;
23
- };
24
- import { Options } from 'vue-class-component';
25
- 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'];
5
+ 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', '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'];
26
6
  var modelProps = [];
27
7
  var testProp = getProps({ props: properties });
28
8
  var props = testProp[0];
@@ -39,191 +19,185 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
39
19
  * <ejs-pdfviewer></ejs-pdfviewer>
40
20
  * ```
41
21
  */
42
- var PdfViewerComponent = /** @__PURE__ @class */ (function (_super) {
43
- __extends(PdfViewerComponent, _super);
44
- function PdfViewerComponent() {
45
- var _this = _super.call(this, arguments) || this;
46
- _this.propKeys = properties;
47
- _this.models = modelProps;
48
- _this.hasChildDirective = false;
49
- _this.hasInjectedModules = true;
50
- _this.tagMapper = {};
51
- _this.tagNameMapper = {};
52
- _this.isVue3 = !isExecute;
53
- _this.ej2Instances = new PdfViewer({});
54
- _this.bindProperties();
55
- _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
56
- _this.ej2Instances.setProperties = _this.setProperties;
57
- _this.ej2Instances.clearTemplate = _this.clearTemplate;
58
- _this.updated = _this.updated;
59
- return _this;
60
- }
61
- PdfViewerComponent.prototype.clearTemplate = function (templateNames) {
62
- if (!templateNames) {
63
- templateNames = Object.keys(this.templateCollection || {});
22
+ var PdfViewerComponent = vueDefineComponent({
23
+ name: 'PdfViewerComponent',
24
+ mixins: [ComponentBase],
25
+ props: props,
26
+ watch: watch,
27
+ emits: emitProbs,
28
+ provide: function () { return { custom: this.custom }; },
29
+ data: function () {
30
+ return {
31
+ ej2Instances: new PdfViewer({}),
32
+ propKeys: properties,
33
+ models: modelProps,
34
+ hasChildDirective: false,
35
+ hasInjectedModules: true,
36
+ tagMapper: {},
37
+ tagNameMapper: {},
38
+ isVue3: !isExecute,
39
+ templateCollection: {},
40
+ };
41
+ },
42
+ created: function () {
43
+ this.bindProperties();
44
+ this.ej2Instances._setProperties = this.ej2Instances.setProperties;
45
+ this.ej2Instances.setProperties = this.setProperties;
46
+ this.ej2Instances.clearTemplate = this.clearTemplate;
47
+ this.updated = this.updated;
48
+ },
49
+ render: function (createElement) {
50
+ var h = !isExecute ? gh : createElement;
51
+ var slots = null;
52
+ if (!isNullOrUndefined(this.$slots.default)) {
53
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
64
54
  }
65
- if (templateNames.length && this.templateCollection) {
66
- for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
67
- var tempName = templateNames_1[_i];
68
- var elementCollection = this.templateCollection[tempName];
69
- if (elementCollection && elementCollection.length) {
70
- for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
71
- var ele = elementCollection_1[_a];
72
- var destroy = getValue('__vue__.$destroy', ele);
73
- if (destroy) {
74
- ele.__vue__.$destroy();
75
- }
76
- if (ele.innerHTML) {
77
- ele.innerHTML = '';
55
+ return h('div', slots);
56
+ },
57
+ methods: {
58
+ clearTemplate: function (templateNames) {
59
+ if (!templateNames) {
60
+ templateNames = Object.keys(this.templateCollection || {});
61
+ }
62
+ if (templateNames.length && this.templateCollection) {
63
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
64
+ var tempName = templateNames_1[_i];
65
+ var elementCollection = this.templateCollection[tempName];
66
+ if (elementCollection && elementCollection.length) {
67
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
68
+ var ele = elementCollection_1[_a];
69
+ var destroy = getValue('__vue__.$destroy', ele);
70
+ if (destroy) {
71
+ ele.__vue__.$destroy();
72
+ }
73
+ if (ele.innerHTML) {
74
+ ele.innerHTML = '';
75
+ }
78
76
  }
77
+ delete this.templateCollection[tempName];
79
78
  }
80
- delete this.templateCollection[tempName];
81
79
  }
82
80
  }
83
- }
84
- };
85
- PdfViewerComponent.prototype.setProperties = function (prop, muteOnChange) {
86
- var _this = this;
87
- if (this.isVue3) {
88
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
89
- }
90
- if (this.ej2Instances && this.ej2Instances._setProperties) {
91
- this.ej2Instances._setProperties(prop, muteOnChange);
92
- }
93
- if (prop && this.models && this.models.length) {
94
- Object.keys(prop).map(function (key) {
95
- _this.models.map(function (model) {
96
- if ((key === model) && !(/datasource/i.test(key))) {
97
- if (_this.isVue3) {
98
- _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
99
- }
100
- else {
101
- _this.$emit('update:' + key, prop[key]);
102
- _this.$emit('modelchanged', prop[key]);
81
+ },
82
+ setProperties: function (prop, muteOnChange) {
83
+ var _this = this;
84
+ if (this.isVue3) {
85
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
86
+ }
87
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
88
+ this.ej2Instances._setProperties(prop, muteOnChange);
89
+ }
90
+ if (prop && this.models && this.models.length) {
91
+ Object.keys(prop).map(function (key) {
92
+ _this.models.map(function (model) {
93
+ if ((key === model) && !(/datasource/i.test(key))) {
94
+ if (_this.isVue3) {
95
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
96
+ }
97
+ else {
98
+ _this.$emit('update:' + key, prop[key]);
99
+ _this.$emit('modelchanged', prop[key]);
100
+ }
103
101
  }
104
- }
102
+ });
105
103
  });
106
- });
107
- }
108
- };
109
- PdfViewerComponent.prototype.render = function (createElement) {
110
- var h = !isExecute ? gh : createElement;
111
- var slots = null;
112
- if (!isNullOrUndefined(this.$slots.default)) {
113
- slots = !isExecute ? this.$slots.default() : this.$slots.default;
114
- }
115
- return h('div', slots);
116
- };
117
- PdfViewerComponent.prototype.custom = function () {
118
- this.updated();
119
- };
120
- PdfViewerComponent.prototype.addAnnotation = function (annotation) {
121
- return this.ej2Instances.addAnnotation(annotation);
122
- };
123
- PdfViewerComponent.prototype.clearFormFields = function (formField) {
124
- return this.ej2Instances.clearFormFields(formField);
125
- };
126
- PdfViewerComponent.prototype.convertClientPointToPagePoint = function (clientPoint, pageNumber) {
127
- return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);
128
- };
129
- PdfViewerComponent.prototype.convertPagePointToClientPoint = function (pagePoint, pageNumber) {
130
- return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);
131
- };
132
- PdfViewerComponent.prototype.convertPagePointToScrollingPoint = function (pagePoint, pageNumber) {
133
- return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);
134
- };
135
- PdfViewerComponent.prototype.deleteAnnotations = function () {
136
- return this.ej2Instances.deleteAnnotations();
137
- };
138
- PdfViewerComponent.prototype.download = function () {
139
- return this.ej2Instances.download();
140
- };
141
- PdfViewerComponent.prototype.exportAnnotation = function (annotationDataFormat) {
142
- return this.ej2Instances.exportAnnotation(annotationDataFormat);
143
- };
144
- PdfViewerComponent.prototype.exportAnnotationsAsBase64String = function (annotationDataFormat) {
145
- return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);
146
- };
147
- PdfViewerComponent.prototype.exportAnnotationsAsObject = function () {
148
- return this.ej2Instances.exportAnnotationsAsObject();
149
- };
150
- PdfViewerComponent.prototype.exportFormFields = function (data, formFieldDataFormat) {
151
- return this.ej2Instances.exportFormFields(data, formFieldDataFormat);
152
- };
153
- PdfViewerComponent.prototype.exportFormFieldsAsObject = function (formFieldDataFormat) {
154
- return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);
155
- };
156
- PdfViewerComponent.prototype.focusFormField = function (field) {
157
- return this.ej2Instances.focusFormField(field);
158
- };
159
- PdfViewerComponent.prototype.getPageNumberFromClientPoint = function (clientPoint) {
160
- return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);
161
- };
162
- PdfViewerComponent.prototype.importAnnotation = function (importData, annotationDataFormat) {
163
- return this.ej2Instances.importAnnotation(importData, annotationDataFormat);
164
- };
165
- PdfViewerComponent.prototype.importFormFields = function (data, formFieldDataFormat) {
166
- return this.ej2Instances.importFormFields(data, formFieldDataFormat);
167
- };
168
- PdfViewerComponent.prototype.load = function (document, password) {
169
- return this.ej2Instances.load(document, password);
170
- };
171
- PdfViewerComponent.prototype.redo = function () {
172
- return this.ej2Instances.redo();
173
- };
174
- PdfViewerComponent.prototype.requiredModules = function () {
175
- return this.ej2Instances.requiredModules();
176
- };
177
- PdfViewerComponent.prototype.resetFormFields = function () {
178
- return this.ej2Instances.resetFormFields();
179
- };
180
- PdfViewerComponent.prototype.retrieveFormFields = function () {
181
- return this.ej2Instances.retrieveFormFields();
182
- };
183
- PdfViewerComponent.prototype.saveAsBlob = function () {
184
- return this.ej2Instances.saveAsBlob();
185
- };
186
- PdfViewerComponent.prototype.setJsonData = function (jsonData) {
187
- return this.ej2Instances.setJsonData(jsonData);
188
- };
189
- PdfViewerComponent.prototype.showNotificationPopup = function (errorString) {
190
- return this.ej2Instances.showNotificationPopup(errorString);
191
- };
192
- PdfViewerComponent.prototype.undo = function () {
193
- return this.ej2Instances.undo();
194
- };
195
- PdfViewerComponent.prototype.unload = function () {
196
- return this.ej2Instances.unload();
197
- };
198
- PdfViewerComponent.prototype.updateFormFields = function (formFields) {
199
- return this.ej2Instances.updateFormFields(formFields);
200
- };
201
- PdfViewerComponent.prototype.updateFormFieldsValue = function (fieldValue) {
202
- return this.ej2Instances.updateFormFieldsValue(fieldValue);
203
- };
204
- PdfViewerComponent.prototype.updateViewerContainer = function () {
205
- return this.ej2Instances.updateViewerContainer();
206
- };
207
- PdfViewerComponent.prototype.zoomToRect = function (rectangle) {
208
- return this.ej2Instances.zoomToRect(rectangle);
209
- };
210
- PdfViewerComponent = __decorate([
211
- EJComponentDecorator({
212
- props: properties
213
- }, isExecute)
214
- ,Options({
215
- props: props,
216
- watch: watch,
217
- emits: emitProbs,
218
- provide: function provide() {
219
- return {
220
- custom: this.custom
221
- };
222
104
  }
223
- })
224
- ], PdfViewerComponent);
225
- return PdfViewerComponent;
226
- }(ComponentBase));
105
+ },
106
+ custom: function () {
107
+ this.updated();
108
+ },
109
+ addAnnotation: function (annotation) {
110
+ return this.ej2Instances.addAnnotation(annotation);
111
+ },
112
+ clearFormFields: function (formField) {
113
+ return this.ej2Instances.clearFormFields(formField);
114
+ },
115
+ convertClientPointToPagePoint: function (clientPoint, pageNumber) {
116
+ return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);
117
+ },
118
+ convertPagePointToClientPoint: function (pagePoint, pageNumber) {
119
+ return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);
120
+ },
121
+ convertPagePointToScrollingPoint: function (pagePoint, pageNumber) {
122
+ return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);
123
+ },
124
+ deleteAnnotations: function () {
125
+ return this.ej2Instances.deleteAnnotations();
126
+ },
127
+ download: function () {
128
+ return this.ej2Instances.download();
129
+ },
130
+ exportAnnotation: function (annotationDataFormat) {
131
+ return this.ej2Instances.exportAnnotation(annotationDataFormat);
132
+ },
133
+ exportAnnotationsAsBase64String: function (annotationDataFormat) {
134
+ return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);
135
+ },
136
+ exportAnnotationsAsObject: function () {
137
+ return this.ej2Instances.exportAnnotationsAsObject();
138
+ },
139
+ exportFormFields: function (data, formFieldDataFormat) {
140
+ return this.ej2Instances.exportFormFields(data, formFieldDataFormat);
141
+ },
142
+ exportFormFieldsAsObject: function (formFieldDataFormat) {
143
+ return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);
144
+ },
145
+ focusFormField: function (field) {
146
+ return this.ej2Instances.focusFormField(field);
147
+ },
148
+ getPageNumberFromClientPoint: function (clientPoint) {
149
+ return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);
150
+ },
151
+ importAnnotation: function (importData, annotationDataFormat) {
152
+ return this.ej2Instances.importAnnotation(importData, annotationDataFormat);
153
+ },
154
+ importFormFields: function (data, formFieldDataFormat) {
155
+ return this.ej2Instances.importFormFields(data, formFieldDataFormat);
156
+ },
157
+ load: function (document, password) {
158
+ return this.ej2Instances.load(document, password);
159
+ },
160
+ redo: function () {
161
+ return this.ej2Instances.redo();
162
+ },
163
+ requiredModules: function () {
164
+ return this.ej2Instances.requiredModules();
165
+ },
166
+ resetFormFields: function () {
167
+ return this.ej2Instances.resetFormFields();
168
+ },
169
+ retrieveFormFields: function () {
170
+ return this.ej2Instances.retrieveFormFields();
171
+ },
172
+ saveAsBlob: function () {
173
+ return this.ej2Instances.saveAsBlob();
174
+ },
175
+ setJsonData: function (jsonData) {
176
+ return this.ej2Instances.setJsonData(jsonData);
177
+ },
178
+ showNotificationPopup: function (errorString) {
179
+ return this.ej2Instances.showNotificationPopup(errorString);
180
+ },
181
+ undo: function () {
182
+ return this.ej2Instances.undo();
183
+ },
184
+ unload: function () {
185
+ return this.ej2Instances.unload();
186
+ },
187
+ updateFormFields: function (formFields) {
188
+ return this.ej2Instances.updateFormFields(formFields);
189
+ },
190
+ updateFormFieldsValue: function (fieldValue) {
191
+ return this.ej2Instances.updateFormFieldsValue(fieldValue);
192
+ },
193
+ updateViewerContainer: function () {
194
+ return this.ej2Instances.updateViewerContainer();
195
+ },
196
+ zoomToRect: function (rectangle) {
197
+ return this.ej2Instances.zoomToRect(rectangle);
198
+ },
199
+ }
200
+ });
227
201
  var PdfViewerPlugin = {
228
202
  name: 'ejs-pdfviewer',
229
203
  install: function (Vue) {