@jspreadsheet/charts
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -20,3 +20,2 @@ /** | ||
if(!jSuites&&"function"===typeof require)var jSuites=require("jsuites");if(!lemonade&&"function"===typeof require)var lemonade=require("lemonade");if(!Chart&&"function"===typeof require)var Chart=require("chart.js"); | ||
(function(l,g){"object"===typeof exports&&"undefined"!==typeof module?module.exports=g():"function"===typeof define&&define.amd?define(g):l.charts=g()})(this,function(){var l=null,g=jSuites.translate,r=function(a){var d=a.innerText.match(/get\(.*?\)/gi);return d&&d.length?d[0].substring(4,d[0].length-1):a.innerText},A=function(){var a=[];"string"===typeof this.value&&(this.value=[this.value]);for(var d=0;12>d;d++)a[d]={value:this.value[d]||""};this.data=a;return lemonade.element('<div class="jss_chart_palette">\n <Color @loop="self.data" />\n </div>', | ||
@@ -23,0 +22,0 @@ this,{Color:function(){var e=this;e.create=function(c){jSuites.color(c,{value:e.value,onchange:function(b,k){b=e.parent.data.indexOf(e);e.parent.value[b]=k;e.parent.onchange("backgroundColor",e.parent.value);e.value=k}})};return lemonade.element('<div style="{{\'background-color:\'+self.value}}" @ready="self.create(this)"></div>',e)}})},B=function(){var a=this,d=null;a.instance=null;var e=` |
@@ -36,3 +36,3 @@ { | ||
"main": "dist/index.js", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"bugs": "https://github.com/jspreadsheet/pro/issues", | ||
@@ -39,0 +39,0 @@ "homepage": "https://github.com/jspreadsheet/pro", |
32951
310