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?at=refs%2Fheads%2Fsupport%2F13.x
  }
  get euiToolbarItemCO() {
    return new CoEuiToolbarItem(this.currentPath);
  }
  get euiUserProfileCO() {
    return new CoEuiUserProfile(this.euiToolbarItemCO.currentPath);
  }
  get euiUserProfileMenuCO() {
    return new CoEuiUserProfileMenu(this.euiUserProfileCO.currentPath);
  }
}


