@univerjs-pro/exchange-client 0.5.1-nightly.202412190838 → 0.5.1-nightly.202412191606

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 _0x210273=_0x3a9e;(function(_0x384203,_0xc80277){const _0x306075=_0x3a9e,_0x2f43c6=_0x384203();while(!![]){try{const _0x1ff1ac=-parseInt(_0x306075(0x11b))/0x1*(parseInt(_0x306075(0x10e))/0x2)+parseInt(_0x306075(0x102))/0x3+-parseInt(_0x306075(0x109))/0x4+parseInt(_0x306075(0x103))/0x5*(parseInt(_0x306075(0x110))/0x6)+-parseInt(_0x306075(0x112))/0x7+parseInt(_0x306075(0x11d))/0x8*(-parseInt(_0x306075(0x11c))/0x9)+parseInt(_0x306075(0x115))/0xa*(parseInt(_0x306075(0x105))/0xb);if(_0x1ff1ac===_0xc80277)break;else _0x2f43c6['push'](_0x2f43c6['shift']());}catch(_0x156ca4){_0x2f43c6['push'](_0x2f43c6['shift']());}}}(_0x1007,0x31e08));const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');function _0x3a9e(_0x4b56c4,_0x14e322){const _0x100748=_0x1007();return _0x3a9e=function(_0x3a9e7e,_0x5ba1d7){_0x3a9e7e=_0x3a9e7e-0x102;let _0x287ec9=_0x100748[_0x3a9e7e];return _0x287ec9;},_0x3a9e(_0x4b56c4,_0x14e322);}var i=(_0x46b735=>(_0x46b735[_0x46b735[_0x210273(0x10a)]=0x0]=_0x210273(0x10a),_0x46b735[_0x46b735['UNIVER_DOC']=0x1]=_0x210273(0x118),_0x46b735[_0x46b735[_0x210273(0x108)]=0x2]=_0x210273(0x108),_0x46b735[_0x46b735[_0x210273(0x10b)]=0x3]=_0x210273(0x10b),_0x46b735[_0x46b735[_0x210273(0x117)]=0x4]=_0x210273(0x117),_0x46b735[_0x46b735[_0x210273(0x119)]=-0x1]=_0x210273(0x119),_0x46b735))(i||{});function _0x1007(){const _0x4440e7=['UNIVER_DOC','UNRECOGNIZED','importDOCXToUnitId','5662TuNqhz','2819115XddYJG','8EKfnPj','688137eQcgAr','29740pXWuyW','importDOCXToSnapshot','99kPQRZf','importXLSXToSnapshot','_injector','UNIVER_SHEET','1475820qWMpQB','UNIVER_UNKNOWN','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','92JYFxnb','importFileToUnitId','264NgvPcj','IExchangeService','150010ruqtvf','exportXLSXBySnapshot','get','752530OdgNEt','FUniver','UNIVER_PROJECT'];_0x1007=function(){return _0x4440e7;};return _0x1007();}class o extends c[_0x210273(0x116)]{async['importXLSXToUnitId'](_0x481eaa){const _0x4c072f=_0x210273,_0x2259f6=this[_0x4c072f(0x107)][_0x4c072f(0x114)](n[_0x4c072f(0x111)]);if(!_0x2259f6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2259f6[_0x4c072f(0x10f)](_0x481eaa,i['UNIVER_SHEET']);}async[_0x210273(0x106)](_0x46fdd1){const _0x25f67e=_0x210273,_0x16dbc3=this[_0x25f67e(0x107)][_0x25f67e(0x114)](n['IExchangeService']);if(!_0x16dbc3)throw new Error(_0x25f67e(0x10c));return _0x16dbc3['importXLSXToSnapshot'](_0x46fdd1);}async[_0x210273(0x10d)](_0x33bfc1){const _0x6ae3c0=_0x210273,_0x4c86f1=this[_0x6ae3c0(0x107)][_0x6ae3c0(0x114)](n[_0x6ae3c0(0x111)]);if(!_0x4c86f1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4c86f1[_0x6ae3c0(0x10d)](_0x33bfc1);}async[_0x210273(0x113)](_0x63a8fa){const _0x1701c7=_0x210273,_0x5186c9=this[_0x1701c7(0x107)]['get'](n[_0x1701c7(0x111)]);if(!_0x5186c9)throw new Error(_0x1701c7(0x10c));return _0x5186c9[_0x1701c7(0x113)](_0x63a8fa);}async[_0x210273(0x11a)](_0x405030){const _0x173005=_0x210273,_0x22a4bb=this['_injector'][_0x173005(0x114)](n[_0x173005(0x111)]);if(!_0x22a4bb)throw new Error(_0x173005(0x10c));return _0x22a4bb['importFileToUnitId'](_0x405030,i[_0x173005(0x118)]);}async[_0x210273(0x104)](_0x38ec92){const _0x2eea3b=_0x210273,_0x312e42=this[_0x2eea3b(0x107)][_0x2eea3b(0x114)](n['IExchangeService']);if(!_0x312e42)throw new Error(_0x2eea3b(0x10c));return _0x312e42['importDOCXToSnapshot'](_0x38ec92);}}c[_0x210273(0x116)]['extend'](o);
1
+ 'use strict';const _0x5ee6b5=_0x24f7;(function(_0x202cd5,_0x494ae3){const _0x4cfc8d=_0x24f7,_0x68745b=_0x202cd5();while(!![]){try{const _0x22436a=parseInt(_0x4cfc8d(0x11e))/0x1*(-parseInt(_0x4cfc8d(0x11f))/0x2)+-parseInt(_0x4cfc8d(0x123))/0x3+parseInt(_0x4cfc8d(0x126))/0x4+-parseInt(_0x4cfc8d(0x124))/0x5+parseInt(_0x4cfc8d(0x125))/0x6+parseInt(_0x4cfc8d(0x129))/0x7*(parseInt(_0x4cfc8d(0x120))/0x8)+-parseInt(_0x4cfc8d(0x11c))/0x9*(parseInt(_0x4cfc8d(0x122))/0xa);if(_0x22436a===_0x494ae3)break;else _0x68745b['push'](_0x68745b['shift']());}catch(_0x351ecc){_0x68745b['push'](_0x68745b['shift']());}}}(_0xe29b,0xbab81));const c=require('@univerjs/core'),n=require(_0x5ee6b5(0x116));var i=(_0x55783b=>(_0x55783b[_0x55783b[_0x5ee6b5(0x112)]=0x0]=_0x5ee6b5(0x112),_0x55783b[_0x55783b[_0x5ee6b5(0x121)]=0x1]=_0x5ee6b5(0x121),_0x55783b[_0x55783b[_0x5ee6b5(0x117)]=0x2]='UNIVER_SHEET',_0x55783b[_0x55783b[_0x5ee6b5(0x11a)]=0x3]=_0x5ee6b5(0x11a),_0x55783b[_0x55783b[_0x5ee6b5(0x128)]=0x4]='UNIVER_PROJECT',_0x55783b[_0x55783b[_0x5ee6b5(0x12b)]=-0x1]=_0x5ee6b5(0x12b),_0x55783b))(i||{});class o extends c[_0x5ee6b5(0x127)]{async[_0x5ee6b5(0x113)](_0x30491a){const _0xa6e95c=_0x5ee6b5,_0x6a1a3=this[_0xa6e95c(0x12a)][_0xa6e95c(0x12c)](n[_0xa6e95c(0x11d)]);if(!_0x6a1a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6a1a3[_0xa6e95c(0x118)](_0x30491a,i[_0xa6e95c(0x117)]);}async[_0x5ee6b5(0x115)](_0x7772c5){const _0x2aadc9=_0x5ee6b5,_0x3656fb=this['_injector'][_0x2aadc9(0x12c)](n[_0x2aadc9(0x11d)]);if(!_0x3656fb)throw new Error(_0x2aadc9(0x114));return _0x3656fb['importXLSXToSnapshot'](_0x7772c5);}async[_0x5ee6b5(0x111)](_0x15c7f6){const _0x4309b0=_0x5ee6b5,_0x5dce32=this['_injector'][_0x4309b0(0x12c)](n[_0x4309b0(0x11d)]);if(!_0x5dce32)throw new Error(_0x4309b0(0x114));return _0x5dce32['exportXLSXByUnitId'](_0x15c7f6);}async[_0x5ee6b5(0x110)](_0x2a597c){const _0x4d3664=_0x5ee6b5,_0xe61e17=this[_0x4d3664(0x12a)][_0x4d3664(0x12c)](n[_0x4d3664(0x11d)]);if(!_0xe61e17)throw new Error(_0x4d3664(0x114));return _0xe61e17[_0x4d3664(0x110)](_0x2a597c);}async[_0x5ee6b5(0x10f)](_0x4c7b0a){const _0x4fb380=_0x5ee6b5,_0xa18c7c=this[_0x4fb380(0x12a)]['get'](n[_0x4fb380(0x11d)]);if(!_0xa18c7c)throw new Error(_0x4fb380(0x114));return _0xa18c7c[_0x4fb380(0x118)](_0x4c7b0a,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x416bae){const _0x10d6d6=_0x5ee6b5,_0x57943e=this[_0x10d6d6(0x12a)][_0x10d6d6(0x12c)](n['IExchangeService']);if(!_0x57943e)throw new Error(_0x10d6d6(0x114));return _0x57943e[_0x10d6d6(0x119)](_0x416bae);}}function _0x24f7(_0xf57db4,_0x26cb9d){const _0xe29b01=_0xe29b();return _0x24f7=function(_0x24f734,_0x2552be){_0x24f734=_0x24f734-0x10f;let _0x2f07f7=_0xe29b01[_0x24f734];return _0x2f07f7;},_0x24f7(_0xf57db4,_0x26cb9d);}c[_0x5ee6b5(0x127)][_0x5ee6b5(0x11b)](o);function _0xe29b(){const _0x4bb657=['UNIVER_DOC','10tAzCfi','959496jVDEGz','711355vmTJWX','3856074kzysKQ','3299016YpkuhA','FUniver','UNIVER_PROJECT','567fNYqwz','_injector','UNRECOGNIZED','get','importDOCXToUnitId','exportXLSXBySnapshot','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','@univerjs-pro/exchange-client','UNIVER_SHEET','importFileToUnitId','importDOCXToSnapshot','UNIVER_SLIDE','extend','5412519yMYMRj','IExchangeService','14iEyqHN','25676sUbWEM','53392xmNZUa'];_0xe29b=function(){return _0x4bb657;};return _0xe29b();}