| 
                        12345678910111213141516171819202122232425262728293031323334 | 
                        - /**
 -  * @Author: Caven
 -  * @Date: 2020-02-02 15:55:53
 -  */
 - 
 - const install = function(DC) {
 -   if (!echarts) {
 -     throw new Error('Chart: missing charts lib')
 -   }
 - 
 -   if (!DC || !DC.init) {
 -     throw new Error('Chart: Missing DC Base')
 -   }
 - 
 -   DC.init(() => {
 -     try {
 -       DC.mixin(require('./src/components.js').default)
 -     } catch (e) {
 -       // eslint-disable-next-line no-console
 -       console.error(e)
 -     }
 -   })
 - }
 - 
 - /* istanbul ignore if */
 - if (typeof window !== 'undefined' && window.DC) {
 -   install(window.DC)
 - }
 - 
 - export default {
 -   version: __VERSION__,
 -   compile_time: __TIME__,
 -   install
 - }
 
 
  |