@univerjs-pro/exchange-client 0.6.6-nightly.202503241607 → 0.6.6-nightly.202503251606

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 _0x3819b3=_0x4c03;function _0x341d(){const _0x339305=['17586xqgwHO','4539174vklNFP','importXLSXToSnapshot','210239MotWBT','UNIVER_DOC','201520GoqEqy','exportXLSXBySnapshot','@univerjs/core/facade','UNIVER_PROJECT','46zjKMXV','UNIVER_SLIDE','UNRECOGNIZED','7437549jhjMJx','importDOCXToSnapshotAsync','459rZcABi','importXLSXToUnitIdAsync','extend','exportXLSXByUnitIdAsync','importDOCXToSnapshot','importXLSXToSnapshotAsync','6909760HhxaKJ','importFileToUnitId','exportXLSXByUnitId','UNIVER_SHEET','importDOCXToUnitIdAsync','IExchangeService','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','_injector','get','importDOCXToUnitId','358032zUPmuW','UNIVER_UNKNOWN','FUniver'];_0x341d=function(){return _0x339305;};return _0x341d();}(function(_0x54e570,_0x3b56e8){const _0x633f12=_0x4c03,_0x1fd9de=_0x54e570();while(!![]){try{const _0x5d3d80=parseInt(_0x633f12(0x206))/0x1+-parseInt(_0x633f12(0x20c))/0x2*(parseInt(_0x633f12(0x203))/0x3)+-parseInt(_0x633f12(0x1f5))/0x4+-parseInt(_0x633f12(0x208))/0x5+-parseInt(_0x633f12(0x204))/0x6+parseInt(_0x633f12(0x1ed))/0x7+parseInt(_0x633f12(0x200))/0x8*(parseInt(_0x633f12(0x1ef))/0x9);if(_0x5d3d80===_0x3b56e8)break;else _0x1fd9de['push'](_0x1fd9de['shift']());}catch(_0x1bf686){_0x1fd9de['push'](_0x1fd9de['shift']());}}}(_0x341d,0xdac65));function _0x4c03(_0x192241,_0x129e94){const _0x341d68=_0x341d();return _0x4c03=function(_0x4c03cc,_0x11b611){_0x4c03cc=_0x4c03cc-0x1ec;let _0x89e33a=_0x341d68[_0x4c03cc];return _0x89e33a;},_0x4c03(_0x192241,_0x129e94);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x3819b3(0x20a));var o=(_0x1ef030=>(_0x1ef030[_0x1ef030['UNIVER_UNKNOWN']=0x0]=_0x3819b3(0x201),_0x1ef030[_0x1ef030['UNIVER_DOC']=0x1]=_0x3819b3(0x207),_0x1ef030[_0x1ef030[_0x3819b3(0x1f8)]=0x2]=_0x3819b3(0x1f8),_0x1ef030[_0x1ef030[_0x3819b3(0x20d)]=0x3]=_0x3819b3(0x20d),_0x1ef030[_0x1ef030[_0x3819b3(0x20b)]=0x4]='UNIVER_PROJECT',_0x1ef030[_0x1ef030[_0x3819b3(0x1ec)]=-0x1]=_0x3819b3(0x1ec),_0x1ef030))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0xd251b4){return this['importXLSXToUnitIdAsync'](_0xd251b4);}async[_0x3819b3(0x1f0)](_0x11add7){const _0xcaae79=_0x3819b3,_0x1a6538=this['_injector'][_0xcaae79(0x1fe)](r[_0xcaae79(0x1fa)]);if(!_0x1a6538)throw new Error(_0xcaae79(0x1fc));return _0x1a6538[_0xcaae79(0x1f6)](_0x11add7,o[_0xcaae79(0x1f8)]);}async[_0x3819b3(0x205)](_0x4831a6){const _0x404ffb=_0x3819b3;return this[_0x404ffb(0x1f4)](_0x4831a6);}async[_0x3819b3(0x1f4)](_0x2eed84){const _0x2fdc8e=_0x3819b3,_0x4f6c59=this[_0x2fdc8e(0x1fd)]['get'](r[_0x2fdc8e(0x1fa)]);if(!_0x4f6c59)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4f6c59[_0x2fdc8e(0x205)](_0x2eed84);}async['exportXLSXByUnitId'](_0x1d3254){const _0x3fe6f8=_0x3819b3;return this[_0x3fe6f8(0x1f2)](_0x1d3254);}async[_0x3819b3(0x1f2)](_0x1890f5){const _0xeaef1b=_0x3819b3,_0x306238=this[_0xeaef1b(0x1fd)][_0xeaef1b(0x1fe)](r['IExchangeService']);if(!_0x306238)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x306238[_0xeaef1b(0x1f7)](_0x1890f5);}async[_0x3819b3(0x209)](_0x58da82){const _0x49ad28=_0x3819b3;return this[_0x49ad28(0x1fb)](_0x58da82);}async[_0x3819b3(0x1fb)](_0x31a047){const _0x144294=_0x3819b3,_0x2b646a=this[_0x144294(0x1fd)][_0x144294(0x1fe)](r[_0x144294(0x1fa)]);if(!_0x2b646a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2b646a[_0x144294(0x209)](_0x31a047);}async[_0x3819b3(0x1ff)](_0x4832c0){return this['importDOCXToUnitIdAsync'](_0x4832c0);}async[_0x3819b3(0x1f9)](_0x1fe727){const _0x32c47a=_0x3819b3,_0x405872=this[_0x32c47a(0x1fd)][_0x32c47a(0x1fe)](r[_0x32c47a(0x1fa)]);if(!_0x405872)throw new Error(_0x32c47a(0x1fc));return _0x405872[_0x32c47a(0x1f6)](_0x1fe727,o[_0x32c47a(0x207)]);}async[_0x3819b3(0x1f3)](_0x27abd9){const _0x2bbdf2=_0x3819b3;return this[_0x2bbdf2(0x1ee)](_0x27abd9);}async[_0x3819b3(0x1ee)](_0x14af69){const _0x246d05=_0x3819b3,_0x3c6da1=this['_injector'][_0x246d05(0x1fe)](r[_0x246d05(0x1fa)]);if(!_0x3c6da1)throw new Error(_0x246d05(0x1fc));return _0x3c6da1['importDOCXToSnapshot'](_0x14af69);}}i[_0x3819b3(0x202)][_0x3819b3(0x1f1)](c);
1
+ 'use strict';const _0x5b74f2=_0x18e7;function _0x3586(){const _0x12e09c=['importDOCXToSnapshot','importXLSXToSnapshot','6nctjXl','@univerjs/core/facade','get','1419942CIASKp','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importXLSXToUnitId','UNIVER_PROJECT','12905xDmBwv','UNIVER_DOC','1068emiaWf','exportXLSXByUnitId','9pemBkA','6646272ZqAZFX','FUniver','UNIVER_SLIDE','UNRECOGNIZED','UNIVER_UNKNOWN','_injector','importDOCXToUnitIdAsync','IExchangeService','@univerjs-pro/exchange-client','extend','482436mBacCT','importDOCXToSnapshotAsync','2060548TMnAuk','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','importXLSXToUnitIdAsync','6142770YvcfBY','1534002fCaGWQ'];_0x3586=function(){return _0x12e09c;};return _0x3586();}(function(_0x3193a4,_0x38ba1d){const _0x3d9b5e=_0x18e7,_0x592f92=_0x3193a4();while(!![]){try{const _0xb7cc7d=-parseInt(_0x3d9b5e(0x1c0))/0x1+parseInt(_0x3d9b5e(0x1c7))/0x2+-parseInt(_0x3d9b5e(0x1cd))/0x3+parseInt(_0x3d9b5e(0x1b3))/0x4*(-parseInt(_0x3d9b5e(0x1b1))/0x5)+parseInt(_0x3d9b5e(0x1ca))/0x6*(parseInt(_0x3d9b5e(0x1c2))/0x7)+parseInt(_0x3d9b5e(0x1b6))/0x8*(parseInt(_0x3d9b5e(0x1b5))/0x9)+parseInt(_0x3d9b5e(0x1c6))/0xa;if(_0xb7cc7d===_0x38ba1d)break;else _0x592f92['push'](_0x592f92['shift']());}catch(_0x18087c){_0x592f92['push'](_0x592f92['shift']());}}}(_0x3586,0xd256d));function _0x18e7(_0x1fcefd,_0x1279bf){const _0x35862f=_0x3586();return _0x18e7=function(_0x18e7a8,_0x19cec1){_0x18e7a8=_0x18e7a8-0x1ad;let _0x35d09d=_0x35862f[_0x18e7a8];return _0x35d09d;},_0x18e7(_0x1fcefd,_0x1279bf);}const r=require(_0x5b74f2(0x1be)),i=require(_0x5b74f2(0x1cb));var o=(_0x4fcad9=>(_0x4fcad9[_0x4fcad9[_0x5b74f2(0x1ba)]=0x0]=_0x5b74f2(0x1ba),_0x4fcad9[_0x4fcad9['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x4fcad9[_0x4fcad9[_0x5b74f2(0x1cf)]=0x2]='UNIVER_SHEET',_0x4fcad9[_0x4fcad9[_0x5b74f2(0x1b8)]=0x3]=_0x5b74f2(0x1b8),_0x4fcad9[_0x4fcad9[_0x5b74f2(0x1b0)]=0x4]='UNIVER_PROJECT',_0x4fcad9[_0x4fcad9[_0x5b74f2(0x1b9)]=-0x1]=_0x5b74f2(0x1b9),_0x4fcad9))(o||{});class c extends i[_0x5b74f2(0x1b7)]{async[_0x5b74f2(0x1af)](_0x3b9e9b){return this['importXLSXToUnitIdAsync'](_0x3b9e9b);}async[_0x5b74f2(0x1c5)](_0x316e5b){const _0x4961b7=_0x5b74f2,_0x42a2ce=this['_injector'][_0x4961b7(0x1cc)](r[_0x4961b7(0x1bd)]);if(!_0x42a2ce)throw new Error(_0x4961b7(0x1ce));return _0x42a2ce['importFileToUnitId'](_0x316e5b,o['UNIVER_SHEET']);}async[_0x5b74f2(0x1c9)](_0x3658f0){const _0x119b6f=_0x5b74f2;return this[_0x119b6f(0x1ae)](_0x3658f0);}async[_0x5b74f2(0x1ae)](_0x331602){const _0x452b21=_0x5b74f2,_0x158e71=this[_0x452b21(0x1bb)]['get'](r[_0x452b21(0x1bd)]);if(!_0x158e71)throw new Error(_0x452b21(0x1ce));return _0x158e71[_0x452b21(0x1c9)](_0x331602);}async[_0x5b74f2(0x1b4)](_0x352b60){const _0x1eb64a=_0x5b74f2;return this[_0x1eb64a(0x1ad)](_0x352b60);}async[_0x5b74f2(0x1ad)](_0xbc7b3e){const _0x205b1f=_0x5b74f2,_0x45385d=this['_injector'][_0x205b1f(0x1cc)](r[_0x205b1f(0x1bd)]);if(!_0x45385d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45385d['exportXLSXByUnitId'](_0xbc7b3e);}async['exportXLSXBySnapshot'](_0x4476a7){const _0x286e5d=_0x5b74f2;return this[_0x286e5d(0x1c3)](_0x4476a7);}async['exportXLSXBySnapshotAsync'](_0x29f07f){const _0x3d57d1=_0x5b74f2,_0xcd6a72=this[_0x3d57d1(0x1bb)][_0x3d57d1(0x1cc)](r[_0x3d57d1(0x1bd)]);if(!_0xcd6a72)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xcd6a72[_0x3d57d1(0x1c4)](_0x29f07f);}async['importDOCXToUnitId'](_0x31bdac){return this['importDOCXToUnitIdAsync'](_0x31bdac);}async[_0x5b74f2(0x1bc)](_0x354fee){const _0x2688d8=_0x5b74f2,_0x2c92df=this[_0x2688d8(0x1bb)][_0x2688d8(0x1cc)](r['IExchangeService']);if(!_0x2c92df)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c92df['importFileToUnitId'](_0x354fee,o[_0x2688d8(0x1b2)]);}async[_0x5b74f2(0x1c8)](_0x21bf16){const _0x1537c2=_0x5b74f2;return this[_0x1537c2(0x1c1)](_0x21bf16);}async[_0x5b74f2(0x1c1)](_0x2e14be){const _0x32c98c=_0x5b74f2,_0x365b4a=this[_0x32c98c(0x1bb)]['get'](r[_0x32c98c(0x1bd)]);if(!_0x365b4a)throw new Error(_0x32c98c(0x1ce));return _0x365b4a['importDOCXToSnapshot'](_0x2e14be);}}i['FUniver'][_0x5b74f2(0x1bf)](c);