top: number;
}
+// see WCF.Message.Quote.Manager
+interface WCFMessageQuoteManager {
+ supportPaste: () => boolean;
+ updateCount: (number, object) => void;
+}
+
export class UiMessageQuote implements AjaxCallbackObject {
private activeMessageId = "";
private isMouseDown = false;
- private readonly quoteManager: any;
+ private readonly quoteManager: WCFMessageQuoteManager;
/**
* Initializes the quote handler for given object type.
*/
constructor(
- quoteManager: any, // TODO
+ quoteManager: WCFMessageQuoteManager,
className: string,
objectType: string,
containerSelector: string,
/**
* Initializes the quote handler for given object type.
*/
- constructor(quoteManager, // TODO
- className, objectType, containerSelector, messageBodySelector, messageContentSelector, supportDirectInsert) {
+ constructor(quoteManager, className, objectType, containerSelector, messageBodySelector, messageContentSelector, supportDirectInsert) {
this.activeMessageId = "";
this.containers = new Map();
this.containerSelector = "";