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

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 _0x4523(){const _0x18d9a7=['exportXLSXBySnapshotAsync','get','importXLSXToSnapshot','extend','importDOCXToSnapshot','@univerjs-pro/exchange-client','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','788nDJpfZ','13820679uGQzFX','_injector','1440JnHhNv','FUniver','1156716dKItgh','exportDOCXBySnapshot','importFileToUnitId','679728YOJUKX','exportXLSXBySnapshot','importDOCXToSnapshotAsync','345VxUkfE','UNIVER_DOC','UNIVER_SHEET','324ptOrsf','UNIVER_UNKNOWN','UNIVER_SLIDE','2715881yAjZeg','The\x20exchange\x20service\x20is\x20not\x20available','3793512XCmnSu','exportXLSXByUnitId','importDOCXToUnitId','@univerjs/core/facade','exportXLSXByUnitIdAsync','IExchangeService','importDOCXToUnitIdAsync','UNRECOGNIZED','exportDOCXByUnitId','exportDOCXBySnapshotAsync'];_0x4523=function(){return _0x18d9a7;};return _0x4523();}function _0x5b9b(_0x1dedb4,_0x2b249e){const _0x4523b0=_0x4523();return _0x5b9b=function(_0x5b9b86,_0x469b96){_0x5b9b86=_0x5b9b86-0xf5;let _0x33e09e=_0x4523b0[_0x5b9b86];return _0x33e09e;},_0x5b9b(_0x1dedb4,_0x2b249e);}const _0x3acc44=_0x5b9b;(function(_0x123801,_0x4d69ce){const _0x26065a=_0x5b9b,_0x1b257f=_0x123801();while(!![]){try{const _0x3cf2da=-parseInt(_0x26065a(0x103))/0x1+-parseInt(_0x26065a(0x109))/0x2*(parseInt(_0x26065a(0xfe))/0x3)+-parseInt(_0x26065a(0xfb))/0x4*(parseInt(_0x26065a(0x106))/0x5)+-parseInt(_0x26065a(0x100))/0x6+parseInt(_0x26065a(0x10c))/0x7+-parseInt(_0x26065a(0x10e))/0x8+parseInt(_0x26065a(0xfc))/0x9;if(_0x3cf2da===_0x4d69ce)break;else _0x1b257f['push'](_0x1b257f['shift']());}catch(_0x2cce46){_0x1b257f['push'](_0x1b257f['shift']());}}}(_0x4523,0x768b6));const r=require(_0x3acc44(0xf8)),o=require(_0x3acc44(0x111));var i=(_0x1e5008=>(_0x1e5008[_0x1e5008[_0x3acc44(0x10a)]=0x0]=_0x3acc44(0x10a),_0x1e5008[_0x1e5008[_0x3acc44(0x107)]=0x1]=_0x3acc44(0x107),_0x1e5008[_0x1e5008[_0x3acc44(0x108)]=0x2]=_0x3acc44(0x108),_0x1e5008[_0x1e5008[_0x3acc44(0x10b)]=0x3]='UNIVER_SLIDE',_0x1e5008[_0x1e5008['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1e5008[_0x1e5008[_0x3acc44(0x115)]=-0x1]=_0x3acc44(0x115),_0x1e5008))(i||{});class c extends o[_0x3acc44(0xff)]{async['importXLSXToUnitId'](_0x5ccc65){return this['importXLSXToUnitIdAsync'](_0x5ccc65);}async[_0x3acc44(0xfa)](_0x25142d){const _0x1f9a89=_0x3acc44,_0x3be3ca=this[_0x1f9a89(0xfd)][_0x1f9a89(0x119)](r[_0x1f9a89(0x113)]);if(!_0x3be3ca)throw new Error(_0x1f9a89(0x10d));return _0x3be3ca[_0x1f9a89(0x102)](_0x25142d,i['UNIVER_SHEET']);}async[_0x3acc44(0xf5)](_0x4e8cd3){const _0x37329d=_0x3acc44;return this[_0x37329d(0xf9)](_0x4e8cd3);}async['importXLSXToSnapshotAsync'](_0x3c8a23){const _0xfecf6b=_0x3acc44,_0x2c02ea=this[_0xfecf6b(0xfd)][_0xfecf6b(0x119)](r[_0xfecf6b(0x113)]);if(!_0x2c02ea)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c02ea[_0xfecf6b(0xf5)](_0x3c8a23);}async[_0x3acc44(0x10f)](_0x432e04){const _0x3e2d40=_0x3acc44;return this[_0x3e2d40(0x112)](_0x432e04);}async[_0x3acc44(0x112)](_0x974172){const _0xf9bafc=_0x3acc44,_0x527cee=this[_0xf9bafc(0xfd)][_0xf9bafc(0x119)](r[_0xf9bafc(0x113)]);if(!_0x527cee)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x527cee[_0xf9bafc(0x10f)](_0x974172);}async[_0x3acc44(0x104)](_0x130dca){const _0x1dc630=_0x3acc44;return this[_0x1dc630(0x118)](_0x130dca);}async[_0x3acc44(0x118)](_0x5e2943){const _0x51ff64=_0x3acc44,_0x1a2662=this[_0x51ff64(0xfd)][_0x51ff64(0x119)](r[_0x51ff64(0x113)]);if(!_0x1a2662)throw new Error(_0x51ff64(0x10d));return _0x1a2662[_0x51ff64(0x104)](_0x5e2943);}async[_0x3acc44(0x110)](_0x440b00){return this['importDOCXToUnitIdAsync'](_0x440b00);}async[_0x3acc44(0x114)](_0x2dc137){const _0x62e6af=_0x3acc44,_0x26ce41=this[_0x62e6af(0xfd)][_0x62e6af(0x119)](r[_0x62e6af(0x113)]);if(!_0x26ce41)throw new Error(_0x62e6af(0x10d));return _0x26ce41[_0x62e6af(0x102)](_0x2dc137,i[_0x62e6af(0x107)]);}async[_0x3acc44(0xf7)](_0x43311c){const _0x538d72=_0x3acc44;return this[_0x538d72(0x105)](_0x43311c);}async[_0x3acc44(0x105)](_0x110c37){const _0x34e6ef=_0x3acc44,_0x4acbe4=this[_0x34e6ef(0xfd)][_0x34e6ef(0x119)](r[_0x34e6ef(0x113)]);if(!_0x4acbe4)throw new Error(_0x34e6ef(0x10d));return _0x4acbe4[_0x34e6ef(0xf7)](_0x110c37);}async[_0x3acc44(0x117)](_0x4eb202){const _0x347808=_0x3acc44,_0x29dde7=this['_injector'][_0x347808(0x119)](r[_0x347808(0x113)]);if(!_0x29dde7)throw new Error(_0x347808(0x10d));return _0x29dde7[_0x347808(0x101)](_0x4eb202);}async['exportDOCXByUnitIdAsync'](_0x4f1dc8){const _0x194188=_0x3acc44,_0x4e399a=this[_0x194188(0xfd)][_0x194188(0x119)](r[_0x194188(0x113)]);if(!_0x4e399a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4e399a[_0x194188(0x116)](_0x4f1dc8);}}o[_0x3acc44(0xff)][_0x3acc44(0xf6)](c);
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);