@univerjs-pro/exchange-client 0.7.0-nightly.202505151607 → 0.7.0-nightly.202505171606

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 _0x3ad596=_0x23f2;function _0x1ad6(){const _0x36e2fd=['1282876GdIGhq','33oIXICV','24110844NiFZNm','UNIVER_PROJECT','10932633XJDoub','exportXLSXByUnitId','importXLSXToUnitIdAsync','exportXLSXBySnapshot','UNRECOGNIZED','8kXVeTo','@univerjs/core/facade','IExchangeService','6DaWvaQ','UNIVER_SHEET','2632870NzuKsz','importFileToUnitId','UNIVER_SLIDE','importDOCXToSnapshot','importDOCXToSnapshotAsync','4JtUqDW','4303865wmgJIk','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','1152922dwTHEU','get','UNIVER_DOC','importXLSXToSnapshotAsync','2TySZwx','2336304IFvBTp','_injector'];_0x1ad6=function(){return _0x36e2fd;};return _0x1ad6();}(function(_0x56286c,_0x2b00bc){const _0x34367c=_0x23f2,_0x2789a6=_0x56286c();while(!![]){try{const _0x1f690a=parseInt(_0x34367c(0x1ec))/0x1*(-parseInt(_0x34367c(0x1e8))/0x2)+parseInt(_0x34367c(0x1ed))/0x3*(parseInt(_0x34367c(0x1e2))/0x4)+parseInt(_0x34367c(0x1e3))/0x5+parseInt(_0x34367c(0x1fb))/0x6*(parseInt(_0x34367c(0x1ef))/0x7)+parseInt(_0x34367c(0x1f8))/0x8*(-parseInt(_0x34367c(0x1f3))/0x9)+-parseInt(_0x34367c(0x1dd))/0xa*(parseInt(_0x34367c(0x1f0))/0xb)+parseInt(_0x34367c(0x1f1))/0xc;if(_0x1f690a===_0x2b00bc)break;else _0x2789a6['push'](_0x2789a6['shift']());}catch(_0x2a40bf){_0x2789a6['push'](_0x2789a6['shift']());}}}(_0x1ad6,0xa4ade));function _0x23f2(_0x2ffed2,_0x2b0896){const _0x1ad603=_0x1ad6();return _0x23f2=function(_0x23f299,_0x1a0aaa){_0x23f299=_0x23f299-0x1dd;let _0x7b4d52=_0x1ad603[_0x23f299];return _0x7b4d52;},_0x23f2(_0x2ffed2,_0x2b0896);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x3ad596(0x1f9));var o=(_0x57e66f=>(_0x57e66f[_0x57e66f[_0x3ad596(0x1e6)]=0x0]=_0x3ad596(0x1e6),_0x57e66f[_0x57e66f[_0x3ad596(0x1ea)]=0x1]=_0x3ad596(0x1ea),_0x57e66f[_0x57e66f[_0x3ad596(0x1fc)]=0x2]=_0x3ad596(0x1fc),_0x57e66f[_0x57e66f[_0x3ad596(0x1df)]=0x3]='UNIVER_SLIDE',_0x57e66f[_0x57e66f[_0x3ad596(0x1f2)]=0x4]=_0x3ad596(0x1f2),_0x57e66f[_0x57e66f[_0x3ad596(0x1f7)]=-0x1]=_0x3ad596(0x1f7),_0x57e66f))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x5e1fe9){const _0x25b588=_0x3ad596;return this[_0x25b588(0x1f5)](_0x5e1fe9);}async[_0x3ad596(0x1f5)](_0x10532c){const _0x4738de=_0x3ad596,_0x12ab8b=this['_injector'][_0x4738de(0x1e9)](r[_0x4738de(0x1fa)]);if(!_0x12ab8b)throw new Error(_0x4738de(0x1e7));return _0x12ab8b[_0x4738de(0x1de)](_0x10532c,o[_0x4738de(0x1fc)]);}async['importXLSXToSnapshot'](_0x12f095){const _0x4404db=_0x3ad596;return this[_0x4404db(0x1eb)](_0x12f095);}async[_0x3ad596(0x1eb)](_0x148d5f){const _0x5458fb=_0x3ad596,_0x313b3a=this[_0x5458fb(0x1ee)][_0x5458fb(0x1e9)](r[_0x5458fb(0x1fa)]);if(!_0x313b3a)throw new Error(_0x5458fb(0x1e7));return _0x313b3a['importXLSXToSnapshot'](_0x148d5f);}async[_0x3ad596(0x1f4)](_0x4eb9a8){const _0x228b0e=_0x3ad596;return this[_0x228b0e(0x1e5)](_0x4eb9a8);}async[_0x3ad596(0x1e5)](_0x1a32de){const _0x1a49e5=_0x3ad596,_0x27abf0=this[_0x1a49e5(0x1ee)]['get'](r[_0x1a49e5(0x1fa)]);if(!_0x27abf0)throw new Error(_0x1a49e5(0x1e7));return _0x27abf0['exportXLSXByUnitId'](_0x1a32de);}async[_0x3ad596(0x1f6)](_0xbfc6fb){return this['exportXLSXBySnapshotAsync'](_0xbfc6fb);}async['exportXLSXBySnapshotAsync'](_0x595cf0){const _0x336e81=_0x3ad596,_0x2c222a=this[_0x336e81(0x1ee)]['get'](r[_0x336e81(0x1fa)]);if(!_0x2c222a)throw new Error(_0x336e81(0x1e7));return _0x2c222a['exportXLSXBySnapshot'](_0x595cf0);}async['importDOCXToUnitId'](_0x385dfd){const _0x4194cb=_0x3ad596;return this[_0x4194cb(0x1e4)](_0x385dfd);}async[_0x3ad596(0x1e4)](_0x589f8a){const _0x85f407=_0x3ad596,_0xf84787=this[_0x85f407(0x1ee)][_0x85f407(0x1e9)](r[_0x85f407(0x1fa)]);if(!_0xf84787)throw new Error(_0x85f407(0x1e7));return _0xf84787[_0x85f407(0x1de)](_0x589f8a,o[_0x85f407(0x1ea)]);}async[_0x3ad596(0x1e0)](_0xfd6d00){const _0x168f8b=_0x3ad596;return this[_0x168f8b(0x1e1)](_0xfd6d00);}async['importDOCXToSnapshotAsync'](_0x270dfb){const _0x29027e=_0x3ad596,_0x2d1339=this[_0x29027e(0x1ee)][_0x29027e(0x1e9)](r[_0x29027e(0x1fa)]);if(!_0x2d1339)throw new Error(_0x29027e(0x1e7));return _0x2d1339['importDOCXToSnapshot'](_0x270dfb);}}i['FUniver']['extend'](c);
1
+ 'use strict';const _0x2dd0b8=_0x4438;function _0x5d03(){const _0x5684bf=['2335865sNhean','UNIVER_SLIDE','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','importXLSXToUnitId','exportXLSXByUnitIdAsync','importDOCXToSnapshot','importXLSXToSnapshot','UNIVER_PROJECT','extend','UNRECOGNIZED','@univerjs/core/facade','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','get','UNIVER_UNKNOWN','IExchangeService','exportXLSXByUnitId','UNIVER_SHEET','exportXLSXBySnapshotAsync','175430PxjcJE','691338oHJXKa','2372713WZjsJT','4GZSNJH','exportXLSXBySnapshot','UNIVER_DOC','importDOCXToSnapshotAsync','importFileToUnitId','46352JUHyKi','914624gTGYTv','54yBrAcI','_injector','importXLSXToSnapshotAsync','1086069rVdhWP','importDOCXToUnitId'];_0x5d03=function(){return _0x5684bf;};return _0x5d03();}(function(_0x366c66,_0x2281a3){const _0x4975cc=_0x4438,_0x5d7bb1=_0x366c66();while(!![]){try{const _0x4cd798=parseInt(_0x4975cc(0x8d))/0x1*(parseInt(_0x4975cc(0x90))/0x2)+parseInt(_0x4975cc(0x9a))/0x3+parseInt(_0x4975cc(0x96))/0x4+-parseInt(_0x4975cc(0x9c))/0x5+parseInt(_0x4975cc(0x8e))/0x6+-parseInt(_0x4975cc(0x8f))/0x7+-parseInt(_0x4975cc(0x95))/0x8*(-parseInt(_0x4975cc(0x97))/0x9);if(_0x4cd798===_0x2281a3)break;else _0x5d7bb1['push'](_0x5d7bb1['shift']());}catch(_0x59b856){_0x5d7bb1['push'](_0x5d7bb1['shift']());}}}(_0x5d03,0x45ad2));function _0x4438(_0x138564,_0x2f69dd){const _0x5d0331=_0x5d03();return _0x4438=function(_0x44386b,_0x22989a){_0x44386b=_0x44386b-0x80;let _0x4958aa=_0x5d0331[_0x44386b];return _0x4958aa;},_0x4438(_0x138564,_0x2f69dd);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x2dd0b8(0x84));var o=(_0x4e8d17=>(_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x88)]=0x0]=_0x2dd0b8(0x88),_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x92)]=0x1]=_0x2dd0b8(0x92),_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x8b)]=0x2]=_0x2dd0b8(0x8b),_0x4e8d17[_0x4e8d17['UNIVER_SLIDE']=0x3]=_0x2dd0b8(0x9d),_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x81)]=0x4]='UNIVER_PROJECT',_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x83)]=-0x1]=_0x2dd0b8(0x83),_0x4e8d17))(o||{});class c extends i['FUniver']{async[_0x2dd0b8(0xa0)](_0x4b59bf){const _0x583340=_0x2dd0b8;return this[_0x583340(0x9f)](_0x4b59bf);}async[_0x2dd0b8(0x9f)](_0x2ec167){const _0x5de751=_0x2dd0b8,_0x2ae793=this[_0x5de751(0x98)]['get'](r[_0x5de751(0x89)]);if(!_0x2ae793)throw new Error(_0x5de751(0x85));return _0x2ae793[_0x5de751(0x94)](_0x2ec167,o[_0x5de751(0x8b)]);}async[_0x2dd0b8(0x80)](_0x327b4e){const _0x1f484f=_0x2dd0b8;return this[_0x1f484f(0x99)](_0x327b4e);}async[_0x2dd0b8(0x99)](_0x12b47d){const _0x17cb9a=_0x2dd0b8,_0x2ad747=this[_0x17cb9a(0x98)][_0x17cb9a(0x87)](r['IExchangeService']);if(!_0x2ad747)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ad747[_0x17cb9a(0x80)](_0x12b47d);}async[_0x2dd0b8(0x8a)](_0x322e08){const _0x5e69d1=_0x2dd0b8;return this[_0x5e69d1(0xa1)](_0x322e08);}async[_0x2dd0b8(0xa1)](_0x3df363){const _0x1b4fa2=_0x2dd0b8,_0x3c6fd9=this[_0x1b4fa2(0x98)][_0x1b4fa2(0x87)](r['IExchangeService']);if(!_0x3c6fd9)throw new Error(_0x1b4fa2(0x85));return _0x3c6fd9[_0x1b4fa2(0x8a)](_0x3df363);}async[_0x2dd0b8(0x91)](_0x680f31){return this['exportXLSXBySnapshotAsync'](_0x680f31);}async[_0x2dd0b8(0x8c)](_0x25fb7d){const _0x3e460d=_0x2dd0b8,_0x1581c7=this[_0x3e460d(0x98)][_0x3e460d(0x87)](r[_0x3e460d(0x89)]);if(!_0x1581c7)throw new Error(_0x3e460d(0x85));return _0x1581c7[_0x3e460d(0x91)](_0x25fb7d);}async[_0x2dd0b8(0x9b)](_0x19bea1){return this['importDOCXToUnitIdAsync'](_0x19bea1);}async[_0x2dd0b8(0x9e)](_0x1a49b9){const _0x1943cc=_0x2dd0b8,_0x2cdefe=this['_injector']['get'](r[_0x1943cc(0x89)]);if(!_0x2cdefe)throw new Error(_0x1943cc(0x85));return _0x2cdefe['importFileToUnitId'](_0x1a49b9,o[_0x1943cc(0x92)]);}async[_0x2dd0b8(0xa2)](_0x362c33){const _0x18ff2d=_0x2dd0b8;return this[_0x18ff2d(0x93)](_0x362c33);}async[_0x2dd0b8(0x93)](_0x49639e){const _0x31ed9a=_0x2dd0b8,_0x1f26a5=this[_0x31ed9a(0x98)]['get'](r['IExchangeService']);if(!_0x1f26a5)throw new Error(_0x31ed9a(0x85));return _0x1f26a5[_0x31ed9a(0xa2)](_0x49639e);}}i[_0x2dd0b8(0x86)][_0x2dd0b8(0x82)](c);