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

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 _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);
1
+ 'use strict';const _0x4ac3ef=_0x4868;(function(_0x5c4c2f,_0x355b62){const _0x1bcdbb=_0x4868,_0x3e0231=_0x5c4c2f();while(!![]){try{const _0x23431f=-parseInt(_0x1bcdbb(0x144))/0x1*(-parseInt(_0x1bcdbb(0x148))/0x2)+-parseInt(_0x1bcdbb(0x142))/0x3+-parseInt(_0x1bcdbb(0x151))/0x4*(-parseInt(_0x1bcdbb(0x13f))/0x5)+parseInt(_0x1bcdbb(0x14c))/0x6+-parseInt(_0x1bcdbb(0x153))/0x7*(parseInt(_0x1bcdbb(0x154))/0x8)+-parseInt(_0x1bcdbb(0x155))/0x9*(-parseInt(_0x1bcdbb(0x14b))/0xa)+-parseInt(_0x1bcdbb(0x14e))/0xb;if(_0x23431f===_0x355b62)break;else _0x3e0231['push'](_0x3e0231['shift']());}catch(_0x50e49d){_0x3e0231['push'](_0x3e0231['shift']());}}}(_0x28fd,0x55428));function _0x4868(_0x2afdf4,_0x4a051d){const _0x28fd35=_0x28fd();return _0x4868=function(_0x486825,_0x1af719){_0x486825=_0x486825-0x13d;let _0x276679=_0x28fd35[_0x486825];return _0x276679;},_0x4868(_0x2afdf4,_0x4a051d);}function _0x28fd(){const _0x4a2a17=['UNIVER_PROJECT','13856xZodCd','_injector','7EyHVWd','355336JLFOTM','18zxaxZj','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','exportXLSXByUnitId','@univerjs-pro/exchange-client','importDOCXToUnitId','get','importXLSXToSnapshot','UNIVER_DOC','UNIVER_SLIDE','UNRECOGNIZED','UNIVER_SHEET','IExchangeService','535bSTGqb','exportXLSXBySnapshotAsync','FUniver','796647yqtcjj','The\x20exchange\x20service\x20is\x20not\x20available','658znYsZj','importXLSXToUnitIdAsync','UNIVER_UNKNOWN','exportXLSXBySnapshot','1034gOjnfD','importDOCXToSnapshot','importFileToUnitId','1493730gqxbCH','1792026pSzIbc','exportXLSXByUnitIdAsync','7139671mrEYEx','importXLSXToSnapshotAsync'];_0x28fd=function(){return _0x4a2a17;};return _0x28fd();}const r=require(_0x4ac3ef(0x159)),i=require('@univerjs/core');var o=(_0x1252ce=>(_0x1252ce[_0x1252ce[_0x4ac3ef(0x146)]=0x0]=_0x4ac3ef(0x146),_0x1252ce[_0x1252ce[_0x4ac3ef(0x15d)]=0x1]=_0x4ac3ef(0x15d),_0x1252ce[_0x1252ce[_0x4ac3ef(0x13d)]=0x2]=_0x4ac3ef(0x13d),_0x1252ce[_0x1252ce[_0x4ac3ef(0x15e)]=0x3]='UNIVER_SLIDE',_0x1252ce[_0x1252ce[_0x4ac3ef(0x150)]=0x4]=_0x4ac3ef(0x150),_0x1252ce[_0x1252ce[_0x4ac3ef(0x15f)]=-0x1]=_0x4ac3ef(0x15f),_0x1252ce))(o||{});class c extends i[_0x4ac3ef(0x141)]{async['importXLSXToUnitId'](_0x2b8ccb){const _0x4a3897=_0x4ac3ef;return this[_0x4a3897(0x145)](_0x2b8ccb);}async[_0x4ac3ef(0x145)](_0x56ac94){const _0x3a1e3e=_0x4ac3ef,_0x4599b1=this[_0x3a1e3e(0x152)][_0x3a1e3e(0x15b)](r['IExchangeService']);if(!_0x4599b1)throw new Error(_0x3a1e3e(0x143));return _0x4599b1['importFileToUnitId'](_0x56ac94,o[_0x3a1e3e(0x13d)]);}async[_0x4ac3ef(0x15c)](_0xdede56){return this['importXLSXToSnapshotAsync'](_0xdede56);}async[_0x4ac3ef(0x14f)](_0xea25dc){const _0x53f070=_0x4ac3ef,_0x2bddfe=this[_0x53f070(0x152)][_0x53f070(0x15b)](r[_0x53f070(0x13e)]);if(!_0x2bddfe)throw new Error(_0x53f070(0x143));return _0x2bddfe[_0x53f070(0x15c)](_0xea25dc);}async[_0x4ac3ef(0x158)](_0x405fb0){const _0x2ec0f9=_0x4ac3ef;return this[_0x2ec0f9(0x14d)](_0x405fb0);}async[_0x4ac3ef(0x14d)](_0x22a8f3){const _0x2c4550=_0x4ac3ef,_0x330885=this[_0x2c4550(0x152)][_0x2c4550(0x15b)](r[_0x2c4550(0x13e)]);if(!_0x330885)throw new Error(_0x2c4550(0x143));return _0x330885[_0x2c4550(0x158)](_0x22a8f3);}async[_0x4ac3ef(0x147)](_0x51dd19){const _0x342c4f=_0x4ac3ef;return this[_0x342c4f(0x140)](_0x51dd19);}async[_0x4ac3ef(0x140)](_0x224a72){const _0xd953f1=_0x4ac3ef,_0x3863ef=this['_injector'][_0xd953f1(0x15b)](r[_0xd953f1(0x13e)]);if(!_0x3863ef)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3863ef[_0xd953f1(0x147)](_0x224a72);}async[_0x4ac3ef(0x15a)](_0x5041c5){const _0x3a84c6=_0x4ac3ef;return this[_0x3a84c6(0x156)](_0x5041c5);}async[_0x4ac3ef(0x156)](_0x28a4de){const _0x27f1cd=_0x4ac3ef,_0x3e02be=this[_0x27f1cd(0x152)][_0x27f1cd(0x15b)](r[_0x27f1cd(0x13e)]);if(!_0x3e02be)throw new Error(_0x27f1cd(0x143));return _0x3e02be[_0x27f1cd(0x14a)](_0x28a4de,o[_0x27f1cd(0x15d)]);}async[_0x4ac3ef(0x149)](_0x5bb1af){const _0x4e4ffd=_0x4ac3ef;return this[_0x4e4ffd(0x157)](_0x5bb1af);}async[_0x4ac3ef(0x157)](_0xf63e46){const _0x5ef190=_0x4ac3ef,_0x4dafc1=this[_0x5ef190(0x152)][_0x5ef190(0x15b)](r[_0x5ef190(0x13e)]);if(!_0x4dafc1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4dafc1['importDOCXToSnapshot'](_0xf63e46);}}i['FUniver']['extend'](c);