my-test123
Version:
A planner front-end for Fabric8.
36 lines (35 loc) • 1.32 kB
TypeScript
import { WorkItemService } from './../../services/work-item.service';
import { OnInit, EventEmitter } from '@angular/core';
import { User } from 'ngx-login-client';
import { Comment } from '../../models/comment';
import { ModalService } from '../../services/modal.service';
export declare class WorkItemCommentComponent implements OnInit {
private workItemService;
private modalService;
loadingComments: boolean;
comments: Comment[];
loggedIn: Boolean;
loggedInUser: User;
create: EventEmitter<Comment>;
update: EventEmitter<Comment>;
delete: EventEmitter<Comment>;
comment: Comment;
isCollapsedComments: Boolean;
commentEditable: Boolean;
selectedCommentId: String;
convictedComment: Comment;
constructor(workItemService: WorkItemService, modalService: ModalService);
ngOnInit(): void;
ngAfterViewInit(): void;
createCommentObject(): void;
openComment(id: any): void;
createComment(event: any): void;
showPreview(event: any): void;
updateComment(event: any, comment: any): void;
confirmCommentDelete(comment: Comment): void;
deleteComment(): void;
onCommentEdit($event: any, inpId: any, saveBtnId: any): void;
closeCommentEditing(): void;
resetCommentDraft(event?: any): void;
preventDef(event: any): void;
}