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

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 _0x129eab=_0x3328;(function(_0x290a3a,_0x4e61ef){const _0x1fd95f=_0x3328,_0xfca493=_0x290a3a();while(!![]){try{const _0xe43146=parseInt(_0x1fd95f(0x1aa))/0x1*(parseInt(_0x1fd95f(0x1ac))/0x2)+parseInt(_0x1fd95f(0x1b5))/0x3*(-parseInt(_0x1fd95f(0x1a9))/0x4)+parseInt(_0x1fd95f(0x1b4))/0x5*(parseInt(_0x1fd95f(0x1b7))/0x6)+-parseInt(_0x1fd95f(0x1b6))/0x7*(parseInt(_0x1fd95f(0x1a5))/0x8)+-parseInt(_0x1fd95f(0x1a1))/0x9*(parseInt(_0x1fd95f(0x1b2))/0xa)+parseInt(_0x1fd95f(0x1b8))/0xb+parseInt(_0x1fd95f(0x1ba))/0xc;if(_0xe43146===_0x4e61ef)break;else _0xfca493['push'](_0xfca493['shift']());}catch(_0x1a392a){_0xfca493['push'](_0xfca493['shift']());}}}(_0x55b1,0x70675));function _0x3328(_0x27c792,_0x5933ac){const _0x55b158=_0x55b1();return _0x3328=function(_0x332827,_0xc2c41c){_0x332827=_0x332827-0x19b;let _0x2b417e=_0x55b158[_0x332827];return _0x2b417e;},_0x3328(_0x27c792,_0x5933ac);}function _0x55b1(){const _0x37f5c4=['@univerjs/core/facade','get','3508810jtIEzL','importDOCXToSnapshotAsync','25iMVGoH','15nfmfVG','290318MxzVAG','219906LbYofS','9525417CbbuXo','IExchangeService','10012608gOLUoX','importDOCXToUnitIdAsync','importFileToUnitId','FUniver','UNIVER_UNKNOWN','UNRECOGNIZED','UNIVER_DOC','importXLSXToUnitIdAsync','importDOCXToSnapshot','9Wusasb','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importXLSXToUnitId','168FyrWGp','UNIVER_PROJECT','importXLSXToSnapshot','importXLSXToSnapshotAsync','676564rybfgA','1LKNlSj','exportXLSXByUnitIdAsync','1288718KQzIyD','exportXLSXBySnapshotAsync','_injector','UNIVER_SLIDE'];_0x55b1=function(){return _0x37f5c4;};return _0x55b1();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x129eab(0x1b0));var o=(_0x51fa3a=>(_0x51fa3a[_0x51fa3a['UNIVER_UNKNOWN']=0x0]=_0x129eab(0x19c),_0x51fa3a[_0x51fa3a[_0x129eab(0x19e)]=0x1]=_0x129eab(0x19e),_0x51fa3a[_0x51fa3a['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x51fa3a[_0x51fa3a[_0x129eab(0x1af)]=0x3]='UNIVER_SLIDE',_0x51fa3a[_0x51fa3a[_0x129eab(0x1a6)]=0x4]=_0x129eab(0x1a6),_0x51fa3a[_0x51fa3a[_0x129eab(0x19d)]=-0x1]='UNRECOGNIZED',_0x51fa3a))(o||{});class c extends i[_0x129eab(0x19b)]{async[_0x129eab(0x1a4)](_0x27d376){const _0x4bf9b3=_0x129eab;return this[_0x4bf9b3(0x19f)](_0x27d376);}async[_0x129eab(0x19f)](_0x1737cb){const _0x17412f=_0x129eab,_0x2d3768=this[_0x17412f(0x1ae)][_0x17412f(0x1b1)](r[_0x17412f(0x1b9)]);if(!_0x2d3768)throw new Error(_0x17412f(0x1a2));return _0x2d3768[_0x17412f(0x1bc)](_0x1737cb,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x90d4b0){return this['importXLSXToSnapshotAsync'](_0x90d4b0);}async[_0x129eab(0x1a8)](_0x499fe7){const _0x3834c8=_0x129eab,_0x3b3c29=this[_0x3834c8(0x1ae)][_0x3834c8(0x1b1)](r[_0x3834c8(0x1b9)]);if(!_0x3b3c29)throw new Error(_0x3834c8(0x1a2));return _0x3b3c29[_0x3834c8(0x1a7)](_0x499fe7);}async[_0x129eab(0x1a3)](_0xe03f37){return this['exportXLSXByUnitIdAsync'](_0xe03f37);}async[_0x129eab(0x1ab)](_0x2c4ad2){const _0x3dfdf7=_0x129eab,_0x11b59a=this['_injector'][_0x3dfdf7(0x1b1)](r[_0x3dfdf7(0x1b9)]);if(!_0x11b59a)throw new Error(_0x3dfdf7(0x1a2));return _0x11b59a['exportXLSXByUnitId'](_0x2c4ad2);}async['exportXLSXBySnapshot'](_0xf3cf7b){const _0x1ae0fa=_0x129eab;return this[_0x1ae0fa(0x1ad)](_0xf3cf7b);}async[_0x129eab(0x1ad)](_0x16e3cc){const _0x464634=_0x129eab,_0x22e327=this[_0x464634(0x1ae)][_0x464634(0x1b1)](r[_0x464634(0x1b9)]);if(!_0x22e327)throw new Error(_0x464634(0x1a2));return _0x22e327['exportXLSXBySnapshot'](_0x16e3cc);}async['importDOCXToUnitId'](_0x1839f2){const _0x3400cb=_0x129eab;return this[_0x3400cb(0x1bb)](_0x1839f2);}async[_0x129eab(0x1bb)](_0x37cac6){const _0x47b1c6=_0x129eab,_0xbc12a1=this[_0x47b1c6(0x1ae)][_0x47b1c6(0x1b1)](r['IExchangeService']);if(!_0xbc12a1)throw new Error(_0x47b1c6(0x1a2));return _0xbc12a1[_0x47b1c6(0x1bc)](_0x37cac6,o[_0x47b1c6(0x19e)]);}async[_0x129eab(0x1a0)](_0x1c2cf0){const _0x5e651b=_0x129eab;return this[_0x5e651b(0x1b3)](_0x1c2cf0);}async[_0x129eab(0x1b3)](_0x4c68e0){const _0xc451ee=_0x129eab,_0x336142=this['_injector'][_0xc451ee(0x1b1)](r[_0xc451ee(0x1b9)]);if(!_0x336142)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x336142[_0xc451ee(0x1a0)](_0x4c68e0);}}i[_0x129eab(0x19b)]['extend'](c);
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);