@jspreadsheet/validations
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -9,3 +9,3 @@ if (!lemonade && typeof(require) === 'function') { | ||
var _$_599b=["translate","","status","scope","validations","indexOf","This extension is not included on the scope of this license","License required","version","This extension request Jspreadsheet Pro v9+","This extension is only compatible with version 9","config","action","range","!","split","current",":","getTokensFromRange","helpers","splice","push","length","parent","bind","sort","forEach","oldValue","index","value","worksheets","object","keys","every","format","map","entries"," .conditional_formatting_", | ||
var _$_5659=["translate","","status","scope","validations","indexOf","This extension is not included on the scope of this license","License required","version","This extension request Jspreadsheet Pro v9+","This extension is only compatible with version 9","config","action","range","!","split","current",":","getTokensFromRange","helpers","splice","push","length","parent","bind","sort","forEach","oldValue","index","value","worksheets","object","keys","every","format","map","entries"," .conditional_formatting_", | ||
"name","_"," {\n",";\n","join","\n}","jss_validations_","getElementById","style","createElement","id","appendChild","head","getElementsByTagName","innerHTML","isArray","getValidations","get","setValidations","set","resetValidations","reset","isEditable","JSS: input should be an array","error","stringify","parse","call","setHistory","persistence","onvalidation","dispatch","build","updateAll","getWorksheetName","updateFormula","#REF!","updateWorksheetName","between","is not between","not between","less than", | ||
@@ -16,24 +16,24 @@ "<","less than or equal to","<=","bigger than",">","bigger than or equal to",">=","equal to","=","different to","!=","contains","not contains","begins with","ends with","is a valid email","valid email","is a valid url","valid url","is a valid date","valid date","before","on or before","after","on or after","toUpperCase","replace","substr","create","instance","calendar","element","a number ","a text ","a date ","an element of the list: ","empty","filled","type","textLength","The cell text length must be ", | ||
"v","getColumnNameFromCoords","setAttribute","reject","conditional_formatting_","init","updateDataFromSelection","isOpen","modal","message","All validations found for this selection","data","filter","No validation found for this selection","closeForm","toolbar","rule","i","Add new validation","open","jtoolbar-disabled","items","settings","selectedCell","onevent","onafterchanges","onchangeproperty","onformulachain","x","y","oncreatecell","onbeforechange","onselection","getCoordsFromColumnName","getRangeFromTokens", | ||
"getCoordsFromRange","onload","onrenameworksheet","onchangereferences","ignoreHistory","historyCascade","onundo","onredo","createModal","Validations","460px","620px","openForm","getRange","warning","listContainer","settingsContainer","block","removeValidation","div","append","tools","render","oninit","setPlugins","license","undefined","exports","function","amd"]; | ||
(function(p,g){typeof exports===_$_599b[31]&&typeof module!==_$_599b[264]?module[_$_599b[265]]=g():typeof define===_$_599b[266]&&define[_$_599b[267]]?define(g):p[_$_599b[4]]=g()})(this,function(){var p=null,g=jSuites[_$_599b[0]],E=function(){var a=_$_599b[1];8==this[_$_599b[2]]?this[_$_599b[3]]&&-1!=this[_$_599b[3]][_$_599b[5]](_$_599b[4])||(a=_$_599b[6]):a=_$_599b[7];if(!a){var e=p[_$_599b[8]]();!e||!e[_$_599b[8]]||9>parseInt(e[_$_599b[8]])?a=_$_599b[9]:9<parseInt(e[_$_599b[8]])&&(a=_$_599b[10])}return a}, | ||
A={reject:2,warning:1,format:0},F=function(a,e){a=this[_$_599b[11]][_$_599b[4]][a]&&this[_$_599b[11]][_$_599b[4]][a][_$_599b[12]]?this[_$_599b[11]][_$_599b[4]][a][_$_599b[12]]:0;e=this[_$_599b[11]][_$_599b[4]][e]&&this[_$_599b[11]][_$_599b[4]][e][_$_599b[12]]?this[_$_599b[11]][_$_599b[4]][e][_$_599b[12]]:0;return A[a]-A[e]},v=function(a,e,f){if(e&&e[_$_599b[13]]){var b;if(0<e[_$_599b[13]][_$_599b[5]](_$_599b[14])){e=e[_$_599b[13]][_$_599b[15]](_$_599b[14]);var c=e[1];var d=u(e[0])}else c=e[_$_599b[13]], | ||
d=p[_$_599b[16]];d[_$_599b[4]]&&(e=-1===c[_$_599b[5]](_$_599b[17])?[c]:p[_$_599b[19]][_$_599b[18]](c),e[_$_599b[26]](function(h){d[_$_599b[4]][h]||(d[_$_599b[4]][h]=[]);if(0===a){if(b=d[_$_599b[4]][h][_$_599b[5]](f),0<=b)d[_$_599b[4]][h][_$_599b[20]](b,1)}else d[_$_599b[4]][h][_$_599b[21]](f);if(1<d[_$_599b[4]][h][_$_599b[22]])d[_$_599b[4]][h][_$_599b[25]](F[_$_599b[24]](d[_$_599b[23]]))}))}},B=function(a){for(var e=0;e<a[_$_599b[30]][_$_599b[22]];e++)a[_$_599b[30]][e][_$_599b[4]]={};if(a=a[_$_599b[11]][_$_599b[4]])for(e= | ||
0;e<a[_$_599b[22]];e++)v(1,a[e],e)},G=function(a){for(var e=0;e<a[_$_599b[30]][_$_599b[22]];e++)a[_$_599b[30]][e][_$_599b[4]]={}},t=function(){var a=function(c){var d=c[_$_599b[11]][_$_599b[4]];if(d&&d[_$_599b[22]]){for(var h=_$_599b[1],k=0;k<d[_$_599b[22]];k++)if(d[k]&&d[k][_$_599b[34]]){var l=Object[_$_599b[36]](d[k][_$_599b[34]])[_$_599b[35]](function([n,m]){return`\t${n}: ${m} !important\n`});h+=_$_599b[37]+c[_$_599b[38]]+_$_599b[39]+k+_$_599b[40]+l[_$_599b[42]](_$_599b[41])+_$_599b[43]}d=document[_$_599b[45]](_$_599b[44]+ | ||
c[_$_599b[38]]);d||(d=document[_$_599b[47]](_$_599b[46]),d[_$_599b[48]]=_$_599b[44]+c[_$_599b[38]],document[_$_599b[51]](_$_599b[50])[0][_$_599b[49]](d));d[_$_599b[52]]=h}},e=function(c){Array[_$_599b[53]](this[_$_599b[11]][_$_599b[4]])||(this[_$_599b[11]][_$_599b[4]]=[]);var d=this[_$_599b[11]][_$_599b[4]][_$_599b[22]];this[_$_599b[11]][_$_599b[4]][_$_599b[21]](c);return d},f=function(c,d){Array[_$_599b[53]](this[_$_599b[11]][_$_599b[4]])||(this[_$_599b[11]][_$_599b[4]]=[]);this[_$_599b[11]][_$_599b[4]][c]= | ||
d},b=function(c){c[_$_599b[54]]=b[_$_599b[55]];c[_$_599b[56]]=b[_$_599b[57]];c[_$_599b[58]]=b[_$_599b[59]]};b[_$_599b[55]]=function(c){var d=this[_$_599b[23]][_$_599b[11]][_$_599b[4]];return c?d[c]:d};b[_$_599b[57]]=function(c){if(!this[_$_599b[60]]())return!1;Array[_$_599b[53]](c)||typeof c!==_$_599b[31]||(c=[c]);if(Array[_$_599b[53]](c)){for(var d,h,k=[],l=0;l<c[_$_599b[22]];l++)h=null,0<=c[l][_$_599b[28]]?(d=c[l][_$_599b[28]],this[_$_599b[23]][_$_599b[11]][_$_599b[4]]&&this[_$_599b[23]][_$_599b[11]][_$_599b[4]][d]&& | ||
(h=JSON[_$_599b[64]](JSON[_$_599b[63]](this[_$_599b[23]][_$_599b[11]][_$_599b[4]][d]))),f[_$_599b[65]](this[_$_599b[23]],d,c[l][_$_599b[29]])):d=e[_$_599b[65]](this[_$_599b[23]],c[l][_$_599b[29]]),k[_$_599b[21]]({index:d,oldValue:h,value:c[l][_$_599b[29]]});this[_$_599b[23]][_$_599b[66]]({worksheet:this,action:_$_599b[56],records:k});this[_$_599b[67]](_$_599b[56],{data:k});a(this[_$_599b[23]]);for(c=0;c<k[_$_599b[22]];c++)k[c][_$_599b[27]]&&v(0,k[c][_$_599b[27]],k[c][_$_599b[28]]),k[c][_$_599b[29]]&& | ||
v(1,k[c][_$_599b[29]],k[c][_$_599b[28]]);this[_$_599b[23]][_$_599b[69]](_$_599b[68],this,k)}else console[_$_599b[62]](_$_599b[61])};b[_$_599b[59]]=function(c){if(!this[_$_599b[60]]())return!1;Array[_$_599b[53]](c)||(c=[c]);c=c[_$_599b[35]](function(d){return{index:d,value:null}});b[_$_599b[57]][_$_599b[65]](this,c)};b[_$_599b[70]]=function(){a(this);B(this)};b[_$_599b[71]]=function(c,d){var h=this[_$_599b[23]][_$_599b[11]][_$_599b[4]],k=[];if(h&&h[_$_599b[22]]){for(var l=0;l<h[_$_599b[22]];l++){var n= | ||
{index:l,value:JSON[_$_599b[64]](JSON[_$_599b[63]](h[l]))};var m=this[_$_599b[73]](n[_$_599b[29]][_$_599b[13]],c,d,this[_$_599b[72]]());m!==n[_$_599b[29]][_$_599b[13]]&&(0<=m[_$_599b[5]](_$_599b[74])?n[_$_599b[29]]=null:n[_$_599b[29]][_$_599b[13]]=m,k[_$_599b[21]](n))}if(k[_$_599b[22]])b[_$_599b[57]][_$_599b[65]](this,k)}};b[_$_599b[75]]=function(c,d){var h=this[_$_599b[23]][_$_599b[11]][_$_599b[4]],k=[];if(h&&h[_$_599b[22]]){for(var l=0;l<h[_$_599b[22]];l++){var n=p[_$_599b[19]][_$_599b[75]](h[l][_$_599b[13]], | ||
c,d);if(n!==h[l][_$_599b[13]]){var m={index:l,value:h[l]};m[_$_599b[29]][_$_599b[13]]=n;k[_$_599b[21]](m)}}if(k[_$_599b[22]])b[_$_599b[57]][_$_599b[65]](this,k)}};return b}(),w={number:[{text:g(_$_599b[76]),value:_$_599b[76]},{text:g(_$_599b[77]),value:_$_599b[78]},{text:g(_$_599b[79]),value:_$_599b[80]},{text:g(_$_599b[81]),value:_$_599b[82]},{text:g(_$_599b[83]),value:_$_599b[84]},{text:g(_$_599b[85]),value:_$_599b[86]},{text:g(_$_599b[87]),value:_$_599b[88]},{text:g(_$_599b[89]),value:_$_599b[90]}], | ||
text:[{text:g(_$_599b[91]),value:_$_599b[91]},{text:g(_$_599b[92]),value:_$_599b[92]},{text:g(_$_599b[93]),value:_$_599b[93]},{text:g(_$_599b[94]),value:_$_599b[94]},{text:g(_$_599b[87]),value:_$_599b[88]},{text:g(_$_599b[95]),value:_$_599b[96]},{text:g(_$_599b[97]),value:_$_599b[98]}],date:[{text:g(_$_599b[99]),value:_$_599b[100]},{text:g(_$_599b[87]),value:_$_599b[88]},{text:g(_$_599b[101]),value:_$_599b[80]},{text:g(_$_599b[102]),value:_$_599b[82]},{text:g(_$_599b[103]),value:_$_599b[84]},{text:g(_$_599b[104]), | ||
value:_$_599b[86]},{text:g(_$_599b[76]),value:_$_599b[76]},{text:g(_$_599b[78]),value:_$_599b[78]}],textLength:[{text:g(_$_599b[76]),value:_$_599b[76]},{text:g(_$_599b[77]),value:_$_599b[78]},{text:g(_$_599b[79]),value:_$_599b[80]},{text:g(_$_599b[81]),value:_$_599b[82]},{text:g(_$_599b[83]),value:_$_599b[84]},{text:g(_$_599b[85]),value:_$_599b[86]},{text:g(_$_599b[87]),value:_$_599b[88]},{text:g(_$_599b[89]),value:_$_599b[90]}]},u=function(a,e){Array[_$_599b[53]](a)&&(a=a[0]);a=a[_$_599b[106]](new RegExp(/'/g), | ||
_$_599b[1])[_$_599b[105]]();if(void 0===e)return window[a]?window[a]:null;window[a]=e},H=function(){var a=this;a[_$_599b[108]]=function(e){a[_$_599b[109]]=jSuites[_$_599b[110]](e,this)};return lemonade[_$_599b[111]]('<input class="jss_object" @ready="self.create(this)" @bind="self.value" style="width: 100%;" />',a)},I={number:_$_599b[112],text:_$_599b[113],date:_$_599b[114],list:_$_599b[115],empty:_$_599b[116],notEmpty:_$_599b[117]},J=function(a){var e=a[_$_599b[118]]===_$_599b[119]?_$_599b[120]: | ||
_$_599b[121]+I[a[_$_599b[118]]];a[_$_599b[122]]&&(e+=_$_599b[123]+a[_$_599b[122]]);a[_$_599b[118]]===_$_599b[124]?(a=typeof a[_$_599b[29]][0]!==_$_599b[125]?a[_$_599b[29]][0][_$_599b[42]](_$_599b[126]):a[_$_599b[29]][0],e+=_$_599b[127]+a+_$_599b[128]):Array[_$_599b[53]](a[_$_599b[29]])&&(a[_$_599b[29]][0]&&(e+=_$_599b[123]+a[_$_599b[29]][0]),1<a[_$_599b[29]][_$_599b[22]]&&(e+=_$_599b[129]+a[_$_599b[29]][1]));return e},C=function(){this[_$_599b[118]]==_$_599b[124]&&(this[_$_599b[122]]=g(_$_599b[130])); | ||
this[_$_599b[131]]=this[_$_599b[118]];this[_$_599b[131]]==_$_599b[116]?this[_$_599b[131]]=_$_599b[132]:this[_$_599b[131]]==_$_599b[133]&&(this[_$_599b[131]]=_$_599b[134]);return lemonade[_$_599b[111]]('<div>\n <div class="row middle p8">\n <div class="column f1 cursor" onclick="self.parent.openForm(self)">\n <div class="p2"><b>{{self.label}}</b> <span>({{self.range}})</span></div>\n <div class="p2" data-visible="{{self.criteria?true:false}}">{{self.criteria}}: {{self.value}}</div>\n </div><div>\n <div><i class=\'material-icons cursor\' onclick="self.parent.removeValidation(self.index)">delete</i></div>\n </div>\n </div>\n </div>\n ', | ||
this)},K=function(){var a=this,e=null;a[_$_599b[135]]=!0;a[_$_599b[136]]=function(b){jSuites[_$_599b[157]](b,{data:[{value:_$_599b[137],text:g(_$_599b[138])},{value:_$_599b[139],text:g(_$_599b[140])},{value:_$_599b[141],text:g(_$_599b[142])},{value:_$_599b[124],text:g(_$_599b[143])},{value:_$_599b[119],text:g(_$_599b[144])},{value:_$_599b[116],text:g(_$_599b[132])},{value:_$_599b[133],text:g(_$_599b[134])}],onchange:function(c,d,h,k){a[_$_599b[122]]=_$_599b[1];a[_$_599b[145]]=_$_599b[1];a[_$_599b[146]]= | ||
_$_599b[1];w[k]?(e[_$_599b[147]](w[k]),a[_$_599b[135]]=!0):(e[_$_599b[147]](null),a[_$_599b[135]]=!1);for(c=0;c<a[_$_599b[149]][_$_599b[148]][0][_$_599b[148]][_$_599b[22]];c++)a[_$_599b[149]][_$_599b[148]][0][_$_599b[148]][c][_$_599b[151]][_$_599b[91]](_$_599b[150])||a[_$_599b[149]][_$_599b[148]][0][_$_599b[148]][c][_$_599b[151]][_$_599b[91]](k)?a[_$_599b[149]][_$_599b[148]][0][_$_599b[148]][c][_$_599b[46]][_$_599b[152]]=_$_599b[1]:a[_$_599b[149]][_$_599b[148]][0][_$_599b[148]][c][_$_599b[46]][_$_599b[152]]= | ||
_$_599b[153]},onload:function(c,d){d[_$_599b[156]][_$_599b[151]][_$_599b[155]](_$_599b[154])}})};a[_$_599b[158]]=function(b){e=jSuites[_$_599b[157]](b,{data:w[_$_599b[137]],autocomplete:!0,onload:function(c,d){d[_$_599b[156]][_$_599b[151]][_$_599b[155]](_$_599b[154])}})};a[_$_599b[159]]=function(b){p[_$_599b[162]](b,function(){-1==b[_$_599b[160]][_$_599b[5]](_$_599b[14])?b[_$_599b[160]]=p[_$_599b[16]][_$_599b[72]]()+_$_599b[14]+b[_$_599b[160]]:b[_$_599b[160]]=b[_$_599b[160]];a[_$_599b[13]]=b[_$_599b[160]]; | ||
jSuites[_$_599b[161]](b)})};a[_$_599b[163]]=function(b){jSuites[_$_599b[164]](b)};a[_$_599b[165]]=function(b){jSuites[_$_599b[167]](b,{placeholder:_$_599b[166]})};a[_$_599b[168]]=function(b){b&&(a[_$_599b[13]]?a[_$_599b[118]]?a[_$_599b[135]]&&!a[_$_599b[122]]?alert(g(_$_599b[171])):(-1===a[_$_599b[13]][_$_599b[5]](_$_599b[14])&&(a[_$_599b[13]]=a[_$_599b[109]][_$_599b[72]]()+_$_599b[14]+a[_$_599b[13]]),b={range:a[_$_599b[13]],action:a[_$_599b[12]],type:a[_$_599b[118]],criteria:a[_$_599b[122]],text:a[_$_599b[139]], | ||
className:a[_$_599b[172]],allowBlank:a[_$_599b[173]]},a[_$_599b[118]]===_$_599b[141]?b[_$_599b[122]][_$_599b[174]](_$_599b[76])?b[_$_599b[29]]=[a[_$_599b[175]],a[_$_599b[176]]]:b[_$_599b[29]]=[a[_$_599b[175]]]:b[_$_599b[122]][_$_599b[174]](_$_599b[76])?b[_$_599b[29]]=[a[_$_599b[145]],a[_$_599b[146]]]:b[_$_599b[29]]=[a[_$_599b[145]]],b[_$_599b[12]]===_$_599b[34]&&(b[_$_599b[34]]={},a[_$_599b[177]]&&(b[_$_599b[34]][_$_599b[164]]=a[_$_599b[177]]),a[_$_599b[178]]&&(b[_$_599b[34]][_$_599b[179]]=a[_$_599b[178]]), | ||
a[_$_599b[180]]&&(b[_$_599b[34]][_$_599b[181]]=_$_599b[180]),a[_$_599b[182]]&&(b[_$_599b[34]][_$_599b[183]]=_$_599b[182])),b={value:b},null!==a[_$_599b[28]]&&(b[_$_599b[28]]=a[_$_599b[28]]),a[_$_599b[109]][_$_599b[56]](b)):alert(g(_$_599b[170])):alert(g(_$_599b[169])))};var f=`<div> | ||
"getCoordsFromRange","onload","onrenameworksheet","onchangereferences","ignoreHistory","historyCascade","onundo","onredo","createModal","Validations","460px","620px","openForm","getRange","warning","undefined","listContainer","settingsContainer","block","removeValidation","div","append","tools","render","oninit","setPlugins","license","exports","function","amd"]; | ||
(function(p,g){typeof exports===_$_5659[31]&&typeof module!==_$_5659[253]?module[_$_5659[265]]=g():typeof define===_$_5659[266]&&define[_$_5659[267]]?define(g):p[_$_5659[4]]=g()})(this,function(){var p=null,g=jSuites[_$_5659[0]],E=function(){var a=_$_5659[1];8==this[_$_5659[2]]?this[_$_5659[3]]&&-1!=this[_$_5659[3]][_$_5659[5]](_$_5659[4])||(a=_$_5659[6]):a=_$_5659[7];if(!a){var e=p[_$_5659[8]]();!e||!e[_$_5659[8]]||9>parseInt(e[_$_5659[8]])?a=_$_5659[9]:9<parseInt(e[_$_5659[8]])&&(a=_$_5659[10])}return a}, | ||
A={reject:2,warning:1,format:0},F=function(a,e){a=this[_$_5659[11]][_$_5659[4]][a]&&this[_$_5659[11]][_$_5659[4]][a][_$_5659[12]]?this[_$_5659[11]][_$_5659[4]][a][_$_5659[12]]:0;e=this[_$_5659[11]][_$_5659[4]][e]&&this[_$_5659[11]][_$_5659[4]][e][_$_5659[12]]?this[_$_5659[11]][_$_5659[4]][e][_$_5659[12]]:0;return A[a]-A[e]},v=function(a,e,f){if(e&&e[_$_5659[13]]){var b;if(0<e[_$_5659[13]][_$_5659[5]](_$_5659[14])){e=e[_$_5659[13]][_$_5659[15]](_$_5659[14]);var c=e[1];var d=u(e[0])}else c=e[_$_5659[13]], | ||
d=p[_$_5659[16]];d[_$_5659[4]]&&(e=-1===c[_$_5659[5]](_$_5659[17])?[c]:p[_$_5659[19]][_$_5659[18]](c),e[_$_5659[26]](function(h){d[_$_5659[4]][h]||(d[_$_5659[4]][h]=[]);if(0===a){if(b=d[_$_5659[4]][h][_$_5659[5]](f),0<=b)d[_$_5659[4]][h][_$_5659[20]](b,1)}else d[_$_5659[4]][h][_$_5659[21]](f);if(1<d[_$_5659[4]][h][_$_5659[22]])d[_$_5659[4]][h][_$_5659[25]](F[_$_5659[24]](d[_$_5659[23]]))}))}},B=function(a){for(var e=0;e<a[_$_5659[30]][_$_5659[22]];e++)a[_$_5659[30]][e][_$_5659[4]]={};if(a=a[_$_5659[11]][_$_5659[4]])for(e= | ||
0;e<a[_$_5659[22]];e++)v(1,a[e],e)},G=function(a){for(var e=0;e<a[_$_5659[30]][_$_5659[22]];e++)a[_$_5659[30]][e][_$_5659[4]]={}},t=function(){var a=function(c){var d=c[_$_5659[11]][_$_5659[4]];if(d&&d[_$_5659[22]]){for(var h=_$_5659[1],k=0;k<d[_$_5659[22]];k++)if(d[k]&&d[k][_$_5659[34]]){var l=Object[_$_5659[36]](d[k][_$_5659[34]])[_$_5659[35]](function([n,m]){return`\t${n}: ${m} !important\n`});h+=_$_5659[37]+c[_$_5659[38]]+_$_5659[39]+k+_$_5659[40]+l[_$_5659[42]](_$_5659[41])+_$_5659[43]}d=document[_$_5659[45]](_$_5659[44]+ | ||
c[_$_5659[38]]);d||(d=document[_$_5659[47]](_$_5659[46]),d[_$_5659[48]]=_$_5659[44]+c[_$_5659[38]],document[_$_5659[51]](_$_5659[50])[0][_$_5659[49]](d));d[_$_5659[52]]=h}},e=function(c){Array[_$_5659[53]](this[_$_5659[11]][_$_5659[4]])||(this[_$_5659[11]][_$_5659[4]]=[]);var d=this[_$_5659[11]][_$_5659[4]][_$_5659[22]];this[_$_5659[11]][_$_5659[4]][_$_5659[21]](c);return d},f=function(c,d){Array[_$_5659[53]](this[_$_5659[11]][_$_5659[4]])||(this[_$_5659[11]][_$_5659[4]]=[]);this[_$_5659[11]][_$_5659[4]][c]= | ||
d},b=function(c){c[_$_5659[54]]=b[_$_5659[55]];c[_$_5659[56]]=b[_$_5659[57]];c[_$_5659[58]]=b[_$_5659[59]]};b[_$_5659[55]]=function(c){var d=this[_$_5659[23]][_$_5659[11]][_$_5659[4]];return c?d[c]:d};b[_$_5659[57]]=function(c){if(!this[_$_5659[60]]())return!1;Array[_$_5659[53]](c)||typeof c!==_$_5659[31]||(c=[c]);if(Array[_$_5659[53]](c)){for(var d,h,k=[],l=0;l<c[_$_5659[22]];l++)h=null,0<=c[l][_$_5659[28]]?(d=c[l][_$_5659[28]],this[_$_5659[23]][_$_5659[11]][_$_5659[4]]&&this[_$_5659[23]][_$_5659[11]][_$_5659[4]][d]&& | ||
(h=JSON[_$_5659[64]](JSON[_$_5659[63]](this[_$_5659[23]][_$_5659[11]][_$_5659[4]][d]))),f[_$_5659[65]](this[_$_5659[23]],d,c[l][_$_5659[29]])):d=e[_$_5659[65]](this[_$_5659[23]],c[l][_$_5659[29]]),k[_$_5659[21]]({index:d,oldValue:h,value:c[l][_$_5659[29]]});this[_$_5659[23]][_$_5659[66]]({worksheet:this,action:_$_5659[56],records:k});this[_$_5659[67]](_$_5659[56],{data:k});a(this[_$_5659[23]]);for(c=0;c<k[_$_5659[22]];c++)k[c][_$_5659[27]]&&v(0,k[c][_$_5659[27]],k[c][_$_5659[28]]),k[c][_$_5659[29]]&& | ||
v(1,k[c][_$_5659[29]],k[c][_$_5659[28]]);this[_$_5659[23]][_$_5659[69]](_$_5659[68],this,k)}else console[_$_5659[62]](_$_5659[61])};b[_$_5659[59]]=function(c){if(!this[_$_5659[60]]())return!1;Array[_$_5659[53]](c)||(c=[c]);c=c[_$_5659[35]](function(d){return{index:d,value:null}});b[_$_5659[57]][_$_5659[65]](this,c)};b[_$_5659[70]]=function(){a(this);B(this)};b[_$_5659[71]]=function(c,d){var h=this[_$_5659[23]][_$_5659[11]][_$_5659[4]],k=[];if(h&&h[_$_5659[22]]){for(var l=0;l<h[_$_5659[22]];l++){var n= | ||
{index:l,value:JSON[_$_5659[64]](JSON[_$_5659[63]](h[l]))};var m=this[_$_5659[73]](n[_$_5659[29]][_$_5659[13]],c,d,this[_$_5659[72]]());m!==n[_$_5659[29]][_$_5659[13]]&&(0<=m[_$_5659[5]](_$_5659[74])?n[_$_5659[29]]=null:n[_$_5659[29]][_$_5659[13]]=m,k[_$_5659[21]](n))}if(k[_$_5659[22]])b[_$_5659[57]][_$_5659[65]](this,k)}};b[_$_5659[75]]=function(c,d){var h=this[_$_5659[23]][_$_5659[11]][_$_5659[4]],k=[];if(h&&h[_$_5659[22]]){for(var l=0;l<h[_$_5659[22]];l++){var n=p[_$_5659[19]][_$_5659[75]](h[l][_$_5659[13]], | ||
c,d);if(n!==h[l][_$_5659[13]]){var m={index:l,value:h[l]};m[_$_5659[29]][_$_5659[13]]=n;k[_$_5659[21]](m)}}if(k[_$_5659[22]])b[_$_5659[57]][_$_5659[65]](this,k)}};return b}(),w={number:[{text:g(_$_5659[76]),value:_$_5659[76]},{text:g(_$_5659[77]),value:_$_5659[78]},{text:g(_$_5659[79]),value:_$_5659[80]},{text:g(_$_5659[81]),value:_$_5659[82]},{text:g(_$_5659[83]),value:_$_5659[84]},{text:g(_$_5659[85]),value:_$_5659[86]},{text:g(_$_5659[87]),value:_$_5659[88]},{text:g(_$_5659[89]),value:_$_5659[90]}], | ||
text:[{text:g(_$_5659[91]),value:_$_5659[91]},{text:g(_$_5659[92]),value:_$_5659[92]},{text:g(_$_5659[93]),value:_$_5659[93]},{text:g(_$_5659[94]),value:_$_5659[94]},{text:g(_$_5659[87]),value:_$_5659[88]},{text:g(_$_5659[95]),value:_$_5659[96]},{text:g(_$_5659[97]),value:_$_5659[98]}],date:[{text:g(_$_5659[99]),value:_$_5659[100]},{text:g(_$_5659[87]),value:_$_5659[88]},{text:g(_$_5659[101]),value:_$_5659[80]},{text:g(_$_5659[102]),value:_$_5659[82]},{text:g(_$_5659[103]),value:_$_5659[84]},{text:g(_$_5659[104]), | ||
value:_$_5659[86]},{text:g(_$_5659[76]),value:_$_5659[76]},{text:g(_$_5659[78]),value:_$_5659[78]}],textLength:[{text:g(_$_5659[76]),value:_$_5659[76]},{text:g(_$_5659[77]),value:_$_5659[78]},{text:g(_$_5659[79]),value:_$_5659[80]},{text:g(_$_5659[81]),value:_$_5659[82]},{text:g(_$_5659[83]),value:_$_5659[84]},{text:g(_$_5659[85]),value:_$_5659[86]},{text:g(_$_5659[87]),value:_$_5659[88]},{text:g(_$_5659[89]),value:_$_5659[90]}]},u=function(a,e){Array[_$_5659[53]](a)&&(a=a[0]);a=a[_$_5659[106]](new RegExp(/'/g), | ||
_$_5659[1])[_$_5659[105]]();if(void 0===e)return window[a]?window[a]:null;window[a]=e},H=function(){var a=this;a[_$_5659[108]]=function(e){a[_$_5659[109]]=jSuites[_$_5659[110]](e,this)};return lemonade[_$_5659[111]]('<input class="jss_object" @ready="self.create(this)" @bind="self.value" style="width: 100%;" />',a)},I={number:_$_5659[112],text:_$_5659[113],date:_$_5659[114],list:_$_5659[115],empty:_$_5659[116],notEmpty:_$_5659[117]},J=function(a){var e=a[_$_5659[118]]===_$_5659[119]?_$_5659[120]: | ||
_$_5659[121]+I[a[_$_5659[118]]];a[_$_5659[122]]&&(e+=_$_5659[123]+a[_$_5659[122]]);a[_$_5659[118]]===_$_5659[124]?(a=typeof a[_$_5659[29]][0]!==_$_5659[125]?a[_$_5659[29]][0][_$_5659[42]](_$_5659[126]):a[_$_5659[29]][0],e+=_$_5659[127]+a+_$_5659[128]):Array[_$_5659[53]](a[_$_5659[29]])&&(a[_$_5659[29]][0]&&(e+=_$_5659[123]+a[_$_5659[29]][0]),1<a[_$_5659[29]][_$_5659[22]]&&(e+=_$_5659[129]+a[_$_5659[29]][1]));return e},C=function(){this[_$_5659[118]]==_$_5659[124]&&(this[_$_5659[122]]=g(_$_5659[130])); | ||
this[_$_5659[131]]=this[_$_5659[118]];this[_$_5659[131]]==_$_5659[116]?this[_$_5659[131]]=_$_5659[132]:this[_$_5659[131]]==_$_5659[133]&&(this[_$_5659[131]]=_$_5659[134]);return lemonade[_$_5659[111]]('<div>\n <div class="row middle p8">\n <div class="column f1 cursor" onclick="self.parent.openForm(self)">\n <div class="p2"><b>{{self.label}}</b> <span>({{self.range}})</span></div>\n <div class="p2" data-visible="{{self.criteria?true:false}}">{{self.criteria}}: {{self.value}}</div>\n </div><div>\n <div><i class=\'material-icons cursor\' onclick="self.parent.removeValidation(self.index)">delete</i></div>\n </div>\n </div>\n </div>\n ', | ||
this)},K=function(){var a=this,e=null;a[_$_5659[135]]=!0;a[_$_5659[136]]=function(b){jSuites[_$_5659[157]](b,{data:[{value:_$_5659[137],text:g(_$_5659[138])},{value:_$_5659[139],text:g(_$_5659[140])},{value:_$_5659[141],text:g(_$_5659[142])},{value:_$_5659[124],text:g(_$_5659[143])},{value:_$_5659[119],text:g(_$_5659[144])},{value:_$_5659[116],text:g(_$_5659[132])},{value:_$_5659[133],text:g(_$_5659[134])}],onchange:function(c,d,h,k){a[_$_5659[122]]=_$_5659[1];a[_$_5659[145]]=_$_5659[1];a[_$_5659[146]]= | ||
_$_5659[1];w[k]?(e[_$_5659[147]](w[k]),a[_$_5659[135]]=!0):(e[_$_5659[147]](null),a[_$_5659[135]]=!1);for(c=0;c<a[_$_5659[149]][_$_5659[148]][0][_$_5659[148]][_$_5659[22]];c++)a[_$_5659[149]][_$_5659[148]][0][_$_5659[148]][c][_$_5659[151]][_$_5659[91]](_$_5659[150])||a[_$_5659[149]][_$_5659[148]][0][_$_5659[148]][c][_$_5659[151]][_$_5659[91]](k)?a[_$_5659[149]][_$_5659[148]][0][_$_5659[148]][c][_$_5659[46]][_$_5659[152]]=_$_5659[1]:a[_$_5659[149]][_$_5659[148]][0][_$_5659[148]][c][_$_5659[46]][_$_5659[152]]= | ||
_$_5659[153]},onload:function(c,d){d[_$_5659[156]][_$_5659[151]][_$_5659[155]](_$_5659[154])}})};a[_$_5659[158]]=function(b){e=jSuites[_$_5659[157]](b,{data:w[_$_5659[137]],autocomplete:!0,onload:function(c,d){d[_$_5659[156]][_$_5659[151]][_$_5659[155]](_$_5659[154])}})};a[_$_5659[159]]=function(b){p[_$_5659[162]](b,function(){-1==b[_$_5659[160]][_$_5659[5]](_$_5659[14])?b[_$_5659[160]]=p[_$_5659[16]][_$_5659[72]]()+_$_5659[14]+b[_$_5659[160]]:b[_$_5659[160]]=b[_$_5659[160]];a[_$_5659[13]]=b[_$_5659[160]]; | ||
jSuites[_$_5659[161]](b)})};a[_$_5659[163]]=function(b){jSuites[_$_5659[164]](b)};a[_$_5659[165]]=function(b){jSuites[_$_5659[167]](b,{placeholder:_$_5659[166]})};a[_$_5659[168]]=function(b){b&&(a[_$_5659[13]]?a[_$_5659[118]]?a[_$_5659[135]]&&!a[_$_5659[122]]?alert(g(_$_5659[171])):(-1===a[_$_5659[13]][_$_5659[5]](_$_5659[14])&&(a[_$_5659[13]]=a[_$_5659[109]][_$_5659[72]]()+_$_5659[14]+a[_$_5659[13]]),b={range:a[_$_5659[13]],action:a[_$_5659[12]],type:a[_$_5659[118]],criteria:a[_$_5659[122]],text:a[_$_5659[139]], | ||
className:a[_$_5659[172]],allowBlank:a[_$_5659[173]]},a[_$_5659[118]]===_$_5659[141]?b[_$_5659[122]][_$_5659[174]](_$_5659[76])?b[_$_5659[29]]=[a[_$_5659[175]],a[_$_5659[176]]]:b[_$_5659[29]]=[a[_$_5659[175]]]:b[_$_5659[122]][_$_5659[174]](_$_5659[76])?b[_$_5659[29]]=[a[_$_5659[145]],a[_$_5659[146]]]:b[_$_5659[29]]=[a[_$_5659[145]]],b[_$_5659[12]]===_$_5659[34]&&(b[_$_5659[34]]={},a[_$_5659[177]]&&(b[_$_5659[34]][_$_5659[164]]=a[_$_5659[177]]),a[_$_5659[178]]&&(b[_$_5659[34]][_$_5659[179]]=a[_$_5659[178]]), | ||
a[_$_5659[180]]&&(b[_$_5659[34]][_$_5659[181]]=_$_5659[180]),a[_$_5659[182]]&&(b[_$_5659[34]][_$_5659[183]]=_$_5659[182])),b={value:b},null!==a[_$_5659[28]]&&(b[_$_5659[28]]=a[_$_5659[28]]),a[_$_5659[109]][_$_5659[56]](b)):alert(g(_$_5659[170])):alert(g(_$_5659[169])))};var f=`<div> | ||
<div> | ||
@@ -44,3 +44,3 @@ <!-- Validation type --> | ||
<div class="form-group"> | ||
<label class="label">${g(_$_599b[184])}</label> | ||
<label class="label">${g(_$_5659[184])}</label> | ||
<div @ready="self.createPicker(this)" @bind="self.range"></div> | ||
@@ -51,7 +51,7 @@ </div> | ||
<div class="form-group"> | ||
<label class="label">${g(_$_599b[185])}</label> | ||
<label class="label">${g(_$_5659[185])}</label> | ||
<select style="padding: 8px;" @bind="self.action"> | ||
<option value="warning">${g(_$_599b[186])}</option> | ||
<option value="reject">${g(_$_599b[187])}</option> | ||
<option value="format">${g(_$_599b[188])}</option> | ||
<option value="warning">${g(_$_5659[186])}</option> | ||
<option value="reject">${g(_$_5659[187])}</option> | ||
<option value="format">${g(_$_5659[188])}</option> | ||
</select> | ||
@@ -66,3 +66,3 @@ </div> | ||
<div class="form-group"> | ||
<label class="label">${g(_$_599b[186])}</label> | ||
<label class="label">${g(_$_5659[186])}</label> | ||
<input type="text" @bind="self.text" class="jss_object w100"> | ||
@@ -77,3 +77,3 @@ </div> | ||
<div class="form-group"> | ||
<label class="label">${g(_$_599b[189])}</label> | ||
<label class="label">${g(_$_5659[189])}</label> | ||
<div @ready="self.createType(this)" @bind="self.type"></div> | ||
@@ -83,3 +83,3 @@ </div> | ||
<div class="form-group"> | ||
<label class="label">${g(_$_599b[190])}</label> | ||
<label class="label">${g(_$_5659[190])}</label> | ||
<div name="criteria" @ready="self.createCriteria(this)" @bind="self.criteria"></div> | ||
@@ -156,3 +156,3 @@ </div> | ||
<div class="form-group"> | ||
<label class="label">${g(_$_599b[191])}</label> | ||
<label class="label">${g(_$_5659[191])}</label> | ||
<input @ready="self.createColorPicker(this)" @bind="self.formatColor" class="jss_object w100"> | ||
@@ -163,3 +163,3 @@ </div> | ||
<div class="form-group"> | ||
<label class="label">${g(_$_599b[192])}</label> | ||
<label class="label">${g(_$_5659[192])}</label> | ||
<input @ready="self.createColorPicker(this)" @bind="self.formatBackgroundColor" class="jss_object w100"> | ||
@@ -172,3 +172,3 @@ </div> | ||
<div class="form-group"> | ||
<input type="text" placeholder="${g(_$_599b[193])}" @bind="self.className" class="jss_object"> | ||
<input type="text" placeholder="${g(_$_5659[193])}" @bind="self.className" class="jss_object"> | ||
</div> | ||
@@ -194,3 +194,3 @@ </div> | ||
<div class='form-group center'> | ||
<button type="button" class="jbutton dark w100" onclick="self.close(true)">${g(_$_599b[194])}</button> | ||
<button type="button" class="jbutton dark w100" onclick="self.close(true)">${g(_$_5659[194])}</button> | ||
</div> | ||
@@ -200,17 +200,17 @@ </div> | ||
</div> | ||
<p onclick="self.parent.closeForm()" class="cursor">${g(_$_599b[195])}</p> | ||
</div>`;return lemonade[_$_599b[111]](f,a,{Calendar:H,List:C})},L=function(a,e){if(this[_$_599b[196]][e]&&this[_$_599b[196]][e][a]&&this[_$_599b[196]][e][a][_$_599b[111]]){this[_$_599b[196]][e][a][_$_599b[111]][_$_599b[198]](_$_599b[197]);this[_$_599b[196]][e][a][_$_599b[111]][_$_599b[151]][_$_599b[200]](_$_599b[199]);var f=this[_$_599b[196]][e][a][_$_599b[111]][_$_599b[202]](_$_599b[201]);if(f){f=f[_$_599b[15]](_$_599b[126]);for(var b=0;b<f[_$_599b[22]];b++)this[_$_599b[196]][e][a][_$_599b[111]][_$_599b[151]][_$_599b[200]](f[b])}this[_$_599b[196]][e][a][_$_599b[111]][_$_599b[198]](_$_599b[201])}}, | ||
r=function(a,e,f,b){if(this[_$_599b[23]][_$_599b[11]][_$_599b[4]]&&this[_$_599b[196]][e]&&this[_$_599b[196]][e][a]&&this[_$_599b[196]][e][a][_$_599b[111]]){L[_$_599b[65]](this,a,e);if(null==f||void 0==f)f=this[_$_599b[196]][e][a][_$_599b[203]];var c=this,d=p[_$_599b[19]][_$_599b[204]](a,e);if(this[_$_599b[196]][e][a][_$_599b[111]]&&this[_$_599b[4]]&&void 0!==this[_$_599b[4]][d]){d=this[_$_599b[4]][d];for(var h=0;h<d[_$_599b[22]];h++){var k=d[h],l=this[_$_599b[23]][_$_599b[11]][_$_599b[4]][k];if(!l)break; | ||
if(!jSuites[_$_599b[4]](f,l)){if(l[_$_599b[12]]!==_$_599b[34]){f=l[_$_599b[139]]||J(l);this[_$_599b[196]][e][a][_$_599b[111]][_$_599b[205]](_$_599b[197],f);this[_$_599b[196]][e][a][_$_599b[111]][_$_599b[151]][_$_599b[155]](_$_599b[199]);if(l[_$_599b[12]]===_$_599b[206]&&!b)return setTimeout(function(){c[_$_599b[196]][e][a][_$_599b[111]][_$_599b[198]](_$_599b[197]);c[_$_599b[196]][e][a][_$_599b[111]][_$_599b[151]][_$_599b[200]](_$_599b[199])},2500),!1;break}}else if(l[_$_599b[12]]===_$_599b[34]){var n= | ||
[];l[_$_599b[172]]&&(n=l[_$_599b[172]][_$_599b[15]](_$_599b[126]));n[_$_599b[21]](_$_599b[207]+this[_$_599b[23]][_$_599b[38]]+_$_599b[39]+k);for(l=0;l<n[_$_599b[22]];l++)this[_$_599b[196]][e][a][_$_599b[111]][_$_599b[151]][_$_599b[155]](n[l]);this[_$_599b[196]][e][a][_$_599b[111]][_$_599b[205]](_$_599b[201],n)}}}}},M=function(a,e){var f={};f[_$_599b[208]]=function(b){t(b)};f[_$_599b[209]]=function(b,c){if(f[_$_599b[211]][_$_599b[210]]()){if(b[_$_599b[22]]&&this[_$_599b[23]][_$_599b[11]][_$_599b[4]]){var d= | ||
b[0],h=b[1],k=b[2];b=b[3];var l=[],n=null;if(n=this[_$_599b[4]])for(;h<=b;h++)for(var m=d;m<=k;m++){var q=this[_$_599b[19]][_$_599b[204]](m,h);if(n[q])for(var x=0;x<n[q][_$_599b[22]];x++)l[n[q][x]]=!0}d=this[_$_599b[23]][_$_599b[11]][_$_599b[4]][_$_599b[35]](function(D,y){return Object.assign({},D,{index:y})});f[_$_599b[212]]=g(_$_599b[213])+_$_599b[123]+(c||_$_599b[1]);f[_$_599b[214]]=d[_$_599b[215]](function(D,y){return l[y]})}else f[_$_599b[214]]=[];f[_$_599b[214]][_$_599b[22]]||(f[_$_599b[212]]= | ||
g(_$_599b[216])+_$_599b[123]+(c||_$_599b[1]));f[_$_599b[217]]()}};f[_$_599b[218]]=function(b){b[_$_599b[224]][_$_599b[21]]({content:_$_599b[219],type:_$_599b[220],tooltip:g(_$_599b[221]),onclick:function(){f[_$_599b[222]](p[_$_599b[16]])},updateState:function(c,d,h,k){if(k[_$_599b[60]]())h[_$_599b[151]][_$_599b[200]](_$_599b[223]);else h[_$_599b[151]][_$_599b[155]](_$_599b[223])}});return b};f[_$_599b[222]]=function(b){f[_$_599b[225]][_$_599b[109]]=b;f[_$_599b[211]][_$_599b[222]]();var c=b[_$_599b[226]]; | ||
if(c[0]<c[2])var d=c[0],h=c[2];else d=c[2],h=c[0];if(c[1]<c[3]){var k=c[1];c=c[3]}else k=c[3],c=c[1];f[_$_599b[209]][_$_599b[65]](b,[d,k,h,c])};f[_$_599b[227]]=function(b,c,d,h,k,l){if(b===_$_599b[228]||b===_$_599b[229]||b===_$_599b[230])d[_$_599b[26]](function(m){if(m[_$_599b[231]]&&m[_$_599b[232]])r[_$_599b[65]](c,m[_$_599b[231]],m[_$_599b[232]],null,!0)});else if(b===_$_599b[233])r[_$_599b[65]](c,h,k);else if(b===_$_599b[234]){if((_$_599b[1]+l)[_$_599b[107]](0,1)!==_$_599b[88])return r[_$_599b[65]](c, | ||
h,k,l)}else if(b===_$_599b[235])f[_$_599b[209]][_$_599b[65]](c,[d,h,k,l]);else if(b===_$_599b[68]){var n=null;d[_$_599b[26]](function(m){if(m[_$_599b[27]]&&m[_$_599b[27]][_$_599b[13]])p[_$_599b[19]][_$_599b[18]](m[_$_599b[27]][_$_599b[13]])[_$_599b[26]](function(q){n||(n={});n[q]=!0})});d[_$_599b[26]](function(m){if(m[_$_599b[29]]&&m[_$_599b[29]][_$_599b[13]])p[_$_599b[19]][_$_599b[18]](m[_$_599b[29]][_$_599b[13]])[_$_599b[26]](function(q){n||(n={});n[q]=!0})});n&&(d=Object[_$_599b[32]](n),d[_$_599b[26]](function(m){var q= | ||
m[_$_599b[15]](_$_599b[14]);m=p[_$_599b[19]][_$_599b[236]](q[1]);r[_$_599b[65]](u(q[0]),m[0],m[1],null,!0)}),d=p[_$_599b[19]][_$_599b[237]](Object[_$_599b[32]](n)),b=p[_$_599b[19]][_$_599b[238]](d),f[_$_599b[209]][_$_599b[65]](c,b,d))}else if(b===_$_599b[239])t[_$_599b[70]][_$_599b[65]](c),n=null,(d=c[_$_599b[11]][_$_599b[4]])&&d[_$_599b[22]]&&(d[_$_599b[26]](function(m){if(m&&m[_$_599b[13]])p[_$_599b[19]][_$_599b[18]](m[_$_599b[13]])[_$_599b[26]](function(q){n||(n={});n[q]=!0})}),n&&(d=Object[_$_599b[32]](n), | ||
d[_$_599b[26]](function(m){var q=m[_$_599b[15]](_$_599b[14]);m=p[_$_599b[19]][_$_599b[236]](q[1]);r[_$_599b[65]](u(q[0]),m[0],m[1],null,!0)})));else if(b===_$_599b[240]||b===_$_599b[241]){if(!c[_$_599b[23]][_$_599b[242]]){c[_$_599b[23]][_$_599b[243]]=!0;if(b===_$_599b[240])t[_$_599b[75]][_$_599b[65]](c,k,h);else G(c[_$_599b[23]]),t[_$_599b[71]][_$_599b[65]](c,d,h),B(c[_$_599b[23]]);c[_$_599b[23]][_$_599b[243]]=!1}}else if(b===_$_599b[244]){if(d[_$_599b[12]]==_$_599b[56]){b=[];for(h=0;h<d[_$_599b[196]][_$_599b[22]];h++)b[_$_599b[21]]({index:d[_$_599b[196]][h][_$_599b[28]], | ||
value:d[_$_599b[196]][h][_$_599b[27]]});c[_$_599b[56]](b)}}else if(b===_$_599b[245]&&d[_$_599b[12]]==_$_599b[56])c[_$_599b[56]](d[_$_599b[196]])};f[_$_599b[246]]=function(b){f[_$_599b[211]]=jSuites[_$_599b[211]](b,{title:_$_599b[247],closed:!0,width:_$_599b[248],height:_$_599b[249],icon:_$_599b[219],backdrop:!1})};f[_$_599b[250]]=function(b){b[_$_599b[29]]||(b[_$_599b[29]]=[]);b[_$_599b[34]]||(b[_$_599b[34]]={});f[_$_599b[225]][_$_599b[28]]=b[_$_599b[28]];f[_$_599b[225]][_$_599b[13]]=b[_$_599b[13]]|| | ||
f[_$_599b[225]][_$_599b[109]][_$_599b[251]]();f[_$_599b[225]][_$_599b[12]]=b[_$_599b[12]]||_$_599b[252];f[_$_599b[225]][_$_599b[118]]=b[_$_599b[118]]||_$_599b[137];f[_$_599b[225]][_$_599b[122]]=b[_$_599b[122]]||_$_599b[1];f[_$_599b[225]][_$_599b[139]]=b[_$_599b[139]]||_$_599b[1];f[_$_599b[225]][_$_599b[172]]=b[_$_599b[172]]||_$_599b[1];f[_$_599b[225]][_$_599b[173]]=b[_$_599b[173]]||_$_599b[1];f[_$_599b[225]][_$_599b[177]]=b[_$_599b[34]][_$_599b[164]]||_$_599b[1];f[_$_599b[225]][_$_599b[178]]=b[_$_599b[34]][_$_599b[179]]|| | ||
_$_599b[1];f[_$_599b[225]][_$_599b[182]]=b[_$_599b[34]][_$_599b[183]]||_$_599b[1];f[_$_599b[225]][_$_599b[180]]=b[_$_599b[34]][_$_599b[181]]||_$_599b[1];b[_$_599b[118]]===_$_599b[141]?(f[_$_599b[225]][_$_599b[175]]=b[_$_599b[29]][0]||_$_599b[1],f[_$_599b[225]][_$_599b[176]]=b[_$_599b[29]][1]||_$_599b[1]):(f[_$_599b[225]][_$_599b[145]]=b[_$_599b[29]][0]||_$_599b[1],f[_$_599b[225]][_$_599b[146]]=b[_$_599b[29]][1]||_$_599b[1]);f[_$_599b[253]][_$_599b[46]][_$_599b[152]]=_$_599b[153];f[_$_599b[254]][_$_599b[46]][_$_599b[152]]= | ||
_$_599b[255]};f[_$_599b[217]]=function(){f[_$_599b[253]][_$_599b[46]][_$_599b[152]]=_$_599b[255];f[_$_599b[254]][_$_599b[46]][_$_599b[152]]=_$_599b[153]};f[_$_599b[256]]=function(b){f[_$_599b[225]][_$_599b[109]][_$_599b[58]](b)};e=document[_$_599b[47]](_$_599b[257]);a[_$_599b[259]][_$_599b[258]](e);lemonade[_$_599b[260]](function(){var b=`<div @ready="self.createModal(this)"> | ||
<p onclick="self.parent.closeForm()" class="cursor">${g(_$_5659[195])}</p> | ||
</div>`;return lemonade[_$_5659[111]](f,a,{Calendar:H,List:C})},L=function(a,e){if(this[_$_5659[196]][e]&&this[_$_5659[196]][e][a]&&this[_$_5659[196]][e][a][_$_5659[111]]){this[_$_5659[196]][e][a][_$_5659[111]][_$_5659[198]](_$_5659[197]);this[_$_5659[196]][e][a][_$_5659[111]][_$_5659[151]][_$_5659[200]](_$_5659[199]);var f=this[_$_5659[196]][e][a][_$_5659[111]][_$_5659[202]](_$_5659[201]);if(f){f=f[_$_5659[15]](_$_5659[126]);for(var b=0;b<f[_$_5659[22]];b++)this[_$_5659[196]][e][a][_$_5659[111]][_$_5659[151]][_$_5659[200]](f[b])}this[_$_5659[196]][e][a][_$_5659[111]][_$_5659[198]](_$_5659[201])}}, | ||
r=function(a,e,f,b){if(this[_$_5659[23]][_$_5659[11]][_$_5659[4]]&&this[_$_5659[196]][e]&&this[_$_5659[196]][e][a]&&this[_$_5659[196]][e][a][_$_5659[111]]){L[_$_5659[65]](this,a,e);if(null==f||void 0==f)f=this[_$_5659[196]][e][a][_$_5659[203]];var c=this,d=p[_$_5659[19]][_$_5659[204]](a,e);if(this[_$_5659[196]][e][a][_$_5659[111]]&&this[_$_5659[4]]&&void 0!==this[_$_5659[4]][d]){d=this[_$_5659[4]][d];for(var h=0;h<d[_$_5659[22]];h++){var k=d[h],l=this[_$_5659[23]][_$_5659[11]][_$_5659[4]][k];if(!l)break; | ||
if(!jSuites[_$_5659[4]](f,l)){if(l[_$_5659[12]]!==_$_5659[34]){f=l[_$_5659[139]]||J(l);this[_$_5659[196]][e][a][_$_5659[111]][_$_5659[205]](_$_5659[197],f);this[_$_5659[196]][e][a][_$_5659[111]][_$_5659[151]][_$_5659[155]](_$_5659[199]);if(l[_$_5659[12]]===_$_5659[206]&&!b)return setTimeout(function(){c[_$_5659[196]][e][a][_$_5659[111]][_$_5659[198]](_$_5659[197]);c[_$_5659[196]][e][a][_$_5659[111]][_$_5659[151]][_$_5659[200]](_$_5659[199])},2500),!1;break}}else if(l[_$_5659[12]]===_$_5659[34]){var n= | ||
[];l[_$_5659[172]]&&(n=l[_$_5659[172]][_$_5659[15]](_$_5659[126]));n[_$_5659[21]](_$_5659[207]+this[_$_5659[23]][_$_5659[38]]+_$_5659[39]+k);for(l=0;l<n[_$_5659[22]];l++)this[_$_5659[196]][e][a][_$_5659[111]][_$_5659[151]][_$_5659[155]](n[l]);this[_$_5659[196]][e][a][_$_5659[111]][_$_5659[205]](_$_5659[201],n)}}}}},M=function(a,e){var f={};f[_$_5659[208]]=function(b){t(b)};f[_$_5659[209]]=function(b,c){if(f[_$_5659[211]][_$_5659[210]]()){if(b[_$_5659[22]]&&this[_$_5659[23]][_$_5659[11]][_$_5659[4]]){var d= | ||
b[0],h=b[1],k=b[2];b=b[3];var l=[],n=null;if(n=this[_$_5659[4]])for(;h<=b;h++)for(var m=d;m<=k;m++){var q=this[_$_5659[19]][_$_5659[204]](m,h);if(n[q])for(var x=0;x<n[q][_$_5659[22]];x++)l[n[q][x]]=!0}d=this[_$_5659[23]][_$_5659[11]][_$_5659[4]][_$_5659[35]](function(D,y){return Object.assign({},D,{index:y})});f[_$_5659[212]]=g(_$_5659[213])+_$_5659[123]+(c||_$_5659[1]);f[_$_5659[214]]=d[_$_5659[215]](function(D,y){return l[y]})}else f[_$_5659[214]]=[];f[_$_5659[214]][_$_5659[22]]||(f[_$_5659[212]]= | ||
g(_$_5659[216])+_$_5659[123]+(c||_$_5659[1]));f[_$_5659[217]]()}};f[_$_5659[218]]=function(b){b[_$_5659[224]][_$_5659[21]]({content:_$_5659[219],type:_$_5659[220],tooltip:g(_$_5659[221]),onclick:function(){f[_$_5659[222]](p[_$_5659[16]])},updateState:function(c,d,h,k){if(k[_$_5659[60]]())h[_$_5659[151]][_$_5659[200]](_$_5659[223]);else h[_$_5659[151]][_$_5659[155]](_$_5659[223])}});return b};f[_$_5659[222]]=function(b){f[_$_5659[225]][_$_5659[109]]=b;f[_$_5659[211]][_$_5659[222]]();var c=b[_$_5659[226]]; | ||
if(c[0]<c[2])var d=c[0],h=c[2];else d=c[2],h=c[0];if(c[1]<c[3]){var k=c[1];c=c[3]}else k=c[3],c=c[1];f[_$_5659[209]][_$_5659[65]](b,[d,k,h,c])};f[_$_5659[227]]=function(b,c,d,h,k,l){if(b===_$_5659[228]||b===_$_5659[229]||b===_$_5659[230])d[_$_5659[26]](function(m){if(m[_$_5659[231]]&&m[_$_5659[232]])r[_$_5659[65]](c,m[_$_5659[231]],m[_$_5659[232]],null,!0)});else if(b===_$_5659[233])r[_$_5659[65]](c,h,k);else if(b===_$_5659[234]){if((_$_5659[1]+l)[_$_5659[107]](0,1)!==_$_5659[88])return r[_$_5659[65]](c, | ||
h,k,l)}else if(b===_$_5659[235])f[_$_5659[209]][_$_5659[65]](c,[d,h,k,l]);else if(b===_$_5659[68]){var n=null;d[_$_5659[26]](function(m){if(m[_$_5659[27]]&&m[_$_5659[27]][_$_5659[13]])p[_$_5659[19]][_$_5659[18]](m[_$_5659[27]][_$_5659[13]])[_$_5659[26]](function(q){n||(n={});n[q]=!0})});d[_$_5659[26]](function(m){if(m[_$_5659[29]]&&m[_$_5659[29]][_$_5659[13]])p[_$_5659[19]][_$_5659[18]](m[_$_5659[29]][_$_5659[13]])[_$_5659[26]](function(q){n||(n={});n[q]=!0})});n&&(d=Object[_$_5659[32]](n),d[_$_5659[26]](function(m){var q= | ||
m[_$_5659[15]](_$_5659[14]);m=p[_$_5659[19]][_$_5659[236]](q[1]);r[_$_5659[65]](u(q[0]),m[0],m[1],null,!0)}),d=p[_$_5659[19]][_$_5659[237]](Object[_$_5659[32]](n)),b=p[_$_5659[19]][_$_5659[238]](d),f[_$_5659[209]][_$_5659[65]](c,b,d))}else if(b===_$_5659[239])t[_$_5659[70]][_$_5659[65]](c),n=null,(d=c[_$_5659[11]][_$_5659[4]])&&d[_$_5659[22]]&&(d[_$_5659[26]](function(m){if(m&&m[_$_5659[13]])p[_$_5659[19]][_$_5659[18]](m[_$_5659[13]])[_$_5659[26]](function(q){n||(n={});n[q]=!0})}),n&&(d=Object[_$_5659[32]](n), | ||
d[_$_5659[26]](function(m){var q=m[_$_5659[15]](_$_5659[14]);m=p[_$_5659[19]][_$_5659[236]](q[1]);r[_$_5659[65]](u(q[0]),m[0],m[1],null,!0)})));else if(b===_$_5659[240]||b===_$_5659[241]){if(!c[_$_5659[23]][_$_5659[242]]){c[_$_5659[23]][_$_5659[243]]=!0;if(b===_$_5659[240])t[_$_5659[75]][_$_5659[65]](c,k,h);else G(c[_$_5659[23]]),t[_$_5659[71]][_$_5659[65]](c,d,h),B(c[_$_5659[23]]);c[_$_5659[23]][_$_5659[243]]=!1}}else if(b===_$_5659[244]){if(d[_$_5659[12]]==_$_5659[56]){b=[];for(h=0;h<d[_$_5659[196]][_$_5659[22]];h++)b[_$_5659[21]]({index:d[_$_5659[196]][h][_$_5659[28]], | ||
value:d[_$_5659[196]][h][_$_5659[27]]});c[_$_5659[56]](b)}}else if(b===_$_5659[245]&&d[_$_5659[12]]==_$_5659[56])c[_$_5659[56]](d[_$_5659[196]])};f[_$_5659[246]]=function(b){f[_$_5659[211]]=jSuites[_$_5659[211]](b,{title:_$_5659[247],closed:!0,width:_$_5659[248],height:_$_5659[249],icon:_$_5659[219],backdrop:!1})};f[_$_5659[250]]=function(b){b[_$_5659[29]]||(b[_$_5659[29]]=[]);b[_$_5659[34]]||(b[_$_5659[34]]={});f[_$_5659[225]][_$_5659[28]]=b[_$_5659[28]];f[_$_5659[225]][_$_5659[13]]=b[_$_5659[13]]|| | ||
f[_$_5659[225]][_$_5659[109]][_$_5659[251]]();f[_$_5659[225]][_$_5659[12]]=b[_$_5659[12]]||_$_5659[252];f[_$_5659[225]][_$_5659[118]]=b[_$_5659[118]]||_$_5659[137];f[_$_5659[225]][_$_5659[122]]=b[_$_5659[122]]||_$_5659[1];f[_$_5659[225]][_$_5659[139]]=b[_$_5659[139]]||_$_5659[1];f[_$_5659[225]][_$_5659[172]]=b[_$_5659[172]]||_$_5659[1];f[_$_5659[225]][_$_5659[173]]=b[_$_5659[173]]||_$_5659[1];f[_$_5659[225]][_$_5659[177]]=b[_$_5659[34]][_$_5659[164]]||_$_5659[1];f[_$_5659[225]][_$_5659[178]]=b[_$_5659[34]][_$_5659[179]]|| | ||
_$_5659[1];f[_$_5659[225]][_$_5659[182]]=b[_$_5659[34]][_$_5659[183]]||_$_5659[1];f[_$_5659[225]][_$_5659[180]]=b[_$_5659[34]][_$_5659[181]]||_$_5659[1];typeof b[_$_5659[29]][0]===_$_5659[253]&&(b[_$_5659[29]][0]=_$_5659[1]);typeof b[_$_5659[29]][1]===_$_5659[253]&&(b[_$_5659[29]][1]=_$_5659[1]);b[_$_5659[118]]===_$_5659[141]?(f[_$_5659[225]][_$_5659[175]]=b[_$_5659[29]][0],f[_$_5659[225]][_$_5659[176]]=b[_$_5659[29]][1]):(f[_$_5659[225]][_$_5659[145]]=b[_$_5659[29]][0],f[_$_5659[225]][_$_5659[146]]= | ||
b[_$_5659[29]][1]);f[_$_5659[254]][_$_5659[46]][_$_5659[152]]=_$_5659[153];f[_$_5659[255]][_$_5659[46]][_$_5659[152]]=_$_5659[256]};f[_$_5659[217]]=function(){f[_$_5659[254]][_$_5659[46]][_$_5659[152]]=_$_5659[256];f[_$_5659[255]][_$_5659[46]][_$_5659[152]]=_$_5659[153]};f[_$_5659[257]]=function(b){f[_$_5659[225]][_$_5659[109]][_$_5659[58]](b)};e=document[_$_5659[47]](_$_5659[258]);a[_$_5659[260]][_$_5659[259]](e);lemonade[_$_5659[261]](function(){var b=`<div @ready="self.createModal(this)"> | ||
<div @ref="self.listContainer"> | ||
@@ -221,5 +221,5 @@ <div> | ||
</div> | ||
<p><input type="button" value="${g(_$_599b[221])}" onclick="self.openForm({ index: null })" class="jbutton dark" /></p> | ||
<p><input type="button" value="${g(_$_5659[221])}" onclick="self.openForm({ index: null })" class="jbutton dark" /></p> | ||
</div> | ||
<div @ref="self.settingsContainer" style="display: none;"><Settings @ref="self.settings" /></div> | ||
</div>`;return lemonade[_$_599b[111]](b,f,{Settings:K,List:C})},e);return f},z=function(){return!0};z[_$_599b[261]]=function(a,e){if(e=E[_$_599b[65]](a))console[_$_599b[62]](e);else a[_$_599b[262]]({validations:M})};z[_$_599b[263]]=function(a){null===p&&(p=this)};return z}); | ||
</div>`;return lemonade[_$_5659[111]](b,f,{Settings:K,List:C})},e);return f},z=function(){return!0};z[_$_5659[262]]=function(a,e){if(e=E[_$_5659[65]](a))console[_$_5659[62]](e);else a[_$_5659[263]]({validations:M})};z[_$_5659[264]]=function(a){null===p&&(p=this)};return z}); |
@@ -30,3 +30,3 @@ { | ||
"dependencies": { | ||
"jsuites": "^5.0.1", | ||
"jsuites": "^5.0.15", | ||
"lemonadejs": "^3.0.7" | ||
@@ -36,3 +36,3 @@ }, | ||
"types": "dist/index.d.ts", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"bugs": "https://github.com/jspreadsheet/pro/issues", | ||
@@ -39,0 +39,0 @@ "homepage": "https://github.com/jspreadsheet/pro", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32677
266
Updatedjsuites@^5.0.15