@univerjs-pro/exchange-client 0.7.0-nightly.202505241606 → 0.7.0-nightly.202505251606

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 _0x3d153c=_0xc08d;(function(_0x2c53d8,_0x5f4704){const _0x3c8578=_0xc08d,_0x3b93f3=_0x2c53d8();while(!![]){try{const _0x181ac4=parseInt(_0x3c8578(0x1aa))/0x1+parseInt(_0x3c8578(0x18b))/0x2*(parseInt(_0x3c8578(0x1a7))/0x3)+parseInt(_0x3c8578(0x18f))/0x4+-parseInt(_0x3c8578(0x1a3))/0x5+parseInt(_0x3c8578(0x19f))/0x6*(-parseInt(_0x3c8578(0x1a0))/0x7)+parseInt(_0x3c8578(0x1a5))/0x8+-parseInt(_0x3c8578(0x18d))/0x9*(parseInt(_0x3c8578(0x191))/0xa);if(_0x181ac4===_0x5f4704)break;else _0x3b93f3['push'](_0x3b93f3['shift']());}catch(_0x303cb4){_0x3b93f3['push'](_0x3b93f3['shift']());}}}(_0x84b7,0xc6c26));const r=require(_0x3d153c(0x1ab)),o=require(_0x3d153c(0x18e));var i=(_0x3bbdc6=>(_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x18a)]=0x0]='UNIVER_UNKNOWN',_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x19b)]=0x1]=_0x3d153c(0x19b),_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x193)]=0x2]=_0x3d153c(0x193),_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x199)]=0x3]=_0x3d153c(0x199),_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x194)]=0x4]=_0x3d153c(0x194),_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x192)]=-0x1]='UNRECOGNIZED',_0x3bbdc6))(i||{});function _0xc08d(_0x3d47c2,_0x51eed0){const _0x84b7a3=_0x84b7();return _0xc08d=function(_0xc08d6a,_0xe6353b){_0xc08d6a=_0xc08d6a-0x188;let _0x505b2a=_0x84b7a3[_0xc08d6a];return _0x505b2a;},_0xc08d(_0x3d47c2,_0x51eed0);}function _0x84b7(){const _0x1c0974=['239541XxXvSS','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','exportXLSXBySnapshotAsync','exportDOCXByUnitIdAsync','UNIVER_UNKNOWN','1524336LZLHqE','IExchangeService','117ZZYNfE','@univerjs/core/facade','4835064eefqra','extend','1104410JgBEHP','UNRECOGNIZED','UNIVER_SHEET','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshot','importXLSXToUnitId','importFileToUnitId','UNIVER_SLIDE','exportDOCXByUnitId','UNIVER_DOC','FUniver','_injector','importXLSXToSnapshot','6yfXXSP','1349929PDqvnq','importXLSXToSnapshotAsync','exportXLSXByUnitId','5322090ToTzeg','exportXLSXBySnapshot','4275784aWlnMK','get','6RVzYyS','importDOCXToUnitId','importDOCXToSnapshotAsync'];_0x84b7=function(){return _0x1c0974;};return _0x84b7();}class c extends o[_0x3d153c(0x19c)]{async[_0x3d153c(0x197)](_0x10e6b9){return this['importXLSXToUnitIdAsync'](_0x10e6b9);}async['importXLSXToUnitIdAsync'](_0x19c981){const _0x42513f=_0x3d153c,_0x176c24=this[_0x42513f(0x19d)]['get'](r[_0x42513f(0x18c)]);if(!_0x176c24)throw new Error(_0x42513f(0x195));return _0x176c24[_0x42513f(0x198)](_0x19c981,i[_0x42513f(0x193)]);}async[_0x3d153c(0x19e)](_0x3fd668){const _0x3fdea1=_0x3d153c;return this[_0x3fdea1(0x1a1)](_0x3fd668);}async['importXLSXToSnapshotAsync'](_0x9a3bbd){const _0x3ac8f1=_0x3d153c,_0x921466=this[_0x3ac8f1(0x19d)][_0x3ac8f1(0x1a6)](r[_0x3ac8f1(0x18c)]);if(!_0x921466)throw new Error(_0x3ac8f1(0x195));return _0x921466['importXLSXToSnapshot'](_0x9a3bbd);}async[_0x3d153c(0x1a2)](_0x249840){const _0x2fff6d=_0x3d153c;return this[_0x2fff6d(0x1ac)](_0x249840);}async['exportXLSXByUnitIdAsync'](_0xc19886){const _0xa119a6=_0x3d153c,_0x4c271d=this[_0xa119a6(0x19d)]['get'](r[_0xa119a6(0x18c)]);if(!_0x4c271d)throw new Error(_0xa119a6(0x195));return _0x4c271d[_0xa119a6(0x1a2)](_0xc19886);}async[_0x3d153c(0x1a4)](_0x1ae259){const _0x48a1dd=_0x3d153c;return this[_0x48a1dd(0x188)](_0x1ae259);}async[_0x3d153c(0x188)](_0x37b35f){const _0x5dae34=_0x3d153c,_0x5e2275=this[_0x5dae34(0x19d)]['get'](r[_0x5dae34(0x18c)]);if(!_0x5e2275)throw new Error(_0x5dae34(0x195));return _0x5e2275['exportXLSXBySnapshot'](_0x37b35f);}async[_0x3d153c(0x1a8)](_0x6a6743){return this['importDOCXToUnitIdAsync'](_0x6a6743);}async['importDOCXToUnitIdAsync'](_0x6f8406){const _0x5e977e=_0x3d153c,_0x45a478=this[_0x5e977e(0x19d)][_0x5e977e(0x1a6)](r[_0x5e977e(0x18c)]);if(!_0x45a478)throw new Error(_0x5e977e(0x195));return _0x45a478['importFileToUnitId'](_0x6f8406,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x4900e4){const _0x4b1405=_0x3d153c;return this[_0x4b1405(0x1a9)](_0x4900e4);}async[_0x3d153c(0x1a9)](_0x236330){const _0x27ca20=_0x3d153c,_0x1dfc3f=this[_0x27ca20(0x19d)]['get'](r[_0x27ca20(0x18c)]);if(!_0x1dfc3f)throw new Error(_0x27ca20(0x195));return _0x1dfc3f[_0x27ca20(0x196)](_0x236330);}async['exportDOCXBySnapshotAsync'](_0x4658b7){const _0x3b1c86=_0x3d153c,_0x483fba=this[_0x3b1c86(0x19d)][_0x3b1c86(0x1a6)](r[_0x3b1c86(0x18c)]);if(!_0x483fba)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x483fba['exportDOCXBySnapshot'](_0x4658b7);}async[_0x3d153c(0x189)](_0x137873){const _0x31e17f=_0x3d153c,_0x4fd69c=this[_0x31e17f(0x19d)]['get'](r[_0x31e17f(0x18c)]);if(!_0x4fd69c)throw new Error(_0x31e17f(0x195));return _0x4fd69c[_0x31e17f(0x19a)](_0x137873);}}o[_0x3d153c(0x19c)][_0x3d153c(0x190)](c);
1
+ 'use strict';const _0x2e9bba=_0x4bab;function _0x4bab(_0x1cd3ef,_0x5b785d){const _0x4026f2=_0x4026();return _0x4bab=function(_0x4bab21,_0x31f01d){_0x4bab21=_0x4bab21-0x18e;let _0x3d98fd=_0x4026f2[_0x4bab21];return _0x3d98fd;},_0x4bab(_0x1cd3ef,_0x5b785d);}(function(_0x5aa368,_0x38736f){const _0x1f4cf8=_0x4bab,_0x376f5d=_0x5aa368();while(!![]){try{const _0x4bc3eb=parseInt(_0x1f4cf8(0x1a8))/0x1+-parseInt(_0x1f4cf8(0x1a3))/0x2*(parseInt(_0x1f4cf8(0x19e))/0x3)+-parseInt(_0x1f4cf8(0x1a5))/0x4+-parseInt(_0x1f4cf8(0x1b2))/0x5*(-parseInt(_0x1f4cf8(0x1b0))/0x6)+parseInt(_0x1f4cf8(0x1a6))/0x7+-parseInt(_0x1f4cf8(0x19d))/0x8+-parseInt(_0x1f4cf8(0x197))/0x9*(-parseInt(_0x1f4cf8(0x195))/0xa);if(_0x4bc3eb===_0x38736f)break;else _0x376f5d['push'](_0x376f5d['shift']());}catch(_0x5b5cb6){_0x376f5d['push'](_0x376f5d['shift']());}}}(_0x4026,0xaf92a));function _0x4026(){const _0x3c989f=['UNIVER_SLIDE','5GqNlZd','importDOCXToSnapshot','exportXLSXByUnitIdAsync','exportDOCXByUnitIdAsync','UNIVER_PROJECT','importXLSXToSnapshot','FUniver','UNIVER_SHEET','extend','UNIVER_DOC','162280iiWPDb','importDOCXToUnitId','126sqTEBn','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','importXLSXToUnitId','821552dEzfsC','3702JjbTwW','exportDOCXByUnitId','importDOCXToSnapshotAsync','exportXLSXByUnitId','UNRECOGNIZED','2012VegWyD','importFileToUnitId','5737132laOqsN','9938215GMOBdt','IExchangeService','940469auQQGT','_injector','get','importXLSXToSnapshotAsync','exportXLSXBySnapshot','UNIVER_UNKNOWN','@univerjs/core/facade','exportDOCXBySnapshot','5460726QqzbJm'];_0x4026=function(){return _0x3c989f;};return _0x4026();}const r=require(_0x2e9bba(0x199)),o=require(_0x2e9bba(0x1ae));var i=(_0x29ae46=>(_0x29ae46[_0x29ae46[_0x2e9bba(0x1ad)]=0x0]=_0x2e9bba(0x1ad),_0x29ae46[_0x29ae46['UNIVER_DOC']=0x1]=_0x2e9bba(0x194),_0x29ae46[_0x29ae46[_0x2e9bba(0x192)]=0x2]=_0x2e9bba(0x192),_0x29ae46[_0x29ae46[_0x2e9bba(0x1b1)]=0x3]='UNIVER_SLIDE',_0x29ae46[_0x29ae46['UNIVER_PROJECT']=0x4]=_0x2e9bba(0x18f),_0x29ae46[_0x29ae46[_0x2e9bba(0x1a2)]=-0x1]=_0x2e9bba(0x1a2),_0x29ae46))(i||{});class c extends o[_0x2e9bba(0x191)]{async[_0x2e9bba(0x19c)](_0xc79deb){return this['importXLSXToUnitIdAsync'](_0xc79deb);}async['importXLSXToUnitIdAsync'](_0x364f89){const _0x5c3ecf=_0x2e9bba,_0x1245d6=this['_injector'][_0x5c3ecf(0x1aa)](r[_0x5c3ecf(0x1a7)]);if(!_0x1245d6)throw new Error(_0x5c3ecf(0x19a));return _0x1245d6[_0x5c3ecf(0x1a4)](_0x364f89,i[_0x5c3ecf(0x192)]);}async[_0x2e9bba(0x190)](_0x4126cb){const _0x4ebf28=_0x2e9bba;return this[_0x4ebf28(0x1ab)](_0x4126cb);}async['importXLSXToSnapshotAsync'](_0x3b81c6){const _0x48b356=_0x2e9bba,_0x14d152=this[_0x48b356(0x1a9)][_0x48b356(0x1aa)](r[_0x48b356(0x1a7)]);if(!_0x14d152)throw new Error(_0x48b356(0x19a));return _0x14d152[_0x48b356(0x190)](_0x3b81c6);}async[_0x2e9bba(0x1a1)](_0xf74ef4){const _0x781dbc=_0x2e9bba;return this[_0x781dbc(0x1b4)](_0xf74ef4);}async[_0x2e9bba(0x1b4)](_0x211d89){const _0x1702be=_0x2e9bba,_0x25e896=this[_0x1702be(0x1a9)][_0x1702be(0x1aa)](r['IExchangeService']);if(!_0x25e896)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25e896['exportXLSXByUnitId'](_0x211d89);}async['exportXLSXBySnapshot'](_0x109b45){const _0xd30f5e=_0x2e9bba;return this[_0xd30f5e(0x198)](_0x109b45);}async[_0x2e9bba(0x198)](_0x132f1f){const _0x3cf56c=_0x2e9bba,_0xced1a3=this[_0x3cf56c(0x1a9)][_0x3cf56c(0x1aa)](r['IExchangeService']);if(!_0xced1a3)throw new Error(_0x3cf56c(0x19a));return _0xced1a3[_0x3cf56c(0x1ac)](_0x132f1f);}async[_0x2e9bba(0x196)](_0x4256f6){return this['importDOCXToUnitIdAsync'](_0x4256f6);}async[_0x2e9bba(0x19b)](_0x4826b2){const _0x4bfbdd=_0x2e9bba,_0x4218fd=this[_0x4bfbdd(0x1a9)][_0x4bfbdd(0x1aa)](r[_0x4bfbdd(0x1a7)]);if(!_0x4218fd)throw new Error(_0x4bfbdd(0x19a));return _0x4218fd[_0x4bfbdd(0x1a4)](_0x4826b2,i[_0x4bfbdd(0x194)]);}async['importDOCXToSnapshot'](_0x37dfe9){const _0x15feaf=_0x2e9bba;return this[_0x15feaf(0x1a0)](_0x37dfe9);}async[_0x2e9bba(0x1a0)](_0x5f5556){const _0x444baf=_0x2e9bba,_0x375985=this[_0x444baf(0x1a9)][_0x444baf(0x1aa)](r[_0x444baf(0x1a7)]);if(!_0x375985)throw new Error(_0x444baf(0x19a));return _0x375985[_0x444baf(0x1b3)](_0x5f5556);}async['exportDOCXBySnapshotAsync'](_0x349937){const _0x4a02a3=_0x2e9bba,_0x5c9e4e=this[_0x4a02a3(0x1a9)][_0x4a02a3(0x1aa)](r[_0x4a02a3(0x1a7)]);if(!_0x5c9e4e)throw new Error(_0x4a02a3(0x19a));return _0x5c9e4e[_0x4a02a3(0x1af)](_0x349937);}async[_0x2e9bba(0x18e)](_0xbb34f2){const _0x132323=_0x2e9bba,_0x1a14b4=this[_0x132323(0x1a9)]['get'](r[_0x132323(0x1a7)]);if(!_0x1a14b4)throw new Error(_0x132323(0x19a));return _0x1a14b4[_0x132323(0x19f)](_0xbb34f2);}}o[_0x2e9bba(0x191)][_0x2e9bba(0x193)](c);