@univerjs-pro/exchange-client 0.6.10-nightly.202504141607 → 0.6.10-nightly.202504161609

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 _0x35c9(){const _0x3cf074=['importXLSXToSnapshot','importXLSXToUnitId','11SyfjcM','FUniver','UNIVER_SLIDE','18phkXBB','get','importFileToUnitId','937701MoyZSs','20071jhzQCg','exportXLSXByUnitIdAsync','UNIVER_DOC','@univerjs/core/facade','exportXLSXBySnapshot','The\x20exchange\x20service\x20is\x20not\x20available','7puIwBZ','importDOCXToSnapshotAsync','_injector','exportXLSXBySnapshotAsync','2812248NVJdmG','6919190WBjkFr','UNIVER_UNKNOWN','IExchangeService','UNIVER_SHEET','@univerjs-pro/exchange-client','415xjUIeC','42BmWXgY','importXLSXToUnitIdAsync','UNRECOGNIZED','UNIVER_PROJECT','importDOCXToUnitId','879960BciJwV','13386lIDTlA','importXLSXToSnapshotAsync','extend','462468hnURwj'];_0x35c9=function(){return _0x3cf074;};return _0x35c9();}const _0x338700=_0x4d10;function _0x4d10(_0xadf285,_0x22365e){const _0x35c950=_0x35c9();return _0x4d10=function(_0x4d101c,_0x50b905){_0x4d101c=_0x4d101c-0x6e;let _0x5212f7=_0x35c950[_0x4d101c];return _0x5212f7;},_0x4d10(_0xadf285,_0x22365e);}(function(_0x3271e7,_0x531f2b){const _0x4b065b=_0x4d10,_0x47da35=_0x3271e7();while(!![]){try{const _0xc60494=parseInt(_0x4b065b(0x8e))/0x1*(-parseInt(_0x4b065b(0x7b))/0x2)+parseInt(_0x4b065b(0x8a))/0x3*(parseInt(_0x4b065b(0x84))/0x4)+-parseInt(_0x4b065b(0x7a))/0x5*(parseInt(_0x4b065b(0x81))/0x6)+-parseInt(_0x4b065b(0x70))/0x7*(parseInt(_0x4b065b(0x74))/0x8)+-parseInt(_0x4b065b(0x8d))/0x9+parseInt(_0x4b065b(0x75))/0xa+-parseInt(_0x4b065b(0x87))/0xb*(-parseInt(_0x4b065b(0x80))/0xc);if(_0xc60494===_0x531f2b)break;else _0x47da35['push'](_0x47da35['shift']());}catch(_0x89a3ab){_0x47da35['push'](_0x47da35['shift']());}}}(_0x35c9,0x60d17));const r=require(_0x338700(0x79)),i=require(_0x338700(0x91));var o=(_0x4593bb=>(_0x4593bb[_0x4593bb[_0x338700(0x76)]=0x0]=_0x338700(0x76),_0x4593bb[_0x4593bb[_0x338700(0x90)]=0x1]=_0x338700(0x90),_0x4593bb[_0x4593bb['UNIVER_SHEET']=0x2]=_0x338700(0x78),_0x4593bb[_0x4593bb[_0x338700(0x89)]=0x3]='UNIVER_SLIDE',_0x4593bb[_0x4593bb[_0x338700(0x7e)]=0x4]=_0x338700(0x7e),_0x4593bb[_0x4593bb[_0x338700(0x7d)]=-0x1]='UNRECOGNIZED',_0x4593bb))(o||{});class c extends i[_0x338700(0x88)]{async[_0x338700(0x86)](_0x290bbf){const _0x2221ea=_0x338700;return this[_0x2221ea(0x7c)](_0x290bbf);}async[_0x338700(0x7c)](_0x690910){const _0x431862=_0x338700,_0x4a9b57=this[_0x431862(0x72)][_0x431862(0x8b)](r[_0x431862(0x77)]);if(!_0x4a9b57)throw new Error(_0x431862(0x6f));return _0x4a9b57['importFileToUnitId'](_0x690910,o[_0x431862(0x78)]);}async[_0x338700(0x85)](_0x2d663a){const _0xbdba65=_0x338700;return this[_0xbdba65(0x82)](_0x2d663a);}async[_0x338700(0x82)](_0x393d7e){const _0x31a272=_0x338700,_0x2c6abf=this[_0x31a272(0x72)][_0x31a272(0x8b)](r[_0x31a272(0x77)]);if(!_0x2c6abf)throw new Error(_0x31a272(0x6f));return _0x2c6abf['importXLSXToSnapshot'](_0x393d7e);}async['exportXLSXByUnitId'](_0x17d604){const _0x3ab76c=_0x338700;return this[_0x3ab76c(0x8f)](_0x17d604);}async['exportXLSXByUnitIdAsync'](_0x14086a){const _0x310276=_0x338700,_0x3d3930=this['_injector'][_0x310276(0x8b)](r[_0x310276(0x77)]);if(!_0x3d3930)throw new Error(_0x310276(0x6f));return _0x3d3930['exportXLSXByUnitId'](_0x14086a);}async[_0x338700(0x6e)](_0x3d8b4c){const _0x24c25a=_0x338700;return this[_0x24c25a(0x73)](_0x3d8b4c);}async['exportXLSXBySnapshotAsync'](_0x403467){const _0x863428=_0x338700,_0x2c2a91=this['_injector'][_0x863428(0x8b)](r['IExchangeService']);if(!_0x2c2a91)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c2a91[_0x863428(0x6e)](_0x403467);}async[_0x338700(0x7f)](_0x351a44){return this['importDOCXToUnitIdAsync'](_0x351a44);}async['importDOCXToUnitIdAsync'](_0x324873){const _0x172f66=_0x338700,_0xca6ab2=this['_injector'][_0x172f66(0x8b)](r[_0x172f66(0x77)]);if(!_0xca6ab2)throw new Error(_0x172f66(0x6f));return _0xca6ab2[_0x172f66(0x8c)](_0x324873,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0xa2ef27){const _0x568174=_0x338700;return this[_0x568174(0x71)](_0xa2ef27);}async[_0x338700(0x71)](_0x303624){const _0x5976d7=_0x338700,_0x24ea4f=this[_0x5976d7(0x72)]['get'](r[_0x5976d7(0x77)]);if(!_0x24ea4f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x24ea4f['importDOCXToSnapshot'](_0x303624);}}i[_0x338700(0x88)][_0x338700(0x83)](c);
1
+ 'use strict';function _0x4e53(_0xada163,_0x3ff7c3){const _0x4e6d72=_0x4e6d();return _0x4e53=function(_0x4e537e,_0x5eee9e){_0x4e537e=_0x4e537e-0x150;let _0x9e27d3=_0x4e6d72[_0x4e537e];return _0x9e27d3;},_0x4e53(_0xada163,_0x3ff7c3);}const _0x1bf716=_0x4e53;(function(_0x69c815,_0x27fc79){const _0x12fa9d=_0x4e53,_0x5cefa5=_0x69c815();while(!![]){try{const _0xa60422=parseInt(_0x12fa9d(0x150))/0x1+parseInt(_0x12fa9d(0x151))/0x2+parseInt(_0x12fa9d(0x15d))/0x3+parseInt(_0x12fa9d(0x16b))/0x4+parseInt(_0x12fa9d(0x159))/0x5+-parseInt(_0x12fa9d(0x169))/0x6*(-parseInt(_0x12fa9d(0x15b))/0x7)+parseInt(_0x12fa9d(0x16f))/0x8*(-parseInt(_0x12fa9d(0x170))/0x9);if(_0xa60422===_0x27fc79)break;else _0x5cefa5['push'](_0x5cefa5['shift']());}catch(_0x273c02){_0x5cefa5['push'](_0x5cefa5['shift']());}}}(_0x4e6d,0x50bad));const r=require(_0x1bf716(0x16e)),i=require(_0x1bf716(0x167));var o=(_0x2bb1df=>(_0x2bb1df[_0x2bb1df[_0x1bf716(0x161)]=0x0]='UNIVER_UNKNOWN',_0x2bb1df[_0x2bb1df[_0x1bf716(0x164)]=0x1]='UNIVER_DOC',_0x2bb1df[_0x2bb1df[_0x1bf716(0x157)]=0x2]=_0x1bf716(0x157),_0x2bb1df[_0x2bb1df[_0x1bf716(0x162)]=0x3]=_0x1bf716(0x162),_0x2bb1df[_0x2bb1df[_0x1bf716(0x156)]=0x4]=_0x1bf716(0x156),_0x2bb1df[_0x2bb1df[_0x1bf716(0x153)]=-0x1]=_0x1bf716(0x153),_0x2bb1df))(o||{});function _0x4e6d(){const _0x2857b4=['18Wgacyq','importXLSXToSnapshot','707652UhGAet','FUniver','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','1157128EXtsPv','117ccWSMM','The\x20exchange\x20service\x20is\x20not\x20available','521627TiZhmN','143312qBwpVj','_injector','UNRECOGNIZED','importXLSXToUnitIdAsync','exportXLSXBySnapshot','UNIVER_PROJECT','UNIVER_SHEET','importDOCXToSnapshot','2510240jvSlbg','exportXLSXByUnitId','844011CbZydh','importFileToUnitId','1731117XfQKaQ','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','IExchangeService','UNIVER_UNKNOWN','UNIVER_SLIDE','importDOCXToSnapshotAsync','UNIVER_DOC','importXLSXToSnapshotAsync','extend','@univerjs/core/facade','get'];_0x4e6d=function(){return _0x2857b4;};return _0x4e6d();}class c extends i[_0x1bf716(0x16c)]{async['importXLSXToUnitId'](_0x2f46ea){const _0x1c803a=_0x1bf716;return this[_0x1c803a(0x154)](_0x2f46ea);}async[_0x1bf716(0x154)](_0x16e8b5){const _0x32d6a4=_0x1bf716,_0x2348de=this[_0x32d6a4(0x152)][_0x32d6a4(0x168)](r[_0x32d6a4(0x160)]);if(!_0x2348de)throw new Error(_0x32d6a4(0x171));return _0x2348de['importFileToUnitId'](_0x16e8b5,o[_0x32d6a4(0x157)]);}async[_0x1bf716(0x16a)](_0x496f31){const _0x23fb38=_0x1bf716;return this[_0x23fb38(0x165)](_0x496f31);}async['importXLSXToSnapshotAsync'](_0xcc3f05){const _0x5e5670=_0x1bf716,_0x10ddab=this[_0x5e5670(0x152)][_0x5e5670(0x168)](r[_0x5e5670(0x160)]);if(!_0x10ddab)throw new Error(_0x5e5670(0x171));return _0x10ddab[_0x5e5670(0x16a)](_0xcc3f05);}async[_0x1bf716(0x15a)](_0x16e524){const _0x3aea6e=_0x1bf716;return this[_0x3aea6e(0x15e)](_0x16e524);}async[_0x1bf716(0x15e)](_0x44b3d1){const _0x37dbbf=_0x1bf716,_0x265c59=this[_0x37dbbf(0x152)][_0x37dbbf(0x168)](r['IExchangeService']);if(!_0x265c59)throw new Error(_0x37dbbf(0x171));return _0x265c59['exportXLSXByUnitId'](_0x44b3d1);}async[_0x1bf716(0x155)](_0x211706){const _0x41aa8c=_0x1bf716;return this[_0x41aa8c(0x16d)](_0x211706);}async['exportXLSXBySnapshotAsync'](_0x28c125){const _0x50b839=_0x1bf716,_0xa10282=this['_injector'][_0x50b839(0x168)](r[_0x50b839(0x160)]);if(!_0xa10282)throw new Error(_0x50b839(0x171));return _0xa10282['exportXLSXBySnapshot'](_0x28c125);}async['importDOCXToUnitId'](_0x165c45){return this['importDOCXToUnitIdAsync'](_0x165c45);}async[_0x1bf716(0x15f)](_0x466953){const _0x291ff8=_0x1bf716,_0x1f54f9=this[_0x291ff8(0x152)][_0x291ff8(0x168)](r[_0x291ff8(0x160)]);if(!_0x1f54f9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1f54f9[_0x291ff8(0x15c)](_0x466953,o[_0x291ff8(0x164)]);}async[_0x1bf716(0x158)](_0x1eb01b){const _0x555674=_0x1bf716;return this[_0x555674(0x163)](_0x1eb01b);}async[_0x1bf716(0x163)](_0xf60088){const _0x328636=_0x1bf716,_0xdde8c4=this[_0x328636(0x152)][_0x328636(0x168)](r[_0x328636(0x160)]);if(!_0xdde8c4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xdde8c4[_0x328636(0x158)](_0xf60088);}}i[_0x1bf716(0x16c)][_0x1bf716(0x166)](c);