import Component  from '../component.js'
import CoEuiToolbarItem from './eui-toolbar-item.js'
import CoEuiUserProfile from './eui-user-profile.js'
import CoEuiUserProfileMenu from './eui-user-profile-menu.js'

export default class CoEuiToolbarItemUserProfile extends Component {
  constructor(parent) {
    let selector = 'eui-toolbar-item-user-profile';
    super(parent, selector);
    //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/layout/eui-toolbar/toolbar-item-user-profile/toolbar-item-user-profile.component.html
  }
  get euiToolbarItemCO() {
    return new CoEuiToolbarItem(this.currentPath);
  }
  get euiUserProfileCO() {
    return new CoEuiUserProfile(this.euiToolbarItemCO);
  }
  get euiUserProfileMenuCO() {
    return new CoEuiUserProfileMenu(this.euiUserProfileCO);
  }
}


