2021-09-03 09:06:28 +00:00
|
|
|
import App from '../../../base'
|
|
|
|
import { react2angular } from 'react2angular'
|
|
|
|
|
2021-09-30 11:29:25 +00:00
|
|
|
import PdfPreview from '../components/pdf-preview'
|
|
|
|
import { rootContext } from '../../../shared/context/root-context'
|
2022-05-23 11:59:08 +00:00
|
|
|
import {
|
|
|
|
DefaultSynctexControl,
|
|
|
|
DetacherSynctexControl,
|
|
|
|
} from '../components/detach-synctex-control'
|
2021-09-03 09:06:28 +00:00
|
|
|
|
2021-09-30 11:29:25 +00:00
|
|
|
App.component('pdfPreview', react2angular(rootContext.use(PdfPreview), []))
|
2021-10-21 10:31:51 +00:00
|
|
|
App.component(
|
|
|
|
'pdfSynctexControls',
|
2022-05-23 11:59:08 +00:00
|
|
|
react2angular(rootContext.use(DefaultSynctexControl), [])
|
2021-10-21 10:31:51 +00:00
|
|
|
)
|
2021-11-30 14:54:14 +00:00
|
|
|
App.component(
|
|
|
|
'detacherSynctexControl',
|
|
|
|
react2angular(rootContext.use(DetacherSynctexControl), [])
|
|
|
|
)
|