@univerjs-pro/exchange-client 0.5.4-nightly.202501181312 → 0.5.4-nightly.202501181605

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.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x2080(_0x24dcc6,_0x321870){const _0xc6d689=_0xc6d6();return _0x2080=function(_0x2080e4,_0x411a94){_0x2080e4=_0x2080e4-0x150;let _0xebcc4=_0xc6d689[_0x2080e4];return _0xebcc4;},_0x2080(_0x24dcc6,_0x321870);}function _0xc6d6(){const _0x52692b=['get','UNIVER_SHEET','exportXLSXByUnitIdAsync','FUniver','UNRECOGNIZED','importXLSXToUnitId','importDOCXToSnapshot','5XKfnOW','exportXLSXByUnitId','importXLSXToSnapshotAsync','525204IhFBkr','importDOCXToUnitId','IExchangeService','extend','5971kVGHxl','importDOCXToSnapshotAsync','20nQKlyA','importFileToUnitId','exportXLSXBySnapshot','2704566eGLWcy','@univerjs/core','19679544zudVzE','430237ApKSWW','7070jysIuz','UNIVER_UNKNOWN','importXLSXToSnapshot','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','_injector','1747258ETRmEv','The\x20exchange\x20service\x20is\x20not\x20available','11dNGGLS','UNIVER_SLIDE','2000mORbSv','exportXLSXBySnapshotAsync','9153vWtAzO','@univerjs-pro/exchange-client','UNIVER_PROJECT'];_0xc6d6=function(){return _0x52692b;};return _0xc6d6();}const _0x534a04=_0x2080;(function(_0x4ea1e4,_0x3343d3){const _0x385851=_0x2080,_0x2c5344=_0x4ea1e4();while(!![]){try{const _0x377bbe=parseInt(_0x385851(0x155))/0x1+parseInt(_0x385851(0x15c))/0x2+parseInt(_0x385851(0x16f))/0x3*(parseInt(_0x385851(0x175))/0x4)+parseInt(_0x385851(0x16c))/0x5*(parseInt(_0x385851(0x152))/0x6)+-parseInt(_0x385851(0x173))/0x7*(-parseInt(_0x385851(0x160))/0x8)+-parseInt(_0x385851(0x162))/0x9*(parseInt(_0x385851(0x156))/0xa)+-parseInt(_0x385851(0x15e))/0xb*(parseInt(_0x385851(0x154))/0xc);if(_0x377bbe===_0x3343d3)break;else _0x2c5344['push'](_0x2c5344['shift']());}catch(_0x1f8c34){_0x2c5344['push'](_0x2c5344['shift']());}}}(_0xc6d6,0x7638c));const r=require(_0x534a04(0x163)),i=require(_0x534a04(0x153));var o=(_0x3f7d54=>(_0x3f7d54[_0x3f7d54[_0x534a04(0x157)]=0x0]=_0x534a04(0x157),_0x3f7d54[_0x3f7d54['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3f7d54[_0x3f7d54[_0x534a04(0x166)]=0x2]=_0x534a04(0x166),_0x3f7d54[_0x3f7d54[_0x534a04(0x15f)]=0x3]=_0x534a04(0x15f),_0x3f7d54[_0x3f7d54[_0x534a04(0x164)]=0x4]=_0x534a04(0x164),_0x3f7d54[_0x3f7d54[_0x534a04(0x169)]=-0x1]=_0x534a04(0x169),_0x3f7d54))(o||{});class c extends i[_0x534a04(0x168)]{async[_0x534a04(0x16a)](_0x4ca8ee){const _0xc27ff0=_0x534a04;return this[_0xc27ff0(0x15a)](_0x4ca8ee);}async[_0x534a04(0x15a)](_0x5bd9e1){const _0x5e81a6=_0x534a04,_0x338df2=this[_0x5e81a6(0x15b)][_0x5e81a6(0x165)](r[_0x5e81a6(0x171)]);if(!_0x338df2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x338df2['importFileToUnitId'](_0x5bd9e1,o['UNIVER_SHEET']);}async[_0x534a04(0x158)](_0x5f5afc){const _0x41fac2=_0x534a04;return this[_0x41fac2(0x16e)](_0x5f5afc);}async[_0x534a04(0x16e)](_0x1ce8a0){const _0x200f54=_0x534a04,_0x332381=this['_injector'][_0x200f54(0x165)](r[_0x200f54(0x171)]);if(!_0x332381)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x332381[_0x200f54(0x158)](_0x1ce8a0);}async[_0x534a04(0x16d)](_0x56e6ef){return this['exportXLSXByUnitIdAsync'](_0x56e6ef);}async[_0x534a04(0x167)](_0x15e65e){const _0x2040ef=_0x534a04,_0x964b62=this[_0x2040ef(0x15b)]['get'](r['IExchangeService']);if(!_0x964b62)throw new Error(_0x2040ef(0x15d));return _0x964b62[_0x2040ef(0x16d)](_0x15e65e);}async['exportXLSXBySnapshot'](_0x34447c){const _0x1f447b=_0x534a04;return this[_0x1f447b(0x161)](_0x34447c);}async['exportXLSXBySnapshotAsync'](_0x37b34f){const _0x17235c=_0x534a04,_0x534c5f=this[_0x17235c(0x15b)][_0x17235c(0x165)](r[_0x17235c(0x171)]);if(!_0x534c5f)throw new Error(_0x17235c(0x15d));return _0x534c5f[_0x17235c(0x151)](_0x37b34f);}async[_0x534a04(0x170)](_0x182469){const _0x51fd32=_0x534a04;return this[_0x51fd32(0x159)](_0x182469);}async[_0x534a04(0x159)](_0x123af6){const _0xa45718=_0x534a04,_0x24a5ca=this[_0xa45718(0x15b)]['get'](r[_0xa45718(0x171)]);if(!_0x24a5ca)throw new Error(_0xa45718(0x15d));return _0x24a5ca[_0xa45718(0x150)](_0x123af6,o['UNIVER_DOC']);}async[_0x534a04(0x16b)](_0x38311c){const _0x238e01=_0x534a04;return this[_0x238e01(0x174)](_0x38311c);}async[_0x534a04(0x174)](_0x18439f){const _0x260bf3=_0x534a04,_0x487d7f=this[_0x260bf3(0x15b)][_0x260bf3(0x165)](r[_0x260bf3(0x171)]);if(!_0x487d7f)throw new Error(_0x260bf3(0x15d));return _0x487d7f[_0x260bf3(0x16b)](_0x18439f);}}i['FUniver'][_0x534a04(0x172)](c);
1
+ 'use strict';function _0x1f67(_0x248a6b,_0x5ca443){const _0x3d2e28=_0x3d2e();return _0x1f67=function(_0x1f676c,_0x206a4a){_0x1f676c=_0x1f676c-0x194;let _0xbbfff9=_0x3d2e28[_0x1f676c];return _0xbbfff9;},_0x1f67(_0x248a6b,_0x5ca443);}const _0x2c6c48=_0x1f67;(function(_0x7cad7f,_0x4021ad){const _0x19c63a=_0x1f67,_0x3fe31c=_0x7cad7f();while(!![]){try{const _0x4ee257=-parseInt(_0x19c63a(0x1a1))/0x1+-parseInt(_0x19c63a(0x1ac))/0x2*(-parseInt(_0x19c63a(0x1b3))/0x3)+-parseInt(_0x19c63a(0x198))/0x4*(-parseInt(_0x19c63a(0x1aa))/0x5)+parseInt(_0x19c63a(0x1a9))/0x6*(parseInt(_0x19c63a(0x1a0))/0x7)+parseInt(_0x19c63a(0x1a2))/0x8+-parseInt(_0x19c63a(0x1a5))/0x9*(parseInt(_0x19c63a(0x195))/0xa)+parseInt(_0x19c63a(0x1a4))/0xb*(-parseInt(_0x19c63a(0x19a))/0xc);if(_0x4ee257===_0x4021ad)break;else _0x3fe31c['push'](_0x3fe31c['shift']());}catch(_0x4eb9b6){_0x3fe31c['push'](_0x3fe31c['shift']());}}}(_0x3d2e,0x23709));function _0x3d2e(){const _0x5201d8=['exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','838776ThdaPE','exportXLSXByUnitId','12eeNBui','importFileToUnitId','@univerjs-pro/exchange-client','importDOCXToUnitIdAsync','UNIVER_PROJECT','UNIVER_DOC','45437dTDXZO','149111tIEXfs','285376aFXBtZ','importXLSXToUnitIdAsync','1898215AOKPsF','135rZEprG','importXLSXToSnapshot','_injector','exportXLSXBySnapshot','108UpObAg','5IBYFlK','UNIVER_SLIDE','38xhatyp','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','importXLSXToUnitId','UNIVER_SHEET','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','43206oXqTmd','importDOCXToSnapshot','get','UNRECOGNIZED','importDOCXToUnitId','exportXLSXByUnitIdAsync','@univerjs/core','IExchangeService','112670EOoRYl'];_0x3d2e=function(){return _0x5201d8;};return _0x3d2e();}const r=require(_0x2c6c48(0x19c)),i=require(_0x2c6c48(0x1b9));var o=(_0x1437e4=>(_0x1437e4[_0x1437e4[_0x2c6c48(0x1ad)]=0x0]=_0x2c6c48(0x1ad),_0x1437e4[_0x1437e4['UNIVER_DOC']=0x1]=_0x2c6c48(0x19f),_0x1437e4[_0x1437e4[_0x2c6c48(0x1b0)]=0x2]=_0x2c6c48(0x1b0),_0x1437e4[_0x1437e4[_0x2c6c48(0x1ab)]=0x3]='UNIVER_SLIDE',_0x1437e4[_0x1437e4[_0x2c6c48(0x19e)]=0x4]=_0x2c6c48(0x19e),_0x1437e4[_0x1437e4[_0x2c6c48(0x1b6)]=-0x1]=_0x2c6c48(0x1b6),_0x1437e4))(o||{});class c extends i[_0x2c6c48(0x1b1)]{async[_0x2c6c48(0x1af)](_0x3c7bcc){const _0x5a3114=_0x2c6c48;return this[_0x5a3114(0x1a3)](_0x3c7bcc);}async['importXLSXToUnitIdAsync'](_0x1ddea9){const _0x41c1d5=_0x2c6c48,_0xbdc9a6=this[_0x41c1d5(0x1a7)]['get'](r[_0x41c1d5(0x194)]);if(!_0xbdc9a6)throw new Error(_0x41c1d5(0x1b2));return _0xbdc9a6['importFileToUnitId'](_0x1ddea9,o[_0x41c1d5(0x1b0)]);}async[_0x2c6c48(0x1a6)](_0x4abac2){const _0x3f7691=_0x2c6c48;return this[_0x3f7691(0x1ae)](_0x4abac2);}async[_0x2c6c48(0x1ae)](_0x917d47){const _0x121b16=_0x2c6c48,_0x2adbbe=this[_0x121b16(0x1a7)]['get'](r[_0x121b16(0x194)]);if(!_0x2adbbe)throw new Error(_0x121b16(0x1b2));return _0x2adbbe[_0x121b16(0x1a6)](_0x917d47);}async[_0x2c6c48(0x199)](_0x434c13){const _0x233318=_0x2c6c48;return this[_0x233318(0x1b8)](_0x434c13);}async['exportXLSXByUnitIdAsync'](_0x50910c){const _0x432cad=_0x2c6c48,_0x1f030=this[_0x432cad(0x1a7)][_0x432cad(0x1b5)](r[_0x432cad(0x194)]);if(!_0x1f030)throw new Error(_0x432cad(0x1b2));return _0x1f030[_0x432cad(0x199)](_0x50910c);}async[_0x2c6c48(0x1a8)](_0x18282b){return this['exportXLSXBySnapshotAsync'](_0x18282b);}async[_0x2c6c48(0x196)](_0x592290){const _0x2e8e64=_0x2c6c48,_0x278320=this[_0x2e8e64(0x1a7)]['get'](r[_0x2e8e64(0x194)]);if(!_0x278320)throw new Error(_0x2e8e64(0x1b2));return _0x278320[_0x2e8e64(0x1a8)](_0x592290);}async[_0x2c6c48(0x1b7)](_0x4e6ad7){const _0x2bc45b=_0x2c6c48;return this[_0x2bc45b(0x19d)](_0x4e6ad7);}async[_0x2c6c48(0x19d)](_0x4c9917){const _0x2a3c1f=_0x2c6c48,_0x11d61e=this[_0x2a3c1f(0x1a7)][_0x2a3c1f(0x1b5)](r[_0x2a3c1f(0x194)]);if(!_0x11d61e)throw new Error(_0x2a3c1f(0x1b2));return _0x11d61e[_0x2a3c1f(0x19b)](_0x4c9917,o['UNIVER_DOC']);}async[_0x2c6c48(0x1b4)](_0xcf918c){const _0x6f0e33=_0x2c6c48;return this[_0x6f0e33(0x197)](_0xcf918c);}async[_0x2c6c48(0x197)](_0x4dbe5d){const _0x3dabb5=_0x2c6c48,_0x3b7537=this[_0x3dabb5(0x1a7)][_0x3dabb5(0x1b5)](r[_0x3dabb5(0x194)]);if(!_0x3b7537)throw new Error(_0x3dabb5(0x1b2));return _0x3b7537[_0x3dabb5(0x1b4)](_0x4dbe5d);}}i[_0x2c6c48(0x1b1)]['extend'](c);