@syncfusion/ej2-vue-pdfviewer 20.4.54 → 21.1.37

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,15 +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 __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
6
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8
- 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;
9
- return c > 3 && r && Object.defineProperty(target, key, r), r;
10
- };
11
- // {{VueImport}}
12
- 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'];
5
+ 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'];
13
6
  const modelProps = [];
14
7
  const testProp = getProps({ props: properties });
15
8
  const props = testProp[0];
@@ -25,79 +18,33 @@ for (let props of modelProps) {
25
18
  * <ejs-pdfviewer></ejs-pdfviewer>
26
19
  * ```
27
20
  */
28
- let PdfViewerComponent =
29
- /* Start Options({
21
+ let PdfViewerComponent = vueDefineComponent({
22
+ name: 'PdfViewerComponent',
23
+ mixins: [ComponentBase],
30
24
  props: props,
31
25
  watch: watch,
32
26
  emits: emitProbs,
33
- provide: function provide() {
27
+ provide() { return { custom: this.custom }; },
28
+ data() {
34
29
  return {
35
- custom: this.custom
30
+ ej2Instances: new PdfViewer({}),
31
+ propKeys: properties,
32
+ models: modelProps,
33
+ hasChildDirective: false,
34
+ hasInjectedModules: true,
35
+ tagMapper: {},
36
+ tagNameMapper: {},
37
+ isVue3: !isExecute,
38
+ templateCollection: {},
36
39
  };
37
- }
38
- }) End */
39
- class PdfViewerComponent extends ComponentBase {
40
- constructor() {
41
- super(arguments);
42
- this.propKeys = properties;
43
- this.models = modelProps;
44
- this.hasChildDirective = false;
45
- this.hasInjectedModules = true;
46
- this.tagMapper = {};
47
- this.tagNameMapper = {};
48
- this.isVue3 = !isExecute;
49
- this.ej2Instances = new PdfViewer({});
40
+ },
41
+ created() {
50
42
  this.bindProperties();
51
43
  this.ej2Instances._setProperties = this.ej2Instances.setProperties;
52
44
  this.ej2Instances.setProperties = this.setProperties;
53
45
  this.ej2Instances.clearTemplate = this.clearTemplate;
54
46
  this.updated = this.updated;
55
- }
56
- clearTemplate(templateNames) {
57
- if (!templateNames) {
58
- templateNames = Object.keys(this.templateCollection || {});
59
- }
60
- if (templateNames.length && this.templateCollection) {
61
- for (let tempName of templateNames) {
62
- let elementCollection = this.templateCollection[tempName];
63
- if (elementCollection && elementCollection.length) {
64
- for (let ele of elementCollection) {
65
- let destroy = getValue('__vue__.$destroy', ele);
66
- if (destroy) {
67
- ele.__vue__.$destroy();
68
- }
69
- if (ele.innerHTML) {
70
- ele.innerHTML = '';
71
- }
72
- }
73
- delete this.templateCollection[tempName];
74
- }
75
- }
76
- }
77
- }
78
- setProperties(prop, muteOnChange) {
79
- if (this.isVue3) {
80
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
81
- }
82
- if (this.ej2Instances && this.ej2Instances._setProperties) {
83
- this.ej2Instances._setProperties(prop, muteOnChange);
84
- }
85
- if (prop && this.models && this.models.length) {
86
- Object.keys(prop).map((key) => {
87
- this.models.map((model) => {
88
- if ((key === model) && !(/datasource/i.test(key))) {
89
- if (this.isVue3) {
90
- this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
91
- }
92
- else {
93
- this.$emit('update:' + key, prop[key]);
94
- this.$emit('modelchanged', prop[key]);
95
- }
96
- }
97
- });
98
- });
99
- }
100
- }
47
+ },
101
48
  render(createElement) {
102
49
  let h = !isExecute ? gh : createElement;
103
50
  let slots = null;
@@ -105,116 +52,148 @@ class PdfViewerComponent extends ComponentBase {
105
52
  slots = !isExecute ? this.$slots.default() : this.$slots.default;
106
53
  }
107
54
  return h('div', slots);
108
- }
109
- custom() {
110
- this.updated();
111
- }
112
- addAnnotation(annotation) {
113
- return this.ej2Instances.addAnnotation(annotation);
114
- }
115
- clearFormFields(formField) {
116
- return this.ej2Instances.clearFormFields(formField);
117
- }
118
- convertClientPointToPagePoint(clientPoint, pageNumber) {
119
- return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);
120
- }
121
- convertPagePointToClientPoint(pagePoint, pageNumber) {
122
- return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);
123
- }
124
- convertPagePointToScrollingPoint(pagePoint, pageNumber) {
125
- return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);
126
- }
127
- deleteAnnotations() {
128
- return this.ej2Instances.deleteAnnotations();
129
- }
130
- download() {
131
- return this.ej2Instances.download();
132
- }
133
- exportAnnotation(annotationDataFormat) {
134
- return this.ej2Instances.exportAnnotation(annotationDataFormat);
135
- }
136
- exportAnnotationsAsBase64String(annotationDataFormat) {
137
- return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);
138
- }
139
- exportAnnotationsAsObject() {
140
- return this.ej2Instances.exportAnnotationsAsObject();
141
- }
142
- exportFormFields(data, formFieldDataFormat) {
143
- return this.ej2Instances.exportFormFields(data, formFieldDataFormat);
144
- }
145
- exportFormFieldsAsObject(formFieldDataFormat) {
146
- return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);
147
- }
148
- focusFormField(field) {
149
- return this.ej2Instances.focusFormField(field);
150
- }
151
- getPageNumberFromClientPoint(clientPoint) {
152
- return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);
153
- }
154
- importAnnotation(importData, annotationDataFormat) {
155
- return this.ej2Instances.importAnnotation(importData, annotationDataFormat);
156
- }
157
- importFormFields(data, formFieldDataFormat) {
158
- return this.ej2Instances.importFormFields(data, formFieldDataFormat);
159
- }
160
- load(document, password) {
161
- return this.ej2Instances.load(document, password);
162
- }
163
- redo() {
164
- return this.ej2Instances.redo();
165
- }
166
- requiredModules() {
167
- return this.ej2Instances.requiredModules();
168
- }
169
- resetFormFields() {
170
- return this.ej2Instances.resetFormFields();
171
- }
172
- retrieveFormFields() {
173
- return this.ej2Instances.retrieveFormFields();
174
- }
175
- saveAsBlob() {
176
- return this.ej2Instances.saveAsBlob();
177
- }
178
- setJsonData(jsonData) {
179
- return this.ej2Instances.setJsonData(jsonData);
180
- }
181
- showNotificationPopup(errorString) {
182
- return this.ej2Instances.showNotificationPopup(errorString);
183
- }
184
- undo() {
185
- return this.ej2Instances.undo();
186
- }
187
- unload() {
188
- return this.ej2Instances.unload();
189
- }
190
- updateFormFields(formFields) {
191
- return this.ej2Instances.updateFormFields(formFields);
192
- }
193
- updateFormFieldsValue(fieldValue) {
194
- return this.ej2Instances.updateFormFieldsValue(fieldValue);
195
- }
196
- updateViewerContainer() {
197
- return this.ej2Instances.updateViewerContainer();
198
- }
199
- zoomToRect(rectangle) {
200
- return this.ej2Instances.zoomToRect(rectangle);
201
- }
202
- };
203
- PdfViewerComponent = __decorate([
204
- EJComponentDecorator({
205
- props: properties
206
- }, isExecute)
207
- /* Start Options({
208
- props: props,
209
- watch: watch,
210
- emits: emitProbs,
211
- provide: function provide() {
212
- return {
213
- custom: this.custom
214
- };
215
- }
216
- }) End */
217
- ], PdfViewerComponent);
55
+ },
56
+ methods: {
57
+ clearTemplate(templateNames) {
58
+ if (!templateNames) {
59
+ templateNames = Object.keys(this.templateCollection || {});
60
+ }
61
+ if (templateNames.length && this.templateCollection) {
62
+ for (let tempName of templateNames) {
63
+ let elementCollection = this.templateCollection[tempName];
64
+ if (elementCollection && elementCollection.length) {
65
+ for (let ele of elementCollection) {
66
+ let destroy = getValue('__vue__.$destroy', ele);
67
+ if (destroy) {
68
+ ele.__vue__.$destroy();
69
+ }
70
+ if (ele.innerHTML) {
71
+ ele.innerHTML = '';
72
+ }
73
+ }
74
+ delete this.templateCollection[tempName];
75
+ }
76
+ }
77
+ }
78
+ },
79
+ setProperties(prop, muteOnChange) {
80
+ if (this.isVue3) {
81
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
82
+ }
83
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
84
+ this.ej2Instances._setProperties(prop, muteOnChange);
85
+ }
86
+ if (prop && this.models && this.models.length) {
87
+ Object.keys(prop).map((key) => {
88
+ this.models.map((model) => {
89
+ if ((key === model) && !(/datasource/i.test(key))) {
90
+ if (this.isVue3) {
91
+ this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
92
+ }
93
+ else {
94
+ this.$emit('update:' + key, prop[key]);
95
+ this.$emit('modelchanged', prop[key]);
96
+ }
97
+ }
98
+ });
99
+ });
100
+ }
101
+ },
102
+ custom() {
103
+ this.updated();
104
+ },
105
+ addAnnotation(annotation) {
106
+ return this.ej2Instances.addAnnotation(annotation);
107
+ },
108
+ clearFormFields(formField) {
109
+ return this.ej2Instances.clearFormFields(formField);
110
+ },
111
+ convertClientPointToPagePoint(clientPoint, pageNumber) {
112
+ return this.ej2Instances.convertClientPointToPagePoint(clientPoint, pageNumber);
113
+ },
114
+ convertPagePointToClientPoint(pagePoint, pageNumber) {
115
+ return this.ej2Instances.convertPagePointToClientPoint(pagePoint, pageNumber);
116
+ },
117
+ convertPagePointToScrollingPoint(pagePoint, pageNumber) {
118
+ return this.ej2Instances.convertPagePointToScrollingPoint(pagePoint, pageNumber);
119
+ },
120
+ deleteAnnotations() {
121
+ return this.ej2Instances.deleteAnnotations();
122
+ },
123
+ download() {
124
+ return this.ej2Instances.download();
125
+ },
126
+ exportAnnotation(annotationDataFormat) {
127
+ return this.ej2Instances.exportAnnotation(annotationDataFormat);
128
+ },
129
+ exportAnnotationsAsBase64String(annotationDataFormat) {
130
+ return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);
131
+ },
132
+ exportAnnotationsAsObject() {
133
+ return this.ej2Instances.exportAnnotationsAsObject();
134
+ },
135
+ exportFormFields(data, formFieldDataFormat) {
136
+ return this.ej2Instances.exportFormFields(data, formFieldDataFormat);
137
+ },
138
+ exportFormFieldsAsObject(formFieldDataFormat) {
139
+ return this.ej2Instances.exportFormFieldsAsObject(formFieldDataFormat);
140
+ },
141
+ focusFormField(field) {
142
+ return this.ej2Instances.focusFormField(field);
143
+ },
144
+ getPageNumberFromClientPoint(clientPoint) {
145
+ return this.ej2Instances.getPageNumberFromClientPoint(clientPoint);
146
+ },
147
+ importAnnotation(importData, annotationDataFormat) {
148
+ return this.ej2Instances.importAnnotation(importData, annotationDataFormat);
149
+ },
150
+ importFormFields(data, formFieldDataFormat) {
151
+ return this.ej2Instances.importFormFields(data, formFieldDataFormat);
152
+ },
153
+ load(document, password) {
154
+ return this.ej2Instances.load(document, password);
155
+ },
156
+ redo() {
157
+ return this.ej2Instances.redo();
158
+ },
159
+ requiredModules() {
160
+ return this.ej2Instances.requiredModules();
161
+ },
162
+ resetFormFields() {
163
+ return this.ej2Instances.resetFormFields();
164
+ },
165
+ retrieveFormFields() {
166
+ return this.ej2Instances.retrieveFormFields();
167
+ },
168
+ saveAsBlob() {
169
+ return this.ej2Instances.saveAsBlob();
170
+ },
171
+ setJsonData(jsonData) {
172
+ return this.ej2Instances.setJsonData(jsonData);
173
+ },
174
+ showNotificationPopup(errorString) {
175
+ return this.ej2Instances.showNotificationPopup(errorString);
176
+ },
177
+ undo() {
178
+ return this.ej2Instances.undo();
179
+ },
180
+ unload() {
181
+ return this.ej2Instances.unload();
182
+ },
183
+ updateFormFields(formFields) {
184
+ return this.ej2Instances.updateFormFields(formFields);
185
+ },
186
+ updateFormFieldsValue(fieldValue) {
187
+ return this.ej2Instances.updateFormFieldsValue(fieldValue);
188
+ },
189
+ updateViewerContainer() {
190
+ return this.ej2Instances.updateViewerContainer();
191
+ },
192
+ zoomToRect(rectangle) {
193
+ return this.ej2Instances.zoomToRect(rectangle);
194
+ },
195
+ }
196
+ });
218
197
  const PdfViewerPlugin = {
219
198
  name: 'ejs-pdfviewer',
220
199
  install(Vue) {
@@ -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,CAAC,IAAI,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CA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AC,UAAU,EAAE,CAAC;KACzC;IACD,WAAW,CAAC,QAAQ,EAAE;QAClB,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;KAClD;IACD,qBAAqB,CAAC,WAAW,EAAE;QAC/B,OAAO,IAAI,CAAC,YAAY,CAAC,qBAAqB,CAAC,WAAW,CAAC,CAAC;KAC/D;IACD,IAAI,GAAG;QACH,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KACnC;IACD,MAAM,GAAG;QACL,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC;KACrC;IACD,gBAAgB,CAAC,UAAU,EAAE;QACzB,OAAO,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;KACzD;IACD,qBAAqB,CAAC,UAAU,EAAE;QAC9B,OAAO,IAAI,CAAC,YAAY,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;KAC9D;IACD,qBAAqB,GAAG;QACpB,OAAO,IAAI,CAAC,YAAY,CAAC,qBAAqB,EAAE,CAAC;KACpD;IACD,UAAU,CAAC,SAAS,EAAE;QAClB,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;KAClD;CACJ,CAAC;AACF,kBAAkB,GAAG,UAAU,CAAC;IAC5B,oBAAoB,CAAC;QACjB,KAAK,EAAE,UAAU;KACpB,EAAE,SAAS,CAAC;;;;;;;;;;;CAWhB,EAAE,kBAAkB,CAAC,CAAC;AACvB,AACO,MAAM,eAAe,GAAG;IAC3B,IAAI,EAAE,eAAe;IACrB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;KAC3D;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-pdfviewer.es2015.js","sources":["../src/es6/pdfviewer/pdfviewer.component.js"],"sourcesContent":["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,yBAAyB,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,sBAAsB,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