{ "pandav:/initFilterScript/JObject.js": { "cubeCode": "Cube('pandav:/com/linearText/2.0.0/initFilterScript/JObject',[],function(a){return a.exports});", "requires": [], "buildLevel": 0, "outputDir": "/com/linearText/2.0.0/initFilterScript", "outputPath": "/com/linearText/2.0.0/initFilterScript/JObject.js", "fileName": "/initFilterScript/JObject.js" }, "pandav:/index.js": { "cubeCode": "Cube('pandav:/com/linearText/2.0.0',['pandav:/npm/bcore/0.0.18/event','pandav:/npm/react/17.0.2','pandav:/npm/react-dom/17.0.2','pandav:/com/linearText/2.0.0/LinearText','pandav:/npm/jquery/2.1.4'],function(a,b,c){function d(a){\"@babel/helpers - typeof\";return d='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&'function'==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?'symbol':typeof a},d(a)}function e(b,a){if(!(b instanceof a))throw new TypeError('Cannot call a class as a function')}function f(a,b){for(var c,d=0;dn||t=n&&(t=m)),this.percent=t,this.text.style.backgroundImage='radial'===p?'-webkit-radial-gradient('.concat(t,'%, ').concat(k,', ').concat(i,' ').concat(r,'%, ').concat(g.color,' ').concat(s,'%)'):'-webkit-linear-gradient(90deg, '.concat(i,' ').concat(t,'%, ').concat(g.color,' ').concat(s,'%)'),cancelAnimationFrame(this.animationHanler),this.animationHanler=requestAnimationFrame(function(){return e.animation(a)})}},{key:'componentWillReceiveProps',value:function c(a,b){this.animation(a)}},{key:'shouldComponentUpdate',value:function d(a,b,c){return!t.isEqual(this.props.data,a.data)||!t.isEqual(this.state,b)||!t.isEqual(this.props.config,a.config)||!t.isEqual(this.props.width,a.width)||!t.isEqual(this.props.height,a.height)}},{key:'componentWillUnmount',value:function a(){this.animationHanler&&cancelAnimationFrame(this.animationHanler)}},{key:'render',value:function a(){var b=this,c=this.props,d=c.config,e=c.data,f=c.id,g=c.width,h=c.height,i=d.chart,j=i.textStyle,k=i.align,l=d.animation.color;return s.createElement('div',{className:'__pandav-compontent',id:f,style:{width:g,height:h}},s.createElement('div',{ref:function c(a){return b.text=a},style:Object.assign({WebkitFontSmoothing:'antialiased',WebkitBackfaceVisibility:'hidden',backfaceVisibility:'hidden',backgroundImage:'-webkit-radial-gradient(27%, circle, '.concat(l,' 3%, ').concat(j.color,' 50%)'),WebkitBackgroundClip:'text',WebkitTextFillColor:'transparent',fontStyle:j.italic,textAlign:k},j)},e&&e.length&&e[0].text))}}])}(s.Component);return a.exports=i,a.exports});", "requires": [], "buildLevel": 2, "outputDir": "/com/linearText/2.0.0", "outputPath": "/com/linearText/2.0.0/LinearText.js", "fileName": "/LinearText.js" }, "pandav:/initFilterScript/Normal.js": { "cubeCode": "Cube('pandav:/com/linearText/2.0.0/initFilterScript/Normal',[],function(a){return a.exports});", "requires": [], "buildLevel": 0, "outputDir": "/com/linearText/2.0.0/initFilterScript", "outputPath": "/com/linearText/2.0.0/initFilterScript/Normal.js", "fileName": "/initFilterScript/Normal.js" } }