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

@jspreadsheet/bar

Package Overview
Dependencies
Maintainers
0
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 5.0.4 to 5.0.6

CHANGELOG.md

42

dist/index.js

@@ -17,23 +17,21 @@ /**

(function(a,e){const m=a0_0x107f;for(a=a();;)try{if(-parseInt(m(543))*(-parseInt(m(472))/2)+parseInt(m(520))/3+-parseInt(m(584))/4*(-parseInt(m(448))/5)+-parseInt(m(576))/6+parseInt(m(489))/7+-parseInt(m(471))/8+parseInt(m(569))/9*(-parseInt(m(570))/10)===e)break;else a.push(a.shift())}catch(u){a.push(a.shift())}})(a0_0x3633,586181);function a0_0x107f(a,e){const m=a0_0x3633();return a0_0x107f=function(u,v){return m[u-445]},a0_0x107f(a,e)}
function a0_0x3633(){const a='getRangeAt;261HBJdZl;25940wUaCBA;<div :ready="self.createModal" title=";marginTop;ajax;getSelection;cell;6785424GNTLeV;appendChild;render;length;createModal;open;data-y;translate;236syLAKw;refreshBorders;preventDefault;Name is mandatory;openWorksheet;readonly;examples;offsetTop;node;selected;returns;tracking;cursor;match;ArrowUp;scrollTop;Escape;innerHTML;\\$&;push;firstChild;320px;div;records;license;addEventListener;insertLineBreak;split;onafterchanges;startContainer;#777;offsetHeight;helpers;88790fNVoBc;style;closeEditor;getOptions;current;altKey;visible;getRange;<br>;Defined names;">\n <div class=\'jss_style_row\'>\n <div class=\'jss_style_col jss_style_f1\'>\n <div class=\'jss_style_form_group\'>\n <label class=\'label\'>;oneditionend;remove;with-bar;input;reset;edition;large;checked;role;<div class=\'jss_style_row jss_bar\'>\n <input type=\'text\' :bind=\'self.range\' class=\'range-input jss_object\' readonly="readonly" />\n <Names :data="self.data" />\n <div class=\'jss_bar_icon\'></div>\n <div :ready=\'self.createFormula\' :ref="self.input" contenteditable="true" class="jss_picker"></div>\n <i class="material-icons" onclick="self.expand">expand_more</i>\n <QuickSearch :ref="self.search" :suggestions="" />\n </div>;html;getAttribute;6599312dUGygr;44ikVsFf;The bar extension requires Jspreadsheet Pro v11+;target;The bar extension is not included on the scope of this license;amd;val;version;classList;updateSelectionFromCoords;undefined;jss_nowrap;onselection;ArrowDown;onblur;indexOf;key;true;971040ESeIGa;jss_formula;index;Are you sure?;cloneRange;License required;oninit;instance;label;definedNames;getWorksheetInstanceByName;data;blur;oninput;object;keydown;GET;validSelection;setPlugins;update;type;events;5px;getCoordsFromRange;which;<div :loop="self.data" class="jss_bar_search jss_object">\n <div onmousedown="self.parent.click" data-selected="{{self.selected}}">\n <div class=\'formula-title\'><pre><code class="language-excel"><b>{{self.syntax}}</b></code></pre></div>\n <div>{{self.description}}</div>\n <div class=\'jss_bar_gray\'>{{self.params}}</div>\n <div class=\'jss_bar_gray\'>{{self.example}}</div>\n </div>\n </div>;contentEditable;360px;replace;status;onchangedefinednames;1046337aPXmxN;search;Enter;element;end;data-x;save;modal;radio;close;scope;picker;getWorksheetName;Save;tools;edit;add;parent;createFormula;resetDefinedNames;innerText;bar;keys;49182ggyAre;exports;range;start;textContent;contains;param;click;setAttribute;config;error;example;checkbox;" class=\'jss_style_button\'> \n <input type=\'button\' onclick=\'self.cancel\' value=";onload;color;suggestions;notes;formula;parseHTML;comment;focus;value;Cancel;@param '.split(";");a0_0x3633=
function(){return a};return a0_0x3633()}
(function(a,e){const m=a0_0x107f;typeof exports===m(503)&&typeof module!==m(481)?module[m(544)]=e():"function"===typeof define&&define[m(476)]?define(e):a[m(541)]=e()})(this,function(){const a=a0_0x107f;let e=null,m={},u=jSuites[a(583)];const v=function(){let c=!1,b=e[a(452)];if(b&&(c=b.isEditable(),b[a(596)])){let h=b.cursor[a(470)](a(525)),f=b[a(596)][a(470)](a(582));b.isReadOnly(h,f)&&(c=!1)}return c},x=function(){let c=this,b=null;return c[a(580)]=function(h){b=jSuites[a(527)](h,{width:a(516),
height:a(605),backdrop:!1,closed:!0})},c.open=function(h,f){if(!v())return!1;b[a(581)]();f?(f[a(491)]&&(c[a(491)]=f[a(491)]),f[a(565)]&&(c[a(565)]=f[a(565)])):(c[a(491)]="",c[a(565)]="",c[a(537)][a(537)][a(545)]&&(c[a(565)]=e[a(452)][a(532)]()+"!"+c.parent.parent[a(545)]))},c[a(529)]=function(h){if(h&&e[a(452)]){if(!c[a(491)]){alert(a(587));return}h={index:c[a(491)].toUpperCase(),value:c.value};e.current.setDefinedNames([h])}c[a(491)]="";c[a(565)]="";b.close()},c.createRangePicker=function(h){e.picker(h,
{type:a(531),onchange:function(){-1===h[a(477)]()[a(486)]("!")&&(c[a(565)]=e.current[a(532)]()+"!"+h[a(477)]())}})},c[a(526)]=function(){c[a(529)](!0)},c.cancel=function(){c[a(529)](!1)},a(571)+jSuites.translate(a(457))+a(458)+jSuites[a(583)]("Interval Name")+"</label>\n <input type='text' :bind='self.index' class='jss_object'/>\n </div>\n </div>\n </div>\n <div class='jss_style_row'>\n <div class='jss_style_col jss_style_f1'>\n <div class='jss_style_form_group'>\n <label class='label'>"+
jSuites[a(583)]("Cell range")+"</label>\n <div :ready='self.createRangePicker' :bind='self.value'></div>\n </div>\n </div>\n </div>\n <div class='jss_style_row'>\n <div class='jss_style_col jss_style_f1'>\n <input type='button' onclick='self.save' value=\""+jSuites.translate(a(533))+a(556)+jSuites.translate(a(566))+"\" class='jss_style_button'>\n </div>\n </div>\n </div>"},
y=function(){let c=this;c[a(454)]=!1;c[a(529)]=function(){setTimeout(function(){c.visible=!1},100)};c.open=function(){if(!v())return!1;c[a(454)]?c.visible=!1:c[a(454)]=!0};c["delete"]=function(b,h){confirm(u(a(492)))&&(b={index:h.index},e.current[a(539)]([b]))};c[a(535)]=function(b,h){c.modal.open(h);c[a(454)]=!1};c.view=function(b,h){h[a(565)]&&(b=h[a(565)][a(611)]("!"),b=e[a(452)][a(499)](b[0]),b[a(588)](),h=b[a(447)][a(512)](h[a(565)],!0),b[a(480)](...h),c[a(454)]=!1)};c[a(557)]=function(){c.el.component=
c;jSuites[a(595)](c,!0)};return lemonade[a(523)]('<div>\n <div class="jss_bar_picker">\n <div><i class="material-icons jss_bar_cursor" onclick="self.open">arrow_drop_down</i></div>\n <div class="jss_bar_names jss_style_p20" data-visible="{{self.visible}}">\n <div :loop="self.data">\n <div class="jss_style_row jss_style_p6 middle">\n <div class="jss_style_col jss_style_f1" onclick="self.parent.view">\n <div class="jss_style_p6"><b>{{self.index}}</b></div>\n <div class="jss_style_p6">{{self.value}}</div>\n </div><div class="jss_style_col">\n <i class="material-icons" onclick="self.parent.delete">delete</i>\n </div>\n </div>\n </div>\n <input type="button" value="Add new entry" class="jss_style_button" onclick="self.edit" />\n </div>\n </div>\n <Modal @ref="self.modal" />\n </div>',
c,{Modal:x})},z=function(){let c=this,b=null,h=[];return c[a(557)]=function(f){jSuites[a(573)]({url:"https://jspreadsheet.com/jspreadsheet/formulas/g",method:a(505),dataType:"json",success:function(q){h=q}})},c[a(463)]=function(){c[a(500)]=[];c.el.scrollTop=0},c[a(521)]=function(f){b=null;let q=[];if(f&&"="===(""+f)[0]){var n=window[a(574)]();n&&0!==n.rangeCount&&(n=n[a(568)](0),n[a(493)](),f=n[a(613)][a(547)]);0<f[a(579)]&&(f=f[a(517)](/[-[\]{}()*+?.,\\^$|#\s]/g,a(602)),q=h.filter(function(d){d.param?
d.params=d[a(549)].map(function(g){return a(567)+g[a(509)]+": "+(g[a(563)]||"")+a(456)}).join(""):d.params="";if(d[a(590)]&&(!Array.isArray(d[a(590)])&&(d[a(590)]=d[a(590)][a(611)]("\n")),d.examples[0])){var k=d[a(590)][0].split(a(594));d[a(554)]=k[0]}k=new RegExp("^"+f,"i");return d.name[a(597)](k)}))}c[a(500)]=q;c.el[a(599)]=0},c[a(550)]=function(f,q){if(q){let n=e[a(531)].e[a(592)];n&&(n.textContent=q.name+"(",jSuites[a(564)](n),f[a(586)](),f.stopImmediatePropagation())}c[a(463)]()},c[a(504)]=
function(f){f.key==a(522)?c.data[a(579)]&&(!b&&(b=0),c.click(f,c[a(500)][b])):f[a(487)]===a(598)?c[a(500)][a(579)]&&(c[a(500)][b]&&(c[a(500)][b][a(593)]=!1),b--,0>b&&(b=c.data[a(579)]-1),c[a(500)][b]&&(c[a(500)][b][a(593)]=!0,c.el[a(599)]=c[a(500)][b].el[a(591)]),f[a(586)]()):f[a(487)]===a(484)?c[a(500)].length&&(null==b?b=-1:c[a(500)][b][a(593)]=!1,b++,b>c[a(500)][a(579)]-1&&(b=0),c[a(500)][b]&&(c[a(500)][b].selected=!0,c.el[a(599)]=c[a(500)][b].el[a(591)]),f[a(586)]()):f[a(487)]==a(600)&&c[a(500)][a(579)]&&
(c[a(463)](),f[a(586)]())},c[a(462)]=function(f){c[a(521)](f[a(474)][a(547)])},c[a(500)]=[],a(514)},A=function(c){let b={},h={},f=null,q=function(){const d=a0_0x107f;if(!e[d(452)])return!1;let k=v()?!0:!1;var g=e[d(452)][d(596)];if(g){let t=parseInt(g.getAttribute(d(525)));g=parseInt(g[d(470)](d(582)));var p=t,r=g;var l=e[a(452)][a(451)](p,r);b[a(462)].textContent="";p=e.current.value(p,r);"undefined"===typeof p&&(p="");b.type=l[a(509)];"checkbox"===l[a(509)]?(l=document.createElement(a(462)),l=(l[a(509)]=
a(555),l[a(466)]=p?!0:!1,l[a(449)][a(572)]=a(511),b[a(462)][a(577)](l),!1)):l=l.type===a(469)||l[a(509)]===a(560)||"hidden"===l[a(509)]||!1===l.visible?!1:(!0===e[a(452)][a(537)][a(552)][a(562)]?b[a(462)].innerHTML=p:b[a(462)][a(547)]=p,!0);!1===l&&(k=!1);l=e[d(452)][d(607)][g];l[t]&&l[t].isArray&&(e[d(452)][d(565)](t,g)||(l=l[t].isArray,l[d(523)]&&0===l.element.textContent[d(486)]("#SPILL")||(b[d(462)].textContent=e.current[d(565)](l.x,l.y),k=!1)))}else k=!1;k?(b[d(462)].setAttribute(d(515),d(488)),
b[d(462)][d(449)][d(558)]=""):(b[d(462)].removeAttribute(d(515)),b[d(462)][d(449)].color=d(445))};h.onevent=function(d,k,g,p){g=a0_0x107f;if(d===g(483))d=k[g(455)](),b[g(545)]=d[g(611)]("!")[1],q();else if(d===g(485))b[g(462)][g(547)]="",b[g(545)]="",b[g(521)].reset();else if(d===g(519)||"onload"===d){if(d=c[g(552)][g(498)]){k=[];p=Object[g(542)](d);for(let r=0;r<p[g(579)];r++)k[g(603)]({index:p[r],value:d[p[r]]});b[g(500)]=k}}else d===g(502)?(b[g(462)][g(470)]("contentEditable")&&(!0===k[g(537)].config[g(562)]?
b.input.innerHTML=k[g(537)][g(462)].innerHTML:b[g(462)][g(547)]=k[g(537)][g(462)].textContent),f&&(f[g(565)]=b.input[g(547)])):d!==g(612)&&d!==g(459)||q()};b[a(524)]=function(){var d;if(d=f)d=a0_0x107f,d=!(b[d(462)][d(479)].contains(d(490))&&e[d(531)][d(506)]());if(d){if(!f[a(496)][a(464)]){if(f[a(575)]){d=parseInt(f[a(575)][a(470)](a(525)));let k=parseInt(f[a(575)][a(470)](a(582)));null===f.value?f[a(575)][a(601)]=f[a(497)]:(f[a(565)]=f[a(565)][a(517)](/\u00A0/g," "),f.instance.setValueFromCoords(d,
k,f[a(565)]))}f=null}q()}b[a(521)].reset()};b[a(546)]=function(){e[a(452)]&&e[a(452)][a(596)]&&!f&&(f={instance:e.current,label:e[a(452)][a(596)].innerHTML,cell:e[a(452)][a(596)],value:null})};b.events=function(d){if(d[a(509)]===a(504))13===d[a(513)]?d[a(453)]?e[a(452)][a(596)]&&e[a(452)][a(596)].classList.contains(a(482))||b[a(462)][a(479)].contains(a(490))||e[a(447)][a(610)]():(e[a(452)].edition&&(e[a(452)][a(450)](e[a(452)][a(464)],!0),f=null),b[a(462)].blur(),e[a(452)].down(),d.preventDefault()):
27===d[a(513)]&&(e[a(452)][a(464)]&&e[a(452)][a(450)](e[a(452)][a(464)],!1),f[a(565)]=null,b.input[a(501)](),d[a(586)]());else if(d.type===a(462))b[a(508)](d);else if(d.type===a(501))b[a(524)]();else if(d[a(509)]===a(564))if(c[a(523)].classList[a(548)]("disconnected"))b[a(462)].setAttribute(a(515),!1);else{e[a(452)]&&e.current.parent===c||c[a(588)]();let k=!1;e.current[a(596)]?e[a(452)][a(464)]&&(e[a(452)][a(450)](e[a(452)][a(464)],!0),k=!0):e[a(452)][a(480)](0,0,0,0,!1);e[a(452)].cursor?(b[a(546)](),
k&&b.update(d)):b[a(462)][a(551)](a(515),!1)}};b[a(508)]=function(){if(e[a(452)])if(b[a(509)]===a(555)||b.type===a(528))e[a(452)][a(596)][a(604)][a(466)]=b.input.firstChild[a(466)];else{let d=null;e.current[a(464)]?d=c[a(462)]:e[a(452)].cursor&&!e[a(452)].cursor[a(479)][a(548)](a(589))&&(d=e.current[a(596)]);if(d){let k=d[a(446)],g=b.input[a(547)];!0===e[a(452)].parent[a(552)][a(562)]&&(g=b[a(462)][a(601)]);f[a(565)]=g;d[a(601)]=g;d[a(446)]!==k&&e.current[a(585)]()}}};b[a(538)]=function(d){d[a(609)](a(504),
function(k){m[a(559)]&&(b[a(521)][a(504)](k),b[a(508)]())});d.addEventListener(a(462),function(k){m[a(559)]&&b.search[a(462)](k)});d[a(609)](a(564),b.events);e[a(531)](d,{type:a(561),onupdate:function(){f&&b[a(508)]()}});d[a(609)]("blur",b[a(510)]);d[a(609)](a(462),b[a(510)]);d.addEventListener(a(504),b[a(510)])};b.expand=function(d){b.el.classList[a(548)]("large")?(d[a(474)].innerText="expand_more",b.el.classList[a(460)](a(465))):(d.target[a(540)]="expand_less",b.el[a(479)][a(536)](a(465)))};let n=
document.createElement(a(606));return n[a(551)](a(467),a(541)),c[a(534)].appendChild(n),c[a(523)][a(479)][a(536)](a(461)),lemonade[a(578)](function(){let d=a(468);return lemonade.element(d,b,{QuickSearch:z,Names:y})},n,{}),h},w=function(c){c&&(m.suggestions=!!c[a(559)])};return w[a(495)]=function(c){var b="";8===c[a(518)]?c.scope&&-1!==c[a(530)][a(486)](a(541))||(b=a(475)):b=a(494);if(!b){let h=e[a(478)]();(!h||!h.version||11>parseInt(h.version))&&(b=a(473))}b?console[a(553)](b):!1!==c[a(552)][a(541)]&&
c[a(507)]({bar:A})},w[a(608)]=function(){null===e&&(e=this)},w});
(function(a,f){const l=a0_0x2062;for(a=a();;)try{if(parseInt(l(306))/1+parseInt(l(377))/2+parseInt(l(275))/3*(-parseInt(l(323))/4)+-parseInt(l(277))/5+-parseInt(l(316))/6+parseInt(l(409))/7*(parseInt(l(395))/8)+-parseInt(l(304))/9*(-parseInt(l(299))/10)===f)break;else a.push(a.shift())}catch(r){a.push(a.shift())}})(a0_0xace5,992999);function a0_0x2062(a,f){const l=a0_0xace5();return a0_0x2062=function(r,t){return l[r-272]},a0_0x2062(a,f)}
function a0_0xace5(){const a='search;translate;getWorksheetInstanceByName;cancel;cell;Name is mandatory;marginTop;getCoordsFromRange;openWorksheet;Enter;setDefinedNames;readonly;360px;The bar extension is not included on the scope of this license;open;input;" class=\'jss_style_button\'> \n <input type=\'button\' onclick=\'self.cancel\' value=";checked;delete;insertLineBreak;cloneRange;altKey;parseHTML;scope;ajax;expand_more;visible;params;onchangedefinednames;">\n <div class=\'jss_style_row\'>\n <div class=\'jss_style_col jss_style_f1\'>\n <div class=\'jss_style_form_group\'>\n <label class=\'label\'>;rangeCount;Interval Name;remove;true;Cancel;isReadOnly;updateSelectionFromCoords;getAttribute;1573696bGlFMT;addEventListener;getRange;ArrowDown;<div class=\'jss_style_row jss_bar\'>\n <input type=\'text\' :bind=\'self.range\' class=\'range-input jss_object\' readonly="readonly" />\n <Names :data="self.data" />\n <div class=\'jss_bar_icon\'></div>\n <div :ready=\'self.createFormula\' :ref="self.input" contenteditable="true" class="jss_picker"></div>\n <i class="material-icons" onclick="self.expand">expand_more</i>\n <QuickSearch :ref="self.search" :suggestions="" />\n </div>;range;oninput;close;style;events;checkbox;with-bar;join;render;node;@param ;Are you sure?;#777;12127552tZvBDN;definedNames;helpers;expand;#SPILL;<div :ready="self.createModal" title=";innerHTML;match;down;<div>\n <div class="jss_bar_picker">\n <div><i class="material-icons jss_bar_cursor" onclick="self.open">arrow_drop_down</i></div>\n <div class="jss_bar_names jss_style_p20" data-visible="{{self.visible}}">\n <div :loop="self.data">\n <div class="jss_style_row jss_style_p6 middle">\n <div class="jss_style_col jss_style_f1" onclick="self.parent.view">\n <div class="jss_style_p6"><b>{{self.index}}</b></div>\n <div class="jss_style_p6">{{self.value}}</div>\n </div><div class="jss_style_col">\n <i class="material-icons" onclick="self.parent.delete">delete</i>\n </div>\n </div>\n </div>\n <input type="button" value="Add new entry" class="jss_style_button" onclick="self.edit" />\n </div>\n </div>\n <Modal @ref="self.modal" />\n </div>;div;bar;\\$&;preventDefault;7AzRilj;key;getRangeAt;keydown;html;<div :loop="self.data" class="jss_bar_search jss_object">\n <div onmousedown="self.parent.click" data-selected="{{self.selected}}">\n <div class=\'formula-title\'><pre><code class="language-excel"><b>{{self.syntax}}</b></code></pre></div>\n <div>{{self.description}}</div>\n <div class=\'jss_bar_gray\'>{{self.params}}</div>\n <div class=\'jss_bar_gray\'>{{self.example}}</div>\n </div>\n </div>;getSelection;indexOf;keys;The bar extension requires Jspreadsheet Pro v11+;resetDefinedNames;notes;appendChild;element;oneditionend;index;call;radio;amd;reset;createElement;length;createModal;returns;blur;label;status;val;start;split;update;filter;jss_formula;edition;contains;textContent;type;onload;Defined names;focus;getOptions;refreshBorders;" class=\'jss_style_button\'>\n </div>\n </div>\n </div>;40419dQQwLf;records;2206450HRgxng;edit;closeEditor;license;version;https://jspreadsheet.com/jspreadsheet/formulas/g;firstChild;save;offsetTop;scrollTop;color;isArray;setAttribute;innerText;removeAttribute;contentEditable;error;config;function;value;setValueFromCoords;createRangePicker;100IyetbF;classList;suggestions;</label>\n <input type=\'text\' :bind=\'self.index\' class=\'jss_object\'/>\n </div>\n </div>\n </div>\n <div class=\'jss_style_row\'>\n <div class=\'jss_style_col jss_style_f1\'>\n <div class=\'jss_style_form_group\'>\n <label class=\'label\'>;view;1649817IkAGHg;createFormula;18131eoNSzR;data;picker;example;target;param;getWorksheetName;large;examples;which;11225790AwjRgq;add;component;end;<br>;json;parent;252fNqQny;onblur;cursor;data-y;offsetHeight;undefined;tools;selected;Save;onselection;toUpperCase;tracking;setPlugins;current;5px;data-x'.split(";");a0_0xace5=
function(){return a};return a0_0xace5()}
(function(a,f){const l=a0_0x2062;"object"===typeof exports&&typeof module!==l(328)?module.exports=f():typeof define===l(295)&&define[l(427)]?define(f):a[l(406)]=f()})(this,function(){const a=a0_0x2062;let f=null,l={},r=jSuites[a(340)];const t=function(){let b=!1,d=f.current;if(d&&(b=d.isEditable(),d[a(325)])){let h=d[a(325)][a(376)](a(338)),e=d[a(325)][a(376)](a(326));d[a(374)](h,e)&&(b=!1)}return b},v=function(){let b=this,d=null;return b[a(431)]=function(h){d=jSuites.modal(h,{width:a(351),height:"320px",
backdrop:!1,closed:!0})},b[a(353)]=function(h,e){if(!t())return!1;d[a(353)]();e?(e.index&&(b.index=e[a(424)]),e.value&&(b[a(296)]=e[a(296)])):(b[a(424)]="",b.value="",b.parent[a(322)].range&&(b[a(296)]=f[a(336)][a(312)]()+"!"+b[a(322)][a(322)][a(382)]))},b[a(384)]=function(h){if(h&&f[a(336)]){if(!b.index){alert(a(344));return}h={index:b.index[a(333)](),value:b[a(296)]};f[a(336)][a(349)]([h])}b[a(424)]="";b[a(296)]="";d.close()},b[a(298)]=function(h){f[a(308)](h,{type:a(308),onchange:function(){-1===
h[a(436)]()[a(416)]("!")&&(b[a(296)]=f[a(336)][a(312)]()+"!"+h.val())}})},b[a(284)]=function(){b[a(384)](!0)},b[a(342)]=function(){b.close(!1)},a(400)+jSuites.translate(a(447))+a(368)+jSuites[a(340)](a(370))+a(302)+jSuites[a(340)]("Cell range")+"</label>\n <div :ready='self.createRangePicker' :bind='self.value'></div>\n </div>\n </div>\n </div>\n <div class='jss_style_row'>\n <div class='jss_style_col jss_style_f1'>\n <input type='button' onclick='self.save' value=\""+
jSuites[a(340)](a(331))+a(355)+jSuites[a(340)](a(373))+a(274)},w=function(){let b=this;b[a(365)]=!1;b[a(384)]=function(){setTimeout(function(){b[a0_0x2062(365)]=!1},100)};b[a(353)]=function(){if(!t())return!1;b[a(365)]?b[a(365)]=!1:b[a(365)]=!0};b[a(357)]=function(h,e){confirm(r(a(393)))&&(h={index:e[a(424)]},f[a(336)][a(419)]([h]))};b[a(278)]=function(h,e){b.modal.open(e);b.visible=!1};b[a(303)]=function(h,e){e.value&&(h=e[a(296)][a(438)]("!"),h=f[a(336)][a(341)](h[0]),h[a(347)](),e=h[a(397)][a(346)](e[a(296)],
!0),h[a(375)](...e),b[a(365)]=!1)};b[a(446)]=function(){b.el[a(318)]=b;jSuites[a(334)](b,!0)};let d=a(404);return lemonade[a(422)](d,b,{Modal:v})},x=function(){let b=this,d=null,h=[];return b[a(446)]=function(e){if(l[a(301)])jSuites[a(363)]({url:a(282),method:"GET",dataType:a(321),success:function(p){h=p}})},b[a(428)]=function(){b.data=[];b.el[a(286)]=0},b[a(339)]=function(e){if(l[a(301)]){d=null;var p=[];if(e&&"="===(""+e)[0]){var m=window[a(415)]();m&&0!==m[a(369)]&&(m=m[a(411)](0),m[a(359)](),
e=m.startContainer[a(444)]);0<e[a(430)]&&(e=e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,a(407)),p=h[a(440)](function(c){c[a(311)]?c[a(366)]=c[a(311)].map(function(g){return a(392)+g[a(445)]+": "+(g.comment||"")+a(320)})[a(389)](""):c[a(366)]="";if(c.examples&&(!Array[a(288)](c.examples)&&(c[a(314)]=c[a(314)][a(438)]("\n")),c[a(314)][0])){var k=c[a(314)][0][a(438)](a(432));c[a(309)]=k[0]}k=new RegExp("^"+e,"i");return c.name[a(402)](k)}))}b.data=p;b.el[a(286)]=0}},b.click=function(e,p){if(p){let m=f.picker.e[a(391)];
m&&(m.textContent=p.name+"(",jSuites.focus(m),e.preventDefault(),e.stopImmediatePropagation())}b.reset()},b[a(412)]=function(e){l.suggestions&&(e[a(410)]==a(348)?b[a(307)].length&&(!d&&(d=0),b.click(e,b[a(307)][d])):"ArrowUp"===e[a(410)]?b[a(307)].length&&(b.data[d]&&(b[a(307)][d][a(330)]=!1),d--,0>d&&(d=b[a(307)][a(430)]-1),b.data[d]&&(b[a(307)][d][a(330)]=!0,b.el[a(286)]=b[a(307)][d].el[a(285)]),e[a(408)]()):e[a(410)]===a(380)?b[a(307)][a(430)]&&(null==d?d=-1:b.data[d].selected=!1,d++,d>b[a(307)][a(430)]-
1&&(d=0),b[a(307)][d]&&(b.data[d][a(330)]=!0,b.el[a(286)]=b[a(307)][d].el[a(285)]),e[a(408)]()):"Escape"==e.key&&b.data[a(430)]&&(b[a(428)](),e[a(408)]()))},b[a(354)]=function(e){if(l.suggestions)b[a(339)](e[a(310)][a(444)])},b[a(307)]=[],a(414)},y=function(b,d){var h=f[a(336)][a(272)](b,d);this.input[a(444)]="";b=f[a(336)][a(296)](b,d);"undefined"===typeof b&&(b="");this[a(445)]=h[a(445)];return h.type===a(387)?(h=document[a(429)](a(354)),h[a(445)]=a(387),h.checked=b?!0:!1,h[a(385)][a(345)]=a(337),
this[a(354)][a(421)](h),!1):h[a(445)]===a(413)||h[a(445)]===a(420)||"hidden"===h[a(445)]||!1===h[a(365)]?!1:(!0===f[a(336)][a(322)][a(294)][a(361)]?this[a(354)][a(401)]=b:this[a(354)][a(444)]=b,!0)},z=function(b){let d={},h={},e=null,p=function(){const c=a0_0x2062;if(!f.current)return!1;let k=t()?!0:!1;var g=f[c(336)].cursor;if(g){let q=parseInt(g.getAttribute(c(338)));g=parseInt(g[c(376)](c(326)));!1===y[c(425)](d,q,g)&&(k=!1);let n=f.current[c(276)][g];n[q]&&n[q][c(288)]&&(f[c(336)][c(296)](q,g)||
(n=n[q][c(288)],n[c(422)]&&0===n[c(422)].textContent[c(416)](c(399))||(d[c(354)].textContent=f.current[c(296)](n.x,n.y),k=!1)))}else k=!1;k?(d.input.setAttribute(c(292),c(372)),d.input[c(385)][c(287)]=""):(d.input[c(291)](c(292)),d[c(354)].style[c(287)]=c(394))};h.onevent=function(c,k,g,q){g=a0_0x2062;if(c===g(332))c=k[g(379)](),d[g(382)]=c[g(438)]("!")[1],p();else if(c===g(324))d.input[g(444)]="",d.range="",d.search.reset();else if(c===g(367)||c===g(446)){if(c=b[g(294)][g(396)]){k=[];q=Object[g(417)](c);
for(let n=0;n<q[g(430)];n++)k.push({index:q[n],value:c[q[n]]});d[g(307)]=k}}else c===g(383)?(d[g(354)][g(376)](g(292))&&(!0===k[g(322)][g(294)][g(361)]?d[g(354)].innerHTML=k[g(322)][g(354)][g(401)]:d[g(354)][g(444)]=k[g(322)][g(354)][g(444)]),e&&(e[g(296)]=d.input.textContent)):"onafterchanges"!==c&&c!==g(423)||p()};d[a(319)]=function(){var c;if(c=e)c=a0_0x2062,c=!(d[c(354)][c(300)][c(443)](c(441))&&f[c(308)].validSelection());if(c){if(!e.instance[a(442)]){if(e[a(343)]){c=parseInt(e[a(343)][a(376)](a(338)));
let k=parseInt(e.cell[a(376)](a(326)));null===e.value?e[a(343)].innerHTML=e[a(434)]:(e[a(296)]=e.value.replace(/\u00A0/g," "),e.instance[a(297)](c,k,e[a(296)]))}e=null}p()}d[a(339)][a(428)]()};d[a(437)]=function(){f[a(336)]&&f[a(336)].cursor&&!e&&(e={instance:f[a(336)],label:f[a(336)].cursor.innerHTML,cell:f.current[a(325)],value:null})};d[a(386)]=function(c){if(c[a(445)]===a(412))13===c[a(315)]?c[a(360)]?f[a(336)][a(325)]&&f[a(336)][a(325)][a(300)][a(443)]("jss_nowrap")||d.input.classList.contains(a(441))||
f[a(397)][a(358)]():(f[a(336)].edition&&(f[a(336)][a(279)](f[a(336)][a(442)],!0),e=null),d[a(354)][a(433)](),f.current[a(403)](),c[a(408)]()):27===c[a(315)]&&(f[a(336)].edition&&f.current[a(279)](f.current[a(442)],!1),e[a(296)]=null,d[a(354)].blur(),c[a(408)]());else if("input"===c[a(445)])d[a(439)](c);else if("blur"===c[a(445)])d[a(319)]();else if(c.type===a(448))if(b.element[a(300)][a(443)]("disconnected"))d[a(354)][a(289)](a(292),!1);else{f[a(336)]&&f.current[a(322)]===b||b[a(347)]();let k=!1;
f[a(336)].cursor?f[a(336)][a(442)]&&(f[a(336)][a(279)](f[a(336)].edition,!0),k=!0):f[a(336)][a(375)](0,0,0,0,!1);f.current[a(325)]?(d[a(437)](),k&&d[a(439)](c)):d[a(354)][a(289)](a(292),!1)}};d[a(439)]=function(){if(f.current)if(d[a(445)]===a(387)||d[a(445)]===a(426))f[a(336)][a(325)][a(283)][a(356)]=d.input[a(283)][a(356)];else{let c=null;f[a(336)][a(442)]?c=b[a(354)]:f[a(336)][a(325)]&&!f[a(336)][a(325)][a(300)].contains(a(350))&&(c=f[a(336)][a(325)]);if(c){let k=c.offsetHeight,g=d[a(354)][a(444)];
!0===f.current.parent[a(294)][a(361)]&&(g=d.input[a(401)]);e.value=g;c[a(401)]=g;c[a(327)]!==k&&f[a(336)][a(273)]()}}};d[a(305)]=function(c){c[a(378)](a(412),function(k){l.suggestions&&(d[a(339)][a(412)](k),d[a(439)]())});c[a(378)]("input",function(k){l[a(301)]&&d.search[a(354)](k)});c[a(378)]("focus",d[a(386)]);f[a(308)](c,{type:"formula",onupdate:function(){e&&d.update()}});c[a(378)](a(433),d[a(386)]);c[a(378)](a(354),d[a(386)]);c.addEventListener(a(412),d.events)};d[a(398)]=function(c){d.el.classList.contains(a(313))?
(c[a(310)][a(290)]=a(364),d.el[a(300)][a(371)](a(313))):(c[a(310)][a(290)]="expand_less",d.el[a(300)].add(a(313)))};let m=document.createElement(a(405));return m[a(289)]("role",a(406)),b[a(329)][a(421)](m),b[a(422)].classList[a(317)](a(388)),lemonade[a(390)](function(){let c=a(381);return lemonade[a(422)](c,d,{QuickSearch:x,Names:w})},m,{}),h},A=function(){let b="";8===this[a(435)]?this[a(362)]&&-1!==this[a(362)][a(416)](a(406))||(b=a(352)):b="License required";if(!b){let d=f.version();(!d||!d[a(281)]||
11>parseInt(d[a(281)]))&&(b=a(418))}return b},u=function(b){b&&(l.suggestions=!!b[a(301)])};return u.oninit=function(b){let d=A[a(425)](b);d?console[a(293)](d):!1!==b[a(294)][a(406)]&&b[a(335)]({bar:z})},u[a(280)]=function(){null===f&&(f=this)},u});

@@ -35,3 +35,3 @@ {

"types": "dist/index.d.ts",
"version": "5.0.4",
"version": "5.0.6",
"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