@syncfusion/ej2-spreadsheet
Version:
Feature-rich JavaScript Spreadsheet (Excel) control with built-in support for selection, editing, formatting, importing and exporting to Excel
152 lines (151 loc) • 4.56 kB
TypeScript
import { Spreadsheet } from '../index';
/**
* Comment module.
*/
export declare class SpreadsheetComment {
private parent;
/** @hidden */
isCommentVisible: boolean;
/** @hidden */
isCommentVisibleOnTouch: boolean;
/** @hidden */
isReviewPaneVisible: boolean;
/** @hidden */
activeCommentCell: number[];
private isEditing;
private commentListView;
private bodyHost;
private activeReplyDdb;
private editingState;
private reviewPaneEl;
private reviewHeaderEl;
private reviewBodyEl;
private reviewInstances;
private reviewFilter;
private reviewFilterDdb;
private scheduleMountId;
/**
* Initializes a new instance of the `SpreadsheetComment` class
*
* @param {Spreadsheet} parent - Constructor for SpreadsheetComment module.
*/
constructor(parent: Spreadsheet);
private addEventListener;
private removeEventListener;
private initiateComment;
private createCommentIndicator;
private mouseOver;
private mouseOut;
private createCommentContainer;
private handleResolvedThread;
private renderCommentUI;
private createheaderContent;
private getAvatar;
private getAuthorColor;
private getAvatarInitials;
private renderHeaderActions;
private setPopupPosition;
private handleInitialCancel;
private onThreadMenuSelect;
private createBodyContent;
private initListView;
private renderReplyDdb;
private onReplyMenuSelect;
private createFooterContent;
private convertThreadToListItems;
private postComment;
private beginEdit;
private applyInlineEdit;
private endEdit;
private deleteReplyById;
private setTextAreaState;
private adjustTextareaHeight;
private saveComment;
private detachCommentIndicator;
private setCommentContainerPosition;
private deleteComment;
private replyToComment;
private setThreadResolved;
private renderThreadContainer;
private renderResolvedContent;
private renderResolvedWrap;
private timeStamp;
private getContainer;
private getBodyHost;
private getCommentContainer;
private getIndexesFromContainer;
private bindContainerEvents;
private unbindContainerEvents;
private onContainerFocusIn;
private onContainerFocusOut;
private bindReplyHover;
private unbindReplyHover;
private onReplyHoverMouseOver;
private onReplyHoverFocusIn;
private handleReplyHover;
private removeReplyButtons;
private addReplyButtons;
private onFooterInput;
private onFooterFocus;
private onFooterBlur;
private onFooterClick;
private ensureFooterButtons;
private removeFooterButtons;
private syncFooterPostState;
private wireFooterEvents;
private unwireFooterEvents;
private commentHandler;
private removeCommentContainer;
private processSheetComments;
private updateCommentsFromSheet;
private showCommentPane;
private buildReviewPanelUI;
private renderReviewHeader;
private getFilterIconCss;
private getFilterMenuItems;
private onFilterMenuSelect;
private refreshFilterButton;
private filterMatches;
private getReviewListHost;
private getReviewListView;
private removeThreadFromPanel;
private insertThreadIntoPanel;
private showEmptyReviewBody;
private ensureEmptyStateIfNoItems;
private renderReviewBody;
private renderReviewBodyForSheetIdx;
private ensureReviewBodyHost;
private destroyReviewBodyListView;
private renderEmptyReviewBody;
private renderThreadsList;
private scheduleMount;
private mountVisibleReviewItems;
private buildPaneThreadContainer;
private findThreadPositionById;
private refreshCommentsPane;
private renderNewCommentForPanel;
private updateThreadSelection;
private updateCellSelction;
private lowerBoundByAddress;
private getThreadAddr;
private refreshReviewListFromSheet;
private syncThreadInPanel;
private getFilteredThreadsForActiveSheet;
private getThreadIndexInFiltered;
private scrollToThreadInPanel;
private onCommentUndoRedo;
private navigateNextPrevComment;
private getEdgeThreadFromSheet;
/**
* Destroy SpreadsheetComment Module.
*
* @returns {void} - Destroy SpreadsheetComment module.
*/
destroy(): void;
/**
* Get the SpreadsheetComment Module Name.
*
* @returns {string} - Get the spreadsheetComment module name.
*/
getModuleName(): string;
}