@univerjs-pro/exchange-client 0.6.3-nightly.202503051607 → 0.6.4-nightly.202503101606

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 _0x2d4b(_0x582909,_0xfbaa16){const _0x5319a6=_0x5319();return _0x2d4b=function(_0x2d4bf3,_0x136e25){_0x2d4bf3=_0x2d4bf3-0x1d1;let _0x7750e2=_0x5319a6[_0x2d4bf3];return _0x7750e2;},_0x2d4b(_0x582909,_0xfbaa16);}const _0x1d3513=_0x2d4b;(function(_0x2f075c,_0x246520){const _0x248365=_0x2d4b,_0x1fd7db=_0x2f075c();while(!![]){try{const _0x5d1413=parseInt(_0x248365(0x1ef))/0x1+-parseInt(_0x248365(0x1d1))/0x2+parseInt(_0x248365(0x1ed))/0x3+parseInt(_0x248365(0x1d3))/0x4+parseInt(_0x248365(0x1d9))/0x5+parseInt(_0x248365(0x1de))/0x6+-parseInt(_0x248365(0x1df))/0x7*(parseInt(_0x248365(0x1e0))/0x8);if(_0x5d1413===_0x246520)break;else _0x1fd7db['push'](_0x1fd7db['shift']());}catch(_0x498fff){_0x1fd7db['push'](_0x1fd7db['shift']());}}}(_0x5319,0x20759));function _0x5319(){const _0x86f4b7=['The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','UNIVER_DOC','importFileToUnitId','510055kZTcdR','importXLSXToSnapshot','_injector','get','exportXLSXBySnapshot','1458702HhikUB','15862dccNXk','1048GtHXeR','@univerjs/core/facade','UNIVER_PROJECT','UNIVER_UNKNOWN','FUniver','importXLSXToUnitId','UNIVER_SHEET','IExchangeService','@univerjs-pro/exchange-client','extend','importDOCXToSnapshotAsync','UNRECOGNIZED','UNIVER_SLIDE','472842ucZrQO','importDOCXToUnitIdAsync','62232GOLLga','323216hVrMRI','importDOCXToSnapshot','105732AiuCbe','importXLSXToSnapshotAsync'];_0x5319=function(){return _0x86f4b7;};return _0x5319();}const r=require(_0x1d3513(0x1e8)),i=require(_0x1d3513(0x1e1));var o=(_0x3f9a67=>(_0x3f9a67[_0x3f9a67[_0x1d3513(0x1e3)]=0x0]=_0x1d3513(0x1e3),_0x3f9a67[_0x3f9a67[_0x1d3513(0x1d7)]=0x1]=_0x1d3513(0x1d7),_0x3f9a67[_0x3f9a67[_0x1d3513(0x1e6)]=0x2]=_0x1d3513(0x1e6),_0x3f9a67[_0x3f9a67[_0x1d3513(0x1ec)]=0x3]='UNIVER_SLIDE',_0x3f9a67[_0x3f9a67[_0x1d3513(0x1e2)]=0x4]=_0x1d3513(0x1e2),_0x3f9a67[_0x3f9a67[_0x1d3513(0x1eb)]=-0x1]=_0x1d3513(0x1eb),_0x3f9a67))(o||{});class c extends i[_0x1d3513(0x1e4)]{async[_0x1d3513(0x1e5)](_0x4a1874){const _0x3ce58a=_0x1d3513;return this[_0x3ce58a(0x1d6)](_0x4a1874);}async[_0x1d3513(0x1d6)](_0x27f641){const _0x329c97=_0x1d3513,_0x27b192=this[_0x329c97(0x1db)][_0x329c97(0x1dc)](r[_0x329c97(0x1e7)]);if(!_0x27b192)throw new Error(_0x329c97(0x1d5));return _0x27b192[_0x329c97(0x1d8)](_0x27f641,o[_0x329c97(0x1e6)]);}async[_0x1d3513(0x1da)](_0x3afa7f){const _0x354639=_0x1d3513;return this[_0x354639(0x1d4)](_0x3afa7f);}async[_0x1d3513(0x1d4)](_0x560391){const _0x5f2177=_0x1d3513,_0x3584f9=this[_0x5f2177(0x1db)][_0x5f2177(0x1dc)](r[_0x5f2177(0x1e7)]);if(!_0x3584f9)throw new Error(_0x5f2177(0x1d5));return _0x3584f9[_0x5f2177(0x1da)](_0x560391);}async['exportXLSXByUnitId'](_0x1a03f5){return this['exportXLSXByUnitIdAsync'](_0x1a03f5);}async['exportXLSXByUnitIdAsync'](_0x5395a2){const _0x52ea2b=_0x1d3513,_0x2d9b3a=this['_injector']['get'](r[_0x52ea2b(0x1e7)]);if(!_0x2d9b3a)throw new Error(_0x52ea2b(0x1d5));return _0x2d9b3a['exportXLSXByUnitId'](_0x5395a2);}async[_0x1d3513(0x1dd)](_0x380c11){return this['exportXLSXBySnapshotAsync'](_0x380c11);}async['exportXLSXBySnapshotAsync'](_0x5c7081){const _0x4517d4=_0x1d3513,_0x36647c=this['_injector'][_0x4517d4(0x1dc)](r[_0x4517d4(0x1e7)]);if(!_0x36647c)throw new Error(_0x4517d4(0x1d5));return _0x36647c[_0x4517d4(0x1dd)](_0x5c7081);}async['importDOCXToUnitId'](_0x7f1887){return this['importDOCXToUnitIdAsync'](_0x7f1887);}async[_0x1d3513(0x1ee)](_0x3acd24){const _0x531083=_0x1d3513,_0x43c0d1=this['_injector']['get'](r[_0x531083(0x1e7)]);if(!_0x43c0d1)throw new Error(_0x531083(0x1d5));return _0x43c0d1['importFileToUnitId'](_0x3acd24,o[_0x531083(0x1d7)]);}async[_0x1d3513(0x1d2)](_0x3ebb3d){const _0x185072=_0x1d3513;return this[_0x185072(0x1ea)](_0x3ebb3d);}async['importDOCXToSnapshotAsync'](_0x3094d7){const _0x486256=_0x1d3513,_0x5295bf=this['_injector'][_0x486256(0x1dc)](r[_0x486256(0x1e7)]);if(!_0x5295bf)throw new Error(_0x486256(0x1d5));return _0x5295bf[_0x486256(0x1d2)](_0x3094d7);}}i[_0x1d3513(0x1e4)][_0x1d3513(0x1e9)](c);
1
+ 'use strict';const _0xf6c543=_0x180e;(function(_0x1dd262,_0x391221){const _0x3b6306=_0x180e,_0x4efb0d=_0x1dd262();while(!![]){try{const _0x5d0050=-parseInt(_0x3b6306(0x184))/0x1+parseInt(_0x3b6306(0x16d))/0x2*(-parseInt(_0x3b6306(0x181))/0x3)+parseInt(_0x3b6306(0x17d))/0x4*(parseInt(_0x3b6306(0x176))/0x5)+-parseInt(_0x3b6306(0x18e))/0x6+-parseInt(_0x3b6306(0x17a))/0x7*(-parseInt(_0x3b6306(0x189))/0x8)+parseInt(_0x3b6306(0x188))/0x9*(-parseInt(_0x3b6306(0x16e))/0xa)+parseInt(_0x3b6306(0x179))/0xb;if(_0x5d0050===_0x391221)break;else _0x4efb0d['push'](_0x4efb0d['shift']());}catch(_0x3316c9){_0x4efb0d['push'](_0x4efb0d['shift']());}}}(_0x1d5f,0x61628));const r=require('@univerjs-pro/exchange-client'),i=require(_0xf6c543(0x172));function _0x1d5f(){const _0x2f37a6=['UNIVER_SHEET','218740dqPTAg','3389410ubrGRz','importFileToUnitId','importXLSXToUnitId','importDOCXToUnitId','@univerjs/core/facade','_injector','extend','importDOCXToUnitIdAsync','257215ciWfDT','exportXLSXByUnitId','importDOCXToSnapshot','9232542dxwYfE','83146dceVcu','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','36OCISJK','FUniver','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','18VbHoIk','get','The\x20exchange\x20service\x20is\x20not\x20available','207590XWNUCI','UNIVER_DOC','exportXLSXBySnapshotAsync','importXLSXToSnapshot','9IHpRwq','312qKikGP','UNIVER_PROJECT','importXLSXToUnitIdAsync','IExchangeService','UNIVER_UNKNOWN','983472EZhzqk','UNRECOGNIZED'];_0x1d5f=function(){return _0x2f37a6;};return _0x1d5f();}function _0x180e(_0x30988d,_0xfcc83e){const _0x1d5f98=_0x1d5f();return _0x180e=function(_0x180e4a,_0x217f29){_0x180e4a=_0x180e4a-0x16b;let _0x5f2494=_0x1d5f98[_0x180e4a];return _0x5f2494;},_0x180e(_0x30988d,_0xfcc83e);}var o=(_0x5493f8=>(_0x5493f8[_0x5493f8['UNIVER_UNKNOWN']=0x0]=_0xf6c543(0x18d),_0x5493f8[_0x5493f8[_0xf6c543(0x185)]=0x1]=_0xf6c543(0x185),_0x5493f8[_0x5493f8[_0xf6c543(0x16c)]=0x2]=_0xf6c543(0x16c),_0x5493f8[_0x5493f8['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5493f8[_0x5493f8[_0xf6c543(0x18a)]=0x4]=_0xf6c543(0x18a),_0x5493f8[_0x5493f8[_0xf6c543(0x16b)]=-0x1]=_0xf6c543(0x16b),_0x5493f8))(o||{});class c extends i[_0xf6c543(0x17e)]{async[_0xf6c543(0x170)](_0x453d36){const _0x12da96=_0xf6c543;return this[_0x12da96(0x18b)](_0x453d36);}async['importXLSXToUnitIdAsync'](_0x34696b){const _0x4f43a6=_0xf6c543,_0x5b72b9=this[_0x4f43a6(0x173)]['get'](r[_0x4f43a6(0x18c)]);if(!_0x5b72b9)throw new Error(_0x4f43a6(0x183));return _0x5b72b9[_0x4f43a6(0x16f)](_0x34696b,o[_0x4f43a6(0x16c)]);}async[_0xf6c543(0x187)](_0x3049d3){const _0x2d460e=_0xf6c543;return this[_0x2d460e(0x17c)](_0x3049d3);}async[_0xf6c543(0x17c)](_0x17dd69){const _0x3cf9ae=_0xf6c543,_0x2430eb=this[_0x3cf9ae(0x173)]['get'](r[_0x3cf9ae(0x18c)]);if(!_0x2430eb)throw new Error(_0x3cf9ae(0x183));return _0x2430eb[_0x3cf9ae(0x187)](_0x17dd69);}async[_0xf6c543(0x177)](_0x28849c){const _0x1d70b4=_0xf6c543;return this[_0x1d70b4(0x180)](_0x28849c);}async['exportXLSXByUnitIdAsync'](_0x4fd313){const _0x5826b3=_0xf6c543,_0x2586ef=this['_injector'][_0x5826b3(0x182)](r[_0x5826b3(0x18c)]);if(!_0x2586ef)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2586ef[_0x5826b3(0x177)](_0x4fd313);}async[_0xf6c543(0x17f)](_0x3e7fae){return this['exportXLSXBySnapshotAsync'](_0x3e7fae);}async[_0xf6c543(0x186)](_0x122b86){const _0x648537=_0xf6c543,_0x4ad2e2=this[_0x648537(0x173)][_0x648537(0x182)](r[_0x648537(0x18c)]);if(!_0x4ad2e2)throw new Error(_0x648537(0x183));return _0x4ad2e2[_0x648537(0x17f)](_0x122b86);}async[_0xf6c543(0x171)](_0x1d29d2){const _0x37de01=_0xf6c543;return this[_0x37de01(0x175)](_0x1d29d2);}async[_0xf6c543(0x175)](_0x6dd889){const _0x806141=_0xf6c543,_0x59aaeb=this[_0x806141(0x173)]['get'](r[_0x806141(0x18c)]);if(!_0x59aaeb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x59aaeb[_0x806141(0x16f)](_0x6dd889,o[_0x806141(0x185)]);}async[_0xf6c543(0x178)](_0x4571ce){const _0x56c257=_0xf6c543;return this[_0x56c257(0x17b)](_0x4571ce);}async[_0xf6c543(0x17b)](_0x4dc551){const _0x504072=_0xf6c543,_0x5516ad=this[_0x504072(0x173)][_0x504072(0x182)](r[_0x504072(0x18c)]);if(!_0x5516ad)throw new Error(_0x504072(0x183));return _0x5516ad[_0x504072(0x178)](_0x4dc551);}}i[_0xf6c543(0x17e)][_0xf6c543(0x174)](c);