/* eslint-disable no-template-curly-in-string */
import { BasePackage, ModelComponentPackage } from '../../kit'

import ArticleNavPackage from '../ArticleNavPackage'
import EntityLabelsPackage from '../shared/EntityLabelsPackage'
import ManuscriptContentPackage from '../shared/ManuscriptContentPackage'
import ReferenceListComponent from '../shared/ReferenceListComponent'

export default {
  name: 'ArticleReader',
  configure (config) {
    config.import(BasePackage)
    config.import(ModelComponentPackage)
    config.import(ManuscriptContentPackage)
    config.import(EntityLabelsPackage)
    config.import(ArticleNavPackage)

    config.addComponent('references', ReferenceListComponent)

    config.addToolPanel('toolbar', [
      {
        name: 'mode',
        type: 'tool-dropdown',
        showDisabled: false,
        style: 'full',
        items: [
          { type: 'command-group', name: 'switch-view' }
        ]
      }
    ])
  }
}

@@ -366,16 +366,86 @@
 mponent'
+%0Aimport FootnoteGroupComponent from '../shared/FootnoteGroupComponent'
 %0A%0Aexport
@@ -757,16 +757,77 @@
 mponent)
+%0A    config.addComponent('footnotes', FootnoteGroupComponent)
 %0A%0A    co

Add footnotes to the Reader.