Socket
Socket
Sign inDemoInstall

@jspreadsheet/comments

Package Overview
Dependencies
3
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

60

dist/index.js

@@ -14,41 +14,21 @@ /**

var _$_66f4=";comments;The comments extension is not included on the scope of this license;This is only available in the Premium Edition;This extension requires JSS version 10 or higher.;Edit this post;edit;none;initial;Delete this post;delete;120px;Save;Cancel;block;T; ;selected;px;oncreatecell;jss_comments;title;onselection;onblur;focus;oncomments;data;cell;notes;rate_review;Comments;mouseover;data-x;data-y;mouseup;jss_cursor;scroll;div;object;undefined;function".split(";");
(function(m,n){typeof exports===_$_66f4[38]&&typeof module!==_$_66f4[39]?module.exports=n():typeof define===_$_66f4[40]&&define.amd?define(n):m.comments=n()})(this,function(){let m=jSuites.translate,n=null,l={};const q=function(){let a=_$_66f4[0];8===this.status?this.scope&&-1!==this.scope.indexOf(_$_66f4[1])||(a=_$_66f4[2]):a=_$_66f4[3];if(!a){let g=n.version();if(!g||!g.version||10>parseInt(g.version))a=_$_66f4[4]}return a},r=function(a){let g=[];if(a.user_id&&a.user_id!==l.user_id)return!1;g.push({title:_$_66f4[5],
icon:_$_66f4[6],onclick:function(){a.el.children[1].children[0].style.display=_$_66f4[7];a.el.children[1].children[1].style.display=_$_66f4[8]}});g.push({title:_$_66f4[9],icon:_$_66f4[10],onclick:function(){let e=a.parent.data.indexOf(a),c=JSON.parse(JSON.stringify(a.parent.data));c.splice(e,1);a.parent.setValue(a.parent.cellName,c)}});return g},t=function(){let a=this;a.open=function(g,e){e=e.getBoundingClientRect();a.instance.open({x:e.x,y:e.y},r(g))};a.createMenu=function(g){a.instance=jSuites.contextmenu(g,
{width:_$_66f4[11],onclick:function(e){e.close()}})};return'<div @ready="self.createMenu(this)" @ref="self.instance"></div>'},u=function(){return`<div class="p4 jss_comments_entry" style="border-bottom: 1px solid #ddd">
<div class="row">
<div class="p4">
<div><img src="${l.image||"data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 23.95Q20.7 23.95 18.6 21.85Q16.5 19.75 16.5 16.45Q16.5 13.15 18.6 11.05Q20.7 8.95 24 8.95Q27.3 8.95 29.4 11.05Q31.5 13.15 31.5 16.45Q31.5 19.75 29.4 21.85Q27.3 23.95 24 23.95ZM8 40V35.3Q8 33.4 8.95 32.05Q9.9 30.7 11.4 30Q14.75 28.5 17.825 27.75Q20.9 27 24 27Q27.1 27 30.15 27.775Q33.2 28.55 36.55 30Q38.1 30.7 39.05 32.05Q40 33.4 40 35.3V40ZM11 37H37V35.3Q37 34.5 36.525 33.775Q36.05 33.05 35.35 32.7Q32.15 31.15 29.5 30.575Q26.85 30 24 30Q21.15 30 18.45 30.575Q15.75 31.15 12.6 32.7Q11.9 33.05 11.45 33.775Q11 34.5 11 35.3ZM24 20.95Q25.95 20.95 27.225 19.675Q28.5 18.4 28.5 16.45Q28.5 14.5 27.225 13.225Q25.95 11.95 24 11.95Q22.05 11.95 20.775 13.225Q19.5 14.5 19.5 16.45Q19.5 18.4 20.775 19.675Q22.05 20.95 24 20.95ZM24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45ZM24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Z'/%3E%3C/svg%3E"}" /></div>
</div><div class="p4 f1">
<div>{{self.name}}</div>
<div class="small prettydate">{{self.date}}</div>
</div><div>
<div class='p4 jss_comments_actions' onclick='self.parent.menu.open(self, this)'><i class='material-icons cursor'>arrow_drop_down</i></div>
</div>
</div>
<div class="row p4" style="padding-top: 0px;">
<div class="small">{{self.comments}}</div>
<div style="display: none" class="w100">
<textarea @bind="self.comments" class="jss_object"></textarea><br>
<input type="button" onclick="self.parent.update(self, true)" value="${m(_$_66f4[12])}" class="jbutton dark small" style="width:90px" />
<input type="button" onclick="self.parent.update(self, false)" value="${m(_$_66f4[13])}" class="jbutton dark small" style="width:90px" />
</div>
</div>
</div>`},v=function(){let a=this;a.data=[];a.onchange=function(){jSuites.calendar.prettifyAll()};a.update=function(e,c){e.el.children[1].children[0].style.display=_$_66f4[14];e.el.children[1].children[1].style.display=_$_66f4[7];c&&a.save(!0)};a.save=function(e){let c=[];Array.isArray(a.data)&&(c=JSON.parse(JSON.stringify(a.data)),c.map(function(d){let b={date:d.date,comments:d.comment};d.user_id&&(b.user_id=d.user_id);d.name&&(b.name=d.name);return b}));!e&&a.comment&&(e={date:(new Date).toISOString().replace(_$_66f4[15],
_$_66f4[16]).substr(0,19),comments:a.comment},a.user_id?e.user_id=a.user_id:l.user_id&&(e.user_id=l.user_id),a.name?e.name=a.name:l.name&&(e.name=l.name),c.push(e));a.setValue(a.cellName,c)};a.cancel=function(){a.comment=_$_66f4[0];a.el.classList.remove(_$_66f4[17])};a.setValue=function(e,c){let d={};d[e]=c.length?c:_$_66f4[0];a.worksheet.setComments(d)};let g=`<div class="jss_comments_box">
<Menu @ref="self.menu" />
<div><Comments @loop="self.data" /></div>
<div class="jss_comments_input">
<div class="p2"><textarea class="jss_object" @bind="self.comment"></textarea></div>
<div class="row">
<div class="f1" style="padding: 1px"><input type="button" value="${m(_$_66f4[12])}" class="jbutton dark w100" disabled="{{!self.comment}}" onclick="self.save()" /></div>
<div class="f1" style="padding: 1px"><input type="button" value="${m(_$_66f4[13])}" class="jbutton dark w100" onclick="self.cancel()" /></div>
</div>
</div>
<div class="center p4 small">{{self.license}}</div>
</div>`;return lemonade.element(g,a,{Menu:t,Comments:u})},x=function(a,g){const e={},c={};e.show=function(d,b){var f=this.records[b][d];f&&f.c?Array.isArray(f.c)?c.data=JSON.parse(JSON.stringify(f.c)):c.data=[]:c.data=[];f=this.element.parentNode.offsetTop;let h=this.records[b][d].element;800<=document.body.offsetWidth?(c.el.style.top=h.offsetTop+f+1+_$_66f4[18],c.el.style.left=h.offsetLeft+h.offsetWidth+1+_$_66f4[18]):(c.el.style.top=_$_66f4[0],c.el.style.left=_$_66f4[0]);c.comment=_$_66f4[0];
c.worksheet=this;c.cellName=this.helpers.getCellNameFromCoords(d,b);c.license=q.call(this.parent)};e.onevent=function(d,b,f,h,k){if(d===_$_66f4[19])(b=b.records[k][h])&&b.c&&b.c&&Array.isArray(b.c)&&(f.classList.add(_$_66f4[20]),f.removeAttribute(_$_66f4[21]));else if(d===_$_66f4[22]||d===_$_66f4[23])c.el.classList.remove(_$_66f4[24]),c.el.classList.remove(_$_66f4[17]);else if(d===_$_66f4[25])for(d=Object.keys(f),h=0;h<d.length;h++)k=b.helpers.getCoordsFromColumnName(d[h]),b.records[k[1]][k[0]].element&&
(Array.isArray(f[d[h]])?(b.records[k[1]][k[0]].element.removeAttribute(_$_66f4[21]),b.records[k[1]][k[0]].element.classList.add(_$_66f4[20]),c.data=f[d[h]],c.refresh(_$_66f4[26]),c.comment=_$_66f4[0]):(b.records[k[1]][k[0]].element.classList.remove(_$_66f4[20]),c.el.classList.remove(_$_66f4[24]),c.el.classList.remove(_$_66f4[17])))};e.contextMenu=function(d,b,f,h,k,w){if(w===_$_66f4[27]){for(h=0;h<k.length&&k[h].icon!==_$_66f4[28];h++);h<k.length&&k.splice(h,0,{icon:_$_66f4[29],title:m(_$_66f4[30]),
onclick:function(){c.el.classList.add(_$_66f4[17]);e.show.call(d,b,f)}})}return k};e.init=function(d){d.content.addEventListener(_$_66f4[31],function(b){b=b||window.event;if(!(b.buttons||b.button||b.which))if(b.target.classList.contains(_$_66f4[20])&&!c.el.classList.contains(_$_66f4[17])){let f=b.target.getAttribute(_$_66f4[32]);b=b.target.getAttribute(_$_66f4[33]);void 0!==f&&void 0!==b&&(c.el.classList.add(_$_66f4[24]),e.show.call(d,f,b))}else c.el.classList.remove(_$_66f4[24])});d.content.addEventListener(_$_66f4[34],
function(b){if(b.target.classList.contains(_$_66f4[20])){let f=b.target.getAttribute(_$_66f4[32]);b=b.target.getAttribute(_$_66f4[33]);void 0!==f&&void 0!==b&&(d.records[b][f]&&d.records[b][f].element&&d.records[b][f].element.classList.contains(_$_66f4[35])&&d.records[b][f].element.classList.contains(_$_66f4[20])?(c.el.classList.add(_$_66f4[17]),e.show.call(d,f,b)):c.el.classList.remove(_$_66f4[17]))}});d.content.addEventListener(_$_66f4[36],function(b){c.el.classList.remove(_$_66f4[17])})};g=document.createElement(_$_66f4[37]);
a.tools.appendChild(g);lemonade.render(v,g,c);return e},p=function(a){a&&(a.name&&(l.name=a.name),a.image&&(l.image=a.image),a.user_id&&(l.user_id=a.user_id));return!0};p.oninit=function(a,g){(g=q.call(a))?console.error(g):a.setPlugins({comments:x})};p.license=function(a){null===n&&(n=this)};return p});
var _$_f4bd=["translate","","status","scope","comments","indexOf","The comments extension is not included on the scope of this license","This is only available in the Premium Edition","version","This extension requires JSS version 10 or higher.","user_id","Edit this post","edit","display","style","children","el","none","initial","push","Delete this post","delete","data","parent","stringify","parse","splice","cellName","setValue","open","getBoundingClientRect","x","y","instance","createMenu","120px",
"close","contextmenu",'<div @ready="self.createMenu(this)" @ref="self.instance"></div>',"image","data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 23.95Q20.7 23.95 18.6 21.85Q16.5 19.75 16.5 16.45Q16.5 13.15 18.6 11.05Q20.7 8.95 24 8.95Q27.3 8.95 29.4 11.05Q31.5 13.15 31.5 16.45Q31.5 19.75 29.4 21.85Q27.3 23.95 24 23.95ZM8 40V35.3Q8 33.4 8.95 32.05Q9.9 30.7 11.4 30Q14.75 28.5 17.825 27.75Q20.9 27 24 27Q27.1 27 30.15 27.775Q33.2 28.55 36.55 30Q38.1 30.7 39.05 32.05Q40 33.4 40 35.3V40ZM11 37H37V35.3Q37 34.5 36.525 33.775Q36.05 33.05 35.35 32.7Q32.15 31.15 29.5 30.575Q26.85 30 24 30Q21.15 30 18.45 30.575Q15.75 31.15 12.6 32.7Q11.9 33.05 11.45 33.775Q11 34.5 11 35.3ZM24 20.95Q25.95 20.95 27.225 19.675Q28.5 18.4 28.5 16.45Q28.5 14.5 27.225 13.225Q25.95 11.95 24 11.95Q22.05 11.95 20.775 13.225Q19.5 14.5 19.5 16.45Q19.5 18.4 20.775 19.675Q22.05 20.95 24 20.95ZM24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45ZM24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Z'/%3E%3C/svg%3E",
'<div class="p4 jss_comments_entry" style="border-bottom: 1px solid #ddd">\r\n <div class="row">\r\n <div class="p4">\r\n <div><img src="','" /></div>\r\n </div><div class="p4 f1">\r\n <div>{{self.name}}</div>\r\n <div class="small prettydate">{{self.date}}</div>\r\n </div><div>\r\n <div class=\'p4 jss_comments_actions\' onclick=\'self.parent.menu.open(self, this)\'><i class=\'material-icons cursor\'>arrow_drop_down</i></div>\r\n </div>\r\n </div>\r\n <div class="row p4" style="padding-top: 0px;">\r\n <div class="small">{{self.comments}}</div>\r\n <div style="display: none" class="w100">\r\n <textarea @bind="self.comments" class="jss_object"></textarea><br>\r\n <input type="button" onclick="self.parent.update(self, true)" value="',
"Save",'" class="jbutton dark small" style="width:90px" />\r\n <input type="button" onclick="self.parent.update(self, false)" value="',"Cancel",'" class="jbutton dark small" style="width:90px" />\r\n </div>\r\n </div>\r\n </div>',"onchange","prettifyAll","calendar","update","block","save","isArray","date","comment","name","map","substr","T"," ","replace","toISOString","cancel","selected","remove","classList","length","setComments","worksheet",'<div class="jss_comments_box">\r\n <Menu @ref="self.menu" />\r\n <div><Comments @loop="self.data" /></div>\r\n <div class="jss_comments_input">\r\n <div class="p2"><textarea class="jss_object" @bind="self.comment" @ref="self.input"></textarea></div>\r\n <div class="row">\r\n <div class="f1" style="padding: 1px"><input type="button" value="',
'" class="jbutton dark w100" disabled="{{!self.comment}}" onclick="self.save()" /></div>\r\n <div class="f1" style="padding: 1px"><input type="button" value="','" class="jbutton dark w100" onclick="self.cancel()" /></div>\r\n </div>\r\n </div>\r\n <div class="center p4 small">{{self.license}}</div>\r\n </div>',"element","show","records","c","offsetTop","parentNode","offsetWidth","body","top","px","left","offsetLeft","getCellNameFromCoords",
"helpers","focus","input","license","call","onevent","oncreatecell","jss_comments","add","title","removeAttribute","onselection","onblur","oncomments","keys","getCoordsFromColumnName","refresh","contextMenu","cell","icon","notes","rate_review","Comments","init","mouseover","event","buttons","button","which","contains","target","data-x","getAttribute","data-y","addEventListener","content","mouseup","jss_cursor","scroll","div","createElement","appendChild","tools","render","oninit","error","setPlugins",
"object","undefined","exports","function","amd"];
(function(l,n){typeof exports===_$_f4bd[133]&&typeof module!==_$_f4bd[134]?module[_$_f4bd[135]]=n():typeof define===_$_f4bd[136]&&define[_$_f4bd[137]]?define(n):l[_$_f4bd[4]]=n()})(this,function(){let l=jSuites[_$_f4bd[0]],n=null,m={};const q=function(){let a=_$_f4bd[1];8===this[_$_f4bd[2]]?this[_$_f4bd[3]]&&-1!==this[_$_f4bd[3]][_$_f4bd[5]](_$_f4bd[4])||(a=_$_f4bd[6]):a=_$_f4bd[7];if(!a){let g=n[_$_f4bd[8]]();if(!g||!g[_$_f4bd[8]]||10>parseInt(g[_$_f4bd[8]]))a=_$_f4bd[9]}return a},r=function(a){let g=
[];if(a[_$_f4bd[10]]&&a[_$_f4bd[10]]!==m[_$_f4bd[10]])return!1;g[_$_f4bd[19]]({title:l(_$_f4bd[11]),icon:_$_f4bd[12],onclick:function(){a[_$_f4bd[16]][_$_f4bd[15]][1][_$_f4bd[15]][0][_$_f4bd[14]][_$_f4bd[13]]=_$_f4bd[17];a[_$_f4bd[16]][_$_f4bd[15]][1][_$_f4bd[15]][1][_$_f4bd[14]][_$_f4bd[13]]=_$_f4bd[18]}});g[_$_f4bd[19]]({title:l(_$_f4bd[20]),icon:_$_f4bd[21],onclick:function(){let e=a[_$_f4bd[23]][_$_f4bd[22]][_$_f4bd[5]](a),c=JSON[_$_f4bd[25]](JSON[_$_f4bd[24]](a[_$_f4bd[23]][_$_f4bd[22]]));c[_$_f4bd[26]](e,
1);a[_$_f4bd[23]][_$_f4bd[28]](a[_$_f4bd[23]][_$_f4bd[27]],c)}});return g},t=function(){let a=this;a[_$_f4bd[29]]=function(g,e){e=e[_$_f4bd[30]]();a[_$_f4bd[33]][_$_f4bd[29]]({x:e[_$_f4bd[31]],y:e[_$_f4bd[32]]},r(g))};a[_$_f4bd[34]]=function(g){a[_$_f4bd[33]]=jSuites[_$_f4bd[37]](g,{width:_$_f4bd[35],onclick:function(e){e[_$_f4bd[36]]()}})};return _$_f4bd[38]},u=function(){return _$_f4bd[41]+(m[_$_f4bd[39]]||_$_f4bd[40])+_$_f4bd[42]+l(_$_f4bd[43])+_$_f4bd[44]+l(_$_f4bd[45])+_$_f4bd[46]},v=function(){let a=
this;a[_$_f4bd[22]]=[];a[_$_f4bd[47]]=function(){jSuites[_$_f4bd[49]][_$_f4bd[48]]()};a[_$_f4bd[50]]=function(e,c){e[_$_f4bd[16]][_$_f4bd[15]][1][_$_f4bd[15]][0][_$_f4bd[14]][_$_f4bd[13]]=_$_f4bd[51];e[_$_f4bd[16]][_$_f4bd[15]][1][_$_f4bd[15]][1][_$_f4bd[14]][_$_f4bd[13]]=_$_f4bd[17];if(c)a[_$_f4bd[52]](!0)};a[_$_f4bd[52]]=function(e){let c=[];Array[_$_f4bd[53]](a[_$_f4bd[22]])&&(c=JSON[_$_f4bd[25]](JSON[_$_f4bd[24]](a[_$_f4bd[22]])),c[_$_f4bd[57]](function(d){let b={date:d[_$_f4bd[54]],comments:d[_$_f4bd[55]]};
d[_$_f4bd[10]]&&(b[_$_f4bd[10]]=d[_$_f4bd[10]]);d[_$_f4bd[56]]&&(b[_$_f4bd[56]]=d[_$_f4bd[56]]);return b}));!e&&a[_$_f4bd[55]]&&(e={date:(new Date)[_$_f4bd[62]]()[_$_f4bd[61]](_$_f4bd[59],_$_f4bd[60])[_$_f4bd[58]](0,19),comments:a[_$_f4bd[55]]},a[_$_f4bd[10]]?e[_$_f4bd[10]]=a[_$_f4bd[10]]:m[_$_f4bd[10]]&&(e[_$_f4bd[10]]=m[_$_f4bd[10]]),a[_$_f4bd[56]]?e[_$_f4bd[56]]=a[_$_f4bd[56]]:m[_$_f4bd[56]]&&(e[_$_f4bd[56]]=m[_$_f4bd[56]]),c[_$_f4bd[19]](e));a[_$_f4bd[28]](a[_$_f4bd[27]],c)};a[_$_f4bd[63]]=function(){a[_$_f4bd[55]]=
_$_f4bd[1];a[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[65]](_$_f4bd[64])};a[_$_f4bd[28]]=function(e,c){let d={};d[e]=c[_$_f4bd[67]]?c:_$_f4bd[1];a[_$_f4bd[69]][_$_f4bd[68]](d)};let g=_$_f4bd[70]+l(_$_f4bd[43])+_$_f4bd[71]+l(_$_f4bd[45])+_$_f4bd[72];return lemonade[_$_f4bd[73]](g,a,{Menu:t,Comments:u})},x=function(a,g){const e={},c={};e[_$_f4bd[74]]=function(d,b){var f=this[_$_f4bd[75]][b][d];f&&f[_$_f4bd[76]]?Array[_$_f4bd[53]](f[_$_f4bd[76]])?c[_$_f4bd[22]]=JSON[_$_f4bd[25]](JSON[_$_f4bd[24]](f[_$_f4bd[76]])):
c[_$_f4bd[22]]=[]:c[_$_f4bd[22]]=[];f=this[_$_f4bd[73]][_$_f4bd[78]][_$_f4bd[77]];let h=this[_$_f4bd[75]][b][d][_$_f4bd[73]];800<=document[_$_f4bd[80]][_$_f4bd[79]]?(c[_$_f4bd[16]][_$_f4bd[14]][_$_f4bd[81]]=h[_$_f4bd[77]]+f+1+_$_f4bd[82],c[_$_f4bd[16]][_$_f4bd[14]][_$_f4bd[83]]=h[_$_f4bd[84]]+h[_$_f4bd[79]]+1+_$_f4bd[82]):(c[_$_f4bd[16]][_$_f4bd[14]][_$_f4bd[81]]=_$_f4bd[1],c[_$_f4bd[16]][_$_f4bd[14]][_$_f4bd[83]]=_$_f4bd[1]);c[_$_f4bd[55]]=_$_f4bd[1];c[_$_f4bd[69]]=this;c[_$_f4bd[27]]=this[_$_f4bd[86]][_$_f4bd[85]](d,
b);c[_$_f4bd[88]][_$_f4bd[87]]();c[_$_f4bd[89]]=q[_$_f4bd[90]](this[_$_f4bd[23]])};e[_$_f4bd[91]]=function(d,b,f,h,k){if(d===_$_f4bd[92])(b=b[_$_f4bd[75]][k][h])&&b[_$_f4bd[76]]&&b[_$_f4bd[76]]&&Array[_$_f4bd[53]](b[_$_f4bd[76]])&&(f[_$_f4bd[66]][_$_f4bd[94]](_$_f4bd[93]),f[_$_f4bd[96]](_$_f4bd[95]));else if(d===_$_f4bd[97]||d===_$_f4bd[98])c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[65]](_$_f4bd[87]),c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[65]](_$_f4bd[64]);else if(d===_$_f4bd[99])for(d=Object[_$_f4bd[100]](f),
h=0;h<d[_$_f4bd[67]];h++)k=b[_$_f4bd[86]][_$_f4bd[101]](d[h]),b[_$_f4bd[75]][k[1]][k[0]][_$_f4bd[73]]&&(Array[_$_f4bd[53]](f[d[h]])?(b[_$_f4bd[75]][k[1]][k[0]][_$_f4bd[73]][_$_f4bd[96]](_$_f4bd[95]),b[_$_f4bd[75]][k[1]][k[0]][_$_f4bd[73]][_$_f4bd[66]][_$_f4bd[94]](_$_f4bd[93]),c[_$_f4bd[22]]=f[d[h]],c[_$_f4bd[102]](_$_f4bd[22]),c[_$_f4bd[55]]=_$_f4bd[1]):(b[_$_f4bd[75]][k[1]][k[0]][_$_f4bd[73]][_$_f4bd[66]][_$_f4bd[65]](_$_f4bd[93]),c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[65]](_$_f4bd[87]),c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[65]](_$_f4bd[64])))};
e[_$_f4bd[103]]=function(d,b,f,h,k,w){if(w===_$_f4bd[104]){for(h=0;h<k[_$_f4bd[67]]&&k[h][_$_f4bd[105]]!==_$_f4bd[106];h++);if(h<k[_$_f4bd[67]])k[_$_f4bd[26]](h,0,{icon:_$_f4bd[107],title:l(_$_f4bd[108]),onclick:function(){c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[94]](_$_f4bd[64]);e[_$_f4bd[74]][_$_f4bd[90]](d,b,f)}})}return k};e[_$_f4bd[109]]=function(d){d[_$_f4bd[121]][_$_f4bd[120]](_$_f4bd[110],function(b){b=b||window[_$_f4bd[111]];if(!(b[_$_f4bd[112]]||b[_$_f4bd[113]]||b[_$_f4bd[114]]))if(b[_$_f4bd[116]][_$_f4bd[66]][_$_f4bd[115]](_$_f4bd[93])&&
!c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[115]](_$_f4bd[64])){let f=b[_$_f4bd[116]][_$_f4bd[118]](_$_f4bd[117]);b=b[_$_f4bd[116]][_$_f4bd[118]](_$_f4bd[119]);void 0!==f&&void 0!==b&&(c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[94]](_$_f4bd[87]),e[_$_f4bd[74]][_$_f4bd[90]](d,f,b))}else c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[65]](_$_f4bd[87])});d[_$_f4bd[121]][_$_f4bd[120]](_$_f4bd[122],function(b){if(b[_$_f4bd[116]][_$_f4bd[66]][_$_f4bd[115]](_$_f4bd[93])){let f=b[_$_f4bd[116]][_$_f4bd[118]](_$_f4bd[117]);b=b[_$_f4bd[116]][_$_f4bd[118]](_$_f4bd[119]);
if(void 0!==f&&void 0!==b)if(d[_$_f4bd[75]][b][f]&&d[_$_f4bd[75]][b][f][_$_f4bd[73]]&&d[_$_f4bd[75]][b][f][_$_f4bd[73]][_$_f4bd[66]][_$_f4bd[115]](_$_f4bd[123])&&d[_$_f4bd[75]][b][f][_$_f4bd[73]][_$_f4bd[66]][_$_f4bd[115]](_$_f4bd[93]))c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[94]](_$_f4bd[64]),e[_$_f4bd[74]][_$_f4bd[90]](d,f,b);else c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[65]](_$_f4bd[64])}});d[_$_f4bd[121]][_$_f4bd[120]](_$_f4bd[124],function(b){c[_$_f4bd[16]][_$_f4bd[66]][_$_f4bd[65]](_$_f4bd[64])})};g=
document[_$_f4bd[126]](_$_f4bd[125]);a[_$_f4bd[128]][_$_f4bd[127]](g);lemonade[_$_f4bd[129]](v,g,c);return e},p=function(a){a&&(a[_$_f4bd[56]]&&(m[_$_f4bd[56]]=a[_$_f4bd[56]]),a[_$_f4bd[39]]&&(m[_$_f4bd[39]]=a[_$_f4bd[39]]),a[_$_f4bd[10]]&&(m[_$_f4bd[10]]=a[_$_f4bd[10]]));return!0};p[_$_f4bd[130]]=function(a,g){if(g=q[_$_f4bd[90]](a))console[_$_f4bd[131]](g);else a[_$_f4bd[132]]({comments:x})};p[_$_f4bd[89]]=function(a){null===n&&(n=this)};return p});

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

"dependencies": {
"jsuites": "^5.0.24",
"lemonadejs": "^3.3.1",
"jsuites": "^5.0.25",
"lemonadejs": "^3.3.2",
"@jsuites/css": "^1.1.2"
},
"main": "dist/index.js",
"version": "3.0.1",
"version": "3.0.2",
"types": "dist/index.d.ts",

@@ -38,0 +38,0 @@ "bugs": "https://github.com/jspreadsheet/pro/issues",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc