@syncfusion/ej2-vue-pdfviewer 20.3.58 → 20.3.59

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@20.3.57",
3
+ "_id": "@syncfusion/ej2-vue-pdfviewer@20.3.58",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-3r/4pJ3OXhLf/bsvTOhax9YO5gnPirHXCeBzVsYfFhlboXMu1Q7mogN5vJX3bi4GipHlBmVArHpkMNKBRq1gIA==",
5
+ "_integrity": "sha512-whqoKKR8CJoW02AglBSqSou9+8oRCvQLDd1KbmDeiHjinho74udtYu6ab7+yb0GAtQrNmmqA4urHMydT7LaAmw==",
6
6
  "_location": "/@syncfusion/ej2-vue-pdfviewer",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-pdfviewer/-/ej2-vue-pdfviewer-20.3.57.tgz",
23
- "_shasum": "cc422816b05bbd28b35666333919a2b0bb8d6658",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-pdfviewer/-/ej2-vue-pdfviewer-20.3.58.tgz",
23
+ "_shasum": "a1100f4dddc31cfad9d495ce644fd8d3606fa554",
24
24
  "_spec": "@syncfusion/ej2-vue-pdfviewer@*",
25
25
  "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
26
26
  "author": {
@@ -32,11 +32,11 @@
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
34
  "@syncfusion/ej2-base": "~20.3.56",
35
- "@syncfusion/ej2-pdfviewer": "20.3.58",
36
- "@syncfusion/ej2-vue-base": "~20.3.56"
35
+ "@syncfusion/ej2-pdfviewer": "20.3.59",
36
+ "@syncfusion/ej2-vue-base": "~20.3.59"
37
37
  },
38
38
  "deprecated": false,
39
- "description": "Essential JS 2 PDF viewer Component for Vue",
39
+ "description": "Essential JS 2 PDF viewer Component for undefined",
40
40
  "devDependencies": {},
41
41
  "es2015": "dist/es6/ej2-vue-pdfviewer.es2015.js",
42
42
  "homepage": "https://github.com/syncfusion/ej2-vue-ui-components#readme",
@@ -47,11 +47,7 @@
47
47
  "web-components",
48
48
  "viewer",
49
49
  "pdf",
50
- "typescript",
51
- "vue",
52
- "vuejs",
53
- "vue-grids",
54
- "ej2-vue-grids"
50
+ "typescript"
55
51
  ],
56
52
  "license": "SEE LICENSE IN license",
57
53
  "main": "./dist/ej2-vue-pdfviewer.umd.min.js",
@@ -64,6 +60,6 @@
64
60
  "scripts": {
65
61
  "postinstall": "node ../ej2-vue-base/postinstall.js"
66
62
  },
67
- "version": "20.3.58",
63
+ "version": "20.3.59",
68
64
  "sideEffects": false
69
65
  }
@@ -1,10 +1,6 @@
1
1
  import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
2
  export declare const properties: string[];
3
3
  export declare const modelProps: string[];
4
- export declare const testProp: any;
5
- export declare const props: any;
6
- export declare const watch: any;
7
- export declare const emitProbs: any;
8
4
  /**
9
5
  * `ejs-pdfviewer` represents the VueJS PdfViewer Component.
10
6
  * ```vue
@@ -21,7 +17,6 @@ export declare class PdfViewerComponent extends ComponentBase {
21
17
  [key: string]: Object;
22
18
  };
23
19
  tagNameMapper: Object;
24
- isVue3: boolean;
25
20
  templateCollection: any;
26
21
  constructor();
27
22
  clearTemplate(templateNames?: string[]): any;
@@ -17,21 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
17
  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;
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
- import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
20
+ import { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';
21
+ import { getValue } from '@syncfusion/ej2-base';
22
22
  import { PdfViewer } from '@syncfusion/ej2-pdfviewer';
23
- import { Options } from 'vue-class-component';
24
23
  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', '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'];
25
24
  export var modelProps = [];
26
- export var testProp = getProps({ props: properties });
27
- export var props = testProp[0];
28
- export var watch = testProp[1];
29
- export var emitProbs = Object.keys(watch);
30
- emitProbs.push('modelchanged', 'update:modelValue');
31
- for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
32
- var props_1 = modelProps_1[_i];
33
- emitProbs.push('update:' + props_1);
34
- }
35
25
  /**
36
26
  * `ejs-pdfviewer` represents the VueJS PdfViewer Component.
37
27
  * ```vue
@@ -48,7 +38,6 @@ var PdfViewerComponent = /** @class */ (function (_super) {
48
38
  _this.hasInjectedModules = true;
49
39
  _this.tagMapper = {};
50
40
  _this.tagNameMapper = {};
51
- _this.isVue3 = !isExecute;
52
41
  _this.ej2Instances = new PdfViewer({});
53
42
  _this.bindProperties();
54
43
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
@@ -83,9 +72,6 @@ var PdfViewerComponent = /** @class */ (function (_super) {
83
72
  };
84
73
  PdfViewerComponent.prototype.setProperties = function (prop, muteOnChange) {
85
74
  var _this = this;
86
- if (this.isVue3) {
87
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
88
- }
89
75
  if (this.ej2Instances && this.ej2Instances._setProperties) {
90
76
  this.ej2Instances._setProperties(prop, muteOnChange);
91
77
  }
@@ -93,25 +79,14 @@ var PdfViewerComponent = /** @class */ (function (_super) {
93
79
  Object.keys(prop).map(function (key) {
94
80
  _this.models.map(function (model) {
95
81
  if ((key === model) && !(/datasource/i.test(key))) {
96
- if (_this.isVue3) {
97
- _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
98
- }
99
- else {
100
- _this.$emit('update:' + key, prop[key]);
101
- _this.$emit('modelchanged', prop[key]);
102
- }
82
+ _this.$emit('update:' + key, prop[key]);
103
83
  }
104
84
  });
105
85
  });
106
86
  }
107
87
  };
108
88
  PdfViewerComponent.prototype.render = function (createElement) {
109
- var h = !isExecute ? gh : createElement;
110
- var slots = null;
111
- if (!isNullOrUndefined(this.$slots.default)) {
112
- slots = !isExecute ? this.$slots.default() : this.$slots.default;
113
- }
114
- return h('div', slots);
89
+ return createElement('div', this.$slots.default);
115
90
  };
116
91
  PdfViewerComponent.prototype.custom = function () {
117
92
  this.updated();
@@ -209,16 +184,6 @@ var PdfViewerComponent = /** @class */ (function (_super) {
209
184
  PdfViewerComponent = __decorate([
210
185
  EJComponentDecorator({
211
186
  props: properties
212
- }, isExecute)
213
- ,Options({
214
- props: props,
215
- watch: watch,
216
- emits: emitProbs,
217
- provide: function provide() {
218
- return {
219
- custom: this.custom
220
- };
221
- }
222
187
  })
223
188
  ], PdfViewerComponent);
224
189
  return PdfViewerComponent;