@univerjs-pro/exchange-client 0.5.1-nightly.202412190838 → 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 _0x210273=_0x3a9e;(function(_0x384203,_0xc80277){const _0x306075=_0x3a9e,_0x2f43c6=_0x384203();while(!![]){try{const _0x1ff1ac=-parseInt(_0x306075(0x11b))/0x1*(parseInt(_0x306075(0x10e))/0x2)+parseInt(_0x306075(0x102))/0x3+-parseInt(_0x306075(0x109))/0x4+parseInt(_0x306075(0x103))/0x5*(parseInt(_0x306075(0x110))/0x6)+-parseInt(_0x306075(0x112))/0x7+parseInt(_0x306075(0x11d))/0x8*(-parseInt(_0x306075(0x11c))/0x9)+parseInt(_0x306075(0x115))/0xa*(parseInt(_0x306075(0x105))/0xb);if(_0x1ff1ac===_0xc80277)break;else _0x2f43c6['push'](_0x2f43c6['shift']());}catch(_0x156ca4){_0x2f43c6['push'](_0x2f43c6['shift']());}}}(_0x1007,0x31e08));const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');function _0x3a9e(_0x4b56c4,_0x14e322){const _0x100748=_0x1007();return _0x3a9e=function(_0x3a9e7e,_0x5ba1d7){_0x3a9e7e=_0x3a9e7e-0x102;let _0x287ec9=_0x100748[_0x3a9e7e];return _0x287ec9;},_0x3a9e(_0x4b56c4,_0x14e322);}var i=(_0x46b735=>(_0x46b735[_0x46b735[_0x210273(0x10a)]=0x0]=_0x210273(0x10a),_0x46b735[_0x46b735['UNIVER_DOC']=0x1]=_0x210273(0x118),_0x46b735[_0x46b735[_0x210273(0x108)]=0x2]=_0x210273(0x108),_0x46b735[_0x46b735[_0x210273(0x10b)]=0x3]=_0x210273(0x10b),_0x46b735[_0x46b735[_0x210273(0x117)]=0x4]=_0x210273(0x117),_0x46b735[_0x46b735[_0x210273(0x119)]=-0x1]=_0x210273(0x119),_0x46b735))(i||{});function _0x1007(){const _0x4440e7=['UNIVER_DOC','UNRECOGNIZED','importDOCXToUnitId','5662TuNqhz','2819115XddYJG','8EKfnPj','688137eQcgAr','29740pXWuyW','importDOCXToSnapshot','99kPQRZf','importXLSXToSnapshot','_injector','UNIVER_SHEET','1475820qWMpQB','UNIVER_UNKNOWN','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','92JYFxnb','importFileToUnitId','264NgvPcj','IExchangeService','150010ruqtvf','exportXLSXBySnapshot','get','752530OdgNEt','FUniver','UNIVER_PROJECT'];_0x1007=function(){return _0x4440e7;};return _0x1007();}class o extends c[_0x210273(0x116)]{async['importXLSXToUnitId'](_0x481eaa){const _0x4c072f=_0x210273,_0x2259f6=this[_0x4c072f(0x107)][_0x4c072f(0x114)](n[_0x4c072f(0x111)]);if(!_0x2259f6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2259f6[_0x4c072f(0x10f)](_0x481eaa,i['UNIVER_SHEET']);}async[_0x210273(0x106)](_0x46fdd1){const _0x25f67e=_0x210273,_0x16dbc3=this[_0x25f67e(0x107)][_0x25f67e(0x114)](n['IExchangeService']);if(!_0x16dbc3)throw new Error(_0x25f67e(0x10c));return _0x16dbc3['importXLSXToSnapshot'](_0x46fdd1);}async[_0x210273(0x10d)](_0x33bfc1){const _0x6ae3c0=_0x210273,_0x4c86f1=this[_0x6ae3c0(0x107)][_0x6ae3c0(0x114)](n[_0x6ae3c0(0x111)]);if(!_0x4c86f1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4c86f1[_0x6ae3c0(0x10d)](_0x33bfc1);}async[_0x210273(0x113)](_0x63a8fa){const _0x1701c7=_0x210273,_0x5186c9=this[_0x1701c7(0x107)]['get'](n[_0x1701c7(0x111)]);if(!_0x5186c9)throw new Error(_0x1701c7(0x10c));return _0x5186c9[_0x1701c7(0x113)](_0x63a8fa);}async[_0x210273(0x11a)](_0x405030){const _0x173005=_0x210273,_0x22a4bb=this['_injector'][_0x173005(0x114)](n[_0x173005(0x111)]);if(!_0x22a4bb)throw new Error(_0x173005(0x10c));return _0x22a4bb['importFileToUnitId'](_0x405030,i[_0x173005(0x118)]);}async[_0x210273(0x104)](_0x38ec92){const _0x2eea3b=_0x210273,_0x312e42=this[_0x2eea3b(0x107)][_0x2eea3b(0x114)](n['IExchangeService']);if(!_0x312e42)throw new Error(_0x2eea3b(0x10c));return _0x312e42['importDOCXToSnapshot'](_0x38ec92);}}c[_0x210273(0x116)]['extend'](o);
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);