@syncfusion/ej2-pdfviewer
Advanced tools
Comparing version 17.3.16 to 17.3.17
@@ -9,2 +9,15 @@ # Changelog | ||
- `#248585` - The start and end indexes of text markup annotation have been exposed in the annotationAdd event. | ||
#### Bug Fixes | ||
- `#249742` - The annotationSelect event will be triggered properly after selecting another text markup annotation. | ||
- `#245008` - Notes of the measure annotations will now be updated properly after modifying the scale values. | ||
## 17.3.16 (2019-10-09) | ||
### PDF Viewer | ||
#### New Features | ||
- `#249725` - Provided the support to enable or disable the comment panel. | ||
@@ -11,0 +24,0 @@ - `#248609` - Exposed the API for textSelectionStart and textSelectionEnd events in the PDF Viewer. |
/*! | ||
* filename: index.d.ts | ||
* version : 17.3.16 | ||
* version : 17.3.17 | ||
* 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.3.9", | ||
"_id": "@syncfusion/ej2-pdfviewer@17.3.16", | ||
"_inBundle": false, | ||
"_integrity": "sha512-cSTfkYbBo6DYyjuHB/rtFmnw7G2iQB2u05zsCBqGBQaAmiba5wWx3r4KP8t39im0imA7lm51jj5VuHXmEhOIXw==", | ||
"_integrity": "sha512-B5u0Kn9Y8MKLFyRr3UR114ERO4lA5AjWu1d3Rv+rl+x6UwfFuPP0xvqlvOktTN4LbpK3aIuYrUR/Xjd4BLMfBg==", | ||
"_location": "/@syncfusion/ej2-pdfviewer", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pdfviewer/-/ej2-pdfviewer-17.3.9.tgz", | ||
"_shasum": "ba7ce423939289877b8a60bd8c789416c48f1f44", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pdfviewer/-/ej2-pdfviewer-17.3.16.tgz", | ||
"_shasum": "2e36eac8737fd7117a2fd15115587536f44575ce", | ||
"_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.3.16", | ||
"@syncfusion/ej2-calendars": "~17.3.14", | ||
"@syncfusion/ej2-calendars": "~17.3.17", | ||
"@syncfusion/ej2-data": "~17.3.14", | ||
"@syncfusion/ej2-drawings": "~17.3.14", | ||
"@syncfusion/ej2-dropdowns": "~17.3.16", | ||
"@syncfusion/ej2-dropdowns": "~17.3.17", | ||
"@syncfusion/ej2-inplace-editor": "~17.3.16", | ||
"@syncfusion/ej2-inputs": "~17.3.16", | ||
"@syncfusion/ej2-inputs": "~17.3.17", | ||
"@syncfusion/ej2-lists": "~17.3.16", | ||
"@syncfusion/ej2-navigations": "~17.3.16", | ||
"@syncfusion/ej2-navigations": "~17.3.17", | ||
"@syncfusion/ej2-notifications": "~17.3.14", | ||
@@ -78,4 +78,4 @@ "@syncfusion/ej2-popups": "~17.3.16", | ||
"typings": "index.d.ts", | ||
"version": "17.3.16", | ||
"version": "17.3.17", | ||
"sideEffects": false | ||
} |
@@ -559,2 +559,3 @@ import { ColorPicker, NumericTextBox } from '@syncfusion/ej2-inputs'; | ||
for (var j = 0; j < pageAnnotations.length; j++) { | ||
pageAnnotations = this.getAnnotations(i, null); | ||
var measureObject = pageAnnotations[j]; | ||
@@ -561,0 +562,0 @@ measureObject.calibrate.ratio = ratio; |
@@ -29,2 +29,5 @@ import { PdfViewer, PdfViewerBase, IRectangle, ICommentsCollection, IReviewCollection } from '../index'; | ||
rect: any; | ||
startIndex?: number; | ||
endIndex?: number; | ||
textContent?: string; | ||
} | ||
@@ -145,2 +148,3 @@ /** | ||
private getDrawnBounds; | ||
private getIndexNumbers; | ||
/** | ||
@@ -162,2 +166,3 @@ * @private | ||
onTextMarkupAnnotationTouchEnd(event: TouchEvent): void; | ||
private clearCurrentSelectedAnnotation; | ||
/** | ||
@@ -164,0 +169,0 @@ * @private |
@@ -159,2 +159,14 @@ import { BaseEventArgs } from '@syncfusion/ej2-base'; | ||
annotationType: AnnotationType; | ||
/** | ||
* Defines the selected text content in the text markup annotation. | ||
*/ | ||
textMarkupContent?: string; | ||
/** | ||
* Starting index of text markup annotation in the page text content. | ||
*/ | ||
textMarkupStartIndex?: number; | ||
/** | ||
* End index of text markup annotation in the page text content. | ||
*/ | ||
textMarkupEndIndex?: number; | ||
} | ||
@@ -161,0 +173,0 @@ /** |
@@ -1488,3 +1488,3 @@ import { Component, INotifyPropertyChanged, ChildProperty, L10n } from '@syncfusion/ej2-base'; | ||
*/ | ||
fireAnnotationAdd(pageNumber: number, index: number, type: AnnotationType, bounds: any, settings: any): void; | ||
fireAnnotationAdd(pageNumber: number, index: number, type: AnnotationType, bounds: any, settings: any, textMarkupContent?: string, tmStartIndex?: number, tmEndIndex?: number): void; | ||
/** | ||
@@ -1491,0 +1491,0 @@ * @private |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23051046
158462