@univerjs-pro/exchange-client 0.6.0-nightly.202502141606 → 0.6.0-nightly.202502161605

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 _0xace7b4=_0x78fc;(function(_0x1b9658,_0x12e893){const _0x3b588f=_0x78fc,_0x6827a4=_0x1b9658();while(!![]){try{const _0x1926e7=parseInt(_0x3b588f(0x196))/0x1*(-parseInt(_0x3b588f(0x183))/0x2)+parseInt(_0x3b588f(0x189))/0x3+-parseInt(_0x3b588f(0x1a3))/0x4+parseInt(_0x3b588f(0x194))/0x5*(-parseInt(_0x3b588f(0x1a0))/0x6)+-parseInt(_0x3b588f(0x195))/0x7*(parseInt(_0x3b588f(0x188))/0x8)+parseInt(_0x3b588f(0x19c))/0x9*(parseInt(_0x3b588f(0x187))/0xa)+parseInt(_0x3b588f(0x19b))/0xb;if(_0x1926e7===_0x12e893)break;else _0x6827a4['push'](_0x6827a4['shift']());}catch(_0x175a25){_0x6827a4['push'](_0x6827a4['shift']());}}}(_0xc665,0xb1c4b));const r=require(_0xace7b4(0x199)),i=require(_0xace7b4(0x197));var o=(_0x4ba1b4=>(_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x18d)]=0x0]='UNIVER_UNKNOWN',_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x18b)]=0x1]=_0xace7b4(0x18b),_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x190)]=0x2]=_0xace7b4(0x190),_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x191)]=0x3]='UNIVER_SLIDE',_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x184)]=0x4]=_0xace7b4(0x184),_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x192)]=-0x1]='UNRECOGNIZED',_0x4ba1b4))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0xc8b141){const _0x2a3f8c=_0xace7b4;return this[_0x2a3f8c(0x185)](_0xc8b141);}async[_0xace7b4(0x185)](_0x3115df){const _0x49a521=_0xace7b4,_0x2ef82e=this[_0x49a521(0x19d)][_0x49a521(0x1a5)](r[_0x49a521(0x18f)]);if(!_0x2ef82e)throw new Error(_0x49a521(0x18c));return _0x2ef82e[_0x49a521(0x18e)](_0x3115df,o[_0x49a521(0x190)]);}async[_0xace7b4(0x19a)](_0x26165b){const _0x2700d7=_0xace7b4;return this[_0x2700d7(0x186)](_0x26165b);}async[_0xace7b4(0x186)](_0x3d62a7){const _0x457f95=_0xace7b4,_0x148200=this[_0x457f95(0x19d)][_0x457f95(0x1a5)](r['IExchangeService']);if(!_0x148200)throw new Error(_0x457f95(0x18c));return _0x148200['importXLSXToSnapshot'](_0x3d62a7);}async[_0xace7b4(0x193)](_0x57d804){const _0x41d5bc=_0xace7b4;return this[_0x41d5bc(0x1a1)](_0x57d804);}async['exportXLSXByUnitIdAsync'](_0xe2fd74){const _0x19c728=_0xace7b4,_0xfa566a=this[_0x19c728(0x19d)][_0x19c728(0x1a5)](r[_0x19c728(0x18f)]);if(!_0xfa566a)throw new Error(_0x19c728(0x18c));return _0xfa566a[_0x19c728(0x193)](_0xe2fd74);}async[_0xace7b4(0x19e)](_0x3d8c78){const _0x5a8261=_0xace7b4;return this[_0x5a8261(0x198)](_0x3d8c78);}async[_0xace7b4(0x198)](_0x3b6262){const _0x5985b5=_0xace7b4,_0x5de1e7=this[_0x5985b5(0x19d)][_0x5985b5(0x1a5)](r['IExchangeService']);if(!_0x5de1e7)throw new Error(_0x5985b5(0x18c));return _0x5de1e7[_0x5985b5(0x19e)](_0x3b6262);}async['importDOCXToUnitId'](_0x5a5d44){return this['importDOCXToUnitIdAsync'](_0x5a5d44);}async[_0xace7b4(0x1a2)](_0x548abf){const _0x4e3e7a=_0xace7b4,_0x3b566c=this['_injector'][_0x4e3e7a(0x1a5)](r[_0x4e3e7a(0x18f)]);if(!_0x3b566c)throw new Error(_0x4e3e7a(0x18c));return _0x3b566c[_0x4e3e7a(0x18e)](_0x548abf,o[_0x4e3e7a(0x18b)]);}async['importDOCXToSnapshot'](_0x5f1df2){return this['importDOCXToSnapshotAsync'](_0x5f1df2);}async[_0xace7b4(0x1a4)](_0x2a52d5){const _0x1d7de0=_0xace7b4,_0x3b98b3=this[_0x1d7de0(0x19d)][_0x1d7de0(0x1a5)](r[_0x1d7de0(0x18f)]);if(!_0x3b98b3)throw new Error(_0x1d7de0(0x18c));return _0x3b98b3[_0x1d7de0(0x19f)](_0x2a52d5);}}i[_0xace7b4(0x182)][_0xace7b4(0x18a)](c);function _0x78fc(_0x391ab6,_0x5d38cf){const _0xc6653b=_0xc665();return _0x78fc=function(_0x78fc69,_0x182639){_0x78fc69=_0x78fc69-0x182;let _0x5df943=_0xc6653b[_0x78fc69];return _0x5df943;},_0x78fc(_0x391ab6,_0x5d38cf);}function _0xc665(){const _0x475a7f=['importDOCXToUnitIdAsync','4966468rMefFQ','importDOCXToSnapshotAsync','get','FUniver','853202FfaflS','UNIVER_PROJECT','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','3350120QVkMJG','328QwMVWp','569895lbOltT','extend','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','importFileToUnitId','IExchangeService','UNIVER_SHEET','UNIVER_SLIDE','UNRECOGNIZED','exportXLSXByUnitId','75gQDhfK','178206Sgmpeq','1xzmKMW','@univerjs/core/facade','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','importXLSXToSnapshot','41822033sOvUDv','9CtSdpU','_injector','exportXLSXBySnapshot','importDOCXToSnapshot','354738RZOqed','exportXLSXByUnitIdAsync'];_0xc665=function(){return _0x475a7f;};return _0xc665();}
1
+ 'use strict';const _0x3fa1b4=_0x59fd;(function(_0x1e58f2,_0x42acc5){const _0x5cfc11=_0x59fd,_0x1c6620=_0x1e58f2();while(!![]){try{const _0x1d883e=parseInt(_0x5cfc11(0x195))/0x1+parseInt(_0x5cfc11(0x181))/0x2+parseInt(_0x5cfc11(0x17d))/0x3*(-parseInt(_0x5cfc11(0x18c))/0x4)+-parseInt(_0x5cfc11(0x194))/0x5+-parseInt(_0x5cfc11(0x17e))/0x6*(-parseInt(_0x5cfc11(0x178))/0x7)+parseInt(_0x5cfc11(0x180))/0x8*(parseInt(_0x5cfc11(0x197))/0x9)+parseInt(_0x5cfc11(0x187))/0xa*(-parseInt(_0x5cfc11(0x179))/0xb);if(_0x1d883e===_0x42acc5)break;else _0x1c6620['push'](_0x1c6620['shift']());}catch(_0x2bd87){_0x1c6620['push'](_0x1c6620['shift']());}}}(_0x1fd2,0xd99a0));function _0x59fd(_0x2892aa,_0x14868f){const _0x1fd2d2=_0x1fd2();return _0x59fd=function(_0x59fd60,_0x11f9e2){_0x59fd60=_0x59fd60-0x175;let _0x360177=_0x1fd2d2[_0x59fd60];return _0x360177;},_0x59fd(_0x2892aa,_0x14868f);}const r=require(_0x3fa1b4(0x188)),i=require(_0x3fa1b4(0x18d));var o=(_0x23b10d=>(_0x23b10d[_0x23b10d['UNIVER_UNKNOWN']=0x0]=_0x3fa1b4(0x18b),_0x23b10d[_0x23b10d[_0x3fa1b4(0x191)]=0x1]=_0x3fa1b4(0x191),_0x23b10d[_0x23b10d[_0x3fa1b4(0x18f)]=0x2]=_0x3fa1b4(0x18f),_0x23b10d[_0x23b10d[_0x3fa1b4(0x18a)]=0x3]=_0x3fa1b4(0x18a),_0x23b10d[_0x23b10d['UNIVER_PROJECT']=0x4]=_0x3fa1b4(0x193),_0x23b10d[_0x23b10d[_0x3fa1b4(0x189)]=-0x1]=_0x3fa1b4(0x189),_0x23b10d))(o||{});class c extends i['FUniver']{async[_0x3fa1b4(0x17c)](_0x21f1cf){const _0xf7088e=_0x3fa1b4;return this[_0xf7088e(0x175)](_0x21f1cf);}async['importXLSXToUnitIdAsync'](_0x32bcc4){const _0x2fb3b5=_0x3fa1b4,_0x35709e=this[_0x2fb3b5(0x18e)]['get'](r[_0x2fb3b5(0x192)]);if(!_0x35709e)throw new Error(_0x2fb3b5(0x177));return _0x35709e['importFileToUnitId'](_0x32bcc4,o[_0x2fb3b5(0x18f)]);}async[_0x3fa1b4(0x182)](_0x18ad9e){const _0x21b3c9=_0x3fa1b4;return this[_0x21b3c9(0x17f)](_0x18ad9e);}async[_0x3fa1b4(0x17f)](_0x485252){const _0x268b89=_0x3fa1b4,_0x2a1e8f=this[_0x268b89(0x18e)][_0x268b89(0x17a)](r['IExchangeService']);if(!_0x2a1e8f)throw new Error(_0x268b89(0x177));return _0x2a1e8f[_0x268b89(0x182)](_0x485252);}async['exportXLSXByUnitId'](_0x3d45bd){const _0x510c8c=_0x3fa1b4;return this[_0x510c8c(0x196)](_0x3d45bd);}async[_0x3fa1b4(0x196)](_0xefc84d){const _0x19b321=_0x3fa1b4,_0x16b8d5=this[_0x19b321(0x18e)][_0x19b321(0x17a)](r[_0x19b321(0x192)]);if(!_0x16b8d5)throw new Error(_0x19b321(0x177));return _0x16b8d5[_0x19b321(0x185)](_0xefc84d);}async[_0x3fa1b4(0x186)](_0x53fcd1){return this['exportXLSXBySnapshotAsync'](_0x53fcd1);}async[_0x3fa1b4(0x176)](_0x2829a3){const _0xadaebb=_0x3fa1b4,_0x3f37a0=this[_0xadaebb(0x18e)][_0xadaebb(0x17a)](r[_0xadaebb(0x192)]);if(!_0x3f37a0)throw new Error(_0xadaebb(0x177));return _0x3f37a0['exportXLSXBySnapshot'](_0x2829a3);}async['importDOCXToUnitId'](_0xcc66c1){const _0x1ac010=_0x3fa1b4;return this[_0x1ac010(0x17b)](_0xcc66c1);}async[_0x3fa1b4(0x17b)](_0xba4aa3){const _0x4fceb2=_0x3fa1b4,_0x5cf935=this[_0x4fceb2(0x18e)][_0x4fceb2(0x17a)](r[_0x4fceb2(0x192)]);if(!_0x5cf935)throw new Error(_0x4fceb2(0x177));return _0x5cf935[_0x4fceb2(0x190)](_0xba4aa3,o[_0x4fceb2(0x191)]);}async['importDOCXToSnapshot'](_0x235c7f){const _0x39fee9=_0x3fa1b4;return this[_0x39fee9(0x183)](_0x235c7f);}async[_0x3fa1b4(0x183)](_0x139dd9){const _0x3200f2=_0x3fa1b4,_0x58713a=this[_0x3200f2(0x18e)][_0x3200f2(0x17a)](r[_0x3200f2(0x192)]);if(!_0x58713a)throw new Error(_0x3200f2(0x177));return _0x58713a['importDOCXToSnapshot'](_0x139dd9);}}function _0x1fd2(){const _0x1d384b=['importFileToUnitId','UNIVER_DOC','IExchangeService','UNIVER_PROJECT','4469820GuIszN','177141kzBiHz','exportXLSXByUnitIdAsync','9EQvcse','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','483QXNyaJ','521642bRvcOq','get','importDOCXToUnitIdAsync','importXLSXToUnitId','18LQTOlh','103170HhAtTx','importXLSXToSnapshotAsync','1090736LbuQpN','2688436kJcXQw','importXLSXToSnapshot','importDOCXToSnapshotAsync','FUniver','exportXLSXByUnitId','exportXLSXBySnapshot','70whxKgf','@univerjs-pro/exchange-client','UNRECOGNIZED','UNIVER_SLIDE','UNIVER_UNKNOWN','484628nYfgXA','@univerjs/core/facade','_injector','UNIVER_SHEET'];_0x1fd2=function(){return _0x1d384b;};return _0x1fd2();}i[_0x3fa1b4(0x184)]['extend'](c);