@syncfusion/ej2-vue-pdfviewer 24.2.8 → 25.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.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-pdfviewer@*",
3
- "_id": "@syncfusion/ej2-vue-pdfviewer@24.2.7",
3
+ "_id": "@syncfusion/ej2-vue-pdfviewer@22.16.57",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ea/hjLmmldeJ+7Ykc1KyRQ7/oVvs8I2QVnjDsjTdS0yq7rG+n7wWeSjnhzoqe5trdTW2VrABctCWb22WucCt3A==",
5
+ "_integrity": "sha512-Mg+OYJxFbvh6WSAcv8LBulo6UF+9vdnKavyc98fQrJgMGq/mp6sVeNWAfWRFoQtu1LOgwhCMLSdcnKAcAVoEOQ==",
6
6
  "_location": "/@syncfusion/ej2-vue-pdfviewer",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-pdfviewer/-/ej2-vue-pdfviewer-24.2.7.tgz",
23
- "_shasum": "f5a3633d1e54fecad47ff7ff2c6b16ca01fbbf02",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-vue-pdfviewer/-/ej2-vue-pdfviewer-22.16.57.tgz",
23
+ "_shasum": "fd0e93001358e26926336581d7c16262a4933f0e",
24
24
  "_spec": "@syncfusion/ej2-vue-pdfviewer@*",
25
- "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~24.2.7",
35
- "@syncfusion/ej2-pdfviewer": "24.2.8",
36
- "@syncfusion/ej2-vue-base": "~24.2.3"
34
+ "@syncfusion/ej2-base": "~25.1.35",
35
+ "@syncfusion/ej2-pdfviewer": "25.1.35",
36
+ "@syncfusion/ej2-vue-base": "~25.1.35"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Essential JS 2 PDF viewer Component for Vue",
@@ -57,6 +57,6 @@
57
57
  "ci-publish": "gulp ci-publish",
58
58
  "compile": "gulp ci-compile && gulp vue-global-script"
59
59
  },
60
- "version": "24.2.8",
60
+ "version": "25.1.35",
61
61
  "sideEffects": false
62
62
  }
@@ -1,5 +1,5 @@
1
- import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
- import { PdfViewerModel } from '@syncfusion/ej2-pdfviewer';
1
+ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
+ import { PdfViewer, PdfViewerModel } from '@syncfusion/ej2-pdfviewer';
3
3
  export declare const properties: string[];
4
4
  export declare const modelProps: string[];
5
5
  export declare const testProp: any;
@@ -11,7 +11,54 @@ export declare const props: any, watch: any, emitProbs: any;
11
11
  * ```
12
12
  */
13
13
  export declare let PdfViewerComponent: DefineVueComponent<PdfViewerModel>;
14
- export declare type PdfViewerComponent = InstanceType<typeof PdfViewerComponent>;
14
+ export declare type PdfViewerComponent = typeof ComponentBase & {
15
+ ej2Instances: PdfViewer;
16
+ isVue3: boolean;
17
+ isLazyUpdate: Boolean;
18
+ plugins: any[];
19
+ propKeys: string[];
20
+ models: string[];
21
+ hasChildDirective: boolean;
22
+ tagMapper: {
23
+ [key: string]: Object;
24
+ };
25
+ tagNameMapper: Object;
26
+ setProperties(prop: any, muteOnChange: boolean): void;
27
+ trigger(eventName: string, eventProp: {
28
+ [key: string]: Object;
29
+ }, successHandler?: Function): void;
30
+ addAnnotation(annotation: any): void;
31
+ addCustomMenu(menuItems: Object[], disableDefaultItems?: boolean, appendToEnd?: boolean): void;
32
+ clearFormFields(formField?: any): void;
33
+ convertClientPointToPagePoint(clientPoint: Object, pageNumber: number): Object;
34
+ convertPagePointToClientPoint(pagePoint: Object, pageNumber: number): Object;
35
+ convertPagePointToScrollingPoint(pagePoint: Object, pageNumber: number): Object;
36
+ deleteAnnotations(): void;
37
+ download(): void;
38
+ exportAnnotation(annotationDataFormat?: Object): void;
39
+ exportAnnotationsAsBase64String(annotationDataFormat: Object): Object;
40
+ exportAnnotationsAsObject(annotationDataFormat: Object): Object;
41
+ exportFormFields(data?: string, formFieldDataFormat?: Object): void;
42
+ exportFormFieldsAsObject(formFieldDataFormat: Object): Object;
43
+ focusFormField(field: any): void;
44
+ getPageNumberFromClientPoint(clientPoint: Object): number;
45
+ importAnnotation(importData: any, annotationDataFormat?: Object): void;
46
+ importFormFields(data?: string, formFieldDataFormat?: Object): void;
47
+ load(document: string, password: string): void;
48
+ redo(): void;
49
+ requiredModules(): Object[];
50
+ resetFormFields(): void;
51
+ retrieveFormFields(): Object[];
52
+ saveAsBlob(): Object;
53
+ setJsonData(jsonData: any): void;
54
+ showNotificationPopup(errorString: string): void;
55
+ undo(): void;
56
+ unload(): void;
57
+ updateFormFields(formFields: any): void;
58
+ updateFormFieldsValue(fieldValue: any): void;
59
+ updateViewerContainer(): void;
60
+ zoomToRect(rectangle: Object): void;
61
+ };
15
62
  export declare const PdfViewerPlugin: {
16
63
  name: string;
17
64
  install(Vue: any): void;
@@ -1,7 +1,7 @@
1
1
  import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
2
2
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
3
3
  import { PdfViewer } from '@syncfusion/ej2-pdfviewer';
4
- export var properties = ['isLazyUpdate', 'plugins', 'DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAccessibilityTags', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enablePrintRotation', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'formFieldCollections', 'formFields', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideEmptyDigitalSignatureFields', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'initialDialogSettings', 'initialFieldSettings', 'initialRenderPages', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'printScaleRatio', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'resourceUrl', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'retryTimeout', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showDigitalSignatureAppearance', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'toolbarClick', 'validateFormFields', 'zoomChange'];
4
+ export var properties = ['isLazyUpdate', 'plugins', 'DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'commandManager', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customContextMenuItems', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'disableDefaultContextMenu', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAccessibilityTags', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHtmlSanitizer', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePageOrganizer', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enablePrintRotation', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'formFieldCollections', 'formFields', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideEmptyDigitalSignatureFields', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'initialDialogSettings', 'initialFieldSettings', 'initialRenderPages', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isPageOrganizerOpen', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'pageOrganizerSettings', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'printScaleRatio', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'resourceUrl', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'retryTimeout', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showCustomContextMenuBottom', 'showDigitalSignatureAppearance', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'keyboardCustomCommands', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'pageOrganizerSaveAs', 'pageRenderComplete', 'pageRenderInitiate', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'toolbarClick', 'validateFormFields', 'zoomChange'];
5
5
  export var modelProps = [];
6
6
  export var testProp = getProps({ props: properties });
7
7
  export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
@@ -106,6 +106,9 @@ export var PdfViewerComponent = vueDefineComponent({
106
106
  addAnnotation: function (annotation) {
107
107
  return this.ej2Instances.addAnnotation(annotation);
108
108
  },
109
+ addCustomMenu: function (menuItems, disableDefaultItems, appendToEnd) {
110
+ return this.ej2Instances.addCustomMenu(menuItems, disableDefaultItems, appendToEnd);
111
+ },
109
112
  clearFormFields: function (formField) {
110
113
  return this.ej2Instances.clearFormFields(formField);
111
114
  },