@jspreadsheet/bar
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -15,10 +15,10 @@ /** | ||
var _$_9657="translate;License required;This extension is not included on the scope of this license;isArray;toUpperCase;;replace;=;createModal;360px;320px;modal;open;current;isEditable;index;value;range;parent;getWorksheetName;!;close;Name is mandatory;setDefinedNames;createRangePicker;val;indexOf;picker;Defined names;Interval Name;Cell range;Save;Cancel;visible;delete;Are you sure?;edit;view;split;openWorksheet;getCoordsFromRange;helpers;updateSelectionFromCoords;onload;component;el;tracking;element;https://jspreadsheet.com/v8/formulas/g;GET;json;ajax;search;data;getSelection;rangeCount;getRangeAt;cloneRange;textContent;startContainer;param;params;join;@param ;type;: ;comment;<br>;map;title;filter;click;(;input;focus;update;preventDefault;cursor;readonly;contains;classList;contentEditable;true;setAttribute;removeAttribute;data-x;getAttribute;data-y;onevent;onselection;getRange;onblur;onopenworksheet;oncreateworksheet;onchangedefinednames;definedNames;config;keys;length;push;oninput;onafterchanges;oneditionend;end;edition;instance;cell;innerHTML;label;getValueFromCoords;setValueFromCoords;events;keydown;which;closeEditor;blur;down;target;createFormula;formula;addEventListener;div;createElement;appendChild;tools;render;status;scope;bar;oninit;call;error;setPlugins;license;object;undefined;exports;function;amd".split(";"); | ||
(function(d,l){typeof exports===_$_9657[134]&&typeof module!==_$_9657[135]?module[_$_9657[136]]=l():typeof define===_$_9657[137]&&define[_$_9657[138]]?define(l):d[_$_9657[128]]=l()})(this,function(){let d=null,l=jSuites[_$_9657[0]];const q=[_$_9657[1],_$_9657[2]],r=function(){let a=this,b=null;a[_$_9657[8]]=function(e){b=jSuites[_$_9657[11]](e,{width:_$_9657[9],height:_$_9657[10],backdrop:!1,closed:!0})};a[_$_9657[12]]=function(e){if(!d[_$_9657[13]]||!d[_$_9657[13]][_$_9657[14]]())return!1;b[_$_9657[12]](); | ||
e?(e[_$_9657[15]]&&(a[_$_9657[15]]=e[_$_9657[15]]),e[_$_9657[16]]&&(a[_$_9657[16]]=e[_$_9657[16]])):(a[_$_9657[15]]=_$_9657[5],a[_$_9657[16]]=_$_9657[5],a[_$_9657[18]][_$_9657[18]][_$_9657[17]]&&(a[_$_9657[16]]=d[_$_9657[13]][_$_9657[19]]()+_$_9657[20]+a[_$_9657[18]][_$_9657[18]][_$_9657[17]]))};a[_$_9657[21]]=function(e){if(e&&d[_$_9657[13]]){if(!a[_$_9657[15]]){alert(_$_9657[22]);return}e={index:a[_$_9657[15]][_$_9657[4]](),value:a[_$_9657[16]]};d[_$_9657[13]][_$_9657[23]]([e])}a[_$_9657[15]]=_$_9657[5]; | ||
a[_$_9657[16]]=_$_9657[5];b[_$_9657[21]]()};a[_$_9657[24]]=function(e){d[_$_9657[27]](e,function(){-1===e[_$_9657[25]]()[_$_9657[26]](_$_9657[20])&&(a[_$_9657[16]]=d[_$_9657[13]][_$_9657[19]]()+_$_9657[20]+e[_$_9657[25]]())})};return`<div @ready="self.createModal(this)" title="${jSuites[_$_9657[0]](_$_9657[28])}"> | ||
var _$_837b="translate;License required;This extension is not included on the scope of this license;isArray;toUpperCase;;replace;=;createModal;360px;320px;modal;open;current;isEditable;index;value;range;parent;getWorksheetName;!;close;Name is mandatory;setDefinedNames;createRangePicker;val;indexOf;picker;Defined names;Interval Name;Cell range;Save;Cancel;visible;delete;Are you sure?;edit;view;split;openWorksheet;getCoordsFromRange;helpers;updateSelectionFromCoords;onload;component;el;tracking;element;https://jspreadsheet.com/v8/formulas/g;GET;json;ajax;search;data;getSelection;rangeCount;getRangeAt;cloneRange;textContent;startContainer;param;params;join;@param ;type;: ;comment;<br>;map;title;filter;click;(;input;focus;update;preventDefault;cursor;readonly;contains;classList;contentEditable;true;setAttribute;removeAttribute;data-x;getAttribute;data-y;onevent;onselection;getRange;onblur;onopenworksheet;oncreateworksheet;onchangedefinednames;definedNames;config;keys;length;push;oninput;onafterchanges;oneditionend;end;edition;instance;cell;innerHTML;label;getValueFromCoords;setValueFromCoords;events;keydown;which;closeEditor;blur;down;target;createFormula;formula;addEventListener;div;createElement;appendChild;tools;render;status;scope;bar;oninit;call;error;setPlugins;license;object;undefined;exports;function;amd".split(";"); | ||
(function(d,l){typeof exports===_$_837b[134]&&typeof module!==_$_837b[135]?module[_$_837b[136]]=l():typeof define===_$_837b[137]&&define[_$_837b[138]]?define(l):d[_$_837b[128]]=l()})(this,function(){let d=null,l=jSuites[_$_837b[0]];const q=[_$_837b[1],_$_837b[2]],r=function(){let a=this,b=null;a[_$_837b[8]]=function(e){b=jSuites[_$_837b[11]](e,{width:_$_837b[9],height:_$_837b[10],backdrop:!1,closed:!0})};a[_$_837b[12]]=function(e){if(!d[_$_837b[13]]||!d[_$_837b[13]][_$_837b[14]]())return!1;b[_$_837b[12]](); | ||
e?(e[_$_837b[15]]&&(a[_$_837b[15]]=e[_$_837b[15]]),e[_$_837b[16]]&&(a[_$_837b[16]]=e[_$_837b[16]])):(a[_$_837b[15]]=_$_837b[5],a[_$_837b[16]]=_$_837b[5],a[_$_837b[18]][_$_837b[18]][_$_837b[17]]&&(a[_$_837b[16]]=d[_$_837b[13]][_$_837b[19]]()+_$_837b[20]+a[_$_837b[18]][_$_837b[18]][_$_837b[17]]))};a[_$_837b[21]]=function(e){if(e&&d[_$_837b[13]]){if(!a[_$_837b[15]]){alert(_$_837b[22]);return}e={index:a[_$_837b[15]][_$_837b[4]](),value:a[_$_837b[16]]};d[_$_837b[13]][_$_837b[23]]([e])}a[_$_837b[15]]=_$_837b[5]; | ||
a[_$_837b[16]]=_$_837b[5];b[_$_837b[21]]()};a[_$_837b[24]]=function(e){d[_$_837b[27]](e,function(){-1===e[_$_837b[25]]()[_$_837b[26]](_$_837b[20])&&(a[_$_837b[16]]=d[_$_837b[13]][_$_837b[19]]()+_$_837b[20]+e[_$_837b[25]]())})};return`<div @ready="self.createModal(this)" title="${jSuites[_$_837b[0]](_$_837b[28])}"> | ||
<div class='row'> | ||
<div class='column f1'> | ||
<div class='form-group'> | ||
<label class='label'>${jSuites[_$_9657[0]](_$_9657[29])}</label> | ||
<label class='label'>${jSuites[_$_837b[0]](_$_837b[29])}</label> | ||
<input type='text' @bind='self.index' class='jss_object'/> | ||
@@ -31,3 +31,3 @@ </div> | ||
<div class='form-group'> | ||
<label class='label'>${jSuites[_$_9657[0]](_$_9657[30])}</label> | ||
<label class='label'>${jSuites[_$_837b[0]](_$_837b[30])}</label> | ||
<div @ready='self.createRangePicker(this)' @bind='self.value'></div> | ||
@@ -39,17 +39,17 @@ </div> | ||
<div class='column center f1'> | ||
<input onclick='self.close(true)' type='button' value="${jSuites[_$_9657[0]](_$_9657[31])}" class='jbutton dark w100' style="margin-bottom: 4px"> | ||
<input type='button' onclick='self.close()' value="${jSuites[_$_9657[0]](_$_9657[32])}" class='jbutton dark w100'> | ||
<input onclick='self.close(true)' type='button' value="${jSuites[_$_837b[0]](_$_837b[31])}" class='jbutton dark w100' style="margin-bottom: 4px"> | ||
<input type='button' onclick='self.close()' value="${jSuites[_$_837b[0]](_$_837b[32])}" class='jbutton dark w100'> | ||
</div> | ||
</div> | ||
</div>`},t=function(){let a=this;a[_$_9657[33]]=!1;a[_$_9657[21]]=function(){setTimeout(function(){a[_$_9657[33]]=!1},100)};a[_$_9657[12]]=function(){if(!d[_$_9657[13]]||!d[_$_9657[13]][_$_9657[14]]())return!1;a[_$_9657[33]]=a[_$_9657[33]]?!1:!0};a[_$_9657[34]]=function(b){if(confirm(l(_$_9657[35])))d[_$_9657[13]][_$_9657[23]]([{index:b[_$_9657[15]],value:null}])};a[_$_9657[36]]=function(b){a[_$_9657[11]][_$_9657[12]](b);a[_$_9657[33]]=!1};a[_$_9657[37]]=function(b){if(b[_$_9657[16]]){var e= | ||
b[_$_9657[16]][_$_9657[38]](_$_9657[20])[0];Array[_$_9657[3]](e)&&(e=e[0]);e=e[_$_9657[6]](new RegExp(/'/g),_$_9657[5])[_$_9657[4]]();e=window[e]?window[e]:null;e[_$_9657[39]]();b=e[_$_9657[41]][_$_9657[40]](b[_$_9657[16]],!0);e[_$_9657[42]](b);a[_$_9657[33]]=!1}};a[_$_9657[43]]=function(){a[_$_9657[45]][_$_9657[44]]=a;jSuites[_$_9657[46]](a,!0)};return lemonade[_$_9657[47]]('<div>\n <div class="jss_bar_picker">\n <div><i class="material-icons cursor" onclick="self.open();">arrow_drop_down</i></div>\n <div class="jss_bar_names p20" data-visible="{{self.visible}}">\n <div @loop="self.data">\n <div class="row p6 middle">\n <div class="column f1 cursor" onclick="self.parent.view(self)">\n <div class="p4"><b>{{self.index}}</b></div>\n <div class="p4">{{self.value}}</div>\n </div><div class="column">\n <i class="material-icons cursor" onclick="self.parent.delete(self)">delete</i>\n </div>\n </div>\n </div>\n <input type="button" value="Add new entry" class="jbutton dark w100" onclick="self.edit()" />\n </div>\n </div>\n <Modal @ref="self.modal" />\n </div>', | ||
a,{Modal:r})},u=function(){let a=this,b=[];a[_$_9657[43]]=function(e){jSuites[_$_9657[51]]({url:_$_9657[48],method:_$_9657[49],dataType:_$_9657[50],success:function(f){b=f}})};a[_$_9657[52]]=function(e){a[_$_9657[53]]=[];if(!e||(_$_9657[5]+e)[0]!==_$_9657[7])return!1;var f=window[_$_9657[54]]();f&&0!==f[_$_9657[55]]&&(f=f[_$_9657[56]](0),f[_$_9657[57]](),e=f[_$_9657[59]][_$_9657[58]][_$_9657[6]](/[^A-Z]/gi,_$_9657[5]));e&&(a[_$_9657[53]]=b[_$_9657[70]](function(g){g[_$_9657[61]]=g[_$_9657[60]]?g[_$_9657[60]][_$_9657[68]](function(m){return _$_9657[63]+ | ||
m[_$_9657[64]]+_$_9657[65]+(m[_$_9657[66]]||_$_9657[5])+_$_9657[67]})[_$_9657[62]](_$_9657[5]):_$_9657[5];return 0===g[_$_9657[69]][_$_9657[26]](e)}))};a[_$_9657[71]]=function(e,f){var g=window[_$_9657[54]]();g&&0!==g[_$_9657[55]]&&(g=g[_$_9657[56]](0),g[_$_9657[57]](),g[_$_9657[59]][_$_9657[58]]=_$_9657[7]+e[_$_9657[69]]+_$_9657[72],jSuites[_$_9657[74]](a[_$_9657[73]][_$_9657[73]]),setTimeout(function(){a[_$_9657[53]]=[];a[_$_9657[73]][_$_9657[75]]()},200));f[_$_9657[76]]()};a[_$_9657[53]]=[];return"<div @loop=\"self.data\" class=\"jss_bar_search jss_object\">\n <div class='p20' onmousedown=\"self.parent.click(self, e)\">\n <div class='formula-title'><b>{{self.title}}</b></div>\n <div style='margin-bottom: 10px;'>{{self.description||''}}</div>\n <div style='color: #777'>{{self.syntax||''}}</div>\n <div style='color: #777'>{{self.params}}</div>\n </div>\n </div>"}, | ||
v=function(a){let b={},e={},f=null,g=function(){if(!d[_$_9657[13]])return!1;if(d[_$_9657[13]][_$_9657[14]]()||d[_$_9657[13]][_$_9657[77]]&&d[_$_9657[13]][_$_9657[77]][_$_9657[80]][_$_9657[79]](_$_9657[78]))b[_$_9657[73]][_$_9657[83]](_$_9657[81],_$_9657[82]);else b[_$_9657[73]][_$_9657[84]](_$_9657[81]);var c=d[_$_9657[13]][_$_9657[77]];if(c){let h=parseInt(c[_$_9657[86]](_$_9657[85]));c=parseInt(c[_$_9657[86]](_$_9657[87]));b[_$_9657[73]][_$_9657[58]]=(_$_9657[5]+d[_$_9657[13]][_$_9657[16]](h,c))[_$_9657[6]](/(\r\n|\n|\r)/gm, | ||
_$_9657[5])}};e[_$_9657[88]]=function(c,h,n,k){if(c===_$_9657[89])(c=h[_$_9657[90]]()[_$_9657[38]](_$_9657[20])[1])&&(b[_$_9657[17]]=c),g();else if(c===_$_9657[91]||c===_$_9657[92]||c===_$_9657[93])b[_$_9657[73]][_$_9657[58]]=_$_9657[5],b[_$_9657[17]]=_$_9657[5];else if(c===_$_9657[94]||c===_$_9657[43]){c=a[_$_9657[96]][_$_9657[95]];h=[];n=Object[_$_9657[97]](c);for(k=0;k<n[_$_9657[98]];k++)h[_$_9657[99]]({index:n[k],value:c[n[k]]});b[_$_9657[53]]=h}else if(c===_$_9657[100])b[_$_9657[73]][_$_9657[58]]= | ||
k[_$_9657[6]](/(\r\n|\n|\r)/gm,_$_9657[5]),f&&(f[_$_9657[16]]=b[_$_9657[73]][_$_9657[58]]);else if(c===_$_9657[101]||c===_$_9657[102]){if(f)b[_$_9657[103]](!0);g()}};b[_$_9657[103]]=function(c){if(f&&(!f[_$_9657[105]][_$_9657[104]]||c)&&f[_$_9657[106]]){c=parseInt(f[_$_9657[106]][_$_9657[86]](_$_9657[85]));let h=parseInt(f[_$_9657[106]][_$_9657[86]](_$_9657[87]));if(null===f[_$_9657[16]])f[_$_9657[106]][_$_9657[107]]=f[_$_9657[108]],b[_$_9657[73]][_$_9657[107]]=f[_$_9657[105]][_$_9657[109]](c,h); | ||
else f[_$_9657[105]][_$_9657[110]](c,h,f[_$_9657[16]]);f=null}};b[_$_9657[111]]=function(c){if(c[_$_9657[64]]===_$_9657[112])if(13===c[_$_9657[113]])d[_$_9657[13]][_$_9657[104]]&&(d[_$_9657[13]][_$_9657[114]](d[_$_9657[13]][_$_9657[104]],!0),f=null),b[_$_9657[73]][_$_9657[115]](),d[_$_9657[13]][_$_9657[116]](),c[_$_9657[76]]();else{if(27===c[_$_9657[113]]){if(d[_$_9657[13]][_$_9657[104]])d[_$_9657[13]][_$_9657[114]](d[_$_9657[13]][_$_9657[104]],!1);f[_$_9657[16]]=null;b[_$_9657[73]][_$_9657[115]]()}}else if(c[_$_9657[64]]=== | ||
_$_9657[73])b[_$_9657[75]]();else if(c[_$_9657[64]]===_$_9657[115])b[_$_9657[103]]();else if(c[_$_9657[64]]===_$_9657[74]&&d[_$_9657[13]]){if(!d[_$_9657[13]][_$_9657[104]]||!f){if(!d[_$_9657[13]][_$_9657[77]])d[_$_9657[13]][_$_9657[42]](0,0);f={instance:d[_$_9657[13]],label:d[_$_9657[13]][_$_9657[77]][_$_9657[107]],cell:d[_$_9657[13]][_$_9657[77]],value:null}}d[_$_9657[13]][_$_9657[77]][_$_9657[107]]=b[_$_9657[73]][_$_9657[107]];setTimeout(function(){jSuites[_$_9657[74]](c[_$_9657[117]])})}};b[_$_9657[75]]= | ||
function(){if(d[_$_9657[13]]){let c=b[_$_9657[73]][_$_9657[58]];d[_$_9657[13]][_$_9657[104]]?(a[_$_9657[73]][_$_9657[107]]=c,f[_$_9657[16]]=c):d[_$_9657[13]][_$_9657[77]]&&!d[_$_9657[13]][_$_9657[77]][_$_9657[80]][_$_9657[79]](_$_9657[78])&&(d[_$_9657[13]][_$_9657[77]][_$_9657[107]]=c,f[_$_9657[16]]=b[_$_9657[73]][_$_9657[58]])}};b[_$_9657[118]]=function(c){d[_$_9657[27]](c,{type:_$_9657[119],onupdate:function(){if(f)b[_$_9657[75]]()}});c[_$_9657[120]](_$_9657[74],b[_$_9657[111]]);c[_$_9657[120]](_$_9657[115], | ||
b[_$_9657[111]]);c[_$_9657[120]](_$_9657[73],b[_$_9657[111]]);c[_$_9657[120]](_$_9657[112],b[_$_9657[111]])};let m=document[_$_9657[122]](_$_9657[121]);a[_$_9657[124]][_$_9657[123]](m);lemonade[_$_9657[125]](function(){return lemonade[_$_9657[47]]("<div class='row jss_bar'>\n <input type='text' @bind='self.range' class='range-input jss_object' />\n <Names data=\"{{self.data}}\" />\n <div class='jss_bar_icon'><div></div></div>\n <div @ready='self.createFormula(this)' @ref=\"self.input\" class='formula jss_object'></div>\n <Search @ref=\"self.search\" input=\"{{self}}\" />\n </div>", | ||
b,{Search:u,Names:t})},m,{});return e},w=function(){if(8===this[_$_9657[126]]){if(!this[_$_9657[127]]||-1===this[_$_9657[127]][_$_9657[26]](_$_9657[128]))return 0}else return 1;return!1},p=function(){};p[_$_9657[129]]=function(a){let b=w[_$_9657[130]](a);if(!1!==b)console[_$_9657[131]](q[b]);else a[_$_9657[132]]({bar:v})};p[_$_9657[133]]=function(){null===d&&(d=this)};return p}); | ||
</div>`},t=function(){let a=this;a[_$_837b[33]]=!1;a[_$_837b[21]]=function(){setTimeout(function(){a[_$_837b[33]]=!1},100)};a[_$_837b[12]]=function(){if(!d[_$_837b[13]]||!d[_$_837b[13]][_$_837b[14]]())return!1;a[_$_837b[33]]=a[_$_837b[33]]?!1:!0};a[_$_837b[34]]=function(b){if(confirm(l(_$_837b[35])))d[_$_837b[13]][_$_837b[23]]([{index:b[_$_837b[15]],value:null}])};a[_$_837b[36]]=function(b){a[_$_837b[11]][_$_837b[12]](b);a[_$_837b[33]]=!1};a[_$_837b[37]]=function(b){if(b[_$_837b[16]]){var e= | ||
b[_$_837b[16]][_$_837b[38]](_$_837b[20])[0];Array[_$_837b[3]](e)&&(e=e[0]);e=e[_$_837b[6]](new RegExp(/'/g),_$_837b[5])[_$_837b[4]]();e=window[e]?window[e]:null;e[_$_837b[39]]();b=e[_$_837b[41]][_$_837b[40]](b[_$_837b[16]],!0);e[_$_837b[42]](b);a[_$_837b[33]]=!1}};a[_$_837b[43]]=function(){a[_$_837b[45]][_$_837b[44]]=a;jSuites[_$_837b[46]](a,!0)};return lemonade[_$_837b[47]]('<div>\n <div class="jss_bar_picker">\n <div><i class="material-icons cursor" onclick="self.open();">arrow_drop_down</i></div>\n <div class="jss_bar_names p20" data-visible="{{self.visible}}">\n <div @loop="self.data">\n <div class="row p6 middle">\n <div class="column f1 cursor" onclick="self.parent.view(self)">\n <div class="p4"><b>{{self.index}}</b></div>\n <div class="p4">{{self.value}}</div>\n </div><div class="column">\n <i class="material-icons cursor" onclick="self.parent.delete(self)">delete</i>\n </div>\n </div>\n </div>\n <input type="button" value="Add new entry" class="jbutton dark w100" onclick="self.edit()" />\n </div>\n </div>\n <Modal @ref="self.modal" />\n </div>', | ||
a,{Modal:r})},u=function(){let a=this,b=[];a[_$_837b[43]]=function(e){jSuites[_$_837b[51]]({url:_$_837b[48],method:_$_837b[49],dataType:_$_837b[50],success:function(f){b=f}})};a[_$_837b[52]]=function(e){a[_$_837b[53]]=[];if(!e||(_$_837b[5]+e)[0]!==_$_837b[7])return!1;var f=window[_$_837b[54]]();f&&0!==f[_$_837b[55]]&&(f=f[_$_837b[56]](0),f[_$_837b[57]](),e=f[_$_837b[59]][_$_837b[58]][_$_837b[6]](/[^A-Z]/gi,_$_837b[5]));e&&(a[_$_837b[53]]=b[_$_837b[70]](function(g){g[_$_837b[61]]=g[_$_837b[60]]?g[_$_837b[60]][_$_837b[68]](function(m){return _$_837b[63]+ | ||
m[_$_837b[64]]+_$_837b[65]+(m[_$_837b[66]]||_$_837b[5])+_$_837b[67]})[_$_837b[62]](_$_837b[5]):_$_837b[5];return 0===g[_$_837b[69]][_$_837b[26]](e)}))};a[_$_837b[71]]=function(e,f){var g=window[_$_837b[54]]();g&&0!==g[_$_837b[55]]&&(g=g[_$_837b[56]](0),g[_$_837b[57]](),g[_$_837b[59]][_$_837b[58]]=_$_837b[7]+e[_$_837b[69]]+_$_837b[72],jSuites[_$_837b[74]](a[_$_837b[73]][_$_837b[73]]),setTimeout(function(){a[_$_837b[53]]=[];a[_$_837b[73]][_$_837b[75]]()},200));f[_$_837b[76]]()};a[_$_837b[53]]=[];return"<div @loop=\"self.data\" class=\"jss_bar_search jss_object\">\n <div class='p20' onmousedown=\"self.parent.click(self, e)\">\n <div class='formula-title'><b>{{self.title}}</b></div>\n <div style='margin-bottom: 10px;'>{{self.description||''}}</div>\n <div style='color: #777'>{{self.syntax||''}}</div>\n <div style='color: #777'>{{self.params}}</div>\n </div>\n </div>"}, | ||
v=function(a){let b={},e={},f=null,g=function(){if(!d[_$_837b[13]])return!1;if(d[_$_837b[13]][_$_837b[14]]()||d[_$_837b[13]][_$_837b[77]]&&d[_$_837b[13]][_$_837b[77]][_$_837b[80]][_$_837b[79]](_$_837b[78]))b[_$_837b[73]][_$_837b[83]](_$_837b[81],_$_837b[82]);else b[_$_837b[73]][_$_837b[84]](_$_837b[81]);var c=d[_$_837b[13]][_$_837b[77]];if(c){let h=parseInt(c[_$_837b[86]](_$_837b[85]));c=parseInt(c[_$_837b[86]](_$_837b[87]));b[_$_837b[73]][_$_837b[58]]=(_$_837b[5]+d[_$_837b[13]][_$_837b[16]](h,c))[_$_837b[6]](/(\r\n|\n|\r)/gm, | ||
_$_837b[5])}};e[_$_837b[88]]=function(c,h,n,k){if(c===_$_837b[89])(c=h[_$_837b[90]]()[_$_837b[38]](_$_837b[20])[1])&&(b[_$_837b[17]]=c),g();else if(c===_$_837b[91]||c===_$_837b[92]||c===_$_837b[93])b[_$_837b[73]][_$_837b[58]]=_$_837b[5],b[_$_837b[17]]=_$_837b[5];else if(c===_$_837b[94]||c===_$_837b[43]){c=a[_$_837b[96]][_$_837b[95]];h=[];n=Object[_$_837b[97]](c);for(k=0;k<n[_$_837b[98]];k++)h[_$_837b[99]]({index:n[k],value:c[n[k]]});b[_$_837b[53]]=h}else if(c===_$_837b[100])b[_$_837b[73]][_$_837b[58]]= | ||
k[_$_837b[6]](/(\r\n|\n|\r)/gm,_$_837b[5]),f&&(f[_$_837b[16]]=b[_$_837b[73]][_$_837b[58]]);else if(c===_$_837b[101]||c===_$_837b[102]){if(f)b[_$_837b[103]](!0);g()}};b[_$_837b[103]]=function(c){if(f&&(!f[_$_837b[105]][_$_837b[104]]||c)&&f[_$_837b[106]]){c=parseInt(f[_$_837b[106]][_$_837b[86]](_$_837b[85]));let h=parseInt(f[_$_837b[106]][_$_837b[86]](_$_837b[87]));if(null===f[_$_837b[16]])f[_$_837b[106]][_$_837b[107]]=f[_$_837b[108]],b[_$_837b[73]][_$_837b[107]]=f[_$_837b[105]][_$_837b[109]](c,h); | ||
else f[_$_837b[105]][_$_837b[110]](c,h,f[_$_837b[16]]);f=null}};b[_$_837b[111]]=function(c){if(c[_$_837b[64]]===_$_837b[112])if(13===c[_$_837b[113]])d[_$_837b[13]][_$_837b[104]]&&(d[_$_837b[13]][_$_837b[114]](d[_$_837b[13]][_$_837b[104]],!0),f=null),b[_$_837b[73]][_$_837b[115]](),d[_$_837b[13]][_$_837b[116]](),c[_$_837b[76]]();else{if(27===c[_$_837b[113]]){if(d[_$_837b[13]][_$_837b[104]])d[_$_837b[13]][_$_837b[114]](d[_$_837b[13]][_$_837b[104]],!1);f[_$_837b[16]]=null;b[_$_837b[73]][_$_837b[115]]()}}else if(c[_$_837b[64]]=== | ||
_$_837b[73])b[_$_837b[75]]();else if(c[_$_837b[64]]===_$_837b[115])b[_$_837b[103]]();else if(c[_$_837b[64]]===_$_837b[74]&&d[_$_837b[13]]){if(!d[_$_837b[13]][_$_837b[104]]||!f){if(!d[_$_837b[13]][_$_837b[77]])d[_$_837b[13]][_$_837b[42]](0,0);f={instance:d[_$_837b[13]],label:d[_$_837b[13]][_$_837b[77]][_$_837b[107]],cell:d[_$_837b[13]][_$_837b[77]],value:null}}d[_$_837b[13]][_$_837b[77]][_$_837b[107]]=b[_$_837b[73]][_$_837b[107]];setTimeout(function(){jSuites[_$_837b[74]](c[_$_837b[117]])})}};b[_$_837b[75]]= | ||
function(){if(d[_$_837b[13]]){let c=b[_$_837b[73]][_$_837b[58]];d[_$_837b[13]][_$_837b[104]]?(a[_$_837b[73]][_$_837b[107]]=c,f[_$_837b[16]]=c):d[_$_837b[13]][_$_837b[77]]&&!d[_$_837b[13]][_$_837b[77]][_$_837b[80]][_$_837b[79]](_$_837b[78])&&(d[_$_837b[13]][_$_837b[77]][_$_837b[107]]=c,f[_$_837b[16]]=b[_$_837b[73]][_$_837b[58]])}};b[_$_837b[118]]=function(c){d[_$_837b[27]](c,{type:_$_837b[119],onupdate:function(){if(f)b[_$_837b[75]]()}});c[_$_837b[120]](_$_837b[74],b[_$_837b[111]]);c[_$_837b[120]](_$_837b[115], | ||
b[_$_837b[111]]);c[_$_837b[120]](_$_837b[73],b[_$_837b[111]]);c[_$_837b[120]](_$_837b[112],b[_$_837b[111]])};let m=document[_$_837b[122]](_$_837b[121]);a[_$_837b[124]][_$_837b[123]](m);lemonade[_$_837b[125]](function(){return lemonade[_$_837b[47]]("<div class='row jss_bar'>\n <input type='text' @bind='self.range' class='range-input jss_object' />\n <Names data=\"{{self.data}}\" />\n <div class='jss_bar_icon'><div></div></div>\n <div @ready='self.createFormula(this)' @ref=\"self.input\" class='formula jss_object'></div>\n <Search @ref=\"self.search\" input=\"{{self}}\" />\n </div>", | ||
b,{Search:u,Names:t})},m,{});return e},w=function(){if(8===this[_$_837b[126]]){if(!this[_$_837b[127]]||-1===this[_$_837b[127]][_$_837b[26]](_$_837b[128]))return 0}else return 1;return!1},p=function(){};p[_$_837b[129]]=function(a){let b=w[_$_837b[130]](a);if(!1!==b)console[_$_837b[131]](q[b]);else if(!0===a[_$_837b[96]][_$_837b[128]])a[_$_837b[132]]({bar:v})};p[_$_837b[133]]=function(){null===d&&(d=this)};return p}); |
@@ -34,3 +34,3 @@ { | ||
"main": "dist/index.js", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"bugs": "https://github.com/jspreadsheet/pro/issues", | ||
@@ -37,0 +37,0 @@ "homepage": "https://github.com/jspreadsheet/pro", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16628