Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-pdfviewer

Package Overview
Dependencies
Maintainers
3
Versions
291
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 17.4.49 to 17.4.50

8

CHANGELOG.md

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

- `#262787` - Exposed the event to notify the getPDFDocumentTexts method completed for all the pages.
## 17.4.49 (2020-02-11)
### PDF Viewer
#### New Features
- `#235592` - Provided the support for setting the lower zoomfactor value to the PDF Viewer control.

@@ -11,0 +19,0 @@ - `#259521` - Provided the support for importing the form fields data from JSON object.

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 17.4.49
* version : 17.4.50
* Copyright Syncfusion Inc. 2001 - 2019. 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@17.4.46",
"_id": "@syncfusion/ej2-pdfviewer@17.4.49",
"_inBundle": false,
"_integrity": "sha512-XW8RoHN3VtO8YxIjfY52FrZycq8ek8+Tp/hfb13HaJIacin1899E90kwnVHMDm4ekYEmBLhqRLR8no2UY+m7Bw==",
"_integrity": "sha512-T0gXjo1Z64she07O3vgk8n0JMtIULWmrcWk4SxhGKQIUTSZnqrJMjyyN1403e1QvqzA8WvrMISYs0fIGjuz/+w==",
"_location": "/@syncfusion/ej2-pdfviewer",

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

],
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pdfviewer/-/ej2-pdfviewer-17.4.46.tgz",
"_shasum": "ce3cd3b7914e7db87806c50632952238b5960e70",
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pdfviewer/-/ej2-pdfviewer-17.4.49.tgz",
"_shasum": "dbeff4c0df46ec3f9b1755d0acf890353fd8cb04",
"_spec": "@syncfusion/ej2-pdfviewer@*",

@@ -41,10 +41,10 @@ "_where": "/jenkins/workspace/ation_hotfix_17.2.0.34_Vol2-DDPJ6C2YEWTWLLKKNA7AG2JBE6DYTCTNGMHGORWGAYAVCL6L7OLQ/packages/included",

"@syncfusion/ej2-buttons": "~17.4.49",
"@syncfusion/ej2-calendars": "~17.4.49",
"@syncfusion/ej2-calendars": "~17.4.50",
"@syncfusion/ej2-data": "~17.4.47",
"@syncfusion/ej2-drawings": "~17.4.47",
"@syncfusion/ej2-dropdowns": "~17.4.49",
"@syncfusion/ej2-inplace-editor": "~17.4.47",
"@syncfusion/ej2-dropdowns": "~17.4.50",
"@syncfusion/ej2-inplace-editor": "~17.4.50",
"@syncfusion/ej2-inputs": "~17.4.47",
"@syncfusion/ej2-lists": "~17.4.47",
"@syncfusion/ej2-navigations": "~17.4.49",
"@syncfusion/ej2-navigations": "~17.4.50",
"@syncfusion/ej2-notifications": "~17.4.47",

@@ -78,4 +78,4 @@ "@syncfusion/ej2-popups": "~17.4.49",

"typings": "index.d.ts",
"version": "17.4.49",
"version": "17.4.50",
"sideEffects": false
}

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

/**
* This event arguments provides the necessary information about text extraction completed in the PDF Viewer.
*/
export interface ExtractTextCompletedEventArgs extends BaseEventArgs {
/**
* Returns the extracted text collection
*/
documentTextCollection: any;
}
/**
* This event arguments provides the necessary information about data.

@@ -553,0 +562,0 @@ */

@@ -146,5 +146,9 @@ import { createElement, Browser } from '@syncfusion/ej2-base';

this.treeObj.appendTo(this.bookmarkView);
['mouseover', 'keydown'].forEach(function (evt) { return _this.bookmarkView.addEventListener(evt, function (event) {
_this.setHeight(event.target);
}); });
// tslint:disable-next-line
var event_1 = ['mouseover', 'keydown'];
for (var m = 0; m < event_1.length; m++) {
this.bookmarkView.addEventListener(event_1[m], function (event) {
_this.setHeight(event.target);
});
}
this.isBookmarkViewDiv = true;

@@ -151,0 +155,0 @@ }

@@ -1,2 +0,2 @@

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 } 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 } from './index';import { TextSelectionStartEventArgs, TextSelectionEndEventArgs, DownloadStartEventArgs, DownloadEndEventArgs } 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 { 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 } 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 } 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 {IAjaxHeaders} from "./pdfviewer";

@@ -639,2 +639,7 @@ import {ComponentModel} from '@syncfusion/ej2-base';

/**
* specifies the default content of the label.
*/
notes?: string;
}

@@ -2195,2 +2200,9 @@

/**
* Triggers when an text extraction is completed in the PDF Viewer.
* @event
* @blazorProperty 'ExtractTextCompleted'
*/
extractTextCompleted?: EmitType<ExtractTextCompletedEventArgs>;
/**
* Triggers an event when the thumbnail is clicked in the thumbnail panel of PDF Viewer.

@@ -2197,0 +2209,0 @@ * @event

@@ -22,3 +22,3 @@ import { Component, INotifyPropertyChanged, ChildProperty, L10n } from '@syncfusion/ej2-base';

import { AnnotationAddEventArgs, AnnotationRemoveEventArgs, AnnotationPropertiesChangeEventArgs, AnnotationResizeEventArgs, AnnotationSelectEventArgs, AnnotationMoveEventArgs, AnnotationDoubleClickEventArgs, AnnotationMouseoverEventArgs } from './index';
import { TextSelectionStartEventArgs, TextSelectionEndEventArgs, DownloadStartEventArgs, DownloadEndEventArgs } from './index';
import { TextSelectionStartEventArgs, TextSelectionEndEventArgs, DownloadStartEventArgs, DownloadEndEventArgs, ExtractTextCompletedEventArgs } from './index';
import { PdfAnnotationBase, ZOrderPageTable } from '../diagram/pdf-annotation';

@@ -538,2 +538,6 @@ import { PdfAnnotationBaseModel } from '../diagram/pdf-annotation-model';

labelContent: string;
/**
* specifies the default content of the label.
*/
notes: string;
}

@@ -1944,2 +1948,8 @@ /**

/**
* Triggers when an text extraction is completed in the PDF Viewer.
* @event
* @blazorProperty 'ExtractTextCompleted'
*/
extractTextCompleted: EmitType<ExtractTextCompletedEventArgs>;
/**
* Triggers an event when the thumbnail is clicked in the thumbnail panel of PDF Viewer.

@@ -2220,2 +2230,6 @@ * @event

*/
fireTextExtractionCompleted(documentCollection: any): void;
/**
* @private
*/
renderAdornerLayer(bounds: ClientRect, commonStyle: string, cavas: HTMLElement, index: number): void;

@@ -2222,0 +2236,0 @@ /**

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

proxy.isTextRetrieved = true;
proxy.pdfViewer.fireTextExtractionCompleted(proxy.documentTextCollection);
if (proxy.isTextSearched && proxy.searchString.length > 0) {

@@ -918,0 +919,0 @@ proxy.textSearch(proxy.searchString);

@@ -265,2 +265,12 @@ import { AjaxHandler } from '../index';

this.thumbnailImage.src = data.thumbnailImage[i];
if (this.pdfViewerBase.pageSize[i].height < this.pdfViewerBase.pageSize[i].width) {
this.thumbnailImage.style.height = '86px';
this.thumbnailImage.style.width = '126px';
thumbnail.style.height = '100px';
thumbnail.style.width = '140px';
pageLink.style.left = '-25px';
pageLink.style.position = 'relative';
thumbnailPageNumber.style.left = '18px';
thumbnailPageNumber.style.position = 'relative';
}
this.thumbnailSelectionRing.appendChild(this.thumbnailImage);

@@ -267,0 +277,0 @@ pageLink.appendChild(thumbnail);

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

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