Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jspreadsheet/bar

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jspreadsheet/bar - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

40

dist/index.js

@@ -15,10 +15,10 @@ /**

var _$_32f2="translate;License required;This extension is not included on the scope of this license;status;scope;bar;indexOf;isArray;toUpperCase;;replace;=;createModal;360px;320px;modal;open;current;isEditable;index;value;range;parent;getWorksheetName;!;close;Name is mandatory;setDefinedNames;createRangePicker;val;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;setValueFromCoords;events;keydown;which;closeEditor;blur;down;target;createFormula;formula;addEventListener;div;createElement;appendChild;tools;render;oninit;call;error;setPlugins;license;object;undefined;exports;function;amd".split(";");
(function(d,l){typeof exports===_$_32f2[133]&&typeof module!==_$_32f2[134]?module[_$_32f2[135]]=l():typeof define===_$_32f2[136]&&define[_$_32f2[137]]?define(l):d[_$_32f2[5]]=l()})(this,function(){let d=null,l=jSuites[_$_32f2[0]];const q=[_$_32f2[1],_$_32f2[2]],r=function(){if(8===this[_$_32f2[3]]){if(!this[_$_32f2[4]]||-1===this[_$_32f2[4]][_$_32f2[6]](_$_32f2[5]))return 0}else return 1;return!1},t=function(){let a=this,b=null;a[_$_32f2[12]]=function(e){b=jSuites[_$_32f2[15]](e,{width:_$_32f2[13],
height:_$_32f2[14],backdrop:!1,closed:!0})};a[_$_32f2[16]]=function(e){if(!d[_$_32f2[17]]||!d[_$_32f2[17]][_$_32f2[18]]())return!1;b[_$_32f2[16]]();e?(e[_$_32f2[19]]&&(a[_$_32f2[19]]=e[_$_32f2[19]]),e[_$_32f2[20]]&&(a[_$_32f2[20]]=e[_$_32f2[20]])):(a[_$_32f2[19]]=_$_32f2[9],a[_$_32f2[20]]=_$_32f2[9],a[_$_32f2[22]][_$_32f2[22]][_$_32f2[21]]&&(a[_$_32f2[20]]=d[_$_32f2[17]][_$_32f2[23]]()+_$_32f2[24]+a[_$_32f2[22]][_$_32f2[22]][_$_32f2[21]]))};a[_$_32f2[25]]=function(e){if(e&&d[_$_32f2[17]]){if(!a[_$_32f2[19]]){alert(_$_32f2[26]);
return}e={index:a[_$_32f2[19]][_$_32f2[8]](),value:a[_$_32f2[20]]};d[_$_32f2[17]][_$_32f2[27]]([e])}a[_$_32f2[19]]=_$_32f2[9];a[_$_32f2[20]]=_$_32f2[9];b[_$_32f2[25]]()};a[_$_32f2[28]]=function(e){d[_$_32f2[30]](e,function(){-1===e[_$_32f2[29]]()[_$_32f2[6]](_$_32f2[24])&&(a[_$_32f2[20]]=d[_$_32f2[17]][_$_32f2[23]]()+_$_32f2[24]+e[_$_32f2[29]]())})};return`<div @ready="self.createModal(this)" title="${jSuites[_$_32f2[0]](_$_32f2[31])}">
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])}">
<div class='row'>
<div class='column f1'>
<div class='form-group'>
<label class='label'>${jSuites[_$_32f2[0]](_$_32f2[32])}</label>
<label class='label'>${jSuites[_$_9657[0]](_$_9657[29])}</label>
<input type='text' @bind='self.index' class='jss_object'/>

@@ -31,3 +31,3 @@ </div>

<div class='form-group'>
<label class='label'>${jSuites[_$_32f2[0]](_$_32f2[33])}</label>
<label class='label'>${jSuites[_$_9657[0]](_$_9657[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[_$_32f2[0]](_$_32f2[34])}" class='jbutton dark w100' style="margin-bottom: 4px">
<input type='button' onclick='self.close()' value="${jSuites[_$_32f2[0]](_$_32f2[35])}" class='jbutton dark w100'>
<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'>
</div>
</div>
</div>`},u=function(){let a=this;a[_$_32f2[36]]=!1;a[_$_32f2[25]]=function(){setTimeout(function(){a[_$_32f2[36]]=!1},100)};a[_$_32f2[16]]=function(){if(!d[_$_32f2[17]]||!d[_$_32f2[17]][_$_32f2[18]]())return!1;a[_$_32f2[36]]=a[_$_32f2[36]]?!1:!0};a[_$_32f2[37]]=function(b){if(confirm(l(_$_32f2[38])))d[_$_32f2[17]][_$_32f2[27]]([{index:b[_$_32f2[19]],value:null}])};a[_$_32f2[39]]=function(b){a[_$_32f2[15]][_$_32f2[16]](b);a[_$_32f2[36]]=!1};a[_$_32f2[40]]=function(b){if(b[_$_32f2[20]]){var e=
b[_$_32f2[20]][_$_32f2[41]](_$_32f2[24])[0];Array[_$_32f2[7]](e)&&(e=e[0]);e=e[_$_32f2[10]](new RegExp(/'/g),_$_32f2[9])[_$_32f2[8]]();e=window[e]?window[e]:null;e[_$_32f2[42]]();b=e[_$_32f2[44]][_$_32f2[43]](b[_$_32f2[20]],!0);e[_$_32f2[45]](b);a[_$_32f2[36]]=!1}};a[_$_32f2[46]]=function(){a[_$_32f2[48]][_$_32f2[47]]=a;jSuites[_$_32f2[49]](a,!0)};return lemonade[_$_32f2[50]]('<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:t})},v=function(){let a=this,b=[];a[_$_32f2[46]]=function(e){jSuites[_$_32f2[54]]({url:_$_32f2[51],method:_$_32f2[52],dataType:_$_32f2[53],success:function(f){b=f}})};a[_$_32f2[55]]=function(e){a[_$_32f2[56]]=[];if((_$_32f2[9]+e)[0]!==_$_32f2[11])return!1;var f=window[_$_32f2[57]]();f&&0!==f[_$_32f2[58]]&&(f=f[_$_32f2[59]](0),f[_$_32f2[60]](),e=f[_$_32f2[62]][_$_32f2[61]][_$_32f2[10]](/[^A-Z]/gi,_$_32f2[9]));e&&(a[_$_32f2[56]]=b[_$_32f2[73]](function(g){g[_$_32f2[64]]=g[_$_32f2[63]]?g[_$_32f2[63]][_$_32f2[71]](function(m){return _$_32f2[66]+
m[_$_32f2[67]]+_$_32f2[68]+(m[_$_32f2[69]]||_$_32f2[9])+_$_32f2[70]})[_$_32f2[65]](_$_32f2[9]):_$_32f2[9];return 0===g[_$_32f2[72]][_$_32f2[6]](e)}))};a[_$_32f2[74]]=function(e,f){var g=window[_$_32f2[57]]();g&&0!==g[_$_32f2[58]]&&(g=g[_$_32f2[59]](0),g[_$_32f2[60]](),g[_$_32f2[62]][_$_32f2[61]]=_$_32f2[11]+e[_$_32f2[72]]+_$_32f2[75],jSuites[_$_32f2[77]](a[_$_32f2[76]][_$_32f2[76]]),setTimeout(function(){a[_$_32f2[56]]=[];a[_$_32f2[76]][_$_32f2[78]]()},200));f[_$_32f2[79]]()};a[_$_32f2[56]]=[];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>"},
w=function(a){let b={},e={},f=null,g=function(){if(!d[_$_32f2[17]])return!1;if(d[_$_32f2[17]][_$_32f2[18]]()||d[_$_32f2[17]][_$_32f2[80]]&&d[_$_32f2[17]][_$_32f2[80]][_$_32f2[83]][_$_32f2[82]](_$_32f2[81]))b[_$_32f2[76]][_$_32f2[86]](_$_32f2[84],_$_32f2[85]);else b[_$_32f2[76]][_$_32f2[87]](_$_32f2[84]);var c=d[_$_32f2[17]][_$_32f2[80]];if(c){let h=parseInt(c[_$_32f2[89]](_$_32f2[88]));c=parseInt(c[_$_32f2[89]](_$_32f2[90]));b[_$_32f2[76]][_$_32f2[61]]=(_$_32f2[9]+d[_$_32f2[17]][_$_32f2[20]](h,c))[_$_32f2[10]](/(\r\n|\n|\r)/gm,
_$_32f2[9])}};e[_$_32f2[91]]=function(c,h,n,k){if(c===_$_32f2[92])(c=h[_$_32f2[93]]()[_$_32f2[41]](_$_32f2[24])[1])&&(b[_$_32f2[21]]=c),g();else if(c===_$_32f2[94]||c===_$_32f2[95]||c===_$_32f2[96])b[_$_32f2[76]][_$_32f2[61]]=_$_32f2[9],b[_$_32f2[21]]=_$_32f2[9];else if(c===_$_32f2[97]||c===_$_32f2[46]){c=a[_$_32f2[99]][_$_32f2[98]];h=[];n=Object[_$_32f2[100]](c);for(k=0;k<n[_$_32f2[101]];k++)h[_$_32f2[102]]({index:n[k],value:c[n[k]]});b[_$_32f2[56]]=h}else if(c===_$_32f2[103])b[_$_32f2[76]][_$_32f2[61]]=
k[_$_32f2[10]](/(\r\n|\n|\r)/gm,_$_32f2[9]),f&&(f[_$_32f2[20]]=b[_$_32f2[76]][_$_32f2[61]]);else if(c===_$_32f2[104]||c===_$_32f2[105]){if(f)b[_$_32f2[106]](!0);g()}};b[_$_32f2[106]]=function(c){if(f&&(!f[_$_32f2[108]][_$_32f2[107]]||c)&&f[_$_32f2[109]]){if(null===f[_$_32f2[20]])f[_$_32f2[109]][_$_32f2[110]]=f[_$_32f2[111]];else{c=parseInt(f[_$_32f2[109]][_$_32f2[89]](_$_32f2[88]));let h=parseInt(f[_$_32f2[109]][_$_32f2[89]](_$_32f2[90]));f[_$_32f2[108]][_$_32f2[112]](c,h,f[_$_32f2[20]])}f=null}};
b[_$_32f2[113]]=function(c){if(c[_$_32f2[67]]===_$_32f2[114])if(13===c[_$_32f2[115]])d[_$_32f2[17]][_$_32f2[107]]&&(d[_$_32f2[17]][_$_32f2[116]](d[_$_32f2[17]][_$_32f2[107]],!0),f=null),b[_$_32f2[76]][_$_32f2[117]](),d[_$_32f2[17]][_$_32f2[118]](),c[_$_32f2[79]]();else{if(27===c[_$_32f2[115]]){if(d[_$_32f2[17]][_$_32f2[107]])d[_$_32f2[17]][_$_32f2[116]](d[_$_32f2[17]][_$_32f2[107]],!1);f[_$_32f2[20]]=null;b[_$_32f2[76]][_$_32f2[110]]=d[_$_32f2[17]][_$_32f2[80]][_$_32f2[110]];b[_$_32f2[76]][_$_32f2[117]]()}}else if(c[_$_32f2[67]]===
_$_32f2[76])b[_$_32f2[78]]();else if(c[_$_32f2[67]]===_$_32f2[117])b[_$_32f2[106]]();else if(c[_$_32f2[67]]===_$_32f2[77]&&d[_$_32f2[17]]){if(!d[_$_32f2[17]][_$_32f2[107]]||!f){if(!d[_$_32f2[17]][_$_32f2[80]])d[_$_32f2[17]][_$_32f2[45]](0,0);f={instance:d[_$_32f2[17]],label:d[_$_32f2[17]][_$_32f2[80]][_$_32f2[110]],cell:d[_$_32f2[17]][_$_32f2[80]],value:null}}d[_$_32f2[17]][_$_32f2[80]][_$_32f2[110]]=b[_$_32f2[76]][_$_32f2[110]];setTimeout(function(){jSuites[_$_32f2[77]](c[_$_32f2[119]])})}};b[_$_32f2[78]]=
function(){if(d[_$_32f2[17]]){let c=b[_$_32f2[76]][_$_32f2[61]];d[_$_32f2[17]][_$_32f2[107]]?(a[_$_32f2[76]][_$_32f2[110]]=c,f[_$_32f2[20]]=c):d[_$_32f2[17]][_$_32f2[80]]&&!d[_$_32f2[17]][_$_32f2[80]][_$_32f2[83]][_$_32f2[82]](_$_32f2[81])&&(d[_$_32f2[17]][_$_32f2[80]][_$_32f2[110]]=c,f[_$_32f2[20]]=b[_$_32f2[76]][_$_32f2[61]])}};b[_$_32f2[120]]=function(c){d[_$_32f2[30]](c,{type:_$_32f2[121],onupdate:function(){if(f)b[_$_32f2[78]]()}});c[_$_32f2[122]](_$_32f2[77],b[_$_32f2[113]]);c[_$_32f2[122]](_$_32f2[117],
b[_$_32f2[113]]);c[_$_32f2[122]](_$_32f2[76],b[_$_32f2[113]]);c[_$_32f2[122]](_$_32f2[114],b[_$_32f2[113]])};let m=document[_$_32f2[124]](_$_32f2[123]);a[_$_32f2[126]][_$_32f2[125]](m);lemonade[_$_32f2[127]](function(){return lemonade[_$_32f2[50]]("<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:v,Names:u})},m,{});return e},p=function(){};p[_$_32f2[128]]=function(a){let b=r[_$_32f2[129]](a);if(!1!==b)console[_$_32f2[130]](q[b]);else a[_$_32f2[131]]({bar:w})};p[_$_32f2[132]]=function(){null===d&&(d=this)};return p});
</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});

@@ -30,7 +30,7 @@ {

"dependencies": {
"jsuites": "^5.0.8",
"lemonadejs": "^3.1.1"
"jsuites": "^5.0.18",
"lemonadejs": "^3.2.1"
},
"main": "dist/index.js",
"version": "2.0.0",
"version": "3.0.0",
"bugs": "https://github.com/jspreadsheet/pro/issues",

@@ -37,0 +37,0 @@ "homepage": "https://github.com/jspreadsheet/pro",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc