@univerjs-pro/exchange-client 0.5.1-nightly.202412191606 → 0.5.1-nightly.202412201606

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';const _0x5ee6b5=_0x24f7;(function(_0x202cd5,_0x494ae3){const _0x4cfc8d=_0x24f7,_0x68745b=_0x202cd5();while(!![]){try{const _0x22436a=parseInt(_0x4cfc8d(0x11e))/0x1*(-parseInt(_0x4cfc8d(0x11f))/0x2)+-parseInt(_0x4cfc8d(0x123))/0x3+parseInt(_0x4cfc8d(0x126))/0x4+-parseInt(_0x4cfc8d(0x124))/0x5+parseInt(_0x4cfc8d(0x125))/0x6+parseInt(_0x4cfc8d(0x129))/0x7*(parseInt(_0x4cfc8d(0x120))/0x8)+-parseInt(_0x4cfc8d(0x11c))/0x9*(parseInt(_0x4cfc8d(0x122))/0xa);if(_0x22436a===_0x494ae3)break;else _0x68745b['push'](_0x68745b['shift']());}catch(_0x351ecc){_0x68745b['push'](_0x68745b['shift']());}}}(_0xe29b,0xbab81));const c=require('@univerjs/core'),n=require(_0x5ee6b5(0x116));var i=(_0x55783b=>(_0x55783b[_0x55783b[_0x5ee6b5(0x112)]=0x0]=_0x5ee6b5(0x112),_0x55783b[_0x55783b[_0x5ee6b5(0x121)]=0x1]=_0x5ee6b5(0x121),_0x55783b[_0x55783b[_0x5ee6b5(0x117)]=0x2]='UNIVER_SHEET',_0x55783b[_0x55783b[_0x5ee6b5(0x11a)]=0x3]=_0x5ee6b5(0x11a),_0x55783b[_0x55783b[_0x5ee6b5(0x128)]=0x4]='UNIVER_PROJECT',_0x55783b[_0x55783b[_0x5ee6b5(0x12b)]=-0x1]=_0x5ee6b5(0x12b),_0x55783b))(i||{});class o extends c[_0x5ee6b5(0x127)]{async[_0x5ee6b5(0x113)](_0x30491a){const _0xa6e95c=_0x5ee6b5,_0x6a1a3=this[_0xa6e95c(0x12a)][_0xa6e95c(0x12c)](n[_0xa6e95c(0x11d)]);if(!_0x6a1a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6a1a3[_0xa6e95c(0x118)](_0x30491a,i[_0xa6e95c(0x117)]);}async[_0x5ee6b5(0x115)](_0x7772c5){const _0x2aadc9=_0x5ee6b5,_0x3656fb=this['_injector'][_0x2aadc9(0x12c)](n[_0x2aadc9(0x11d)]);if(!_0x3656fb)throw new Error(_0x2aadc9(0x114));return _0x3656fb['importXLSXToSnapshot'](_0x7772c5);}async[_0x5ee6b5(0x111)](_0x15c7f6){const _0x4309b0=_0x5ee6b5,_0x5dce32=this['_injector'][_0x4309b0(0x12c)](n[_0x4309b0(0x11d)]);if(!_0x5dce32)throw new Error(_0x4309b0(0x114));return _0x5dce32['exportXLSXByUnitId'](_0x15c7f6);}async[_0x5ee6b5(0x110)](_0x2a597c){const _0x4d3664=_0x5ee6b5,_0xe61e17=this[_0x4d3664(0x12a)][_0x4d3664(0x12c)](n[_0x4d3664(0x11d)]);if(!_0xe61e17)throw new Error(_0x4d3664(0x114));return _0xe61e17[_0x4d3664(0x110)](_0x2a597c);}async[_0x5ee6b5(0x10f)](_0x4c7b0a){const _0x4fb380=_0x5ee6b5,_0xa18c7c=this[_0x4fb380(0x12a)]['get'](n[_0x4fb380(0x11d)]);if(!_0xa18c7c)throw new Error(_0x4fb380(0x114));return _0xa18c7c[_0x4fb380(0x118)](_0x4c7b0a,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x416bae){const _0x10d6d6=_0x5ee6b5,_0x57943e=this[_0x10d6d6(0x12a)][_0x10d6d6(0x12c)](n['IExchangeService']);if(!_0x57943e)throw new Error(_0x10d6d6(0x114));return _0x57943e[_0x10d6d6(0x119)](_0x416bae);}}function _0x24f7(_0xf57db4,_0x26cb9d){const _0xe29b01=_0xe29b();return _0x24f7=function(_0x24f734,_0x2552be){_0x24f734=_0x24f734-0x10f;let _0x2f07f7=_0xe29b01[_0x24f734];return _0x2f07f7;},_0x24f7(_0xf57db4,_0x26cb9d);}c[_0x5ee6b5(0x127)][_0x5ee6b5(0x11b)](o);function _0xe29b(){const _0x4bb657=['UNIVER_DOC','10tAzCfi','959496jVDEGz','711355vmTJWX','3856074kzysKQ','3299016YpkuhA','FUniver','UNIVER_PROJECT','567fNYqwz','_injector','UNRECOGNIZED','get','importDOCXToUnitId','exportXLSXBySnapshot','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','@univerjs-pro/exchange-client','UNIVER_SHEET','importFileToUnitId','importDOCXToSnapshot','UNIVER_SLIDE','extend','5412519yMYMRj','IExchangeService','14iEyqHN','25676sUbWEM','53392xmNZUa'];_0xe29b=function(){return _0x4bb657;};return _0xe29b();}
1
+ 'use strict';function _0x4dae(){const _0x4a6eff=['importDOCXToUnitId','4esgERz','importXLSXToUnitId','UNRECOGNIZED','128228mayXJE','exportXLSXByUnitId','@univerjs/core','14tRZyit','FUniver','1035876XuJIpw','importDOCXToSnapshot','12116005wRMYzY','396IYBmpk','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','16579710VHkUot','_injector','@univerjs-pro/exchange-client','918054MYaYuc','27VTQxhN','UNIVER_DOC','218248hThxUk','UNIVER_SLIDE','exportXLSXBySnapshot','get','UNIVER_UNKNOWN','IExchangeService','UNIVER_PROJECT','1389470YrxCiO','extend'];_0x4dae=function(){return _0x4a6eff;};return _0x4dae();}const _0x47d1bc=_0x21fb;(function(_0x36bae7,_0x50e92a){const _0x42519d=_0x21fb,_0x174803=_0x36bae7();while(!![]){try{const _0x2fc82c=-parseInt(_0x42519d(0x19d))/0x1+parseInt(_0x42519d(0x18f))/0x2*(parseInt(_0x42519d(0x19e))/0x3)+parseInt(_0x42519d(0x18c))/0x4*(parseInt(_0x42519d(0x189))/0x5)+parseInt(_0x42519d(0x194))/0x6*(parseInt(_0x42519d(0x192))/0x7)+-parseInt(_0x42519d(0x1a0))/0x8*(-parseInt(_0x42519d(0x197))/0x9)+-parseInt(_0x42519d(0x19a))/0xa+parseInt(_0x42519d(0x196))/0xb;if(_0x2fc82c===_0x50e92a)break;else _0x174803['push'](_0x174803['shift']());}catch(_0x224b75){_0x174803['push'](_0x174803['shift']());}}}(_0x4dae,0xe2136));const c=require(_0x47d1bc(0x191)),n=require(_0x47d1bc(0x19c));function _0x21fb(_0x61be42,_0x24f06a){const _0x4daeea=_0x4dae();return _0x21fb=function(_0x21fb27,_0x269431){_0x21fb27=_0x21fb27-0x183;let _0x55eff=_0x4daeea[_0x21fb27];return _0x55eff;},_0x21fb(_0x61be42,_0x24f06a);}var i=(_0x4e0db2=>(_0x4e0db2[_0x4e0db2[_0x47d1bc(0x186)]=0x0]=_0x47d1bc(0x186),_0x4e0db2[_0x4e0db2[_0x47d1bc(0x19f)]=0x1]=_0x47d1bc(0x19f),_0x4e0db2[_0x4e0db2['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x4e0db2[_0x4e0db2[_0x47d1bc(0x183)]=0x3]=_0x47d1bc(0x183),_0x4e0db2[_0x4e0db2['UNIVER_PROJECT']=0x4]=_0x47d1bc(0x188),_0x4e0db2[_0x4e0db2[_0x47d1bc(0x18e)]=-0x1]='UNRECOGNIZED',_0x4e0db2))(i||{});class o extends c[_0x47d1bc(0x193)]{async[_0x47d1bc(0x18d)](_0x2f5af2){const _0x493872=_0x47d1bc,_0x24a86e=this[_0x493872(0x19b)][_0x493872(0x185)](n[_0x493872(0x187)]);if(!_0x24a86e)throw new Error(_0x493872(0x198));return _0x24a86e['importFileToUnitId'](_0x2f5af2,i['UNIVER_SHEET']);}async[_0x47d1bc(0x199)](_0x4699f2){const _0x4b73d9=_0x47d1bc,_0x44b213=this[_0x4b73d9(0x19b)][_0x4b73d9(0x185)](n[_0x4b73d9(0x187)]);if(!_0x44b213)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x44b213[_0x4b73d9(0x199)](_0x4699f2);}async[_0x47d1bc(0x190)](_0x358f68){const _0x2b174e=_0x47d1bc,_0x309ff7=this[_0x2b174e(0x19b)]['get'](n['IExchangeService']);if(!_0x309ff7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x309ff7[_0x2b174e(0x190)](_0x358f68);}async[_0x47d1bc(0x184)](_0x3a2534){const _0x18d242=_0x47d1bc,_0x36ee69=this[_0x18d242(0x19b)][_0x18d242(0x185)](n[_0x18d242(0x187)]);if(!_0x36ee69)throw new Error(_0x18d242(0x198));return _0x36ee69['exportXLSXBySnapshot'](_0x3a2534);}async[_0x47d1bc(0x18b)](_0x5f30e6){const _0x55ff1b=_0x47d1bc,_0x533090=this[_0x55ff1b(0x19b)][_0x55ff1b(0x185)](n[_0x55ff1b(0x187)]);if(!_0x533090)throw new Error(_0x55ff1b(0x198));return _0x533090['importFileToUnitId'](_0x5f30e6,i[_0x55ff1b(0x19f)]);}async[_0x47d1bc(0x195)](_0x44877a){const _0x1bce7a=_0x47d1bc,_0x4dceaf=this[_0x1bce7a(0x19b)]['get'](n[_0x1bce7a(0x187)]);if(!_0x4dceaf)throw new Error(_0x1bce7a(0x198));return _0x4dceaf['importDOCXToSnapshot'](_0x44877a);}}c[_0x47d1bc(0x193)][_0x47d1bc(0x18a)](o);