import Component from '../../component.js'
import CoEuiAppSidebarBody from './eui-app-sidebar-body.js'
import CoEuiAppSidebarDrawer from './eui-app-sidebar-drawer.js'
import CoEuiAppSidebarFooter from './eui-app-sidebar-footer.js'
import CoEuiAppSidebarHeader from './eui-app-sidebar-header.js'
import CoEuiAppSidebarHeaderUserProfile from './eui-app-sidebar-header-user-profile.js'

export default class CoEuiAppSidebar extends Component {
    constructor(parent) {
      let selector = 'eui-app-sidebar';
      super(parent, selector);
      //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components-next/src/lib/layout/eui-app/eui-app-sidebar/sidebar.component.html
    }
  get content() {
    let path = '//div[contains(@class,"eui-app-sidebar-content")]';
    return this.currentPath + path;
  }
  get euiAppSidebarHeaderUserProfileCO() {
    return new CoEuiAppSidebarHeaderUserProfile(this.content);
  }
  get euiAppSidebarHeaderCO() {
    return new CoEuiAppSidebarHeader(this.content);
  }
  get euiAppSidebarBodyCO() {
    return new CoEuiAppSidebarBody(this.content);
  }
  get euiAppSidebarFooterCO() {
    return new CoEuiAppSidebarFooter(this.content);
  }
  get euiAppSidebarDrawerCO() {
    return new CoEuiAppSidebarDrawer(this.content);
  }
}


