@syncfusion/ej2-pdfviewer
Advanced tools
Comparing version 17.4.44 to 17.4.46
@@ -5,2 +5,27 @@ # Changelog | ||
### PDF Viewer | ||
#### New Features | ||
- `258172` - Provided the support to open the command panel while loading the PDF document if the isCommandPanelOpen property is set to true. | ||
- `259159` - Provided the support to open the thumbnail view panel while loading the PDF document if the isThumbnailViewOpen property is set to true. | ||
- `259961` - Exposed the annotation label settings value in the annotationAdd event arguments. | ||
- `259615` - Exposed the annotation label settings value in import/export JSON data. | ||
- `256596` - Exposed the annotation selector settings value for individual annotation objects and import/export JSON data. | ||
## 17.4.44 (2021-01-21) | ||
### PDF Viewer | ||
#### New Features | ||
- `#257519` - Provided Support to edit the free Text annotation value in code behind. | ||
#### Bug Fixes | ||
- `#259848` – Now, the deleted annotations are removed properly from the PDF document. | ||
- `#259734` - Custom Stamp annotations are drawn properly while importing the annotations. | ||
- `#260512` - Errors will no longer occur while importing the annotations in the documentLoad event. | ||
- `#260575` - The download file name is now set properly if we provide during the control initialization. | ||
## 17.4.43 (2020-01-14) | ||
@@ -7,0 +32,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 17.4.44 | ||
* version : 17.4.46 | ||
* 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.43", | ||
"_id": "@syncfusion/ej2-pdfviewer@17.4.44", | ||
"_inBundle": false, | ||
"_integrity": "sha512-zUDcT2xfYd3qIB6g8Wg57TkU6o0pweopGswP7FIBcdH4JIQNxjxuirMo5L8UK0FLYt1trDgRJ+uERZGoX4Ywdw==", | ||
"_integrity": "sha512-z3bPQ6n2MmdrBUOFp9B1ldzOaZ3T8DVgYNnSXJNdZ1jEv/CTEGf4o4+LZ8UcnT3sp/L9/v+fWHTvMtsoNmPUqg==", | ||
"_location": "/@syncfusion/ej2-pdfviewer", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pdfviewer/-/ej2-pdfviewer-17.4.43.tgz", | ||
"_shasum": "9123d9591211ae896df692f3a43d6888a56aeece", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pdfviewer/-/ej2-pdfviewer-17.4.44.tgz", | ||
"_shasum": "4f16a85134cb500866d4b4677e3950cfff55cd23", | ||
"_spec": "@syncfusion/ej2-pdfviewer@*", | ||
@@ -39,15 +39,15 @@ "_where": "/jenkins/workspace/ation_hotfix_17.2.0.34_Vol2-DDPJ6C2YEWTWLLKKNA7AG2JBE6DYTCTNGMHGORWGAYAVCL6L7OLQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~17.4.43", | ||
"@syncfusion/ej2-buttons": "~17.4.43", | ||
"@syncfusion/ej2-calendars": "~17.4.44", | ||
"@syncfusion/ej2-data": "~17.4.43", | ||
"@syncfusion/ej2-drawings": "~17.4.43", | ||
"@syncfusion/ej2-dropdowns": "~17.4.44", | ||
"@syncfusion/ej2-inplace-editor": "~17.4.43", | ||
"@syncfusion/ej2-inputs": "~17.4.43", | ||
"@syncfusion/ej2-lists": "~17.4.43", | ||
"@syncfusion/ej2-navigations": "~17.4.44", | ||
"@syncfusion/ej2-notifications": "~17.4.43", | ||
"@syncfusion/ej2-popups": "~17.4.43", | ||
"@syncfusion/ej2-richtexteditor": "~17.4.44" | ||
"@syncfusion/ej2-base": "~17.4.46", | ||
"@syncfusion/ej2-buttons": "~17.4.46", | ||
"@syncfusion/ej2-calendars": "~17.4.46", | ||
"@syncfusion/ej2-data": "~17.4.46", | ||
"@syncfusion/ej2-drawings": "~17.4.46", | ||
"@syncfusion/ej2-dropdowns": "~17.4.46", | ||
"@syncfusion/ej2-inplace-editor": "~17.4.46", | ||
"@syncfusion/ej2-inputs": "~17.4.46", | ||
"@syncfusion/ej2-lists": "~17.4.46", | ||
"@syncfusion/ej2-navigations": "~17.4.46", | ||
"@syncfusion/ej2-notifications": "~17.4.46", | ||
"@syncfusion/ej2-popups": "~17.4.46", | ||
"@syncfusion/ej2-richtexteditor": "~17.4.46" | ||
}, | ||
@@ -78,4 +78,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "17.4.44", | ||
"version": "17.4.46", | ||
"sideEffects": false | ||
} |
import { PdfViewer } from '../pdfviewer/pdfviewer'; | ||
import { PdfAnnotationBaseModel } from './pdf-annotation-model'; | ||
import { ZOrderPageTable } from './pdf-annotation'; | ||
import { Container, Rect, PointModel, ThumbsConstraints, IElement, SelectorConstraints } from '@syncfusion/ej2-drawings'; | ||
import { Container, Rect, PointModel, ThumbsConstraints, BaseAttributes, CircleAttributes, IElement, SelectorConstraints } from '@syncfusion/ej2-drawings'; | ||
import { DrawingElement } from '@syncfusion/ej2-drawings'; | ||
import { Canvas } from '@syncfusion/ej2-drawings'; | ||
import { SelectorModel } from './selector-model'; | ||
import { AnnotationResizerLocation, AnnotationSelectorSettingsModel } from '../pdfviewer/index'; | ||
/** | ||
@@ -91,3 +92,3 @@ * Renderer module is used to render basic diagram elements | ||
*/ | ||
renderSelector(select?: number, helper?: PdfAnnotationBaseModel, isSelect?: boolean): void; | ||
renderSelector(select?: number, currentSelector?: AnnotationSelectorSettingsModel, helper?: PdfAnnotationBaseModel, isSelect?: boolean): void; | ||
/** | ||
@@ -102,7 +103,7 @@ * Rotates the given nodes/connectors by the given angle | ||
*/ | ||
rotate(obj: PdfAnnotationBaseModel | SelectorModel, angle: number, pivot?: PointModel): boolean; | ||
rotate(obj: PdfAnnotationBaseModel | SelectorModel, angle: number, pivot?: PointModel, currentSelector?: AnnotationSelectorSettingsModel): boolean; | ||
/** | ||
* @private | ||
*/ | ||
rotateObjects(parent: PdfAnnotationBaseModel | SelectorModel, objects: PdfAnnotationBaseModel[], angle: number, pivot?: PointModel, includeParent?: boolean): void; | ||
rotateObjects(parent: PdfAnnotationBaseModel | SelectorModel, objects: PdfAnnotationBaseModel[], angle: number, pivot?: PointModel, includeParent?: boolean, currentSelector?: AnnotationSelectorSettingsModel): void; | ||
private getParentSvg; | ||
@@ -112,10 +113,30 @@ /** | ||
*/ | ||
renderBorder(selector: DrawingElement, canvas: HTMLCanvasElement | SVGElement, transform?: Transforms, enableNode?: number, isBorderTickness?: boolean, isSwimlane?: boolean, isSticky?: boolean): void; | ||
renderBorder(selector: DrawingElement, canvas: HTMLCanvasElement | SVGElement, currentSelector?: any, transform?: Transforms, enableNode?: number, isBorderTickness?: boolean, isSwimlane?: boolean, isSticky?: boolean): void; | ||
/** | ||
* @private | ||
*/ | ||
renderCircularHandle(id: string, selector: DrawingElement, cx: number, cy: number, canvas: HTMLCanvasElement | SVGElement, visible: boolean, enableSelector?: number, t?: Transforms, connected?: boolean, canMask?: boolean, ariaLabel?: Object, count?: number, className?: string): void; | ||
getSignBorder(type: PdfAnnotationBaseModel, options: BaseAttributes): void; | ||
/** | ||
* @private | ||
*/ | ||
getBorderSelector(type: PdfAnnotationBaseModel, options: BaseAttributes): void; | ||
/** | ||
* @private | ||
*/ | ||
renderCircularHandle(id: string, selector: DrawingElement, cx: number, cy: number, canvas: HTMLCanvasElement | SVGElement, visible: boolean, enableSelector?: number, t?: Transforms, connected?: boolean, canMask?: boolean, ariaLabel?: Object, count?: number, className?: string, currentSelector?: AnnotationSelectorSettingsModel): void; | ||
/** | ||
* @private | ||
*/ | ||
getShapeSize(type: PdfAnnotationBaseModel, options: CircleAttributes, currentSelector: any, t?: Transforms): void; | ||
/** | ||
* @private | ||
*/ | ||
getShape(type: PdfAnnotationBaseModel, currentSelector?: any): AnnotationSelectorSettingsModel; | ||
/** | ||
* @private | ||
*/ | ||
getResizerColors(type: PdfAnnotationBaseModel, options: CircleAttributes, currentSelector?: any, t?: Transforms): void; | ||
/** | ||
* @private | ||
*/ | ||
renderRotateThumb(wrapper: DrawingElement, canvas: HTMLCanvasElement | SVGElement, transform?: Transforms, selectorConstraints?: SelectorConstraints, canMask?: boolean): void; | ||
@@ -125,6 +146,10 @@ /** | ||
*/ | ||
renderResizeHandle(element: DrawingElement, canvas: HTMLCanvasElement | SVGElement, constraints: ThumbsConstraints, currentZoom: number, canMask?: boolean, enableNode?: number, nodeConstraints?: boolean, isStamp?: boolean, isSticky?: boolean, isPath?: boolean, isFreeText?: boolean): void; | ||
renderResizeHandle(element: DrawingElement, canvas: HTMLCanvasElement | SVGElement, constraints: ThumbsConstraints, currentZoom: number, canMask?: boolean, enableNode?: number, nodeConstraints?: boolean, isStamp?: boolean, isSticky?: boolean, isPath?: boolean, isFreeText?: boolean, currentSelector?: AnnotationSelectorSettingsModel): void; | ||
/** | ||
* @private | ||
*/ | ||
getResizerLocation(type: PdfAnnotationBaseModel, currentSelector?: any): AnnotationResizerLocation; | ||
/** | ||
* @private | ||
*/ | ||
renderPivotLine(element: DrawingElement, canvas: HTMLCanvasElement | SVGElement, transform?: Transforms, selectorConstraints?: SelectorConstraints, canMask?: boolean): void; | ||
@@ -134,3 +159,3 @@ /** | ||
*/ | ||
renderEndPointHandle(selector: PdfAnnotationBaseModel, canvas: HTMLCanvasElement | SVGElement, constraints: ThumbsConstraints, transform: Transforms, connectedSource: boolean, connectedTarget?: boolean, isSegmentEditing?: boolean): void; | ||
renderEndPointHandle(selector: PdfAnnotationBaseModel, canvas: HTMLCanvasElement | SVGElement, constraints: ThumbsConstraints, transform: Transforms, connectedSource: boolean, connectedTarget?: boolean, isSegmentEditing?: boolean, currentSelector?: AnnotationSelectorSettingsModel): void; | ||
/** | ||
@@ -143,11 +168,11 @@ * @private | ||
*/ | ||
select(objArray: string[], multipleSelection?: boolean, preventUpdate?: boolean): void; | ||
select(objArray: string[], currentSelector?: any, multipleSelection?: boolean, preventUpdate?: boolean): void; | ||
/** | ||
* @private | ||
*/ | ||
dragSelectedObjects(tx: number, ty: number, pageIndex: number, helper: PdfAnnotationBaseModel): boolean; | ||
dragSelectedObjects(tx: number, ty: number, pageIndex: number, currentSelector: any, helper: PdfAnnotationBaseModel): boolean; | ||
/** | ||
* @private | ||
*/ | ||
drag(obj: PdfAnnotationBaseModel | SelectorModel, tx: number, ty: number, helper: PdfAnnotationBaseModel): void; | ||
drag(obj: PdfAnnotationBaseModel | SelectorModel, tx: number, ty: number, currentSelector: any, helper: PdfAnnotationBaseModel): void; | ||
/** | ||
@@ -202,3 +227,3 @@ * @private | ||
*/ | ||
dragConnectorEnds(endPoint: string, obj: IElement, point: PointModel, segment: PointModel, target?: IElement, targetPortId?: string): boolean; | ||
dragConnectorEnds(endPoint: string, obj: IElement, point: PointModel, segment: PointModel, target?: IElement, targetPortId?: string, currentSelector?: any): boolean; | ||
/** | ||
@@ -205,0 +230,0 @@ * @private |
@@ -1,2 +0,2 @@ | ||
import { ChildProperty, Property, Complex } from '@syncfusion/ej2-base';import { PointModel, DecoratorShapes } from '@syncfusion/ej2-drawings';import { Point } from '@syncfusion/ej2-drawings';import { Size } from '@syncfusion/ej2-drawings';import { Container } from '@syncfusion/ej2-drawings';import { PdfAnnotationType } from './enum';import { ICommentsCollection, IReviewCollection } from '../pdfviewer'; | ||
import { ChildProperty, Property, Complex } from '@syncfusion/ej2-base';import { PointModel, DecoratorShapes } from '@syncfusion/ej2-drawings';import { Point } from '@syncfusion/ej2-drawings';import { Size } from '@syncfusion/ej2-drawings';import { Container } from '@syncfusion/ej2-drawings';import { PdfAnnotationType } from './enum';import { ICommentsCollection, IReviewCollection, AnnotationSelectorSettingsModel } from '../pdfviewer'; | ||
@@ -125,3 +125,3 @@ /** | ||
/** | ||
* Represents the auther value of the annotation | ||
* Represents the auther value of the annotation | ||
* @default '' | ||
@@ -132,3 +132,3 @@ */ | ||
/** | ||
* Represents the modified date of the annotation | ||
* Represents the modified date of the annotation | ||
* @default '' | ||
@@ -139,3 +139,3 @@ */ | ||
/** | ||
* Represents the subject of the annotation | ||
* Represents the subject of the annotation | ||
* @default '' | ||
@@ -146,3 +146,3 @@ */ | ||
/** | ||
* Represents the notes of the annotation | ||
* Represents the notes of the annotation | ||
* @default '' | ||
@@ -153,3 +153,3 @@ */ | ||
/** | ||
* Represents the stroke color of the annotation | ||
* Represents the stroke color of the annotation | ||
* @default 'black' | ||
@@ -160,3 +160,3 @@ */ | ||
/** | ||
* Represents the fill color of the annotation | ||
* Represents the fill color of the annotation | ||
* @default 'tranparent' | ||
@@ -167,3 +167,3 @@ */ | ||
/** | ||
* Represents the fill color of the annotation | ||
* Represents the fill color of the annotation | ||
* @default 'tranparent' | ||
@@ -174,3 +174,3 @@ */ | ||
/** | ||
* Represents the stroke color of the annotation | ||
* Represents the stroke color of the annotation | ||
* @default 'black' | ||
@@ -181,3 +181,3 @@ */ | ||
/** | ||
* Represents the path data of the annotation | ||
* Represents the path data of the annotation | ||
* @default '' | ||
@@ -188,3 +188,3 @@ */ | ||
/** | ||
* Represents the opecity value of the annotation | ||
* Represents the opecity value of the annotation | ||
* @default 1 | ||
@@ -322,3 +322,3 @@ */ | ||
/** | ||
* Represents the unique annotName of the annotation | ||
* Represents the unique annotName of the annotation | ||
* @default '' | ||
@@ -329,3 +329,3 @@ */ | ||
/** | ||
* Represents the review collection of the annotation | ||
* Represents the review collection of the annotation | ||
* @default '' | ||
@@ -336,3 +336,3 @@ */ | ||
/** | ||
* Represents the comments collection of the annotation | ||
* Represents the comments collection of the annotation | ||
* @default [] | ||
@@ -343,3 +343,3 @@ */ | ||
/** | ||
* Represents the comments collection of the annotation | ||
* Represents the comments collection of the annotation | ||
* @default '#000' | ||
@@ -386,3 +386,3 @@ */ | ||
/** | ||
* Represents the opecity value of the annotation | ||
* Represents the opecity value of the annotation | ||
* @default 1 | ||
@@ -393,2 +393,8 @@ */ | ||
/** | ||
* Represents the selection settings of the annotation | ||
* @default '' | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
/** | ||
* Represents the shape annotation label content border color | ||
@@ -395,0 +401,0 @@ * @default '#ffffff00' |
@@ -7,3 +7,3 @@ import { ChildProperty } from '@syncfusion/ej2-base'; | ||
import { PdfAnnotationType } from './enum'; | ||
import { ICommentsCollection, IReviewCollection } from '../pdfviewer'; | ||
import { ICommentsCollection, IReviewCollection, AnnotationSelectorSettingsModel } from '../pdfviewer'; | ||
/** | ||
@@ -322,2 +322,7 @@ * The `PdfBounds` is base for annotation bounds. | ||
/** | ||
* Represents the selection settings of the annotation | ||
* @default '' | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
/** | ||
* Represents the shape annotation label content border color | ||
@@ -324,0 +329,0 @@ * @default '#ffffff00' |
@@ -235,2 +235,5 @@ var __extends = (this && this.__extends) || (function () { | ||
__decorate([ | ||
Property('') | ||
], PdfAnnotationBase.prototype, "annotationSelectorSettings", void 0); | ||
__decorate([ | ||
Property('#ffffff00') | ||
@@ -237,0 +240,0 @@ ], PdfAnnotationBase.prototype, "labelBorderColor", void 0); |
import { PdfViewer, PdfViewerBase, AnnotationType as AnnotType, ICommentsCollection, IReviewCollection } from '../..'; | ||
import { PointModel } from '@syncfusion/ej2-drawings'; | ||
import { PdfAnnotationBaseModel } from '../../diagram/pdf-annotation-model'; | ||
import { AnnotationSelectorSettingsModel } from '../pdfviewer-model'; | ||
/** | ||
@@ -33,2 +34,3 @@ * @hidden | ||
review: IReviewCollection; | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -154,2 +156,6 @@ /** | ||
*/ | ||
getSettings(annotation: any): any; | ||
/** | ||
* @private | ||
*/ | ||
setAnnotationType(type: AnnotType): void; | ||
@@ -156,0 +162,0 @@ /** |
@@ -172,3 +172,4 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
// tslint:disable-next-line:max-line-length | ||
font: { isBold: annotation.Font.Bold, isItalic: annotation.Font.Italic, isStrikeout: annotation.Font.Strikeout, isUnderline: annotation.Font.Underline } | ||
font: { isBold: annotation.Font.Bold, isItalic: annotation.Font.Italic, isStrikeout: annotation.Font.Strikeout, isUnderline: annotation.Font.Underline }, | ||
annotationSelectorSettings: this.getSettings(annotation) | ||
}; | ||
@@ -191,2 +192,16 @@ if (isImportAction) { | ||
*/ | ||
// tslint:disable-next-line | ||
FreeTextAnnotation.prototype.getSettings = function (annotation) { | ||
var selector; | ||
if (annotation.AnnotationSelectorSettings === null) { | ||
selector = this.pdfViewer.freeTextSettings.annotationSelectorSettings; | ||
} | ||
else { | ||
selector = annotation.AnnotationSelectorSettings; | ||
} | ||
return selector; | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
FreeTextAnnotation.prototype.setAnnotationType = function (type) { | ||
@@ -453,3 +468,4 @@ var date = new Date(); | ||
font: { isBold: this.isBold, isItalic: this.isItalic, isStrikeout: this.isStrikethrough, isUnderline: this.isUnderline }, | ||
review: { state: 'Unmarked', stateModel: 'None', modifiedDate: currentDateString, author: this.author } | ||
review: { state: 'Unmarked', stateModel: 'None', modifiedDate: currentDateString, author: this.author }, | ||
annotationSelectorSettings: this.pdfViewer.freeTextSettings.annotationSelectorSettings | ||
}; | ||
@@ -502,3 +518,3 @@ var annotation = this.pdfViewer.add(annot); | ||
} | ||
this.pdfViewer.renderSelector(this.selectedAnnotation.pageIndex); | ||
this.pdfViewer.renderSelector(this.selectedAnnotation.pageIndex, this.selectedAnnotation.annotationSelectorSettings); | ||
} | ||
@@ -551,3 +567,3 @@ this.isNewFreeTextAnnot = false; | ||
inuptEleObj.pdfViewer.nodePropertyChange(inuptEleObj.selectedAnnotation, { bounds: { width: inuptEleObj.selectedAnnotation.bounds.width, height: inuptEleObj.selectedAnnotation.bounds.height, y: y } }); | ||
inuptEleObj.pdfViewer.renderSelector(inuptEleObj.selectedAnnotation.pageIndex); | ||
inuptEleObj.pdfViewer.renderSelector(inuptEleObj.selectedAnnotation.pageIndex, _this.selectedAnnotation.annotationSelectorSettings); | ||
} | ||
@@ -771,3 +787,4 @@ } | ||
comments: this.pdfViewer.annotationModule.getAnnotationComments(annotation.Comments, annotation, annotation.Author), review: { state: annotation.State, stateModel: annotation.StateModel, modifiedDate: annotation.ModifiedDate, author: annotation.Author }, | ||
font: { isBold: annotation.Font.Bold, isItalic: annotation.Font.Italic, isStrikeout: annotation.Font.Strikeout, isUnderline: annotation.Font.Underline } | ||
font: { isBold: annotation.Font.Bold, isItalic: annotation.Font.Italic, isStrikeout: annotation.Font.Strikeout, isUnderline: annotation.Font.Underline }, | ||
annotationSelectorSettings: this.getSettings(annotation) | ||
}; | ||
@@ -774,0 +791,0 @@ this.pdfViewer.annotationModule.storeAnnotations(pageNumber, annot, '_annotations_freetext'); |
@@ -1,2 +0,2 @@ | ||
import { PdfViewer, PdfViewerBase, IRectangle, AnnotationType as AnnotType } from '../../index'; | ||
import { PdfViewer, PdfViewerBase, IRectangle, AnnotationType as AnnotType, ShapeLabelSettingsModel } from '../../index'; | ||
import { PdfAnnotationBaseModel } from '../../diagram/pdf-annotation-model'; | ||
@@ -6,2 +6,3 @@ import { PointModel } from '@syncfusion/ej2-drawings'; | ||
import { LineHeadStyle, CalibrationUnit } from '../base'; | ||
import { AnnotationSelectorSettingsModel } from '../pdfviewer-model'; | ||
/** | ||
@@ -49,2 +50,4 @@ * @hidden | ||
labelBounds: IRectangle; | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
labelSettings?: ShapeLabelSettingsModel; | ||
} | ||
@@ -219,4 +222,9 @@ /** | ||
*/ | ||
getSettings(annotation: any): any; | ||
/** | ||
* @private | ||
*/ | ||
setAnnotationType(type: AnnotType): void; | ||
private createAnnotationObject; | ||
private getSelector; | ||
private getShapeAnnotType; | ||
@@ -223,0 +231,0 @@ private getShapeType; |
@@ -1,3 +0,4 @@ | ||
import { PdfViewer, PdfViewerBase, IRectangle, ICommentsCollection, IReviewCollection, AnnotationType as AnnotType, LineHeadStyle } from '../../index'; | ||
import { PdfViewer, PdfViewerBase, IRectangle, ICommentsCollection, IReviewCollection, AnnotationType as AnnotType, LineHeadStyle, ShapeLabelSettingsModel } from '../../index'; | ||
import { PointModel } from '@syncfusion/ej2-drawings'; | ||
import { AnnotationSelectorSettingsModel } from '../pdfviewer-model'; | ||
/** | ||
@@ -39,2 +40,4 @@ * @hidden | ||
labelBounds: IRectangle; | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
labelSettings?: ShapeLabelSettingsModel; | ||
} | ||
@@ -167,2 +170,6 @@ /** | ||
*/ | ||
getSettings(annotation: any): any; | ||
/** | ||
* @private | ||
*/ | ||
setAnnotationType(type: AnnotType): void; | ||
@@ -186,2 +193,3 @@ private setShapeType; | ||
private createAnnotationObject; | ||
private getSelector; | ||
private getAnnotations; | ||
@@ -188,0 +196,0 @@ private getRgbCode; |
@@ -73,2 +73,4 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
annotation.FontSize = annotation.FontSize ? annotation.FontSize : 16; | ||
// tslint:disable-next-line:max-line-length | ||
annotation.LabelSettings = annotation.LabelSettings ? annotation.LabelSettings : this.pdfViewer.shapeLabelSettings; | ||
} | ||
@@ -87,3 +89,4 @@ // tslint:disable-next-line:max-line-length | ||
fontColor: annotation.FontColor, labelBorderColor: annotation.LabelBorderColor, fontSize: annotation.FontSize, | ||
labelBounds: annotation.LabelBounds | ||
// tslint:disable-next-line:max-line-length | ||
labelBounds: annotation.LabelBounds, annotationSelectorSettings: this.getSettings(annotation), labelSettings: annotation.LabelSettings | ||
}; | ||
@@ -109,3 +112,3 @@ var annot = void 0; | ||
fontColor: annotation.FontColor, labelBorderColor: annotation.LabelBorderColor, fontSize: annotation.FontSize, | ||
labelBounds: annotation.LabelBounds | ||
labelBounds: annotation.LabelBounds, annotationSelectorSettings: annotation.AnnotationSelectorSettings | ||
}; | ||
@@ -131,2 +134,16 @@ var addedAnnot = this.pdfViewer.add(annot); | ||
*/ | ||
// tslint:disable-next-line | ||
ShapeAnnotation.prototype.getSettings = function (annotation) { | ||
var selector; | ||
if (annotation.AnnotationSelectorSettings === null) { | ||
selector = this.getSelector(annotation.ShapeAnnotationType, annotation.Subject); | ||
} | ||
else { | ||
selector = annotation.AnnotationSelectorSettings; | ||
} | ||
return selector; | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
ShapeAnnotation.prototype.setAnnotationType = function (type) { | ||
@@ -328,3 +345,3 @@ var date = new Date(); | ||
} | ||
// tslint:disable-next-line:max-line-length | ||
// tslint:disable-next-line:max-line-length | ||
pageAnnotations[i].labelBounds = { left: labelLeft, top: labelTop, width: labelWidth, height: labelHeight, right: 0, bottom: 0 }; | ||
@@ -530,5 +547,25 @@ } | ||
fontColor: annotationModel.fontColor, labelBorderColor: annotationModel.labelBorderColor, fontSize: annotationModel.fontSize, | ||
labelBounds: labelBound | ||
// tslint:disable-next-line:max-line-length | ||
labelBounds: labelBound, annotationSelectorSettings: this.getSelector(annotationModel.shapeAnnotationType, annotationModel.subject), labelSettings: this.pdfViewer.shapeLabelSettings | ||
}; | ||
}; | ||
ShapeAnnotation.prototype.getSelector = function (type, subject) { | ||
var selector; | ||
if (type === 'Line' && subject !== 'Arrow') { | ||
selector = this.pdfViewer.lineSettings.annotationSelectorSettings; | ||
} | ||
else if (type === 'LineWidthArrowHead' || subject === 'Arrow') { | ||
selector = this.pdfViewer.arrowSettings.annotationSelectorSettings; | ||
} | ||
else if (type === 'Rectangle' || type === 'Square') { | ||
selector = this.pdfViewer.rectangleSettings.annotationSelectorSettings; | ||
} | ||
else if (type === 'Ellipse' || type === 'Circle') { | ||
selector = this.pdfViewer.circleSettings.annotationSelectorSettings; | ||
} | ||
else if (type === 'Polygon') { | ||
selector = this.pdfViewer.polygonSettings.annotationSelectorSettings; | ||
} | ||
return selector; | ||
}; | ||
// tslint:disable-next-line | ||
@@ -599,2 +636,3 @@ ShapeAnnotation.prototype.getAnnotations = function (pageIndex, shapeAnnotations) { | ||
annotation.FontSize = annotation.FontSize ? annotation.FontSize : 16; | ||
annotation.LabelSettings = annotation.LabelSettings ? annotation.LabelSettings : this.pdfViewer.shapeLabelSettings; | ||
} | ||
@@ -612,3 +650,4 @@ // tslint:disable-next-line:max-line-length | ||
labelBorderColor: annotation.LabelBorderColor, fontColor: annotation.FontColor, fontSize: annotation.FontSize, | ||
labelBounds: annotation.LabelBounds | ||
// tslint:disable-next-line:max-line-length | ||
labelBounds: annotation.LabelBounds, annotationSelectorSettings: this.getSettings(annotation), labelSettings: annotation.LabelSettings | ||
}; | ||
@@ -640,2 +679,3 @@ this.pdfViewer.annotationModule.storeAnnotations(pageNumber, annotationObject, '_annotations_shape'); | ||
annotation.FontSize = annotation.FontSize ? annotation.FontSize : 16; | ||
annotation.LabelSettings = annotation.LabelSettings ? annotation.LabelSettings : this.pdfViewer.shapeLabelSettings; | ||
} | ||
@@ -653,3 +693,3 @@ // tslint:disable-next-line:max-line-length | ||
labelBorderColor: annotation.LabelBorderColor, fontColor: annotation.FontColor, fontSize: annotation.FontSize, | ||
labelBounds: annotation.LabelBounds, pageNumber: pageNumber | ||
labelBounds: annotation.LabelBounds, pageNumber: pageNumber, labelSettings: annotation.LabelSettings | ||
}; | ||
@@ -656,0 +696,0 @@ return annotationObject; |
import { PdfAnnotationBase } from '../../diagram/pdf-annotation'; | ||
import { PdfViewer, PdfViewerBase, ICommentsCollection, IReviewCollection } from '../../index'; | ||
import { AnnotationSelectorSettingsModel } from '../pdfviewer-model'; | ||
/** | ||
@@ -30,2 +31,3 @@ * @hidden | ||
position?: string; | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -90,2 +92,6 @@ interface IRectangles { | ||
*/ | ||
getSettings(annotation: any): any; | ||
/** | ||
* @private | ||
*/ | ||
resetAnnotation(): void; | ||
@@ -92,0 +98,0 @@ /** |
import { PdfViewerBase, PdfViewer } from '../index'; | ||
import { AnnotationSelectorSettingsModel } from '../pdfviewer-model'; | ||
/** | ||
@@ -20,2 +21,3 @@ * @hidden | ||
annotName: string; | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -103,2 +105,6 @@ /** | ||
*/ | ||
getSettings(annotation: any): any; | ||
/** | ||
* @private | ||
*/ | ||
drawStickyNotes(X: number, Y: number, width: number, height: number, pageIndex: number, annotation: any, canvas?: any): any; | ||
@@ -105,0 +111,0 @@ private setImageSource; |
import { PdfViewer, PdfViewerBase, IRectangle, ICommentsCollection, IReviewCollection } from '../index'; | ||
import { ChangeEventArgs } from '@syncfusion/ej2-inputs'; | ||
import { AnnotationSelectorSettingsModel } from '../pdfviewer-model'; | ||
/** | ||
@@ -25,2 +26,3 @@ * @hidden | ||
textMarkupEndIndex: number; | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -157,2 +159,6 @@ /** | ||
*/ | ||
getSettings(annotation: any): any; | ||
/** | ||
* @private | ||
*/ | ||
drawTextMarkupAnnotations(type: string): void; | ||
@@ -262,2 +268,3 @@ private convertSelectionToTextMarkup; | ||
private getAddedAnnotation; | ||
private getSelector; | ||
private annotationDivSelect; | ||
@@ -264,0 +271,0 @@ private getPageContext; |
import { BaseEventArgs } from '@syncfusion/ej2-base'; | ||
import { AnnotationType } from './index'; | ||
import { ShapeLabelSettingsModel } from '../pdfviewer-model'; | ||
/** | ||
@@ -188,2 +189,6 @@ * Exports types used by PDF viewer. | ||
textMarkupEndIndex?: number; | ||
/** | ||
* End index of text markup annotation in the page text content. | ||
*/ | ||
labelSettings?: ShapeLabelSettingsModel; | ||
} | ||
@@ -324,2 +329,6 @@ /** | ||
textMarkupEndIndex?: number; | ||
/** | ||
* End index of text markup annotation in the page text content. | ||
*/ | ||
labelSettings?: ShapeLabelSettingsModel; | ||
} | ||
@@ -326,0 +335,0 @@ /** |
@@ -22,3 +22,2 @@ import { PdfViewer } from '../index'; | ||
private offset; | ||
private sideBarTitle; | ||
private contentContainerScrollWidth; | ||
@@ -41,2 +40,6 @@ private closeButtonLeft; | ||
*/ | ||
sideBarTitle: HTMLElement; | ||
/** | ||
* @private | ||
*/ | ||
annotationMenuObj: Context; | ||
@@ -197,6 +200,9 @@ /** | ||
updateViewerContainerOnClose(): void; | ||
private updateViewerContainerOnExpand; | ||
/** | ||
* @private | ||
*/ | ||
updateViewerContainerOnExpand(): void; | ||
/** | ||
* @private | ||
*/ | ||
getViewerContainerLeft(): number; | ||
@@ -216,3 +222,6 @@ /** | ||
openThumbnailPane: () => void; | ||
private setThumbnailSelectionIconTheme; | ||
/** | ||
* @private | ||
*/ | ||
setThumbnailSelectionIconTheme(): void; | ||
private removeThumbnailSelectionIconTheme; | ||
@@ -219,0 +228,0 @@ private resetThumbnailIcon; |
@@ -984,2 +984,5 @@ import { createElement, Browser } from '@syncfusion/ej2-base'; | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
NavigationPane.prototype.updateViewerContainerOnExpand = function () { | ||
@@ -1022,2 +1025,5 @@ var proxy = this; | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
NavigationPane.prototype.setThumbnailSelectionIconTheme = function () { | ||
@@ -1024,0 +1030,0 @@ if (this.thumbnailButton) { |
@@ -735,3 +735,3 @@ import { Browser } from '@syncfusion/ej2-base'; | ||
adornerSvg.style.height = height + 'px'; | ||
this.pdfViewer.renderSelector(i); | ||
this.pdfViewer.renderSelector(i, this.pdfViewer.annotationSelectorSettings); | ||
} | ||
@@ -738,0 +738,0 @@ } |
@@ -165,2 +165,7 @@ 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 } 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'; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -198,2 +203,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -231,2 +241,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -289,2 +304,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -347,2 +367,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -390,2 +415,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -433,2 +463,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -513,2 +548,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -536,2 +576,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -641,2 +686,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -783,2 +833,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -853,2 +908,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -973,2 +1033,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -1073,2 +1138,7 @@ | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings?: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -1174,2 +1244,8 @@ | ||
/** | ||
* If it set as true, then the command panel show at initial document loading in the PDF viewer | ||
* @default false | ||
*/ | ||
isCommandPanelOpen?: boolean; | ||
/** | ||
* Enable or disable the text markup resizer to modify the bounds in UI. | ||
@@ -1199,2 +1275,8 @@ * @default false | ||
/** | ||
* If it set as true, then the thumbnail view show at initial document loading in the PDF viewer | ||
* @default false | ||
*/ | ||
isThumbnailViewOpen?: boolean; | ||
/** | ||
* Enables or disable saving Hand Written signature as editable in the PDF. | ||
@@ -1383,2 +1465,3 @@ * @default false | ||
*/ | ||
// tslint:disable-next-line:max-line-length | ||
highlightSettings?: HighlightSettingsModel; | ||
@@ -1389,2 +1472,3 @@ | ||
*/ | ||
// tslint:disable-next-line:max-line-length | ||
strikethroughSettings?: StrikethroughSettingsModel; | ||
@@ -1395,2 +1479,3 @@ | ||
*/ | ||
// tslint:disable-next-line:max-line-length | ||
underlineSettings?: UnderlineSettingsModel; | ||
@@ -1479,2 +1564,3 @@ | ||
*/ | ||
// tslint:disable-next-line:max-line-length | ||
stickyNotesSettings?: StickyNotesSettingsModel; | ||
@@ -1507,2 +1593,3 @@ | ||
*/ | ||
// tslint:disable-next-line:max-line-length | ||
handWrittenSignatureSettings?: HandWrittenSignatureSettingsModel; | ||
@@ -1509,0 +1596,0 @@ |
@@ -162,2 +162,6 @@ import { Component, INotifyPropertyChanged, ChildProperty, L10n } from '@syncfusion/ej2-base'; | ||
modifiedDate: string; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -188,2 +192,6 @@ /** | ||
modifiedDate: string; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -214,2 +222,6 @@ /** | ||
modifiedDate: string; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -260,2 +272,6 @@ /** | ||
borderDashArray: number; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -306,2 +322,6 @@ /** | ||
borderDashArray: number; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -340,2 +360,6 @@ /** | ||
thickness: number; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -374,2 +398,6 @@ /** | ||
thickness: number; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -437,2 +465,6 @@ /** | ||
thickness: number; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -455,2 +487,6 @@ /** | ||
modifiedDate: string; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -538,2 +574,6 @@ /** | ||
borderDashArray: number; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -650,2 +690,6 @@ /** | ||
thickness: number; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -705,2 +749,6 @@ /** | ||
opacity: number; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -800,2 +848,6 @@ /** | ||
allowTextOnly: boolean; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -879,2 +931,6 @@ /** | ||
height: number; | ||
/** | ||
* specifies the annotation selector settings of the annotation. | ||
*/ | ||
annotationSelectorSettings: AnnotationSelectorSettingsModel; | ||
} | ||
@@ -1003,2 +1059,7 @@ /** | ||
/** | ||
* If it set as true, then the command panel show at initial document loading in the PDF viewer | ||
* @default false | ||
*/ | ||
isCommandPanelOpen: boolean; | ||
/** | ||
* Enable or disable the text markup resizer to modify the bounds in UI. | ||
@@ -1024,2 +1085,7 @@ * @default false | ||
/** | ||
* If it set as true, then the thumbnail view show at initial document loading in the PDF viewer | ||
* @default false | ||
*/ | ||
isThumbnailViewOpen: boolean; | ||
/** | ||
* Enables or disable saving Hand Written signature as editable in the PDF. | ||
@@ -1731,3 +1797,3 @@ * @default false | ||
*/ | ||
fireAnnotationAdd(pageNumber: number, index: string, type: AnnotationType, bounds: any, settings: any, textMarkupContent?: string, tmStartIndex?: number, tmEndIndex?: number): void; | ||
fireAnnotationAdd(pageNumber: number, index: string, type: AnnotationType, bounds: any, settings: any, textMarkupContent?: string, tmStartIndex?: number, tmEndIndex?: number, labelSettings?: ShapeLabelSettingsModel): void; | ||
/** | ||
@@ -1764,3 +1830,3 @@ * @private | ||
*/ | ||
fireAnnotationResize(pageNumber: number, index: string, type: AnnotationType, bounds: any, settings: any, textMarkupContent?: string, tmStartIndex?: number, tmEndIndex?: number): void; | ||
fireAnnotationResize(pageNumber: number, index: string, type: AnnotationType, bounds: any, settings: any, textMarkupContent?: string, tmStartIndex?: number, tmEndIndex?: number, labelSettings?: ShapeLabelSettingsModel): void; | ||
/** | ||
@@ -1813,7 +1879,7 @@ * @private | ||
*/ | ||
renderSelector(index: number): void; | ||
renderSelector(index: number, currentSelector?: AnnotationSelectorSettingsModel): void; | ||
/** | ||
* @private | ||
*/ | ||
select(objArray: string[], multipleSelection?: boolean, preventUpdate?: boolean): void; | ||
select(objArray: string[], currentSelector?: AnnotationSelectorSettingsModel, multipleSelection?: boolean, preventUpdate?: boolean): void; | ||
/** | ||
@@ -1826,3 +1892,3 @@ * @private | ||
*/ | ||
dragSelectedObjects(diffX: number, diffY: number, pageIndex: number, helper: PdfAnnotationBaseModel): boolean; | ||
dragSelectedObjects(diffX: number, diffY: number, pageIndex: number, currentSelector?: AnnotationSelectorSettingsModel, helper?: PdfAnnotationBaseModel): boolean; | ||
/** | ||
@@ -1835,3 +1901,3 @@ * @private | ||
*/ | ||
dragConnectorEnds(endPoint: string, obj: IElement, point: PointModel, segment: PointModel, target?: IElement, targetPortId?: string): boolean; | ||
dragConnectorEnds(endPoint: string, obj: IElement, point: PointModel, segment: PointModel, target?: IElement, targetPortId?: string, currentSelector?: AnnotationSelectorSettingsModel): boolean; | ||
/** | ||
@@ -1856,3 +1922,3 @@ * @private | ||
*/ | ||
rotate(angle: number): boolean; | ||
rotate(angle: number, currentSelector?: AnnotationSelectorSettingsModel): boolean; | ||
/** | ||
@@ -1859,0 +1925,0 @@ * @private |
@@ -155,2 +155,11 @@ import { AjaxHandler } from '../index'; | ||
} | ||
if (proxy.pdfViewer.isThumbnailViewOpen) { | ||
proxy.pdfViewerBase.navigationPane.isThumbnailOpen = true; | ||
// tslint:disable-next-line:max-line-length | ||
proxy.pdfViewerBase.navigationPane.sideBarTitle.textContent = proxy.pdfViewer.localeObj.getConstant('Page Thumbnails'); | ||
document.getElementById(proxy.pdfViewer.element.id + '_thumbnail_view').style.display = 'flex'; | ||
proxy.pdfViewerBase.navigationPane.setThumbnailSelectionIconTheme(); | ||
proxy.pdfViewerBase.navigationPane.updateViewerContainerOnExpand(); | ||
proxy.pdfViewerBase.navigationPane.isBookmarkOpen = false; | ||
} | ||
} | ||
@@ -157,0 +166,0 @@ } |
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
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
26774428
180035