@jspreadsheet/comments
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -14,9 +14,8 @@ /** | ||
var _$_8126="translate;;status;scope;comments;indexOf;This plugin is not included on the scope of this license;This is only available in the Premium Edition;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;Save;Cancel;onchange;prettifyAll;calendar;update;block;save;isArray;date;comment;name;image;map;substr;T; ;replace;toISOString;cancel;selected;remove;classList;length;setComments;worksheet;element;show;getColumnNameFromCoords;helpers;options;offsetTop;parentNode;records;offsetWidth;body;top;px;left;offsetLeft;license;call;onevent;oncreatecell;jss_comments;add;title;removeAttribute;onselection;onblur;focus;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;setPlugins;object;undefined;exports;function;amd".split(";"); | ||
(function(m,k){typeof exports===_$_8126[120]&&typeof module!==_$_8126[121]?module[_$_8126[122]]=k():typeof define===_$_8126[123]&&define[_$_8126[124]]?define(k):m[_$_8126[4]]=k()})(this,function(){let m=jSuites[_$_8126[0]],k={};const p=function(){let a=_$_8126[1];8===this[_$_8126[2]]?this[_$_8126[3]]&&-1!==this[_$_8126[3]][_$_8126[5]](_$_8126[4])||(a=_$_8126[6]):a=_$_8126[7];return a},q=function(a){let l=[];if(a[_$_8126[8]]&&a[_$_8126[8]]!==k[_$_8126[8]])return!1;l[_$_8126[17]]({title:_$_8126[9], | ||
icon:_$_8126[10],onclick:function(){a[_$_8126[14]][_$_8126[13]][1][_$_8126[13]][0][_$_8126[12]][_$_8126[11]]=_$_8126[15];a[_$_8126[14]][_$_8126[13]][1][_$_8126[13]][1][_$_8126[12]][_$_8126[11]]=_$_8126[16]}});l[_$_8126[17]]({title:_$_8126[18],icon:_$_8126[19],onclick:function(){let e=a[_$_8126[21]][_$_8126[20]][_$_8126[5]](a),d=JSON[_$_8126[23]](JSON[_$_8126[22]](a[_$_8126[21]][_$_8126[20]]));d[_$_8126[24]](e,1);a[_$_8126[21]][_$_8126[26]](a[_$_8126[21]][_$_8126[25]],d)}});return l},r=function(){let a= | ||
this;a[_$_8126[27]]=function(l,e){e=e[_$_8126[28]]();a[_$_8126[31]][_$_8126[27]]({x:e[_$_8126[29]],y:e[_$_8126[30]]},q(l))};a[_$_8126[32]]=function(l){a[_$_8126[31]]=jSuites[_$_8126[35]](l,{width:_$_8126[33],onclick:function(e){e[_$_8126[34]]()}})};return'<div @ready="self.createMenu(this)" @ref="self.instance"></div>'},t=function(){return`<div class="p4 jss_comments_entry" style="border-bottom: 1px solid #ddd"> | ||
var _$_a2a2=";comments;This plugin is not included on the scope of this license;This is only available in the Premium Edition;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,k){typeof exports===_$_a2a2[37]&&typeof module!==_$_a2a2[38]?module.exports=k():typeof define===_$_a2a2[39]&&define.amd?define(k):m.comments=k()})(this,function(){let m=jSuites.translate,k={};const p=function(a){let l=[];if(a.user_id&&a.user_id!==k.user_id)return!1;l.push({title:_$_a2a2[4],icon:_$_a2a2[5],onclick:function(){a.el.children[1].children[0].style.display=_$_a2a2[6];a.el.children[1].children[1].style.display=_$_a2a2[7]}});l.push({title:_$_a2a2[8],icon:_$_a2a2[9],onclick:function(){let e= | ||
a.parent.data.indexOf(a),d=JSON.parse(JSON.stringify(a.parent.data));d.splice(e,1);a.parent.setValue(a.parent.cellName,d)}});return l},q=function(){let a=this;a.open=function(l,e){e=e.getBoundingClientRect();a.instance.open({x:e.x,y:e.y},p(l))};a.createMenu=function(l){a.instance=jSuites.contextmenu(l,{width:_$_a2a2[10],onclick:function(e){e.close()}})};return'<div @ready="self.createMenu(this)" @ref="self.instance"></div>'},r=function(){return`<div class="p4 jss_comments_entry" style="border-bottom: 1px solid #ddd"> | ||
<div class="row"> | ||
<div class="p4"> | ||
<div><img src="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" style="{{self.image?'display:none':''}}"><img @src="{{self.image}}" style="{{self.image?'':'display:none'}}" /></div> | ||
<div><img src="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" style="{{self.image?'display:none':''}}"><img @src="self.image" style="{{self.image?'':'display:none'}}" /></div> | ||
</div><div class="p4 f1"> | ||
@@ -33,9 +32,8 @@ <div>{{self.name}}</div> | ||
<textarea @bind="self.comments" class="jss_object"></textarea><br> | ||
<input type="button" onclick="self.parent.update(self, true)" value="${m(_$_8126[36])}" class="jbutton dark small" style="width:90px" /> | ||
<input type="button" onclick="self.parent.update(self, false)" value="${m(_$_8126[37])}" class="jbutton dark small" style="width:90px" /> | ||
<input type="button" onclick="self.parent.update(self, true)" value="${m(_$_a2a2[11])}" class="jbutton dark small" style="width:90px" /> | ||
<input type="button" onclick="self.parent.update(self, false)" value="${m(_$_a2a2[12])}" class="jbutton dark small" style="width:90px" /> | ||
</div> | ||
</div> | ||
</div>`},u=function(){let a=this;a[_$_8126[20]]=[];a[_$_8126[38]]=function(){jSuites[_$_8126[40]][_$_8126[39]]()};a[_$_8126[41]]=function(e,d){e[_$_8126[14]][_$_8126[13]][1][_$_8126[13]][0][_$_8126[12]][_$_8126[11]]=_$_8126[42];e[_$_8126[14]][_$_8126[13]][1][_$_8126[13]][1][_$_8126[12]][_$_8126[11]]=_$_8126[15];if(d)a[_$_8126[43]](!0)};a[_$_8126[43]]=function(e){let d=[];Array[_$_8126[44]](a[_$_8126[20]])&&(d=JSON[_$_8126[23]](JSON[_$_8126[22]](a[_$_8126[20]])),d[_$_8126[49]](function(b){let c= | ||
{date:b[_$_8126[45]],comments:b[_$_8126[46]]};b[_$_8126[8]]&&(c[_$_8126[8]]=b[_$_8126[8]]);b[_$_8126[47]]&&(c[_$_8126[47]]=b[_$_8126[47]]);b[_$_8126[48]]&&(c[_$_8126[48]]=b[_$_8126[48]]);return c}));!e&&a[_$_8126[46]]&&(e={date:(new Date)[_$_8126[54]]()[_$_8126[53]](_$_8126[51],_$_8126[52])[_$_8126[50]](0,19),comments:a[_$_8126[46]]},a[_$_8126[8]]?e[_$_8126[8]]=a[_$_8126[8]]:k[_$_8126[8]]&&(e[_$_8126[8]]=k[_$_8126[8]]),a[_$_8126[47]]?e[_$_8126[47]]=a[_$_8126[47]]:k[_$_8126[47]]&&(e[_$_8126[47]]=k[_$_8126[47]]), | ||
a[_$_8126[48]]?e[_$_8126[48]]=a[_$_8126[48]]:k[_$_8126[48]]&&(e[_$_8126[48]]=k[_$_8126[48]]),d[_$_8126[17]](e));a[_$_8126[26]](a[_$_8126[25]],d)};a[_$_8126[55]]=function(){a[_$_8126[46]]=_$_8126[1];a[_$_8126[14]][_$_8126[58]][_$_8126[57]](_$_8126[56])};a[_$_8126[26]]=function(e,d){let b={};b[e]=d[_$_8126[59]]?d:_$_8126[1];a[_$_8126[61]][_$_8126[60]](b)};let l=`<div class="jss_comments_box"> | ||
</div>`},t=function(){let a=this;a.data=[];a.onchange=function(){jSuites.calendar.prettifyAll()};a.update=function(e,d){e.el.children[1].children[0].style.display=_$_a2a2[13];e.el.children[1].children[1].style.display=_$_a2a2[6];d&&a.save(!0)};a.save=function(e){let d=[];Array.isArray(a.data)&&(d=JSON.parse(JSON.stringify(a.data)),d.map(function(b){let c={date:b.date,comments:b.comment};b.user_id&&(c.user_id=b.user_id);b.name&&(c.name=b.name);b.image&&(c.image=b.image);return c}));!e&&a.comment&& | ||
(e={date:(new Date).toISOString().replace(_$_a2a2[14],_$_a2a2[15]).substr(0,19),comments:a.comment},a.user_id?e.user_id=a.user_id:k.user_id&&(e.user_id=k.user_id),a.name?e.name=a.name:k.name&&(e.name=k.name),a.image?e.image=a.image:k.image&&(e.image=k.image),d.push(e));a.setValue(a.cellName,d)};a.cancel=function(){a.comment=_$_a2a2[0];a.el.classList.remove(_$_a2a2[16])};a.setValue=function(e,d){let b={};b[e]=d.length?d:_$_a2a2[0];a.worksheet.setComments(b)};let l=`<div class="jss_comments_box"> | ||
<Menu @ref="self.menu" /> | ||
@@ -46,14 +44,12 @@ <div><Comments @loop="self.data" /></div> | ||
<div class="row"> | ||
<div class="f1" style="padding: 1px"><input type="button" value="${m(_$_8126[36])}" class="jbutton dark w100" disabled="{{!self.comment}}" onclick="self.save()" /></div> | ||
<div class="f1" style="padding: 1px"><input type="button" value="${m(_$_8126[37])}" class="jbutton dark w100" onclick="self.cancel()" /></div> | ||
<div class="f1" style="padding: 1px"><input type="button" value="${m(_$_a2a2[11])}" class="jbutton dark w100" disabled="{{!self.comment}}" onclick="self.save()" /></div> | ||
<div class="f1" style="padding: 1px"><input type="button" value="${m(_$_a2a2[12])}" class="jbutton dark w100" onclick="self.cancel()" /></div> | ||
</div> | ||
</div> | ||
<div class="center p4 small">{{self.license}}</div> | ||
</div>`;return lemonade[_$_8126[62]](l,a,{Menu:r,Comments:t})},w=function(a,l){const e={},d={};e[_$_8126[63]]=function(b,c){let f=this[_$_8126[65]][_$_8126[64]](b,c);this[_$_8126[66]][_$_8126[4]]?Array[_$_8126[44]](this[_$_8126[66]][_$_8126[4]][f])?d[_$_8126[20]]=JSON[_$_8126[23]](JSON[_$_8126[22]](this[_$_8126[66]][_$_8126[4]][f])):d[_$_8126[20]]=[]:d[_$_8126[20]]=[];let g=this[_$_8126[62]][_$_8126[68]][_$_8126[67]];b=this[_$_8126[69]][c][b][_$_8126[62]];800<=document[_$_8126[71]][_$_8126[70]]? | ||
(d[_$_8126[14]][_$_8126[12]][_$_8126[72]]=b[_$_8126[67]]+g+1+_$_8126[73],d[_$_8126[14]][_$_8126[12]][_$_8126[74]]=b[_$_8126[75]]+b[_$_8126[70]]+1+_$_8126[73]):(d[_$_8126[14]][_$_8126[12]][_$_8126[72]]=_$_8126[1],d[_$_8126[14]][_$_8126[12]][_$_8126[74]]=_$_8126[1]);d[_$_8126[46]]=_$_8126[1];d[_$_8126[61]]=this;d[_$_8126[25]]=f;d[_$_8126[76]]=p[_$_8126[77]](this[_$_8126[21]])};e[_$_8126[78]]=function(b,c,f,g,h){if(b===_$_8126[79])b=c[_$_8126[65]][_$_8126[64]](g,h),c[_$_8126[66]][_$_8126[4]]&&c[_$_8126[66]][_$_8126[4]][b]&& | ||
c[_$_8126[66]][_$_8126[4]][b]&&Array[_$_8126[44]](c[_$_8126[66]][_$_8126[4]][b])&&(f[_$_8126[58]][_$_8126[81]](_$_8126[80]),f[_$_8126[83]](_$_8126[82]));else if(b===_$_8126[84]||b===_$_8126[85])d[_$_8126[14]][_$_8126[58]][_$_8126[57]](_$_8126[86]),d[_$_8126[14]][_$_8126[58]][_$_8126[57]](_$_8126[56]);else if(b===_$_8126[87])for(b=Object[_$_8126[88]](f),g=0;g<b[_$_8126[59]];g++)h=c[_$_8126[65]][_$_8126[89]](b[g]),c[_$_8126[69]][h[1]][h[0]][_$_8126[62]]&&(Array[_$_8126[44]](f[b[g]])?(c[_$_8126[69]][h[1]][h[0]][_$_8126[62]][_$_8126[83]](_$_8126[82]), | ||
c[_$_8126[69]][h[1]][h[0]][_$_8126[62]][_$_8126[58]][_$_8126[81]](_$_8126[80]),d[_$_8126[20]]=f[b[g]],d[_$_8126[90]](_$_8126[20]),d[_$_8126[46]]=_$_8126[1]):(c[_$_8126[69]][h[1]][h[0]][_$_8126[62]][_$_8126[58]][_$_8126[57]](_$_8126[80]),d[_$_8126[14]][_$_8126[58]][_$_8126[57]](_$_8126[86]),d[_$_8126[14]][_$_8126[58]][_$_8126[57]](_$_8126[56])))};e[_$_8126[91]]=function(b,c,f,g,h,v){if(v===_$_8126[92]){for(g=0;g<h[_$_8126[59]]&&h[g][_$_8126[93]]!==_$_8126[94];g++);if(g<h[_$_8126[59]])h[_$_8126[24]](g, | ||
0,{icon:_$_8126[95],title:_$_8126[96],onclick:function(){d[_$_8126[14]][_$_8126[58]][_$_8126[81]](_$_8126[56]);e[_$_8126[63]][_$_8126[77]](b,c,f)}})}return h};e[_$_8126[97]]=function(b){b[_$_8126[109]][_$_8126[108]](_$_8126[98],function(c){c=c||window[_$_8126[99]];if(!(c[_$_8126[100]]||c[_$_8126[101]]||c[_$_8126[102]]))if(c[_$_8126[104]][_$_8126[58]][_$_8126[103]](_$_8126[80])&&!d[_$_8126[14]][_$_8126[58]][_$_8126[103]](_$_8126[56])){let f=c[_$_8126[104]][_$_8126[106]](_$_8126[105]);c=c[_$_8126[104]][_$_8126[106]](_$_8126[107]); | ||
void 0!==f&&void 0!==c&&(d[_$_8126[14]][_$_8126[58]][_$_8126[81]](_$_8126[86]),e[_$_8126[63]][_$_8126[77]](b,f,c))}else d[_$_8126[14]][_$_8126[58]][_$_8126[57]](_$_8126[86])});b[_$_8126[109]][_$_8126[108]](_$_8126[110],function(c){if(c[_$_8126[104]][_$_8126[58]][_$_8126[103]](_$_8126[80])){let f=c[_$_8126[104]][_$_8126[106]](_$_8126[105]);c=c[_$_8126[104]][_$_8126[106]](_$_8126[107]);if(void 0!==f&&void 0!==c)if(b[_$_8126[69]][c][f]&&b[_$_8126[69]][c][f][_$_8126[62]]&&b[_$_8126[69]][c][f][_$_8126[62]][_$_8126[58]][_$_8126[103]](_$_8126[111])&& | ||
b[_$_8126[69]][c][f][_$_8126[62]][_$_8126[58]][_$_8126[103]](_$_8126[80]))d[_$_8126[14]][_$_8126[58]][_$_8126[81]](_$_8126[56]),e[_$_8126[63]][_$_8126[77]](b,f,c);else d[_$_8126[14]][_$_8126[58]][_$_8126[57]](_$_8126[56])}});b[_$_8126[109]][_$_8126[108]](_$_8126[112],function(c){d[_$_8126[14]][_$_8126[58]][_$_8126[57]](_$_8126[56])})};l=document[_$_8126[114]](_$_8126[113]);a[_$_8126[116]][_$_8126[115]](l);lemonade[_$_8126[117]](u,l,d);return e},n=function(a){a&&(a[_$_8126[47]]&&(k[_$_8126[47]]=a[_$_8126[47]]), | ||
a[_$_8126[48]]&&(k[_$_8126[48]]=a[_$_8126[48]]),a[_$_8126[8]]&&(k[_$_8126[8]]=a[_$_8126[8]]));return!0};n[_$_8126[118]]=function(a,l){a[_$_8126[119]]({comments:w})};return n}); | ||
</div>`;return lemonade.element(l,a,{Menu:q,Comments:r})},v=function(a,l){const e={},d={};e.show=function(b,c){var f=this.helpers.getColumnNameFromCoords(b,c);this.options.comments?Array.isArray(this.options.comments[f])?d.data=JSON.parse(JSON.stringify(this.options.comments[f])):d.data=[]:d.data=[];let g=this.element.parentNode.offsetTop;b=this.records[c][b].element;800<=document.body.offsetWidth?(d.el.style.top=b.offsetTop+g+1+_$_a2a2[17],d.el.style.left=b.offsetLeft+b.offsetWidth+1+_$_a2a2[17]): | ||
(d.el.style.top=_$_a2a2[0],d.el.style.left=_$_a2a2[0]);d.comment=_$_a2a2[0];d.worksheet=this;d.cellName=f;f=_$_a2a2[0];8===this.parent.status?this.parent.scope&&-1!==this.parent.scope.indexOf(_$_a2a2[1])||(f=_$_a2a2[2]):f=_$_a2a2[3];d.license=f};e.onevent=function(b,c,f,g,h){if(b===_$_a2a2[18])b=c.helpers.getColumnNameFromCoords(g,h),c.options.comments&&c.options.comments[b]&&c.options.comments[b]&&Array.isArray(c.options.comments[b])&&(f.classList.add(_$_a2a2[19]),f.removeAttribute(_$_a2a2[20])); | ||
else if(b===_$_a2a2[21]||b===_$_a2a2[22])d.el.classList.remove(_$_a2a2[23]),d.el.classList.remove(_$_a2a2[16]);else if(b===_$_a2a2[24])for(b=Object.keys(f),g=0;g<b.length;g++)h=c.helpers.getCoordsFromColumnName(b[g]),c.records[h[1]][h[0]].element&&(Array.isArray(f[b[g]])?(c.records[h[1]][h[0]].element.removeAttribute(_$_a2a2[20]),c.records[h[1]][h[0]].element.classList.add(_$_a2a2[19]),d.data=f[b[g]],d.refresh(_$_a2a2[25]),d.comment=_$_a2a2[0]):(c.records[h[1]][h[0]].element.classList.remove(_$_a2a2[19]), | ||
d.el.classList.remove(_$_a2a2[23]),d.el.classList.remove(_$_a2a2[16])))};e.contextMenu=function(b,c,f,g,h,u){if(u===_$_a2a2[26]){for(g=0;g<h.length&&h[g].icon!==_$_a2a2[27];g++);g<h.length&&h.splice(g,0,{icon:_$_a2a2[28],title:_$_a2a2[29],onclick:function(){d.el.classList.add(_$_a2a2[16]);e.show.call(b,c,f)}})}return h};e.init=function(b){b.content.addEventListener(_$_a2a2[30],function(c){c=c||window.event;if(!(c.buttons||c.button||c.which))if(c.target.classList.contains(_$_a2a2[19])&&!d.el.classList.contains(_$_a2a2[16])){let f= | ||
c.target.getAttribute(_$_a2a2[31]);c=c.target.getAttribute(_$_a2a2[32]);void 0!==f&&void 0!==c&&(d.el.classList.add(_$_a2a2[23]),e.show.call(b,f,c))}else d.el.classList.remove(_$_a2a2[23])});b.content.addEventListener(_$_a2a2[33],function(c){if(c.target.classList.contains(_$_a2a2[19])){let f=c.target.getAttribute(_$_a2a2[31]);c=c.target.getAttribute(_$_a2a2[32]);void 0!==f&&void 0!==c&&(b.records[c][f]&&b.records[c][f].element&&b.records[c][f].element.classList.contains(_$_a2a2[34])&&b.records[c][f].element.classList.contains(_$_a2a2[19])? | ||
(d.el.classList.add(_$_a2a2[16]),e.show.call(b,f,c)):d.el.classList.remove(_$_a2a2[16]))}});b.content.addEventListener(_$_a2a2[35],function(c){d.el.classList.remove(_$_a2a2[16])})};l=document.createElement(_$_a2a2[36]);a.tools.appendChild(l);lemonade.render(t,l,d);return e},n=function(a){a&&(a.name&&(k.name=a.name),a.image&&(k.image=a.image),a.user_id&&(k.user_id=a.user_id));return!0};n.oninit=function(a,l){a.setPlugins({comments:v})};return n}); |
@@ -35,3 +35,3 @@ { | ||
"main": "dist/index.js", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"types": "dist/index.d.ts", | ||
@@ -38,0 +38,0 @@ "bugs": "https://github.com/jspreadsheet/pro/issues", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
0
11954
81