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

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 _0x43d48c=_0x1eed;function _0x1b71(){const _0x1ff03d=['20170DgMnvF','50713LDSguD','12313bujhOp','exportDOCXByUnitIdAsync','UNIVER_UNKNOWN','2OpFCqs','importDOCXToUnitIdAsync','exportDOCXBySnapshotAsync','UNIVER_DOC','@univerjs-pro/exchange-client','IExchangeService','importFileToUnitId','get','exportXLSXByUnitId','504AdznEu','importXLSXToSnapshot','extend','2367AIKGPr','importXLSXToSnapshotAsync','@univerjs/core/facade','UNIVER_PROJECT','29053FhpTQT','_injector','importXLSXToUnitIdAsync','UNRECOGNIZED','exportDOCXByUnitId','UNIVER_SHEET','importDOCXToSnapshot','exportXLSXByUnitIdAsync','3651138OuoeTC','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','5684BMGLVi','307000VwyztI','FUniver','UNIVER_SLIDE','9mZXssW','2544FfFmLj','importDOCXToSnapshotAsync','5ZxQISb','113443yScaSk','exportXLSXBySnapshotAsync'];_0x1b71=function(){return _0x1ff03d;};return _0x1b71();}(function(_0x595f24,_0x14b23a){const _0x1ff7ac=_0x1eed,_0x471bfb=_0x595f24();while(!![]){try{const _0x199540=parseInt(_0x1ff7ac(0x1c1))/0x1*(parseInt(_0x1ff7ac(0x1b1))/0x2)+-parseInt(_0x1ff7ac(0x1d0))/0x3*(parseInt(_0x1ff7ac(0x1cd))/0x4)+parseInt(_0x1ff7ac(0x1d3))/0x5*(-parseInt(_0x1ff7ac(0x1c9))/0x6)+-parseInt(_0x1ff7ac(0x1d8))/0x7*(-parseInt(_0x1ff7ac(0x1d1))/0x8)+parseInt(_0x1ff7ac(0x1bd))/0x9*(-parseInt(_0x1ff7ac(0x1d6))/0xa)+parseInt(_0x1ff7ac(0x1d4))/0xb*(-parseInt(_0x1ff7ac(0x1ba))/0xc)+parseInt(_0x1ff7ac(0x1d7))/0xd*(parseInt(_0x1ff7ac(0x1cc))/0xe);if(_0x199540===_0x14b23a)break;else _0x471bfb['push'](_0x471bfb['shift']());}catch(_0x2e987c){_0x471bfb['push'](_0x471bfb['shift']());}}}(_0x1b71,0x5a4a7));function _0x1eed(_0x43c7f9,_0x1e7c3d){const _0x1b71e7=_0x1b71();return _0x1eed=function(_0x1eedb1,_0x13d7b8){_0x1eedb1=_0x1eedb1-0x1b0;let _0x418885=_0x1b71e7[_0x1eedb1];return _0x418885;},_0x1eed(_0x43c7f9,_0x1e7c3d);}const r=require(_0x43d48c(0x1b5)),o=require(_0x43d48c(0x1bf));var i=(_0x26540f=>(_0x26540f[_0x26540f[_0x43d48c(0x1b0)]=0x0]=_0x43d48c(0x1b0),_0x26540f[_0x26540f['UNIVER_DOC']=0x1]=_0x43d48c(0x1b4),_0x26540f[_0x26540f[_0x43d48c(0x1c6)]=0x2]=_0x43d48c(0x1c6),_0x26540f[_0x26540f[_0x43d48c(0x1cf)]=0x3]=_0x43d48c(0x1cf),_0x26540f[_0x26540f[_0x43d48c(0x1c0)]=0x4]=_0x43d48c(0x1c0),_0x26540f[_0x26540f[_0x43d48c(0x1c4)]=-0x1]=_0x43d48c(0x1c4),_0x26540f))(i||{});class c extends o[_0x43d48c(0x1ce)]{async[_0x43d48c(0x1ca)](_0x1a2c21){const _0x4dfa0e=_0x43d48c;return this[_0x4dfa0e(0x1c3)](_0x1a2c21);}async['importXLSXToUnitIdAsync'](_0x3408f2){const _0x44eda8=_0x43d48c,_0x2934e2=this['_injector']['get'](r['IExchangeService']);if(!_0x2934e2)throw new Error(_0x44eda8(0x1cb));return _0x2934e2[_0x44eda8(0x1b7)](_0x3408f2,i[_0x44eda8(0x1c6)]);}async[_0x43d48c(0x1bb)](_0x30254f){const _0x3f3f5c=_0x43d48c;return this[_0x3f3f5c(0x1be)](_0x30254f);}async['importXLSXToSnapshotAsync'](_0x329eac){const _0x30ef8f=_0x43d48c,_0x50dfa3=this[_0x30ef8f(0x1c2)]['get'](r[_0x30ef8f(0x1b6)]);if(!_0x50dfa3)throw new Error(_0x30ef8f(0x1cb));return _0x50dfa3[_0x30ef8f(0x1bb)](_0x329eac);}async['exportXLSXByUnitId'](_0x4b770b){const _0x36dc65=_0x43d48c;return this[_0x36dc65(0x1c8)](_0x4b770b);}async[_0x43d48c(0x1c8)](_0x45f13e){const _0x397c8d=_0x43d48c,_0xc7907f=this[_0x397c8d(0x1c2)][_0x397c8d(0x1b8)](r['IExchangeService']);if(!_0xc7907f)throw new Error(_0x397c8d(0x1cb));return _0xc7907f[_0x397c8d(0x1b9)](_0x45f13e);}async['exportXLSXBySnapshot'](_0x226277){const _0x3659dc=_0x43d48c;return this[_0x3659dc(0x1d5)](_0x226277);}async[_0x43d48c(0x1d5)](_0x1da0b6){const _0x44a2f8=_0x43d48c,_0x103626=this[_0x44a2f8(0x1c2)]['get'](r['IExchangeService']);if(!_0x103626)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x103626['exportXLSXBySnapshot'](_0x1da0b6);}async['importDOCXToUnitId'](_0x4aa0ec){const _0x1109fa=_0x43d48c;return this[_0x1109fa(0x1b2)](_0x4aa0ec);}async[_0x43d48c(0x1b2)](_0xaa51f7){const _0x27e999=_0x43d48c,_0x126a63=this[_0x27e999(0x1c2)][_0x27e999(0x1b8)](r[_0x27e999(0x1b6)]);if(!_0x126a63)throw new Error(_0x27e999(0x1cb));return _0x126a63['importFileToUnitId'](_0xaa51f7,i[_0x27e999(0x1b4)]);}async[_0x43d48c(0x1c7)](_0x27b98c){const _0x4584b3=_0x43d48c;return this[_0x4584b3(0x1d2)](_0x27b98c);}async['importDOCXToSnapshotAsync'](_0x21e5bc){const _0x36d933=_0x43d48c,_0x5d0c9b=this[_0x36d933(0x1c2)][_0x36d933(0x1b8)](r[_0x36d933(0x1b6)]);if(!_0x5d0c9b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d0c9b['importDOCXToSnapshot'](_0x21e5bc);}async[_0x43d48c(0x1b3)](_0xc9aea6){const _0x1cf8fc=_0x43d48c,_0x2fb98d=this[_0x1cf8fc(0x1c2)][_0x1cf8fc(0x1b8)](r[_0x1cf8fc(0x1b6)]);if(!_0x2fb98d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2fb98d['exportDOCXBySnapshot'](_0xc9aea6);}async[_0x43d48c(0x1d9)](_0x13c909){const _0x25acf3=_0x43d48c,_0x25a0b0=this['_injector']['get'](r[_0x25acf3(0x1b6)]);if(!_0x25a0b0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25a0b0[_0x25acf3(0x1c5)](_0x13c909);}}o[_0x43d48c(0x1ce)][_0x43d48c(0x1bc)](c);