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

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 _0x5da959=_0x4135;function _0x3d82(){const _0x11da53=['importXLSXToSnapshot','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importFileToUnitId','2305kcnvAh','FUniver','3943632QHZDoc','UNRECOGNIZED','importXLSXToUnitId','2435835UzMTkB','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','16KmGXqV','IExchangeService','exportXLSXBySnapshot','UNIVER_UNKNOWN','3812wwBWyk','UNIVER_DOC','_injector','exportDOCXBySnapshotAsync','importDOCXToSnapshot','37908792OUAbLB','exportDOCXByUnitIdAsync','importDOCXToUnitIdAsync','1957454UDyTdH','1454762zuHeMp','UNIVER_SHEET','UNIVER_SLIDE','exportXLSXByUnitIdAsync','3478993PbAIpj','extend','exportXLSXBySnapshotAsync','UNIVER_PROJECT','get'];_0x3d82=function(){return _0x11da53;};return _0x3d82();}(function(_0x258f9d,_0x39e865){const _0xf4bfe8=_0x4135,_0x616105=_0x258f9d();while(!![]){try{const _0x15167e=-parseInt(_0xf4bfe8(0xe8))/0x1+parseInt(_0xf4bfe8(0xe7))/0x2+-parseInt(_0xf4bfe8(0xd8))/0x3+-parseInt(_0xf4bfe8(0xdf))/0x4*(parseInt(_0xf4bfe8(0xd3))/0x5)+-parseInt(_0xf4bfe8(0xd5))/0x6+parseInt(_0xf4bfe8(0xec))/0x7*(-parseInt(_0xf4bfe8(0xdb))/0x8)+parseInt(_0xf4bfe8(0xe4))/0x9;if(_0x15167e===_0x39e865)break;else _0x616105['push'](_0x616105['shift']());}catch(_0x511ac5){_0x616105['push'](_0x616105['shift']());}}}(_0x3d82,0xcb7e1));const r=require(_0x5da959(0xcf)),o=require('@univerjs/core/facade');var i=(_0x5c1223=>(_0x5c1223[_0x5c1223[_0x5da959(0xde)]=0x0]=_0x5da959(0xde),_0x5c1223[_0x5c1223[_0x5da959(0xe0)]=0x1]=_0x5da959(0xe0),_0x5c1223[_0x5c1223[_0x5da959(0xe9)]=0x2]=_0x5da959(0xe9),_0x5c1223[_0x5c1223[_0x5da959(0xea)]=0x3]=_0x5da959(0xea),_0x5c1223[_0x5c1223['UNIVER_PROJECT']=0x4]=_0x5da959(0xef),_0x5c1223[_0x5c1223[_0x5da959(0xd6)]=-0x1]=_0x5da959(0xd6),_0x5c1223))(i||{});function _0x4135(_0x48ed90,_0x1923b5){const _0x3d82a0=_0x3d82();return _0x4135=function(_0x4135cd,_0x11dbf1){_0x4135cd=_0x4135cd-0xcf;let _0x57501f=_0x3d82a0[_0x4135cd];return _0x57501f;},_0x4135(_0x48ed90,_0x1923b5);}class c extends o[_0x5da959(0xd4)]{async[_0x5da959(0xd7)](_0x2cc734){const _0x4e9200=_0x5da959;return this[_0x4e9200(0xd9)](_0x2cc734);}async[_0x5da959(0xd9)](_0x2e9da4){const _0x236334=_0x5da959,_0x2ac6bf=this[_0x236334(0xe1)][_0x236334(0xf0)](r[_0x236334(0xdc)]);if(!_0x2ac6bf)throw new Error(_0x236334(0xd0));return _0x2ac6bf[_0x236334(0xd2)](_0x2e9da4,i[_0x236334(0xe9)]);}async[_0x5da959(0xf1)](_0x5cf597){return this['importXLSXToSnapshotAsync'](_0x5cf597);}async['importXLSXToSnapshotAsync'](_0x5a2632){const _0x17bb1c=_0x5da959,_0x239dc2=this[_0x17bb1c(0xe1)]['get'](r['IExchangeService']);if(!_0x239dc2)throw new Error(_0x17bb1c(0xd0));return _0x239dc2[_0x17bb1c(0xf1)](_0x5a2632);}async[_0x5da959(0xd1)](_0x48a0ed){const _0x565bff=_0x5da959;return this[_0x565bff(0xeb)](_0x48a0ed);}async[_0x5da959(0xeb)](_0x3f5b03){const _0xb4dc3d=_0x5da959,_0x454cd8=this[_0xb4dc3d(0xe1)]['get'](r[_0xb4dc3d(0xdc)]);if(!_0x454cd8)throw new Error(_0xb4dc3d(0xd0));return _0x454cd8[_0xb4dc3d(0xd1)](_0x3f5b03);}async[_0x5da959(0xdd)](_0x1e2f3b){return this['exportXLSXBySnapshotAsync'](_0x1e2f3b);}async[_0x5da959(0xee)](_0x5203ee){const _0x18d7ca=_0x5da959,_0x29b6e2=this['_injector'][_0x18d7ca(0xf0)](r[_0x18d7ca(0xdc)]);if(!_0x29b6e2)throw new Error(_0x18d7ca(0xd0));return _0x29b6e2[_0x18d7ca(0xdd)](_0x5203ee);}async['importDOCXToUnitId'](_0x500f61){const _0x14652e=_0x5da959;return this[_0x14652e(0xe6)](_0x500f61);}async['importDOCXToUnitIdAsync'](_0x76f64d){const _0x53424a=_0x5da959,_0x1ae573=this['_injector'][_0x53424a(0xf0)](r[_0x53424a(0xdc)]);if(!_0x1ae573)throw new Error(_0x53424a(0xd0));return _0x1ae573[_0x53424a(0xd2)](_0x76f64d,i['UNIVER_DOC']);}async[_0x5da959(0xe3)](_0x561664){const _0x5a930e=_0x5da959;return this[_0x5a930e(0xda)](_0x561664);}async[_0x5da959(0xda)](_0x29156e){const _0x82e662=_0x5da959,_0x55a0d5=this[_0x82e662(0xe1)][_0x82e662(0xf0)](r[_0x82e662(0xdc)]);if(!_0x55a0d5)throw new Error(_0x82e662(0xd0));return _0x55a0d5[_0x82e662(0xe3)](_0x29156e);}async[_0x5da959(0xe2)](_0x48d071){const _0x32628c=_0x5da959,_0x2f3af2=this[_0x32628c(0xe1)][_0x32628c(0xf0)](r[_0x32628c(0xdc)]);if(!_0x2f3af2)throw new Error(_0x32628c(0xd0));return _0x2f3af2['exportDOCXBySnapshot'](_0x48d071);}async[_0x5da959(0xe5)](_0x2ce37c){const _0x28deac=_0x5da959,_0x3ac87d=this[_0x28deac(0xe1)][_0x28deac(0xf0)](r[_0x28deac(0xdc)]);if(!_0x3ac87d)throw new Error(_0x28deac(0xd0));return _0x3ac87d['exportDOCXByUnitId'](_0x2ce37c);}}o['FUniver'][_0x5da959(0xed)](c);