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
23
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 3.0.3 to 3.0.4

40

dist/index.js

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

var _$_8cb5="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,k){typeof exports===_$_8cb5[134]&&typeof module!==_$_8cb5[135]?module[_$_8cb5[136]]=k():typeof define===_$_8cb5[137]&&define[_$_8cb5[138]]?define(k):d[_$_8cb5[128]]=k()})(this,function(){let d=null,k=jSuites[_$_8cb5[0]];const r=[_$_8cb5[1],_$_8cb5[2]],t=function(){let a=this,b=null;a[_$_8cb5[8]]=function(e){b=jSuites[_$_8cb5[11]](e,{width:_$_8cb5[9],height:_$_8cb5[10],backdrop:!1,closed:!0})};a[_$_8cb5[12]]=function(e){if(!d[_$_8cb5[13]]||!d[_$_8cb5[13]][_$_8cb5[14]]())return!1;b[_$_8cb5[12]]();
e?(e[_$_8cb5[15]]&&(a[_$_8cb5[15]]=e[_$_8cb5[15]]),e[_$_8cb5[16]]&&(a[_$_8cb5[16]]=e[_$_8cb5[16]])):(a[_$_8cb5[15]]=_$_8cb5[5],a[_$_8cb5[16]]=_$_8cb5[5],a[_$_8cb5[18]][_$_8cb5[18]][_$_8cb5[17]]&&(a[_$_8cb5[16]]=d[_$_8cb5[13]][_$_8cb5[19]]()+_$_8cb5[20]+a[_$_8cb5[18]][_$_8cb5[18]][_$_8cb5[17]]))};a[_$_8cb5[21]]=function(e){if(e&&d[_$_8cb5[13]]){if(!a[_$_8cb5[15]]){alert(_$_8cb5[22]);return}e={index:a[_$_8cb5[15]][_$_8cb5[4]](),value:a[_$_8cb5[16]]};d[_$_8cb5[13]][_$_8cb5[23]]([e])}a[_$_8cb5[15]]=_$_8cb5[5];
a[_$_8cb5[16]]=_$_8cb5[5];b[_$_8cb5[21]]()};a[_$_8cb5[24]]=function(e){d[_$_8cb5[27]](e,function(){-1===e[_$_8cb5[25]]()[_$_8cb5[26]](_$_8cb5[20])&&(a[_$_8cb5[16]]=d[_$_8cb5[13]][_$_8cb5[19]]()+_$_8cb5[20]+e[_$_8cb5[25]]())})};return`<div @ready="self.createModal(this)" title="${jSuites[_$_8cb5[0]](_$_8cb5[28])}">
var _$_8010="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;createFormula;formula;addEventListener;div;createElement;appendChild;tools;render;status;scope;bar;oninit;call;error;setPlugins;license;object;undefined;exports;function;amd".split(";");
(function(d,k){typeof exports===_$_8010[133]&&typeof module!==_$_8010[134]?module[_$_8010[135]]=k():typeof define===_$_8010[136]&&define[_$_8010[137]]?define(k):d[_$_8010[127]]=k()})(this,function(){let d=null,k=jSuites[_$_8010[0]];const r=[_$_8010[1],_$_8010[2]],t=function(){let a=this,b=null;a[_$_8010[8]]=function(e){b=jSuites[_$_8010[11]](e,{width:_$_8010[9],height:_$_8010[10],backdrop:!1,closed:!0})};a[_$_8010[12]]=function(e){if(!d[_$_8010[13]]||!d[_$_8010[13]][_$_8010[14]]())return!1;b[_$_8010[12]]();
e?(e[_$_8010[15]]&&(a[_$_8010[15]]=e[_$_8010[15]]),e[_$_8010[16]]&&(a[_$_8010[16]]=e[_$_8010[16]])):(a[_$_8010[15]]=_$_8010[5],a[_$_8010[16]]=_$_8010[5],a[_$_8010[18]][_$_8010[18]][_$_8010[17]]&&(a[_$_8010[16]]=d[_$_8010[13]][_$_8010[19]]()+_$_8010[20]+a[_$_8010[18]][_$_8010[18]][_$_8010[17]]))};a[_$_8010[21]]=function(e){if(e&&d[_$_8010[13]]){if(!a[_$_8010[15]]){alert(_$_8010[22]);return}e={index:a[_$_8010[15]][_$_8010[4]](),value:a[_$_8010[16]]};d[_$_8010[13]][_$_8010[23]]([e])}a[_$_8010[15]]=_$_8010[5];
a[_$_8010[16]]=_$_8010[5];b[_$_8010[21]]()};a[_$_8010[24]]=function(e){d[_$_8010[27]](e,function(){-1===e[_$_8010[25]]()[_$_8010[26]](_$_8010[20])&&(a[_$_8010[16]]=d[_$_8010[13]][_$_8010[19]]()+_$_8010[20]+e[_$_8010[25]]())})};return`<div @ready="self.createModal(this)" title="${jSuites[_$_8010[0]](_$_8010[28])}">
<div class='row'>
<div class='column f1'>
<div class='form-group'>
<label class='label'>${jSuites[_$_8cb5[0]](_$_8cb5[29])}</label>
<label class='label'>${jSuites[_$_8010[0]](_$_8010[29])}</label>
<input type='text' @bind='self.index' class='jss_object'/>

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

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

@@ -30,8 +30,8 @@ {

"dependencies": {
"jsuites": "^5.0.20",
"lemonadejs": "^3.2.1"
"jsuites": "^5.0.24",
"lemonadejs": "^3.3.2"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"version": "3.0.3",
"version": "3.0.4",
"bugs": "https://github.com/jspreadsheet/pro/issues",

@@ -38,0 +38,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