import Component from '../../component.js'
import CoUxLayoutNavBarActionItem from './ux-layout-nav-bar-action-item.js'
import CoUxNotificationsPanel from './ux-notifications-panel.js'

export default class CoUxLayoutNavBarActionItemNotifications extends Component {
  constructor(parent) {
    let selector = 'ux-layout-nav-bar-action-item-notifications';
    super(parent, selector);
    //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/src/lib/ux-components/layout/ux-layout-app-shell/components/ux-layout-nav-bar/ux-layout-nav-bar-action-item-notifications.component.ts?at=support/10.x
  }
  get actionItemCO(){
    return new CoUxLayoutNavBarActionItem(this.currentPath);
  }
  get overlayPanelContent(){
    return this.actionItemCO.currentPath + '//uxLayoutNavBarOverlayPanelContent';
  }
  get notificationsPanelCO(){
    return new CoUxNotificationsPanel(this.overlayPanelContent);
  }
}

