{ "pandav:/index.js": { "cubeCode": "Cube('pandav:/com/decoration/1.3.9',['pandav:/npm/bcore/0.0.18/event','pandav:/npm/jquery/2.1.4','pandav:/npm/lodash/4.6.1'],function(a,b,c){var d=c('pandav:/npm/bcore/0.0.18/event'),e=c('pandav:/npm/jquery/2.1.4'),f=c('pandav:/npm/lodash/4.6.1');return a.exports=d.extend(function(a,b){this.config={theme:{}},this.container=e(a),this.apis=b.apis,this._data=null,this.chart=null,this.init(b)},{init:function(a){this.mergeConfig(a),this.updateLayout(),this.updateStyle()},render:function(a,b){this.mergeConfig(b),this.updateStyle()},resize:function(){this.updateStyle()},mergeConfig:function(a){return a?(this.config.theme=f.defaultsDeep(a.theme||{},this.config.theme),this.config=f.defaultsDeep(a||{},this.config),this.config):this.config},updateLayout:function(){this.ele=e('
'),this.container.empty().html(this.ele)},updateStyle:function(){var a=this.config,b=a.global.img,c=a.list[b];this.updateLayout(),this.ele.css({width:'100%',height:'100%',opacity:a.global.opacity,backgroundImage:'url(\"'+c.url+'\")',\"background-size\":'100%',\"background-repeat\":'no-repeat'}).css(c.css)},destroy:function(){this.container.empty(),this._data=null}}),a.exports});", "requires": [], "buildLevel": 1, "outputDir": "/com/decoration/1.3.9", "outputPath": "/com/decoration/1.3.9/index.js", "fileName": "/index.js" } }