import Action from "./Action";
import Comment from "./Comment";
import Checklist from "./CheckList";

export default class State {
    isActive: boolean;
    nextActions: Action[];
    confirmedComments: Comment[];
    userTabPosition: {x: string, y: string};
    displayTab: boolean;
    checklist: Checklist;

    elementActionListMap: Map<Element, Action[]>;
    commentList: Comment[];
    webSite: any;

    constructor(confirmedComments = [], displayTab: boolean, isActive: boolean= false, webSite, popupCommentPosition) {
        this.isActive = isActive;
        this.displayTab = displayTab;
        this.nextActions = [];
        this.webSite = webSite;
        this.commentList = [];
        this.confirmedComments = confirmedComments;

        this.userTabPosition = popupCommentPosition;
        this.elementActionListMap = new Map();
    }
}