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

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';function _0x4b7f(_0x3400d7,_0x53cda4){const _0x45cd31=_0x45cd();return _0x4b7f=function(_0x4b7fcc,_0x955e1){_0x4b7fcc=_0x4b7fcc-0xa2;let _0x4c2575=_0x45cd31[_0x4b7fcc];return _0x4c2575;},_0x4b7f(_0x3400d7,_0x53cda4);}const _0x38ab74=_0x4b7f;(function(_0x2ca6bc,_0x27a76c){const _0x41d2eb=_0x4b7f,_0x26403f=_0x2ca6bc();while(!![]){try{const _0x2e844f=parseInt(_0x41d2eb(0xaf))/0x1*(parseInt(_0x41d2eb(0xc4))/0x2)+-parseInt(_0x41d2eb(0xb5))/0x3+parseInt(_0x41d2eb(0xb2))/0x4+-parseInt(_0x41d2eb(0xba))/0x5*(parseInt(_0x41d2eb(0xa6))/0x6)+-parseInt(_0x41d2eb(0xb4))/0x7*(parseInt(_0x41d2eb(0xbe))/0x8)+parseInt(_0x41d2eb(0xb6))/0x9*(-parseInt(_0x41d2eb(0xa4))/0xa)+parseInt(_0x41d2eb(0xa9))/0xb;if(_0x2e844f===_0x27a76c)break;else _0x26403f['push'](_0x26403f['shift']());}catch(_0x139084){_0x26403f['push'](_0x26403f['shift']());}}}(_0x45cd,0x9d152));function _0x45cd(){const _0x4e6399=['_injector','1873505zLItau','exportXLSXByUnitId','UNRECOGNIZED','UNIVER_DOC','7248FUfASe','UNIVER_SHEET','importDOCXToSnapshotAsync','get','importXLSXToUnitId','importXLSXToSnapshotAsync','5362UeDfaU','exportXLSXBySnapshot','IExchangeService','UNIVER_SLIDE','@univerjs-pro/exchange-client','10wFLMOW','importDOCXToSnapshot','18aakdJo','importDOCXToUnitId','@univerjs/core/facade','41680694CiRGJA','UNIVER_PROJECT','UNIVER_UNKNOWN','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','7vjunGp','extend','exportXLSXBySnapshotAsync','1983236zPBxDb','FUniver','9093zSsMEB','1600416TTRnUh','7432659cxqzvg','importFileToUnitId','exportXLSXByUnitIdAsync'];_0x45cd=function(){return _0x4e6399;};return _0x45cd();}const r=require(_0x38ab74(0xa3)),i=require(_0x38ab74(0xa8));var o=(_0x550d16=>(_0x550d16[_0x550d16[_0x38ab74(0xab)]=0x0]=_0x38ab74(0xab),_0x550d16[_0x550d16[_0x38ab74(0xbd)]=0x1]='UNIVER_DOC',_0x550d16[_0x550d16[_0x38ab74(0xbf)]=0x2]=_0x38ab74(0xbf),_0x550d16[_0x550d16[_0x38ab74(0xa2)]=0x3]=_0x38ab74(0xa2),_0x550d16[_0x550d16[_0x38ab74(0xaa)]=0x4]='UNIVER_PROJECT',_0x550d16[_0x550d16[_0x38ab74(0xbc)]=-0x1]=_0x38ab74(0xbc),_0x550d16))(o||{});class c extends i[_0x38ab74(0xb3)]{async[_0x38ab74(0xc2)](_0x34e278){const _0x4d8b42=_0x38ab74;return this[_0x4d8b42(0xae)](_0x34e278);}async['importXLSXToUnitIdAsync'](_0x4a813c){const _0x539c40=_0x38ab74,_0x1cc97d=this[_0x539c40(0xb9)]['get'](r['IExchangeService']);if(!_0x1cc97d)throw new Error(_0x539c40(0xad));return _0x1cc97d[_0x539c40(0xb7)](_0x4a813c,o[_0x539c40(0xbf)]);}async['importXLSXToSnapshot'](_0x2f0c08){const _0x2f9d5b=_0x38ab74;return this[_0x2f9d5b(0xc3)](_0x2f0c08);}async['importXLSXToSnapshotAsync'](_0x1339f3){const _0x3c7b80=_0x38ab74,_0x1b393a=this['_injector'][_0x3c7b80(0xc1)](r[_0x3c7b80(0xc6)]);if(!_0x1b393a)throw new Error(_0x3c7b80(0xad));return _0x1b393a[_0x3c7b80(0xac)](_0x1339f3);}async[_0x38ab74(0xbb)](_0x565900){const _0x3f3a72=_0x38ab74;return this[_0x3f3a72(0xb8)](_0x565900);}async['exportXLSXByUnitIdAsync'](_0x3a7429){const _0x3dfcc3=_0x38ab74,_0xd194f7=this['_injector']['get'](r['IExchangeService']);if(!_0xd194f7)throw new Error(_0x3dfcc3(0xad));return _0xd194f7['exportXLSXByUnitId'](_0x3a7429);}async[_0x38ab74(0xc5)](_0xab4ee0){const _0x316231=_0x38ab74;return this[_0x316231(0xb1)](_0xab4ee0);}async[_0x38ab74(0xb1)](_0xc81398){const _0x50a649=_0x38ab74,_0x3d9b58=this[_0x50a649(0xb9)][_0x50a649(0xc1)](r['IExchangeService']);if(!_0x3d9b58)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d9b58[_0x50a649(0xc5)](_0xc81398);}async[_0x38ab74(0xa7)](_0x27efd2){return this['importDOCXToUnitIdAsync'](_0x27efd2);}async['importDOCXToUnitIdAsync'](_0x12ad41){const _0x1d77a9=_0x38ab74,_0x5314b1=this[_0x1d77a9(0xb9)][_0x1d77a9(0xc1)](r[_0x1d77a9(0xc6)]);if(!_0x5314b1)throw new Error(_0x1d77a9(0xad));return _0x5314b1['importFileToUnitId'](_0x12ad41,o[_0x1d77a9(0xbd)]);}async[_0x38ab74(0xa5)](_0x157077){const _0x180a6e=_0x38ab74;return this[_0x180a6e(0xc0)](_0x157077);}async['importDOCXToSnapshotAsync'](_0x509ecf){const _0x2b078c=_0x38ab74,_0x2139c9=this[_0x2b078c(0xb9)][_0x2b078c(0xc1)](r['IExchangeService']);if(!_0x2139c9)throw new Error(_0x2b078c(0xad));return _0x2139c9[_0x2b078c(0xa5)](_0x509ecf);}}i[_0x38ab74(0xb3)][_0x38ab74(0xb0)](c);