Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-pdfviewer

Package Overview
Dependencies
Maintainers
3
Versions
298
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-pdfviewer - npm Package Compare versions

Comparing version 18.1.43 to 18.1.44

14

CHANGELOG.md

@@ -9,2 +9,16 @@ # Changelog

- `#263306` - Provided the support for Meter Calibration ratio in PDF Viewer.
- `#271053` - Provided the support to enable and disable the multiline annotations in overlapping collections.
#### Bug Fixes
- `#271180` - Free Text Annotation and annotation label text position updated properly in downloaded rotational documents.
- `#F153036` - Now, Annotation toolbar separator shown properly when hiding some annotation toolbar items.
## 18.1.43 (2020-04-07)
### PDF Viewer
#### New Features
- `#267524` - Provided the support for feet inch Calibration ratio in PDF Viewer.

@@ -11,0 +25,0 @@ - `#269003` - Exposed the non filled form fields value in the fireValidatedFailed event arguments.

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 18.1.43
* version : 18.1.44
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"_from": "@syncfusion/ej2-pdfviewer@*",
"_id": "@syncfusion/ej2-pdfviewer@18.1.36",
"_id": "@syncfusion/ej2-pdfviewer@18.1.43",
"_inBundle": false,
"_integrity": "sha512-hAAAB6mX9hnLA4UqBTpot42+PWDKOVj5Qmk1JGbjWGEZsMSm8WTp1vQtcktu8PomnB6EejWEiD2WFcIIzcMGyg==",
"_integrity": "sha512-dgHvtRkA65SSwztm817eBQ3fz9gbB288/fj3nfqfTIvFRS0FkJfUHn0ImPRwaudUC7UzsB2gsb+Co2Xb0uP4Pg==",
"_location": "/@syncfusion/ej2-pdfviewer",

@@ -26,4 +26,4 @@ "_phantomChildren": {},

],
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pdfviewer/-/ej2-pdfviewer-18.1.36.tgz",
"_shasum": "d495abc6e49ac6652b99df967c4a5bde9a79b0dd",
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pdfviewer/-/ej2-pdfviewer-18.1.43.tgz",
"_shasum": "788c6fef9063a29fd1d4e74d1345476f27a19abf",
"_spec": "@syncfusion/ej2-pdfviewer@*",

@@ -39,15 +39,15 @@ "_where": "/jenkins/workspace/automation_release_18.1.0.1-52JLNOGRCDHXRVQM3W564VPLFCPHWUYDYU3I3DVRABSR7F6AIFYQ/packages/included",

"dependencies": {
"@syncfusion/ej2-base": "~18.1.42",
"@syncfusion/ej2-base": "~18.1.44",
"@syncfusion/ej2-buttons": "~18.1.43",
"@syncfusion/ej2-calendars": "~18.1.43",
"@syncfusion/ej2-calendars": "~18.1.44",
"@syncfusion/ej2-data": "~18.1.43",
"@syncfusion/ej2-drawings": "~18.1.42",
"@syncfusion/ej2-dropdowns": "~18.1.43",
"@syncfusion/ej2-drawings": "~18.1.44",
"@syncfusion/ej2-dropdowns": "~18.1.44",
"@syncfusion/ej2-inplace-editor": "~18.1.42",
"@syncfusion/ej2-inputs": "~18.1.43",
"@syncfusion/ej2-lists": "~18.1.43",
"@syncfusion/ej2-inputs": "~18.1.44",
"@syncfusion/ej2-lists": "~18.1.44",
"@syncfusion/ej2-navigations": "~18.1.43",
"@syncfusion/ej2-notifications": "~18.1.42",
"@syncfusion/ej2-popups": "~18.1.43",
"@syncfusion/ej2-richtexteditor": "~18.1.43"
"@syncfusion/ej2-popups": "~18.1.44",
"@syncfusion/ej2-richtexteditor": "~18.1.44"
},

@@ -78,4 +78,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "18.1.43",
"version": "18.1.44",
"sideEffects": false
}

@@ -314,2 +314,3 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base';

if (annotationBase.id === pageAnnotations[i].id) {
var date = new Date();
if (property === 'bounds') {

@@ -350,3 +351,2 @@ if (pageAnnotations[i].shapeAnnotationType === 'Line') {

}
var date = new Date();
pageAnnotations[i].modifiedDate = date.toLocaleString();

@@ -356,3 +356,2 @@ }

pageAnnotations[i].fillColor = annotationBase.wrapper.children[0].style.fill;
var date = new Date();
pageAnnotations[i].modifiedDate = date.toLocaleString();

@@ -362,3 +361,2 @@ }

pageAnnotations[i].strokeColor = annotationBase.wrapper.children[0].style.strokeColor;
var date = new Date();
pageAnnotations[i].modifiedDate = date.toLocaleString();

@@ -368,3 +366,2 @@ }

pageAnnotations[i].opacity = annotationBase.wrapper.children[0].style.opacity;
var date = new Date();
pageAnnotations[i].modifiedDate = date.toLocaleString();

@@ -374,3 +371,2 @@ }

pageAnnotations[i].thickness = annotationBase.wrapper.children[0].style.strokeWidth;
var date = new Date();
pageAnnotations[i].modifiedDate = date.toLocaleString();

@@ -381,3 +377,2 @@ }

pageAnnotations[i].borderStyle = annotationBase.borderStyle;
var date = new Date();
pageAnnotations[i].modifiedDate = date.toLocaleString();

@@ -388,3 +383,2 @@ }

pageAnnotations[i].lineHeadStart = this.pdfViewer.annotation.getArrowTypeForCollection(annotationBase.sourceDecoraterShapes);
var date = new Date();
pageAnnotations[i].modifiedDate = date.toLocaleString();

@@ -395,3 +389,2 @@ }

pageAnnotations[i].lineHeadEnd = this.pdfViewer.annotation.getArrowTypeForCollection(annotationBase.taregetDecoraterShapes);
var date = new Date();
pageAnnotations[i].modifiedDate = date.toLocaleString();

@@ -401,3 +394,2 @@ }

pageAnnotations[i].note = annotationBase.notes;
var date = new Date();
pageAnnotations[i].modifiedDate = date.toLocaleString();

@@ -412,3 +404,2 @@ }

pageAnnotations[i].labelContent = annotationBase.labelContent;
var date = new Date();
pageAnnotations[i].modifiedDate = date.toLocaleString();

@@ -419,3 +410,8 @@ break;

pageAnnotations[i].fontColor = annotationBase.fontColor;
pageAnnotations[i].modifiedDate = date.toLocaleString();
}
else if (property === 'fontSize') {
pageAnnotations[i].fontSize = annotationBase.fontSize;
pageAnnotations[i].modifiedDate = date.toLocaleString();
}
}

@@ -422,0 +418,0 @@ }

@@ -125,2 +125,6 @@ import { PdfViewer, PdfViewerBase, IRectangle, ICommentsCollection, IReviewCollection } from '../index';

*/
annotationClickPosition: object;
/**
* @private
*/
constructor(pdfViewer: PdfViewer, viewerBase: PdfViewerBase);

@@ -127,0 +131,0 @@ /**

@@ -579,2 +579,10 @@ import { BaseEventArgs } from '@syncfusion/ej2-base';

pageY: number;
/**
* Defines the mouseover x position with respect to viewer container.
*/
X: number;
/**
* Defines the mouseover y position with respect to viewer container.
*/
Y: number;
}

@@ -581,0 +589,0 @@ /**

@@ -416,2 +416,6 @@ import { PdfViewer, TextLayer, ContextMenu, Signature } from '../index';

private mobileScrollContainerDown;
/**
* @private
*/
relativePosition(e: MouseEvent): PointModel;
private setMaximumHeight;

@@ -418,0 +422,0 @@ /**

@@ -28,3 +28,3 @@ /**

*/
export declare type CalibrationUnit = 'pt' | 'in' | 'mm' | 'cm' | 'p' | 'ft' | 'ft_in';
export declare type CalibrationUnit = 'pt' | 'in' | 'mm' | 'cm' | 'p' | 'ft' | 'ft_in' | 'm';
/**

@@ -31,0 +31,0 @@ * Enum unit for ContextMenu Actions

@@ -696,3 +696,3 @@ import { Browser } from '@syncfusion/ej2-base';

var currentData = formFieldsData[m];
if ((currentData.Name === 'ink' || currentData.Name === 'SignatureField') && currentData.FieldName === signData.FieldName && signData.Value && signData.Value !== '') {
if ((currentData.Name === 'ink' || currentData.Name === 'SignatureField') && currentData.FieldName === signData.FieldName && currentData.Value && currentData.Value !== '') {
signData.Value = currentData.Value;

@@ -699,0 +699,0 @@ this.isSignatureField = true;

@@ -324,3 +324,3 @@ import { Browser } from '@syncfusion/ej2-base';

if (this.pdfViewerBase.pageCount > 0) {
if ((this.previousZoomFactor !== this.zoomFactor) && !this.pdfViewerBase.documentLoaded) {
if ((this.previousZoomFactor !== this.zoomFactor)) {
if (!this.isPinchZoomed) {

@@ -400,3 +400,5 @@ this.magnifyPages();

this.pdfViewerBase.viewerContainer.scrollTop = scrollValue;
this.magnifyPageRerenderTimer = setTimeout(function () { proxy_1.rerenderMagnifiedPages(); }, 800);
if (!this.pdfViewerBase.documentLoaded) {
this.magnifyPageRerenderTimer = setTimeout(function () { proxy_1.rerenderMagnifiedPages(); }, 800);
}
}

@@ -403,0 +405,0 @@ };

@@ -1803,2 +1803,8 @@ import { Component, INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, L10n, Collection, Complex } from '@syncfusion/ej2-base';import { ModuleDeclaration, isNullOrUndefined, Property, Event, EmitType } from '@syncfusion/ej2-base';import { PdfViewerBase } from './index';import { Navigation } from './index';import { Magnification } from './index';import { Toolbar } from './index';import { ToolbarItem } from './index';import { LinkTarget, InteractionMode, AnnotationType, AnnotationToolbarItem, LineHeadStyle, ContextMenuAction, FontStyle, TextAlignment, AnnotationResizerShape, AnnotationResizerLocation, ZoomMode, PrintMode, CursorType } from './base/types';import { Annotation } from './index';import { LinkAnnotation } from './index';import { ThumbnailView } from './index';import { BookmarkView } from './index';import { TextSelection } from './index';import { TextSearch } from './index';import { FormFields } from './index';import { Print, CalibrationUnit } from './index';import { UnloadEventArgs, LoadEventArgs, LoadFailedEventArgs, AjaxRequestFailureEventArgs, PageChangeEventArgs, PageClickEventArgs, ZoomChangeEventArgs, HyperlinkClickEventArgs, HyperlinkMouseOverArgs, ImportStartEventArgs, ImportSuccessEventArgs, ImportFailureEventArgs, ExportStartEventArgs, ExportSuccessEventArgs, ExportFailureEventArgs, AjaxRequestInitiateEventArgs } from './index';import { AnnotationAddEventArgs, AnnotationRemoveEventArgs, AnnotationPropertiesChangeEventArgs, AnnotationResizeEventArgs, AnnotationSelectEventArgs, AnnotationMoveEventArgs, AnnotationDoubleClickEventArgs, AnnotationMouseoverEventArgs, PageMouseoverEventArgs } from './index';import { TextSelectionStartEventArgs, TextSelectionEndEventArgs, DownloadStartEventArgs, DownloadEndEventArgs, ExtractTextCompletedEventArgs } from './index';import { PdfAnnotationBase, ZOrderPageTable } from '../diagram/pdf-annotation';import { PdfAnnotationBaseModel } from '../diagram/pdf-annotation-model';import { Drawing, ClipBoardObject } from '../diagram/drawing';import { Selector } from '../diagram/selector';import { SelectorModel } from '../diagram/selector-model';import { PointModel, IElement, Rect } from '@syncfusion/ej2-drawings';import { renderAdornerLayer } from '../diagram/dom-util';import { ThumbnailClickEventArgs } from './index';import { ValidateFormFieldsArgs } from './base';import { AddSignatureEventArgs, RemoveSignatureEventArgs, MoveSignatureEventArgs, SignaturePropertiesChangeEventArgs, ResizeSignatureEventArgs } from './base';

/**
* Enable or disable the multi line text markup annotations in overlapping collections.
* @default false
*/
enableMultiLineOverlap?: boolean;
/**
* Enables or disables the multi-page text markup annotation selection in UI.

@@ -1805,0 +1811,0 @@ * @default false

@@ -74,2 +74,9 @@ import { PdfViewer, PdfViewerBase, Toolbar } from '../index';

private isShapeBtnVisible;
private isSignatureBtnVisible;
private isFontFamilyToolVisible;
private isFontSizeToolVisible;
private isFontAlignToolVisible;
private isFontColorToolVisible;
private isFontStylesToolVisible;
private isCommentPanelBtnVisible;
private isFreeTextBtnVisible;

@@ -76,0 +83,0 @@ private isCalibrateBtnVisible;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc