@univerjs-pro/exchange-client 0.7.0-nightly.202505201607 → 0.7.0-nightly.202505211607

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 _0x45746e=_0x209e;(function(_0x1a9396,_0x3ae7c9){const _0x5e828c=_0x209e,_0x3a4ee5=_0x1a9396();while(!![]){try{const _0x4578aa=-parseInt(_0x5e828c(0x109))/0x1*(-parseInt(_0x5e828c(0x112))/0x2)+parseInt(_0x5e828c(0x120))/0x3*(-parseInt(_0x5e828c(0x118))/0x4)+parseInt(_0x5e828c(0x123))/0x5*(-parseInt(_0x5e828c(0x12d))/0x6)+parseInt(_0x5e828c(0x116))/0x7+-parseInt(_0x5e828c(0x11c))/0x8*(-parseInt(_0x5e828c(0x126))/0x9)+-parseInt(_0x5e828c(0x10e))/0xa*(parseInt(_0x5e828c(0x115))/0xb)+parseInt(_0x5e828c(0x128))/0xc;if(_0x4578aa===_0x3ae7c9)break;else _0x3a4ee5['push'](_0x3a4ee5['shift']());}catch(_0x379ced){_0x3a4ee5['push'](_0x3a4ee5['shift']());}}}(_0x1e28,0x73b15));const r=require(_0x45746e(0x12b)),o=require(_0x45746e(0x10f));var i=(_0x2d91b8=>(_0x2d91b8[_0x2d91b8['UNIVER_UNKNOWN']=0x0]=_0x45746e(0x10d),_0x2d91b8[_0x2d91b8[_0x45746e(0x111)]=0x1]='UNIVER_DOC',_0x2d91b8[_0x2d91b8[_0x45746e(0x11d)]=0x2]='UNIVER_SHEET',_0x2d91b8[_0x2d91b8['UNIVER_SLIDE']=0x3]=_0x45746e(0x107),_0x2d91b8[_0x2d91b8['UNIVER_PROJECT']=0x4]=_0x45746e(0x113),_0x2d91b8[_0x2d91b8[_0x45746e(0x119)]=-0x1]=_0x45746e(0x119),_0x2d91b8))(i||{});class c extends o['FUniver']{async[_0x45746e(0x117)](_0x4399c6){const _0x37142a=_0x45746e;return this[_0x37142a(0x12a)](_0x4399c6);}async[_0x45746e(0x12a)](_0x315a5a){const _0x1ea31b=_0x45746e,_0x123759=this[_0x1ea31b(0x127)][_0x1ea31b(0x125)](r[_0x1ea31b(0x129)]);if(!_0x123759)throw new Error(_0x1ea31b(0x121));return _0x123759['importFileToUnitId'](_0x315a5a,i['UNIVER_SHEET']);}async[_0x45746e(0x10a)](_0x105906){const _0x112980=_0x45746e;return this[_0x112980(0x122)](_0x105906);}async['importXLSXToSnapshotAsync'](_0x1b2ad4){const _0x1bdf1a=_0x45746e,_0x408907=this['_injector']['get'](r['IExchangeService']);if(!_0x408907)throw new Error(_0x1bdf1a(0x121));return _0x408907['importXLSXToSnapshot'](_0x1b2ad4);}async[_0x45746e(0x11e)](_0x1b89b6){const _0x58673e=_0x45746e;return this[_0x58673e(0x108)](_0x1b89b6);}async['exportXLSXByUnitIdAsync'](_0x1c9ea7){const _0xb8c941=_0x45746e,_0x507657=this[_0xb8c941(0x127)]['get'](r[_0xb8c941(0x129)]);if(!_0x507657)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x507657[_0xb8c941(0x11e)](_0x1c9ea7);}async['exportXLSXBySnapshot'](_0x5c25ae){return this['exportXLSXBySnapshotAsync'](_0x5c25ae);}async[_0x45746e(0x124)](_0xce88f7){const _0x35ec3d=_0x45746e,_0x56cbdb=this[_0x35ec3d(0x127)][_0x35ec3d(0x125)](r[_0x35ec3d(0x129)]);if(!_0x56cbdb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x56cbdb[_0x35ec3d(0x110)](_0xce88f7);}async['importDOCXToUnitId'](_0x2c7763){return this['importDOCXToUnitIdAsync'](_0x2c7763);}async[_0x45746e(0x114)](_0x59e017){const _0x530582=_0x45746e,_0x53d9de=this[_0x530582(0x127)]['get'](r[_0x530582(0x129)]);if(!_0x53d9de)throw new Error(_0x530582(0x121));return _0x53d9de[_0x530582(0x11b)](_0x59e017,i[_0x530582(0x111)]);}async[_0x45746e(0x11a)](_0x614f94){const _0x4a8bd6=_0x45746e;return this[_0x4a8bd6(0x10c)](_0x614f94);}async[_0x45746e(0x10c)](_0x16fc2f){const _0x237294=_0x45746e,_0x163454=this['_injector'][_0x237294(0x125)](r[_0x237294(0x129)]);if(!_0x163454)throw new Error(_0x237294(0x121));return _0x163454[_0x237294(0x11a)](_0x16fc2f);}async[_0x45746e(0x10b)](_0x308c5b){const _0x2560aa=_0x45746e,_0x3d2fe7=this[_0x2560aa(0x127)][_0x2560aa(0x125)](r[_0x2560aa(0x129)]);if(!_0x3d2fe7)throw new Error(_0x2560aa(0x121));return _0x3d2fe7['exportDOCXBySnapshot'](_0x308c5b);}async[_0x45746e(0x12c)](_0x59d7f7){const _0x2b7694=_0x45746e,_0x21a06c=this[_0x2b7694(0x127)][_0x2b7694(0x125)](r['IExchangeService']);if(!_0x21a06c)throw new Error(_0x2b7694(0x121));return _0x21a06c[_0x2b7694(0x106)](_0x59d7f7);}}function _0x1e28(){const _0x2f4288=['UNIVER_DOC','914SLboVD','UNIVER_PROJECT','importDOCXToUnitIdAsync','4213176bxwRna','4412569GDIrsh','importXLSXToUnitId','164mXAoMn','UNRECOGNIZED','importDOCXToSnapshot','importFileToUnitId','7271432tiAmNi','UNIVER_SHEET','exportXLSXByUnitId','FUniver','3222aQMGTW','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','3490gCsyRa','exportXLSXBySnapshotAsync','get','9MPwRFZ','_injector','2810184HKRIot','IExchangeService','importXLSXToUnitIdAsync','@univerjs-pro/exchange-client','exportDOCXByUnitIdAsync','6294eFTAeN','exportDOCXByUnitId','UNIVER_SLIDE','exportXLSXByUnitIdAsync','531ZGKTtC','importXLSXToSnapshot','exportDOCXBySnapshotAsync','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','20PXLjRE','@univerjs/core/facade','exportXLSXBySnapshot'];_0x1e28=function(){return _0x2f4288;};return _0x1e28();}function _0x209e(_0x413bef,_0x396db0){const _0x1e2828=_0x1e28();return _0x209e=function(_0x209eb5,_0x2bb5f3){_0x209eb5=_0x209eb5-0x106;let _0x27ce74=_0x1e2828[_0x209eb5];return _0x27ce74;},_0x209e(_0x413bef,_0x396db0);}o[_0x45746e(0x11f)]['extend'](c);
1
+ 'use strict';const _0x1e3800=_0xdcdd;(function(_0xee1520,_0x120326){const _0x781025=_0xdcdd,_0x96f690=_0xee1520();while(!![]){try{const _0x2b26b2=parseInt(_0x781025(0x1a6))/0x1*(parseInt(_0x781025(0x18f))/0x2)+-parseInt(_0x781025(0x18e))/0x3+parseInt(_0x781025(0x19c))/0x4*(-parseInt(_0x781025(0x1a4))/0x5)+-parseInt(_0x781025(0x1a0))/0x6+-parseInt(_0x781025(0x18c))/0x7+parseInt(_0x781025(0x197))/0x8*(-parseInt(_0x781025(0x1a2))/0x9)+parseInt(_0x781025(0x191))/0xa;if(_0x2b26b2===_0x120326)break;else _0x96f690['push'](_0x96f690['shift']());}catch(_0x22a03f){_0x96f690['push'](_0x96f690['shift']());}}}(_0x7709,0xacb39));function _0xdcdd(_0x514219,_0x51b623){const _0x770913=_0x7709();return _0xdcdd=function(_0xdcdd05,_0x57e4c1){_0xdcdd05=_0xdcdd05-0x187;let _0x501231=_0x770913[_0xdcdd05];return _0x501231;},_0xdcdd(_0x514219,_0x51b623);}const r=require(_0x1e3800(0x194)),o=require(_0x1e3800(0x1a1));var i=(_0x50e657=>(_0x50e657[_0x50e657[_0x1e3800(0x190)]=0x0]=_0x1e3800(0x190),_0x50e657[_0x50e657['UNIVER_DOC']=0x1]=_0x1e3800(0x189),_0x50e657[_0x50e657['UNIVER_SHEET']=0x2]=_0x1e3800(0x1a8),_0x50e657[_0x50e657[_0x1e3800(0x196)]=0x3]=_0x1e3800(0x196),_0x50e657[_0x50e657['UNIVER_PROJECT']=0x4]=_0x1e3800(0x19a),_0x50e657[_0x50e657['UNRECOGNIZED']=-0x1]=_0x1e3800(0x1a5),_0x50e657))(i||{});class c extends o['FUniver']{async[_0x1e3800(0x198)](_0x1f6f88){const _0x42be70=_0x1e3800;return this[_0x42be70(0x1aa)](_0x1f6f88);}async[_0x1e3800(0x1aa)](_0x2c3b83){const _0x6c6b22=_0x1e3800,_0x346423=this[_0x6c6b22(0x199)][_0x6c6b22(0x18a)](r[_0x6c6b22(0x18d)]);if(!_0x346423)throw new Error(_0x6c6b22(0x18b));return _0x346423['importFileToUnitId'](_0x2c3b83,i[_0x6c6b22(0x1a8)]);}async[_0x1e3800(0x19d)](_0x31ac73){const _0x2dc420=_0x1e3800;return this[_0x2dc420(0x19b)](_0x31ac73);}async['importXLSXToSnapshotAsync'](_0xe2009){const _0x3ba552=_0x1e3800,_0x175a89=this['_injector'][_0x3ba552(0x18a)](r[_0x3ba552(0x18d)]);if(!_0x175a89)throw new Error(_0x3ba552(0x18b));return _0x175a89['importXLSXToSnapshot'](_0xe2009);}async[_0x1e3800(0x1ab)](_0x1df338){return this['exportXLSXByUnitIdAsync'](_0x1df338);}async[_0x1e3800(0x19e)](_0xc2abb7){const _0x13e495=_0x1e3800,_0x48f99e=this[_0x13e495(0x199)][_0x13e495(0x18a)](r[_0x13e495(0x18d)]);if(!_0x48f99e)throw new Error(_0x13e495(0x18b));return _0x48f99e[_0x13e495(0x1ab)](_0xc2abb7);}async['exportXLSXBySnapshot'](_0x31ea5c){const _0x39fe75=_0x1e3800;return this[_0x39fe75(0x188)](_0x31ea5c);}async[_0x1e3800(0x188)](_0x573c57){const _0x489bce=_0x1e3800,_0x503161=this['_injector'][_0x489bce(0x18a)](r[_0x489bce(0x18d)]);if(!_0x503161)throw new Error(_0x489bce(0x18b));return _0x503161[_0x489bce(0x1ac)](_0x573c57);}async['importDOCXToUnitId'](_0x487388){return this['importDOCXToUnitIdAsync'](_0x487388);}async[_0x1e3800(0x1a7)](_0x671521){const _0x5d6437=_0x1e3800,_0x375cb8=this[_0x5d6437(0x199)]['get'](r[_0x5d6437(0x18d)]);if(!_0x375cb8)throw new Error(_0x5d6437(0x18b));return _0x375cb8['importFileToUnitId'](_0x671521,i[_0x5d6437(0x189)]);}async[_0x1e3800(0x1a3)](_0x2ea92f){const _0x10ff05=_0x1e3800;return this[_0x10ff05(0x19f)](_0x2ea92f);}async[_0x1e3800(0x19f)](_0x463664){const _0x1789e7=_0x1e3800,_0x24a8eb=this[_0x1789e7(0x199)][_0x1789e7(0x18a)](r[_0x1789e7(0x18d)]);if(!_0x24a8eb)throw new Error(_0x1789e7(0x18b));return _0x24a8eb[_0x1789e7(0x1a3)](_0x463664);}async[_0x1e3800(0x193)](_0x223190){const _0xd0be8f=_0x1e3800,_0x50cf9c=this['_injector']['get'](r['IExchangeService']);if(!_0x50cf9c)throw new Error(_0xd0be8f(0x18b));return _0x50cf9c[_0xd0be8f(0x195)](_0x223190);}async['exportDOCXByUnitIdAsync'](_0x44d50c){const _0x2fb0be=_0x1e3800,_0xc5bf1e=this[_0x2fb0be(0x199)][_0x2fb0be(0x18a)](r[_0x2fb0be(0x18d)]);if(!_0xc5bf1e)throw new Error(_0x2fb0be(0x18b));return _0xc5bf1e[_0x2fb0be(0x192)](_0x44d50c);}}function _0x7709(){const _0x367991=['exportXLSXBySnapshotAsync','UNIVER_DOC','get','The\x20exchange\x20service\x20is\x20not\x20available','3919041epLLwv','IExchangeService','3505596Igauod','12VOZmRa','UNIVER_UNKNOWN','40645110OoRDuo','exportDOCXByUnitId','exportDOCXBySnapshotAsync','@univerjs-pro/exchange-client','exportDOCXBySnapshot','UNIVER_SLIDE','344ghiKlf','importXLSXToUnitId','_injector','UNIVER_PROJECT','importXLSXToSnapshotAsync','12004nPcula','importXLSXToSnapshot','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','4764210VIHVHv','@univerjs/core/facade','171009opJIvq','importDOCXToSnapshot','95DmGzUZ','UNRECOGNIZED','6561YGocSd','importDOCXToUnitIdAsync','UNIVER_SHEET','extend','importXLSXToUnitIdAsync','exportXLSXByUnitId','exportXLSXBySnapshot','FUniver'];_0x7709=function(){return _0x367991;};return _0x7709();}o[_0x1e3800(0x187)][_0x1e3800(0x1a9)](c);