@univerjs-pro/exchange-client 0.6.6-nightly.202503171607 → 0.6.6-nightly.202503181607

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 _0x3718(_0x26eb26,_0x527ad3){const _0x4929df=_0x4929();return _0x3718=function(_0x3718bc,_0x3d1c88){_0x3718bc=_0x3718bc-0xe6;let _0x5e3a8a=_0x4929df[_0x3718bc];return _0x5e3a8a;},_0x3718(_0x26eb26,_0x527ad3);}const _0x30d55a=_0x3718;(function(_0x363d13,_0x3545bc){const _0x3d58ca=_0x3718,_0x567c22=_0x363d13();while(!![]){try{const _0x49ff58=parseInt(_0x3d58ca(0xea))/0x1*(-parseInt(_0x3d58ca(0xec))/0x2)+-parseInt(_0x3d58ca(0x102))/0x3*(parseInt(_0x3d58ca(0x105))/0x4)+-parseInt(_0x3d58ca(0x106))/0x5+parseInt(_0x3d58ca(0x104))/0x6*(parseInt(_0x3d58ca(0xf8))/0x7)+-parseInt(_0x3d58ca(0xf2))/0x8+-parseInt(_0x3d58ca(0xf3))/0x9+-parseInt(_0x3d58ca(0xe9))/0xa*(-parseInt(_0x3d58ca(0xfa))/0xb);if(_0x49ff58===_0x3545bc)break;else _0x567c22['push'](_0x567c22['shift']());}catch(_0x151e3e){_0x567c22['push'](_0x567c22['shift']());}}}(_0x4929,0x2d31b));function _0x4929(){const _0x9e388a=['The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','UNIVER_SLIDE','@univerjs-pro/exchange-client','get','UNRECOGNIZED','33ulAzRE','importXLSXToUnitIdAsync','6DpZLUA','126388BkIKWi','1208340gQEzuv','importXLSXToUnitId','UNIVER_DOC','_injector','IExchangeService','importDOCXToSnapshot','exportXLSXByUnitIdAsync','1333090vcIQMJ','19051AccnCU','importDOCXToUnitIdAsync','2Ozdktt','importXLSXToSnapshot','UNIVER_PROJECT','FUniver','importDOCXToUnitId','exportXLSXBySnapshotAsync','2465432NpAvDt','1731321Bifuzu','UNIVER_SHEET','importXLSXToSnapshotAsync','exportXLSXByUnitId','importFileToUnitId','1592339pzxJYQ','extend','88zHUTuc','exportXLSXBySnapshot'];_0x4929=function(){return _0x9e388a;};return _0x4929();}const r=require(_0x30d55a(0xff)),i=require('@univerjs/core/facade');var o=(_0x4edae6=>(_0x4edae6[_0x4edae6['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x4edae6[_0x4edae6[_0x30d55a(0x108)]=0x1]=_0x30d55a(0x108),_0x4edae6[_0x4edae6[_0x30d55a(0xf4)]=0x2]='UNIVER_SHEET',_0x4edae6[_0x4edae6[_0x30d55a(0xfe)]=0x3]='UNIVER_SLIDE',_0x4edae6[_0x4edae6[_0x30d55a(0xee)]=0x4]=_0x30d55a(0xee),_0x4edae6[_0x4edae6[_0x30d55a(0x101)]=-0x1]=_0x30d55a(0x101),_0x4edae6))(o||{});class c extends i[_0x30d55a(0xef)]{async[_0x30d55a(0x107)](_0x5c3c9e){const _0x3305a7=_0x30d55a;return this[_0x3305a7(0x103)](_0x5c3c9e);}async[_0x30d55a(0x103)](_0x4c63e6){const _0x238c3a=_0x30d55a,_0xf2498d=this[_0x238c3a(0x109)][_0x238c3a(0x100)](r[_0x238c3a(0xe6)]);if(!_0xf2498d)throw new Error(_0x238c3a(0xfc));return _0xf2498d['importFileToUnitId'](_0x4c63e6,o[_0x238c3a(0xf4)]);}async[_0x30d55a(0xed)](_0x32329b){const _0x35e223=_0x30d55a;return this[_0x35e223(0xf5)](_0x32329b);}async['importXLSXToSnapshotAsync'](_0x4e2eca){const _0x362bff=this['_injector']['get'](r['IExchangeService']);if(!_0x362bff)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x362bff['importXLSXToSnapshot'](_0x4e2eca);}async[_0x30d55a(0xf6)](_0x475608){const _0x2f87bb=_0x30d55a;return this[_0x2f87bb(0xe8)](_0x475608);}async[_0x30d55a(0xe8)](_0xbe1808){const _0x4cc041=_0x30d55a,_0x3b889e=this[_0x4cc041(0x109)][_0x4cc041(0x100)](r[_0x4cc041(0xe6)]);if(!_0x3b889e)throw new Error(_0x4cc041(0xfc));return _0x3b889e[_0x4cc041(0xf6)](_0xbe1808);}async['exportXLSXBySnapshot'](_0x509940){return this['exportXLSXBySnapshotAsync'](_0x509940);}async[_0x30d55a(0xf1)](_0x3eeee8){const _0x278e7b=_0x30d55a,_0x6aee85=this['_injector'][_0x278e7b(0x100)](r[_0x278e7b(0xe6)]);if(!_0x6aee85)throw new Error(_0x278e7b(0xfc));return _0x6aee85[_0x278e7b(0xfb)](_0x3eeee8);}async[_0x30d55a(0xf0)](_0x528054){const _0x30ea63=_0x30d55a;return this[_0x30ea63(0xeb)](_0x528054);}async[_0x30d55a(0xeb)](_0x43273c){const _0x5422d2=_0x30d55a,_0x125e7c=this[_0x5422d2(0x109)]['get'](r[_0x5422d2(0xe6)]);if(!_0x125e7c)throw new Error(_0x5422d2(0xfc));return _0x125e7c[_0x5422d2(0xf7)](_0x43273c,o[_0x5422d2(0x108)]);}async[_0x30d55a(0xe7)](_0x5d3025){const _0x3fc2e5=_0x30d55a;return this[_0x3fc2e5(0xfd)](_0x5d3025);}async[_0x30d55a(0xfd)](_0x386281){const _0x99a38d=_0x30d55a,_0x40fffc=this[_0x99a38d(0x109)][_0x99a38d(0x100)](r['IExchangeService']);if(!_0x40fffc)throw new Error(_0x99a38d(0xfc));return _0x40fffc[_0x99a38d(0xe7)](_0x386281);}}i[_0x30d55a(0xef)][_0x30d55a(0xf9)](c);
1
+ 'use strict';const _0x723d2a=_0xa464;(function(_0x34aed3,_0x3f40b6){const _0x7c2f55=_0xa464,_0x2fa909=_0x34aed3();while(!![]){try{const _0x1bb469=-parseInt(_0x7c2f55(0x1c6))/0x1+-parseInt(_0x7c2f55(0x1b9))/0x2+-parseInt(_0x7c2f55(0x1c7))/0x3+parseInt(_0x7c2f55(0x1d3))/0x4*(parseInt(_0x7c2f55(0x1bc))/0x5)+-parseInt(_0x7c2f55(0x1d0))/0x6*(-parseInt(_0x7c2f55(0x1b8))/0x7)+-parseInt(_0x7c2f55(0x1cb))/0x8+parseInt(_0x7c2f55(0x1b7))/0x9*(parseInt(_0x7c2f55(0x1cd))/0xa);if(_0x1bb469===_0x3f40b6)break;else _0x2fa909['push'](_0x2fa909['shift']());}catch(_0x36677f){_0x2fa909['push'](_0x2fa909['shift']());}}}(_0x4444,0x69a26));const r=require(_0x723d2a(0x1c9)),i=require(_0x723d2a(0x1c0));var o=(_0x4fb029=>(_0x4fb029[_0x4fb029[_0x723d2a(0x1ca)]=0x0]=_0x723d2a(0x1ca),_0x4fb029[_0x4fb029[_0x723d2a(0x1ce)]=0x1]=_0x723d2a(0x1ce),_0x4fb029[_0x4fb029[_0x723d2a(0x1be)]=0x2]=_0x723d2a(0x1be),_0x4fb029[_0x4fb029['UNIVER_SLIDE']=0x3]=_0x723d2a(0x1ba),_0x4fb029[_0x4fb029[_0x723d2a(0x1c3)]=0x4]=_0x723d2a(0x1c3),_0x4fb029[_0x4fb029['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4fb029))(o||{});class c extends i[_0x723d2a(0x1c2)]{async[_0x723d2a(0x1b6)](_0x15cfd6){const _0x47459f=_0x723d2a;return this[_0x47459f(0x1d5)](_0x15cfd6);}async[_0x723d2a(0x1d5)](_0x290cbf){const _0x7dd83d=_0x723d2a,_0x2693f7=this[_0x7dd83d(0x1c4)][_0x7dd83d(0x1c5)](r['IExchangeService']);if(!_0x2693f7)throw new Error(_0x7dd83d(0x1d1));return _0x2693f7[_0x7dd83d(0x1b5)](_0x290cbf,o['UNIVER_SHEET']);}async[_0x723d2a(0x1c8)](_0x4ad4e9){const _0x1bbee8=_0x723d2a;return this[_0x1bbee8(0x1b4)](_0x4ad4e9);}async[_0x723d2a(0x1b4)](_0x19a650){const _0x20cfc7=_0x723d2a,_0x111734=this[_0x20cfc7(0x1c4)][_0x20cfc7(0x1c5)](r[_0x20cfc7(0x1d4)]);if(!_0x111734)throw new Error(_0x20cfc7(0x1d1));return _0x111734[_0x20cfc7(0x1c8)](_0x19a650);}async[_0x723d2a(0x1bd)](_0x33d58e){const _0x4afe36=_0x723d2a;return this[_0x4afe36(0x1d6)](_0x33d58e);}async['exportXLSXByUnitIdAsync'](_0x3c7a44){const _0x324d51=_0x723d2a,_0x441ea8=this[_0x324d51(0x1c4)][_0x324d51(0x1c5)](r[_0x324d51(0x1d4)]);if(!_0x441ea8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x441ea8[_0x324d51(0x1bd)](_0x3c7a44);}async[_0x723d2a(0x1bb)](_0xda4ebf){const _0x144c24=_0x723d2a;return this[_0x144c24(0x1d2)](_0xda4ebf);}async[_0x723d2a(0x1d2)](_0x57cf36){const _0x1f8c9b=_0x723d2a,_0x2eaa4c=this['_injector'][_0x1f8c9b(0x1c5)](r[_0x1f8c9b(0x1d4)]);if(!_0x2eaa4c)throw new Error(_0x1f8c9b(0x1d1));return _0x2eaa4c[_0x1f8c9b(0x1bb)](_0x57cf36);}async[_0x723d2a(0x1cc)](_0x1f4d3a){return this['importDOCXToUnitIdAsync'](_0x1f4d3a);}async[_0x723d2a(0x1bf)](_0x1d176f){const _0x55d242=_0x723d2a,_0x1e125d=this[_0x55d242(0x1c4)][_0x55d242(0x1c5)](r[_0x55d242(0x1d4)]);if(!_0x1e125d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1e125d['importFileToUnitId'](_0x1d176f,o[_0x55d242(0x1ce)]);}async['importDOCXToSnapshot'](_0x52a0b3){const _0x3e759d=_0x723d2a;return this[_0x3e759d(0x1c1)](_0x52a0b3);}async[_0x723d2a(0x1c1)](_0x51f653){const _0x504321=_0x723d2a,_0x55260c=this[_0x504321(0x1c4)][_0x504321(0x1c5)](r['IExchangeService']);if(!_0x55260c)throw new Error(_0x504321(0x1d1));return _0x55260c[_0x504321(0x1cf)](_0x51f653);}}function _0x4444(){const _0xe501ae=['484310IDdKpA','UNIVER_SLIDE','exportXLSXBySnapshot','725YOwkxw','exportXLSXByUnitId','UNIVER_SHEET','importDOCXToUnitIdAsync','@univerjs/core/facade','importDOCXToSnapshotAsync','FUniver','UNIVER_PROJECT','_injector','get','575882ocBxew','2208690qIwDih','importXLSXToSnapshot','@univerjs-pro/exchange-client','UNIVER_UNKNOWN','3169664CORTRv','importDOCXToUnitId','1380eiQvSb','UNIVER_DOC','importDOCXToSnapshot','984qBbUtB','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','1308vGOndN','IExchangeService','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importFileToUnitId','importXLSXToUnitId','104211vmzLDv','31493pfqMbE'];_0x4444=function(){return _0xe501ae;};return _0x4444();}function _0xa464(_0xbf6a5,_0x23d1e4){const _0x44448a=_0x4444();return _0xa464=function(_0xa46439,_0x4d6385){_0xa46439=_0xa46439-0x1b4;let _0x4ebe67=_0x44448a[_0xa46439];return _0x4ebe67;},_0xa464(_0xbf6a5,_0x23d1e4);}i[_0x723d2a(0x1c2)]['extend'](c);