cloud-web-corejs 1.0.218 → 1.0.219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,76 @@
1
1
  let modules = {};
2
- (function(_0xadcb96,_0x88cf69){function _0x42e373(_0x5b5249,_0x3f301f,_0x4e8551,_0x4a83e3,_0x114e64){return _0x8f75(_0x114e64-0x12a,_0x4e8551);}const _0x340b8d=_0xadcb96();function _0x30cda1(_0x1fdd1c,_0x590dbe,_0x531cbe,_0x4fcb90,_0xacd10e){return _0x3fde(_0x590dbe-0x368,_0x1fdd1c);}function _0x4b317e(_0x109f72,_0x145975,_0x226869,_0x56b4a9,_0x4f5162){return _0x3fde(_0x4f5162- -0x1ff,_0x56b4a9);}function _0x5902c1(_0x482bb5,_0x389fa6,_0x36d995,_0x2b3b21,_0x4511b5){return _0x8f75(_0x482bb5- -0xc0,_0x4511b5);}function _0x4bb19f(_0x39b525,_0x559eac,_0x415089,_0xec58ee,_0x38627a){return _0x3fde(_0xec58ee- -0x367,_0x559eac);}function _0x42c399(_0x25d154,_0x244100,_0x4539ba,_0x4bc648,_0x5cbcee){return _0x3fde(_0x4539ba- -0x1d4,_0x25d154);}function _0x3f6a6c(_0x1e7259,_0x65afa8,_0x5d9b4d,_0x1a6d4a,_0xdea0e0){return _0x8f75(_0x5d9b4d-0x253,_0x65afa8);}function _0x546d1b(_0x54cdaf,_0x510edf,_0xb9e901,_0x22ed2b,_0x18bcf4){return _0x3fde(_0x54cdaf- -0x3db,_0xb9e901);}do{try{const _0x365ea4=parseInt(_0x30cda1("VMyu".split("").reverse().join(""),0x3a2,0x3a2,0x3ab,0x395))/0x1+parseInt(_0x3f6a6c(0x284,0x291,0x287,0x277,0x27c))/0x2+parseInt(_0x30cda1("\u0059\u0072\u0067\u0041",0x389,0x39d,0x36a,0x370))/0x3+parseInt(_0x5902c1(-0xb1,-0xbe,-0x9c,-0xcd,-0x99))/0x4*(parseInt(_0x30cda1("\u0043\u007a\u0035\u007a",0x384,0x367,0x37a,0x384))/0x5)+-parseInt(_0x546d1b(-0x3d4,-0x3f2,"S0UX".split("").reverse().join(""),-0x3d7,-0x3dc))/0x6+-parseInt(_0x3f6a6c(0x25b,0x23c,0x258,0x251,0x25b))/0x7+parseInt(_0x4b317e(-0x20c,-0x1fc,-0x20e,"\u0057\u0029\u0053\u004c",-0x1f4))/0x8*(-parseInt(_0x30cda1("\u005e\u0032\u0039\u0078",0x398,0x3b5,0x37c,0x3b3))/0x9);if(_0x365ea4===_0x88cf69){break;}else{_0x340b8d["\u0070\u0075\u0073\u0068"](_0x340b8d['shift']());}}catch(_0x3e0a9b){_0x340b8d["\u0070\u0075\u0073\u0068"](_0x340b8d["\u0073\u0068\u0069\u0066\u0074"]());}}while(!![]);})(_0x45b9,0xd70b6);function _0x5b7e13(_0x550d4e,_0x361956,_0x7059dd,_0x27597b,_0x38db58){return _0x3fde(_0x7059dd-0x2b6,_0x361956);}function _0x3a3b4a(_0xb640f5,_0xeda7fd,_0x27b8bd,_0xa04158,_0x1aac34){return _0x8f75(_0x27b8bd- -0x28c,_0xeda7fd);}function _0x4c333c(_0x46ab72,_0x39261c,_0x1276e8,_0x3f6eb0,_0x23e9b5){return _0x3fde(_0x46ab72- -0x36,_0x23e9b5);}function _0x2336be(_0x17eb7e,_0x4300cc,_0x4073c7,_0x18be05,_0x46b3b3){return _0x3fde(_0x46b3b3- -0x321,_0x4073c7);}function _0x2223a8(_0x2e9b0c,_0x1ac3a0,_0x1e3a77,_0x4b7428,_0x14c232){return _0x3fde(_0x4b7428-0x396,_0x1ac3a0);}function _0x3fde(_0xb622b5,_0x45b9fe){const _0x8f75f7=_0x45b9();_0x3fde=function(_0x3cbf20,_0x337fa1){_0x3cbf20=_0x3cbf20-0x0;let _0x2c25d8=_0x8f75f7[_0x3cbf20];if(_0x3fde["\u0058\u004d\u005a\u004d\u004d\u0057"]===undefined){var _0x1e8770=function(_0x20a7f6){const _0x5e6863="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x506ac3='';let _0x2a1a4a='';for(let _0x2687f4=0x0,_0x47e5dc,_0x2d36a4,_0xbe088d=0x0;_0x2d36a4=_0x20a7f6["\u0063\u0068\u0061\u0072\u0041\u0074"](_0xbe088d++);~_0x2d36a4&&(_0x47e5dc=_0x2687f4%0x4?_0x47e5dc*0x40+_0x2d36a4:_0x2d36a4,_0x2687f4++%0x4)?_0x506ac3+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x47e5dc>>(-0x2*_0x2687f4&0x6)):0x0){_0x2d36a4=_0x5e6863["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x2d36a4);}for(let _0x291a20=0x0,_0x484cd4=_0x506ac3["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x291a20<_0x484cd4;_0x291a20++){_0x2a1a4a+="\u0025"+("00".split("").reverse().join("")+_0x506ac3['charCodeAt'](_0x291a20)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x2a1a4a);};const _0x5e5757=function(_0x476310,_0x4f0901){let _0x289980=[],_0x3905bd=0x0,_0x5f3c47,_0x32624f='';_0x476310=_0x1e8770(_0x476310);let _0x25cd3b;for(_0x25cd3b=0x0;_0x25cd3b<0x100;_0x25cd3b++){_0x289980[_0x25cd3b]=_0x25cd3b;}for(_0x25cd3b=0x0;_0x25cd3b<0x100;_0x25cd3b++){_0x3905bd=(_0x3905bd+_0x289980[_0x25cd3b]+_0x4f0901["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x25cd3b%_0x4f0901['length']))%0x100;_0x5f3c47=_0x289980[_0x25cd3b];_0x289980[_0x25cd3b]=_0x289980[_0x3905bd];_0x289980[_0x3905bd]=_0x5f3c47;}_0x25cd3b=0x0;_0x3905bd=0x0;for(let _0x3da375=0x0;_0x3da375<_0x476310['length'];_0x3da375++){_0x25cd3b=(_0x25cd3b+0x1)%0x100;_0x3905bd=(_0x3905bd+_0x289980[_0x25cd3b])%0x100;_0x5f3c47=_0x289980[_0x25cd3b];_0x289980[_0x25cd3b]=_0x289980[_0x3905bd];_0x289980[_0x3905bd]=_0x5f3c47;_0x32624f+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0x476310['charCodeAt'](_0x3da375)^_0x289980[(_0x289980[_0x25cd3b]+_0x289980[_0x3905bd])%0x100]);}return _0x32624f;};_0x3fde['cqfHks']=_0x5e5757;_0xb622b5=arguments;_0x3fde['XMZMMW']=!![];}const _0x3d8d6b=_0x8f75f7[0x0];const _0x123c69=_0x3cbf20+_0x3d8d6b;const _0x3fde9d=_0xb622b5[_0x123c69];if(!_0x3fde9d){if(_0x3fde["\u0068\u004b\u004d\u0068\u0070\u0059"]===undefined){_0x3fde["\u0068\u004b\u004d\u0068\u0070\u0059"]=!![];}_0x2c25d8=_0x3fde['cqfHks'](_0x2c25d8,_0x337fa1);_0xb622b5[_0x123c69]=_0x2c25d8;}else{_0x2c25d8=_0x3fde9d;}return _0x2c25d8;};return _0x3fde(_0xb622b5,_0x45b9fe);}function ZrdRwb(_0x2825a8,_0x579d9c){if(!![]!=![])return;ZrdRwb=function(_0x5b110a,_0x5c93e7){_0x5b110a=_0x5b110a-(0x973c9^0x973c9);var _0x372074=_0x5e50e6[_0x5b110a];return _0x372074;};return ZrdRwb(_0x2825a8,_0x579d9c);}ZrdRwb();function _0x45b9(){const _0xe81829=["\u0069\u0071\u0069\u0035\u0057\u0034\u0074\u0064\u0053\u0043\u006b\u0059\u0063\u004e\u0052\u0063\u0047\u0061\u0079\u0052\u0057\u0037\u004a\u0063\u0048\u0063\u0061","\u006e\u0065\u0046\u0063\u0049\u006d\u006f\u0042\u006b\u0043\u006b\u0073\u0057\u0034\u005a\u0064\u0055\u006d\u006f\u0045\u0042\u0053\u006f\u007a","\u006e\u005a\u0043\u005a\u006d\u0074\u0079\u0030\u0044\u0066\u0066\u004b\u0041\u004d\u006a\u0068","\u0057\u004f\u0074\u0063\u004e\u0043\u006f\u0064\u0057\u0034\u0047\u006f\u0057\u0035\u0075\u0037\u0057\u0050\u0042\u0063\u0050\u0047\u005a\u0064\u004a\u0043\u006b\u004b\u0057\u0052\u0037\u0064\u0048\u0047","4oCpskCTdB0dO1HVcZ4WIkCD".split("").reverse().join(""),"IoCOc75WComC".split("").reverse().join(""),"\u0079\u0043\u006b\u0032\u0069\u004c\u002f\u0064\u0055\u0047","qwWSuKdN6W".split("").reverse().join(""),"GRdVRWFoCHcBGw5yfOcRPWComg".split("").reverse().join(""),"RkCsNoCe".split("").reverse().join(""),"\u0074\u0059\u0068\u0064\u004c\u0038\u006b\u0078","\u0069\u0043\u006b\u0062\u0078\u006d\u006b\u0039\u0057\u0036\u0046\u0064\u0049\u0043\u006f\u0078\u0057\u0034\u0070\u0063\u004f\u0053\u006b\u0034\u0057\u0037\u0065\u006e","\u0043\u004d\u0076\u004d","\u0076\u0067\u005a\u0063\u0049\u0043\u006b\u0064","jnvfyaggLoCuBS6W".split("").reverse().join(""),"0GvKd37W".split("").reverse().join(""),"atdDKEzjfmWuJm5udo".split("").reverse().join(""),"\u0057\u0036\u006d\u006a\u0079\u0062\u0033\u0063\u0054\u006d\u006f\u0071","\u006f\u0076\u0037\u0064\u004d\u0077\u0064\u0063\u004f\u0053\u006f\u0053\u006e\u0078\u0033\u0064\u0051\u006d\u006f\u0058\u0057\u0036\u0076\u0053\u0057\u0037\u0043","qErLLyeDfo5ydn0KJm".split("").reverse().join(""),"aVdN5Wzkmu".split("").reverse().join(""),"Gz/oSjUkmPdRLiNbcVc35WMkSp".split("").reverse().join(""),"\u006c\u0053\u006f\u0045\u006e\u0043\u006f\u0069\u0057\u0051\u0068\u0063\u0050\u0038\u006f\u004f","W7WFoSe5Gqh5oCTc/gQc37W7oCHdpxr".split("").reverse().join(""),"\u0045\u004c\u0076\u0041\u0075\u0077\u0038","\u0057\u0051\u0048\u0051\u0064\u0038\u006f\u0037\u0073\u004d\u0072\u0074\u0057\u0035\u0078\u0063\u0055\u0047","qtZzxsl9KmZKJm".split("").reverse().join(""),"egDHreBSvNz".split("").reverse().join(""),"\u0041\u0078\u006e\u0072\u0044\u0077\u0076\u0059\u0045\u0075\u0066\u0053\u0042\u0066\u0062\u0048\u007a\u0032\u0075","aHcxcg".split("").reverse().join(""),"\u0043\u0038\u006b\u0044\u0057\u004f\u0068\u0063\u0052\u0043\u006f\u004c\u0068\u0043\u006f\u0075\u0057\u0037\u0078\u0064\u0052\u004b\u002f\u0063\u0056\u004a\u0079","Wwy09gD".split("").reverse().join(""),"\u0042\u0033\u006a\u0050\u007a\u0032\u004c\u0055\u0074\u0033\u0062\u0030\u0041\u0077\u0039\u0055","GtkPo8e".split("").reverse().join(""),"\u0057\u0035\u0033\u0064\u0054\u0072\u0047\u0065\u0057\u0052\u0044\u0063\u0057\u0050\u002f\u0064\u0056\u0043\u006b\u0069\u0057\u0036\u005a\u0064\u0050\u006d\u006f\u006b\u0057\u0050\u0042\u0063\u0052\u0038\u006f\u0066","\u0079\u004e\u0033\u0063\u0048\u0043\u006b\u0056","\u006d\u0074\u0071\u0031\u006d\u0064\u0069\u0057\u006d\u0074\u0076\u0059\u0074\u0077\u0054\u0056\u0079\u0033\u006d","\u0042\u0067\u0076\u0055\u007a\u0033\u0072\u004f","\u0078\u005a\u0037\u0064\u004d\u0038\u006b\u006a\u0071\u0064\u0046\u0064\u004e\u0043\u006f\u0058\u0057\u0034\u0033\u0064\u0054\u006d\u006b\u004c\u0044\u0043\u006b\u0045\u0057\u0052\u0044\u004a\u0057\u004f\u0052\u0063\u0050\u0068\u006e\u004b\u006c\u006d\u006f\u0053\u0057\u0051\u0035\u0034\u0043\u0043\u006b\u0043","\u0057\u004f\u0042\u0063\u0049\u004d\u0078\u0063\u0051\u0062\u0053\u0071\u0057\u0036\u0070\u0063\u004d\u0053\u006b\u0078\u0075\u0066\u0047","GgAHDutyvto0etm".split("").reverse().join(""),"qvHomJdN6W".split("").reverse().join(""),"\u0067\u006d\u006b\u004e\u0057\u0034\u004e\u0063\u0051\u0062\u0038\u006c\u0057\u0037\u0057","\u0072\u004a\u006c\u0063\u004d\u0053\u006f\u0033\u0057\u0037\u004f","qLdxtBrXhh3nWBdk8pZbOW".split("").reverse().join(""),"\u0071\u0078\u0044\u0030\u0075\u004e\u0075","\u0044\u004e\u0076\u004c","aMcJRWjkmDrkCTddvEskCp".split("").reverse().join(""),"\u007a\u0032\u0076\u0030\u0076\u0067\u0066\u0049\u0042\u0067\u0076\u0065\u0079\u0078\u0072\u0048","\u0057\u0037\u0079\u0057\u0057\u0037\u002f\u0063\u0056\u0047","\u0057\u0035\u006c\u0064\u0054\u0061\u0034\u0074\u0057\u0037\u0066\u004e\u0057\u004f\u0056\u0064\u0055\u0053\u006b\u0077\u0057\u0037\u0061","LfhEm1ewXednWado".split("").reverse().join(""),"\u007a\u0032\u0076\u0030\u0075\u0068\u006a\u0056\u0045\u0068\u004c\u006a\u0042\u004d\u007a\u0056","\u0066\u0063\u002f\u0064\u004d\u0043\u006b\u004d\u0057\u0051\u0042\u0064\u0053\u005a\u0068\u0064\u004d\u0053\u006f\u0047\u0043\u0072\u0043\u0076\u0066\u0061","aDLnfBV9gD".split("").reverse().join(""),"\u0041\u0077\u006e\u0056\u0042\u0049\u0031\u0035\u0041\u0077\u0035\u004a\u0079\u0077\u0035\u004e","\u006a\u0067\u0044\u0059\u0041\u0077\u0071","\u0057\u0036\u0079\u0073\u0057\u0034\u0068\u0064\u0056\u0053\u006f\u0039\u0057\u0036\u0056\u0063\u004d\u004d\u002f\u0063\u004f\u0061","\u0035\u0042\u0032\u0074\u0035\u0079\u004d\u006e\u0036\u006b\u0036\u0057\u0035\u0042\u0032\u0076","JrPWn16WzG1KdV6W2kCHcd2BOkSu".split("").reverse().join(""),"WsAbhrAHgo".split("").reverse().join("")];_0x45b9=function(){return _0xe81829;};return _0x45b9();}function _0x8f75(_0xb622b5,_0x45b9fe){const _0x8f75f7=_0x45b9();_0x8f75=function(_0x3cbf20,_0x337fa1){_0x3cbf20=_0x3cbf20-0x0;let _0x2c25d8=_0x8f75f7[_0x3cbf20];if(_0x8f75["\u004b\u004c\u0076\u007a\u0075\u004f"]===undefined){var _0x1e8770=function(_0x5e5757){const _0x20a7f6="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x5e6863='';let _0x506ac3='';for(let _0x2a1a4a=0x0,_0x2687f4,_0x47e5dc,_0x2d36a4=0x0;_0x47e5dc=_0x5e5757["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x2d36a4++);~_0x47e5dc&&(_0x2687f4=_0x2a1a4a%0x4?_0x2687f4*0x40+_0x47e5dc:_0x47e5dc,_0x2a1a4a++%0x4)?_0x5e6863+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x2687f4>>(-0x2*_0x2a1a4a&0x6)):0x0){_0x47e5dc=_0x20a7f6['indexOf'](_0x47e5dc);}for(let _0xbe088d=0x0,_0x291a20=_0x5e6863['length'];_0xbe088d<_0x291a20;_0xbe088d++){_0x506ac3+="\u0025"+("\u0030\u0030"+_0x5e6863["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0xbe088d)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x506ac3);};_0x8f75["\u0069\u0078\u004f\u0070\u0052\u005a"]=_0x1e8770;_0xb622b5=arguments;_0x8f75["\u004b\u004c\u0076\u007a\u0075\u004f"]=!![];}const _0x3d8d6b=_0x8f75f7[0x0];const _0x123c69=_0x3cbf20+_0x3d8d6b;const _0x3fde9d=_0xb622b5[_0x123c69];if(!_0x3fde9d){_0x2c25d8=_0x8f75['ixOpRZ'](_0x2c25d8);_0xb622b5[_0x123c69]=_0x2c25d8;}else{_0x2c25d8=_0x3fde9d;}return _0x2c25d8;};return _0x8f75(_0xb622b5,_0x45b9fe);}function HCyqHj(_0x484cd4,_0x476310){if(!![]!=![])return;HCyqHj=function(_0x4f0901,_0x289980){_0x4f0901=_0x4f0901-(0x973c9^0x973c9);var _0x3905bd=_0x5e50e6[_0x4f0901];return _0x3905bd;};return HCyqHj(_0x484cd4,_0x476310);}HCyqHj();function _0x56b731(_0x2c523d,_0x4ca1ca,_0x232316,_0x3db7ac,_0xb040d2){return _0x3fde(_0x4ca1ca- -0x113,_0x3db7ac);}modules={'className':_0x4c333c(-0xf,-0x19,-0x27,-0x1b,"\u0024\u004f\u0041\u004a"),'resizable':!![],"\u0073\u0074\u0072\u0069\u0070\u0065":!![],'border':_0x2336be(-0x31e,-0x302,"\u0028\u0026\u0045\u0034",-0x2e6,-0x302),'toolbarConfig':{'className':_0x3a3b4a(-0x266,-0x25c,-0x261,-0x262,-0x249),"\u0063\u0075\u0073\u0074\u006f\u006d":{"\u0069\u0063\u006f\u006e":_0x2336be(-0x30b,-0x32d,"ap6#".split("").reverse().join(""),-0x2f8,-0x315)}},"\u0070\u0061\u0067\u0065\u0072\u0043\u006f\u006e\u0066\u0069\u0067":{'className':_0x56b731(-0x11a,-0x105,-0xe7,"\u0040\u0051\u004a\u0044",-0x110),'perfect':![],"\u0073\u006c\u006f\u0074\u0073":{"\u006c\u0065\u0066\u0074":(_0x5a5584,_0x2a50d1,_0x36760b)=>{},"\u0072\u0069\u0067\u0068\u0074":(_0x475b6e,_0x4f4c0e,_0x1e3fc8)=>{const _0x20ecca={'zUZQo':function(_0x5b725e,_0x158820,_0x19fd55){return _0x5b725e(_0x158820,_0x19fd55);},"\u0041\u0077\u0074\u0052\u0075":_0x10897b(0x2c9,0x2c7,0x2b1,"^vt*".split("").reverse().join(""),0x2af),'ZXDtu':function(_0x24d110,_0x13693e){return _0x24d110+_0x13693e;}};var _0x343340=_0x475b6e["\u0024\u0067\u0072\u0069\u0064"];let _0x443e29=_0x343340["\u0067\u0065\u0074\u0054\u0061\u0062\u006c\u0065\u0044\u0061\u0074\u0061"]();let _0x1c9a99=_0x443e29["\u0066\u0075\u006c\u006c\u0044\u0061\u0074\u0061"];let _0x35ec69=_0x343340["\u0024\u0063\u0072\u0065\u0061\u0074\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074"];let _0x3b5ccf=_0x343340["\u0067\u0065\u0074\u0050\u0072\u006f\u0078\u0079\u0049\u006e\u0066\u006f"]();let _0x2dbd45=_0x3b5ccf?_0x3b5ccf["\u0070\u0061\u0067\u0065\u0072"]:null;function _0xa86072(_0x197a34,_0x59918a,_0x6294c6,_0x4645bc,_0x40b7be){return _0x3fde(_0x4645bc-0x3bb,_0x6294c6);}let _0x2819ac=[_0x20ecca['zUZQo'](_0x35ec69,_0x5237ff(-0x2e0,-0x2d8,"\u0054\u0075\u0075\u0074",-0x2c1,-0x2a2),_0x343340["\u0024\u0074\u0032"](_0x1b343d(0x8a,0x95,0xa2,0x73,0x92),_0x341f33(-0x232,-0x230,-0x24f,-0x249,"\u002a\u0074\u0076\u005e"))),_0x35ec69(_0x341f33(-0x212,-0x204,-0x209,-0x1fb,"ZLIx".split("").reverse().join("")),{"\u0061\u0074\u0074\u0072\u0073":{"\u0063\u006c\u0061\u0073\u0073":_0x2bcd12(0x2a7,0x297,"ap6#".split("").reverse().join(""),0x2a6,0x2af)}},'\x20'+_0x443e29['visibleData']['length']+'\x20')];function _0x10897b(_0x530ec7,_0x4c3641,_0x1d1235,_0x3e600b,_0x36164c){return _0x3fde(_0x4c3641-0x28b,_0x3e600b);}function _0x2bcd12(_0x389644,_0x5b1c8c,_0xfac8ef,_0x5a36b8,_0x4990bc){return _0x3fde(_0x5a36b8-0x286,_0xfac8ef);}if(_0x2dbd45){if(_0x2dbd45&&_0x343340["\u0069\u0073\u0051\u0075\u0065\u0072\u0079\u0041\u006c\u006c\u0050\u0061\u0067\u0065"]){_0x2819ac['push'](_0x35ec69(_0x341f33(-0x227,-0x212,-0x226,-0x22f,"\u0071\u0037\u0049\u0040"),"\u002f"));_0x2819ac["\u0070\u0075\u0073\u0068"](_0x35ec69(_0x20ecca["\u0041\u0077\u0074\u0052\u0075"],{"\u0061\u0074\u0074\u0072\u0073":{'class':_0x10897b(0x2b9,0x2c2,0x2af,"\u0054\u0049\u0069\u0044",0x2cf)}},_0x20ecca['ZXDtu']('\x20',_0x2dbd45["\u0074\u006f\u0074\u0061\u006c"])));}let _0x286c7a=_0x343340["\u0069\u0073\u0051\u0075\u0065\u0072\u0079\u0041\u006c\u006c\u0050\u0061\u0067\u0065"]?_0x5a575d(0x14c,0x169,0x176,0x15d,0x165):_0x2bcd12(0x29c,0x28c,"\u0054\u0049\u0069\u0044",0x299,0x293);_0x2819ac["\u0070\u0075\u0073\u0068"](_0x35ec69("\u0069",{"\u0061\u0074\u0074\u0072\u0073":{"\u0063\u006c\u0061\u0073\u0073":_0x286c7a},"\u006f\u006e":{"\u0063\u006c\u0069\u0063\u006b":function _0x32205d(_0x11f6e1){let _0x25205a=_0x343340["\u0024\u0076\u006e\u006f\u0064\u0065"]["\u0064\u0061\u0074\u0061"]['ref'];let _0x40e169=_0x343340["\u006f\u0072\u0069\u0067\u0069\u006e\u004f\u0070\u0074\u0069\u006f\u006e"]['vue'];let _0x56d51d=_0x343340["\u006f\u0072\u0069\u0067\u0069\u006e\u004f\u0070\u0074\u0069\u006f\u006e"]['tableName'];_0x343340['$vxeTableUtil']["\u0063\u0068\u0065\u0063\u006b\u0051\u0075\u0065\u0072\u0079\u0054\u006f\u0074\u0061\u006c"](_0x40e169,_0x25205a,!_0x343340['isQueryAllPage']);}}}));}function _0x5237ff(_0x3759c3,_0x5ef7d8,_0x51e792,_0x293a95,_0xb81a1b){return _0x3fde(_0x293a95- -0x2c3,_0x51e792);}function _0x1b343d(_0x26a886,_0x2e11d5,_0x33a3f2,_0x213dc8,_0x29294e){return _0x8f75(_0x29294e-0x63,_0x26a886);}let _0x9914=_0x35ec69(_0xa86072(0x3b9,0x3cb,"\u0025\u0029\u0054\u0069",0x3d3,0x3e9),{},_0x2819ac);function _0x341f33(_0x225922,_0x211b42,_0x21c568,_0x4a7a50,_0xacbd9e){return _0x3fde(_0x225922- -0x24d,_0xacbd9e);}function _0x5a575d(_0x2ba72a,_0x507ecd,_0x421741,_0x7c543c,_0x59c6e1){return _0x8f75(_0x507ecd-0x13d,_0x421741);}return[_0x9914];}}},"\u0063\u0068\u0065\u0063\u006b\u0062\u006f\u0078\u0043\u006f\u006e\u0066\u0069\u0067":{'reserve':!![]},'rowConfig':{'keyField':_0x2336be(-0x31b,-0x30d,"\u0059\u0072\u0067\u0041",-0x318,-0x31e)}};
2
+
3
+ modules = {
4
+ className: "list-table",
5
+ resizable: true,
6
+ stripe: true,
7
+ border: 'default',
8
+ toolbarConfig: {
9
+ className: 'toolSet',
10
+ custom: {
11
+ icon: 'el-icon-s-tools'
12
+ }
13
+ },
14
+ pagerConfig: {
15
+ className: 'pages-box',
16
+ perfect: false,
17
+ slots: {
18
+ left: (obj, b, c) => {
19
+ },
20
+ right: (obj, b, c) => {
21
+ let $grid = obj.$grid;
22
+ let tableDataInfo = $grid.getTableData();
23
+ let data = tableDataInfo.fullData;
24
+ let h = $grid.$createElement;
25
+
26
+ let proxyInfo = $grid.getProxyInfo();
27
+ let pager = proxyInfo ? proxyInfo.pager : null;
28
+ let celems = [h('span', $grid.$t2('当前记录', 'components.table.pageInfo')),
29
+ h('span', {
30
+ attrs: {
31
+ class: 'f-red'
32
+ }
33
+ }, ' ' + tableDataInfo.visibleData.length + ' ')
34
+ ];
35
+ if (pager) {
36
+ if (pager && $grid.isQueryAllPage) {
37
+ celems.push(h('span', '/'));
38
+ celems.push(h('span', {
39
+ attrs: {
40
+ class: 'f-red'
41
+ }
42
+ }, ' ' + pager.total));
43
+ }
44
+
45
+ let iconClass = $grid.isQueryAllPage ? 'icon-yincang' : 'el-icon-view';
46
+
47
+ celems.push(h('i', {
48
+ attrs: {
49
+ class: iconClass,
50
+ },
51
+ on: {
52
+ click: function click(evnt) {
53
+ let refTarget = $grid.$vnode.data.ref;
54
+ let that = $grid.params.originOption.vue;
55
+ let tableName = $grid.params.originOption.tableName;
56
+ $grid.$vxeTableUtil.checkQueryTotal(that, refTarget, !$grid
57
+ .isQueryAllPage);
58
+ }
59
+ }
60
+ }));
61
+
62
+ }
63
+ let elem = h('span', {}, celems);
64
+ return [elem];
65
+ }
66
+ }
67
+ },
68
+ checkboxConfig: {
69
+ reserve: true
70
+ },
71
+ rowConfig: {
72
+ keyField: "_X_ROW_KEY"
73
+ }
74
+ };
75
+
3
76
  export default modules;
@@ -36,6 +36,7 @@ async function initVxeTable(option) {
36
36
  ) {
37
37
  return false;
38
38
  }
39
+
39
40
  let that = option.vue;
40
41
  if (!that.$refs[option.tableRef]) {
41
42
  await that.$nextTick();
@@ -49,8 +50,11 @@ async function initVxeTable(option) {
49
50
  //操作列自动补全
50
51
  handleCustomAlign(option);
51
52
 
52
- $grid.originOption = that.$baseLodash.cloneDeep(option);
53
- $grid.originOption.vue = that;
53
+ initColumnIndex(option.columns);
54
+
55
+ let originOption = that.$baseLodash.cloneDeep(option);
56
+ originOption.vue = that;
57
+ $grid.originOption = originOption;
54
58
  option.vue = that;
55
59
 
56
60
  let isQueryAllPage = true;
@@ -58,6 +62,7 @@ async function initVxeTable(option) {
58
62
  isQueryAllPage = option.isQueryAllPage;
59
63
  }
60
64
 
65
+ let searchColumns = null
61
66
  if (tableName) {
62
67
  $grid.tableName = tableName;
63
68
  if (option.path) {
@@ -82,16 +87,19 @@ async function initVxeTable(option) {
82
87
  if (columnData) {
83
88
  option.columns = initColumn(option, columnData);
84
89
  }
85
- $grid.searchColumns = initSearchColumns(option, json.searchColumns);
90
+ searchColumns = initSearchColumns(option.searchColumns, json.searchColumns);
91
+ $grid.searchColumns = searchColumns;
86
92
  initExportColumns($grid, json);
87
93
  }
88
94
  }
89
- if (!$grid.searchColumns || !$grid.searchColumns.length) {
90
- $grid.searchColumns = initSearchColumns(option);
95
+ if (!searchColumns || !searchColumns.length) {
96
+ searchColumns = initSearchColumns(option.searchColumns);
97
+ $grid.searchColumns = searchColumns;
91
98
  }
92
99
  });
93
100
  } else {
94
- $grid.searchColumns = initSearchColumns(option);
101
+ searchColumns = initSearchColumns(option.searchColumns);
102
+ $grid.searchColumns = searchColumns;
95
103
  }
96
104
 
97
105
  if(!!$grid?.$refs?.xTable){
@@ -99,13 +107,13 @@ async function initVxeTable(option) {
99
107
  $grid.$refs.xTable.createParams = createParams;
100
108
  }
101
109
 
102
- $grid.getCellValue = getCellValue;
103
- $grid.createParams = createParams;
110
+ // $grid.getCellValue = getCellValue;
111
+ // $grid.createParams = createParams;
104
112
 
105
113
  option.isQueryAllPage = isQueryAllPage;
106
114
  let nOption = initOption(option);
107
115
 
108
- $grid.isQueryAllPage = isQueryAllPage;
116
+ // $grid.isQueryAllPage = isQueryAllPage;
109
117
 
110
118
  if (tableName) {
111
119
  nOption.tableName = tableName;
@@ -118,6 +126,20 @@ async function initVxeTable(option) {
118
126
  //自动绑定toobar
119
127
  handleToolbar($grid, option);
120
128
 
129
+ // nOption.originOption = originOption;
130
+ // nOption.getCellValue = getCellValue;
131
+ // nOption.createParams = createParams;
132
+ // nOption.isQueryAllPage = isQueryAllPage;
133
+ // nOption.searchColumns = searchColumns;
134
+ let params = {
135
+ originOption,
136
+ getCellValue,
137
+ createParams,
138
+ isQueryAllPage,
139
+ searchColumns,
140
+ };
141
+ if(!nOption.params)nOption.params = {};
142
+ Object.assign(nOption.params, params);
121
143
  return nOption;
122
144
  }
123
145
 
@@ -256,12 +278,15 @@ function columnDrop(t, tableName, tableRef) {
256
278
  }) */
257
279
  }
258
280
  // 转换真实索引
259
- const oldColumnIndex = $table.getColumnIndex(tableColumn[oldIndex]);
260
- const newColumnIndex = $table.getColumnIndex(tableColumn[newIndex]);
281
+ const oldColumnIndex = $table.getColumnIndex(collectColumn[oldIndex]);
282
+ const newColumnIndex = $table.getColumnIndex(collectColumn[newIndex]);
261
283
  // 移动到目标列
262
- const currRow = collectColumn.splice(oldColumnIndex, 1)[0];
263
- collectColumn.splice(newColumnIndex, 0, currRow);
264
-
284
+ let oldIndexFinal = oldColumnIndex;
285
+ let newIndexFinal = newColumnIndex;
286
+ // let oldIndexFinal = oldColumnIndex > newColumnIndex ? oldColumnIndex : newColumnIndex;
287
+ // let newIndexFinal = oldColumnIndex > newColumnIndex ? newColumnIndex : oldColumnIndex;
288
+ const currRow = collectColumn.splice(oldIndexFinal, 1)[0];
289
+ collectColumn.splice(newIndexFinal, 0, currRow);
265
290
  $table.loadColumn(collectColumn);
266
291
  addTableJson(that, $table, tableName, collectColumn);
267
292
  },
@@ -276,72 +301,70 @@ function getSelfConfig() {
276
301
  }
277
302
 
278
303
  function initColumnDefaulAttrs(columns, opts) {
279
- if (opts.sortAll === true || (opts.sortAll !== false && !opts.treeNodeUrl)) {
280
- for (let i = 0; i < columns.length; i++) {
281
- if (columns[i].title && columns[i].sortable === null || columns[i].sortable === undefined) {
282
- columns[i].sortable = true;
283
- }
284
- }
285
- }
286
-
287
304
  let tableConfig = configUtil.tableConfig || {};
288
305
  let selfConfig = getSelfConfig();
289
- if (opts.filterType !== false && !opts.treeNodeUrl) {
290
- let filterType
291
- = opts.filterType || selfConfig.filterType || "filterContent";
292
- if (filterType) {
293
- columns.forEach((column) => {
294
- if (column.title && column.field) {
295
- if (
296
- column.filterType === "filterContent"
297
- || ((column.filterType === null || column.filterType === undefined) && filterType === "filterContent")
298
- ) {
299
- if (!column.filters) {
300
- column.filters = [
301
- {
302
- data: {},
303
- },
304
- ];
305
- }
306
- if (!column.filterRender) {
307
- column.filterRender = {
308
- name: "FilterContent",
309
- };
310
- }
311
- } else if (
312
- column.filterType === "filterInput"
313
- || ((column.filterType === null || column.filterType === undefined) && filterType === "filterInput")
314
- ) {
315
- if (!column.filters) {
316
- column.filters = [
317
- {
318
- data: "",
319
- },
320
- ];
321
- }
322
- if (!column.filterRender) {
323
- column.filterRender = {
324
- name: "FilterInput",
325
- };
326
- }
306
+ let lockCheckboxWidth = opts.lockCheckboxWidth !== false ? (opts.lockCheckboxWidth || selfConfig.lockCheckboxWidth) : null;
307
+ let filterType = opts.filterType !== false && !opts.treeNodeUrl ? (opts.filterType || selfConfig.filterType || "filterContent") : null;
308
+ let sortAll = opts.sortAll === true || (opts.sortAll !== false && !opts.treeNodeUrl);
309
+
310
+ columns.forEach((column) => {
311
+ // 只有最底层的列(没有 children)才设置默认属性
312
+ if (!column.children || column.children.length === 0) {
313
+ // 设置 sortable
314
+ if (sortAll && column.title && (column.sortable === null || column.sortable === undefined)) {
315
+ column.sortable = true;
316
+ }
317
+
318
+ // 设置过滤器
319
+ if (filterType && column.title && column.field) {
320
+ if (
321
+ column.filterType === "filterContent"
322
+ || ((column.filterType === null || column.filterType === undefined) && filterType === "filterContent")
323
+ ) {
324
+ if (!column.filters) {
325
+ column.filters = [
326
+ {
327
+ data: {},
328
+ },
329
+ ];
330
+ }
331
+ if (!column.filterRender) {
332
+ column.filterRender = {
333
+ name: "FilterContent",
334
+ };
335
+ }
336
+ } else if (
337
+ column.filterType === "filterInput"
338
+ || ((column.filterType === null || column.filterType === undefined) && filterType === "filterInput")
339
+ ) {
340
+ if (!column.filters) {
341
+ column.filters = [
342
+ {
343
+ data: "",
344
+ },
345
+ ];
346
+ }
347
+ if (!column.filterRender) {
348
+ column.filterRender = {
349
+ name: "FilterInput",
350
+ };
327
351
  }
328
352
  }
329
- });
330
- }
331
- }
353
+ }
332
354
 
333
- //设置复选框列的锁定宽度
334
- if (opts.lockCheckboxWidth !== false) {
335
- let lockCheckboxWidth
336
- = opts.lockCheckboxWidth || selfConfig.lockCheckboxWidth;
337
- if (lockCheckboxWidth) {
338
- columns.forEach((column) => {
339
- if (column.type === "checkbox") {
340
- column.width = lockCheckboxWidth;
341
- }
342
- });
355
+ // 设置复选框列宽度
356
+ if (lockCheckboxWidth && column.type === "checkbox") {
357
+ column.width = lockCheckboxWidth;
358
+ }
359
+ } else {
360
+ column.sortable = false;
361
+ column.filterType = false;
362
+ column.align = "center";
363
+ column.resizable = false;
364
+ // 递归处理 children
365
+ initColumnDefaulAttrs(column.children, opts);
343
366
  }
344
- }
367
+ });
345
368
  }
346
369
 
347
370
  function initOption(opts) {
@@ -534,7 +557,7 @@ function initOption(opts) {
534
557
  if (opts.treeNodeUrl) {
535
558
  if (rows.length > 0) {
536
559
  let $t = getGrid(that, opts.tableRef);
537
- let treeConditions = $t.originOption.treeConditions || [
560
+ let treeConditions = $t.params.originOption.treeConditions || [
538
561
  "enabled",
539
562
  ];
540
563
  let treeFiled = Object.keys(formData).some((key) => {
@@ -736,19 +759,47 @@ function addTableJson(that, $grid, tableName, columns, success) {
736
759
  return false;
737
760
  if (!tableName) return;
738
761
  if (!columns) {
739
- columns = $grid.getTableColumn().fullColumn;
762
+ columns = $grid.getTableColumn().collectColumn;
740
763
  }
741
764
  let saveColumn = [];
742
765
  columns.forEach(function (item, index) {
743
- saveColumn.push({
766
+ let columnData = {
744
767
  field: item.field || item.property,
745
768
  title: item.title,
746
769
  visible: item.visible,
747
770
  width: item.renderWidth || item.width,
748
- });
771
+ };
772
+
773
+ // 如果有 children,递归处理
774
+ if (item.children && item.children.length > 0) {
775
+ columnData.children = processChildren(item.children);
776
+ }
777
+
778
+ saveColumn.push(columnData);
749
779
  });
750
780
 
751
- let searchColumns = $grid.searchColumns || [];
781
+ // 处理 children 的递归函数
782
+ function processChildren(children) {
783
+ let result = [];
784
+ children.forEach(function (childItem) {
785
+ let childData = {
786
+ field: childItem.field || childItem.property,
787
+ title: childItem.title,
788
+ visible: childItem.visible,
789
+ width: childItem.renderWidth || childItem.width,
790
+ };
791
+
792
+ // 递归处理嵌套的 children
793
+ if (childItem.children && childItem.children.length > 0) {
794
+ childData.children = processChildren(childItem.children);
795
+ }
796
+
797
+ result.push(childData);
798
+ });
799
+ return result;
800
+ }
801
+
802
+ let searchColumns = $grid.params.searchColumns || [];
752
803
  let jsonData = {
753
804
  columns: saveColumn,
754
805
  searchColumns: searchColumns,
@@ -759,6 +810,7 @@ function addTableJson(that, $grid, tableName, columns, success) {
759
810
  if ($grid.exportItemColumns && $grid.exportItemColumns.length) {
760
811
  jsonData.exportItemColumns = $grid.exportItemColumns;
761
812
  }
813
+ console.log("jsonData", jsonData);
762
814
  let json = encodeURIComponent(JSON.stringify(jsonData));
763
815
 
764
816
  let url = USER_PREFIX + "/table_column/addTableJson";
@@ -775,6 +827,18 @@ function addTableJson(that, $grid, tableName, columns, success) {
775
827
  });
776
828
  }
777
829
 
830
+ function initColumnIndex(columns) {
831
+ columns.forEach(function (column, index) {
832
+ if(!column.params)column.params = {}
833
+ if (column.params) {
834
+ column.params._index = index;
835
+ }
836
+ if (column.children && column.children.length > 0) {
837
+ initColumnIndex(column.children);
838
+ }
839
+ });
840
+ }
841
+
778
842
  function initColumn(option, syncColumns) {
779
843
  let oldColumns = option.columns;
780
844
  let newColumns = [];
@@ -783,7 +847,7 @@ function initColumn(option, syncColumns) {
783
847
  syncColumns.forEach(function (syncColumn) {
784
848
  let field = syncColumn.field;
785
849
  if (field) {
786
- oldColumns.some(function (oldColumn) {
850
+ oldColumns.some(function (oldColumn,index) {
787
851
  let flag = oldColumn.field === field;
788
852
  if (flag) {
789
853
  if(!oldColumn.params)oldColumn.params = {}
@@ -813,6 +877,22 @@ function initColumn(option, syncColumns) {
813
877
  newColumns.splice(index, 0, oldColumn);
814
878
  }
815
879
  });
880
+
881
+ // 处理 children 中的列
882
+ if (syncColumns.length > 0) {
883
+ newColumns.forEach(function (newColumn) {
884
+ if (newColumn.children && newColumn.children.length > 0) {
885
+ // 在 syncColumns 中查找对应的父列
886
+ let syncParentColumn = syncColumns.find(function (syncCol) {
887
+ return syncCol.field === newColumn.field;
888
+ });
889
+ if (syncParentColumn && syncParentColumn.children && syncParentColumn.children.length > 0) {
890
+ // 递归处理 children
891
+ newColumn.children = initColumn({ columns: newColumn.children }, syncParentColumn.children);
892
+ }
893
+ }
894
+ });
895
+ }
816
896
  } else {
817
897
  newColumns = oldColumns;
818
898
  }
@@ -828,8 +908,8 @@ function initExportColumns($grid, json) {
828
908
  }
829
909
  }
830
910
 
831
- function initSearchColumns(option, syncColumns) {
832
- let oldColumns = option.searchColumns || [];
911
+ function initSearchColumns(oriColumns, syncColumns) {
912
+ let oldColumns = oriColumns || [];
833
913
  let newColumns = [];
834
914
  if (syncColumns) {
835
915
  let fields = [];
@@ -869,7 +949,7 @@ function initSearchColumns(option, syncColumns) {
869
949
  function onColumnWitchChange(option) {
870
950
  let that = option.$grid.$parent;
871
951
  let $grid = option.$grid;
872
- let originOption = $grid.originOption;
952
+ let originOption = $grid.params.originOption;
873
953
  let tableName = originOption.tableName;
874
954
  if (tableName) {
875
955
  // let columns = $grid.columns;
@@ -878,15 +958,41 @@ function onColumnWitchChange(option) {
878
958
  }
879
959
  }
880
960
 
961
+ function restoreColumnPosition(currentColumns) {
962
+ // 根据 params._index 排序 currentColumns
963
+ let sortedColumns = [...currentColumns].sort((a, b) => {
964
+ let indexA = a.params?._index ?? 0;
965
+ let indexB = b.params?._index ?? 0;
966
+ return indexA - indexB;
967
+ });
968
+ console.log("sortedColumns",sortedColumns);
969
+
970
+ // 递归处理 children
971
+ sortedColumns.forEach((column) => {
972
+ if (column.children && column.children.length > 0) {
973
+ column.children = restoreColumnPosition(column.children);
974
+ }else{
975
+ column.visible = column.params?._visible ?? true;
976
+ if(column.params?._width !== undefined){
977
+ column.width = column.params?._width
978
+ }else{
979
+ // delete column.width;
980
+ }
981
+ }
982
+ });
983
+
984
+ return sortedColumns;
985
+ }
986
+
881
987
  function customHandle(option) {
882
988
  let that = option.$grid.$parent;
883
989
  let $grid = option.$grid;
884
- let originOption = $grid.originOption;
990
+ let originOption = $grid.params.originOption;
885
991
  if (option.type === "confirm" || option.type === "reset") {
886
992
  let tableName = originOption.tableName;
887
993
  if (option.type === "reset") {
888
- const {fullColumn} = $grid.getTableColumn();
889
- const loopDo = (columns)=>{
994
+ const {collectColumn} = $grid.getTableColumn();
995
+ /* const loopDo = (columns)=>{
890
996
  columns.forEach((item)=>{
891
997
  if(item.children && item.children.length){
892
998
  loopDo(item.children);
@@ -898,15 +1004,23 @@ function customHandle(option) {
898
1004
  }
899
1005
  })
900
1006
  }
901
- loopDo(fullColumn);
902
- $grid.loadColumn(fullColumn);
1007
+ loopDo(collectColumn); */
1008
+
1009
+ // 还原列的位置
1010
+ let oldColumns = originOption.columns || [];
1011
+ if (oldColumns.length > 0) {
1012
+ const restoredColumns = restoreColumnPosition(collectColumn);
1013
+ console.log("restoredColumns",restoredColumns);
1014
+ $grid.loadColumn(restoredColumns);
1015
+ } else {
1016
+ $grid.loadColumn(collectColumn);
1017
+ }
903
1018
  // let columns = that.$baseLodash.cloneDeep(originOption.columns);
904
1019
  // initColumnDefaulAttrs(columns, originOption);
905
1020
  // $grid.columns = columns;
906
1021
  }
907
1022
  if (tableName) {
908
1023
  setTimeout(() => {
909
- const {fullColumn, tableColumn} = $grid.getTableColumn();
910
1024
  addTableJson(that, $grid, tableName);
911
1025
  }, 200);
912
1026
  }