import personalMenuTemplate from '!!raw-loader!../includes/templates/PersonalMenu.mustache'; import { htmluserlangattributes } from './utils'; /** * @type {MenuDefinition} */ const loggedOut = { id: 'p-personal', class: '', 'label-id': 'p-personal-label', label: 'Personal tools', 'html-userlangattributes': htmluserlangattributes, 'html-items': `'
  • Not logged in
  • Talk
  • Contributions
  • Create account
  • Log in
  • ` }; /** * @type {MenuDefinition} */ const loggedInWithEcho = { id: 'p-personal', 'label-id': 'p-personal-label', label: 'Personal tools', 'html-userlangattributes': htmluserlangattributes, 'html-items': `
  • Jdlrobson
  • Alerts (0)
  • Notices (3)
  • Talk
  • Sandbox
  • Preferences
  • Beta
  • Watchlist
  • Contributions
  • Log out
  • ` }; const ULS_LANGUAGE_SELECTOR = '
  • English
  • '; /** * @type {MenuDefinition} */ const loggedInWithULS = { id: 'p-personal', 'label-id': 'p-personal-label', label: 'Personal tools', 'html-userlangattributes': htmluserlangattributes, 'html-items': `${ULS_LANGUAGE_SELECTOR}
  • Jdlrobson
  • Alerts (0)
  • Notices (3)
  • Talk
  • Sandbox
  • Preferences
  • Beta
  • Watchlist
  • Contributions
  • Log out
  • ` }; /** * @type {Object.} */ const PERSONAL_MENU_TEMPLATE_DATA = { loggedOut, loggedInWithEcho, loggedInWithULS }; export { PERSONAL_MENU_TEMPLATE_DATA, personalMenuTemplate };