import Component  from '../component.js';
import MatCalendar from './mat-calendar.js'

export default class MatDatepickerContent extends Component {
    constructor(parent) {
      let selector = 'mat-datepicker-content[contains(@class, "mat-datepicker-content")]';
      super(parent, selector);
      // https://github.com/angular/components/blob/master/src/material/datepicker/datepicker-content.html
    }
    get focusTrap() {
        return this.currentPath + '//div[contains(@class, "cdk-focus-trap-anchor")]';
    }
    get matCalendarCO() {
        return new MatCalendar(this.currentPath);
    }
    get closeButton() {
        let path = '//button[contains(@class, "mat-datepicker-close-button")]';
        return this.currentPath + path;
    }
}
