@univerjs-pro/exchange-client 0.5.1-nightly.202412141605 → 0.5.1-nightly.202412151605

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';function _0x4f92(_0x48ca2c,_0x239e63){const _0x1745c2=_0x1745();return _0x4f92=function(_0x4f92cd,_0x44bd26){_0x4f92cd=_0x4f92cd-0xfd;let _0x37d142=_0x1745c2[_0x4f92cd];return _0x37d142;},_0x4f92(_0x48ca2c,_0x239e63);}const _0x16ae6e=_0x4f92;(function(_0x1e289b,_0x49cfca){const _0x5b0ae3=_0x4f92,_0x4f69b0=_0x1e289b();while(!![]){try{const _0x153d4d=-parseInt(_0x5b0ae3(0x100))/0x1*(parseInt(_0x5b0ae3(0x118))/0x2)+-parseInt(_0x5b0ae3(0x113))/0x3+-parseInt(_0x5b0ae3(0x10a))/0x4+parseInt(_0x5b0ae3(0x117))/0x5*(parseInt(_0x5b0ae3(0x10b))/0x6)+-parseInt(_0x5b0ae3(0xfe))/0x7+parseInt(_0x5b0ae3(0x10c))/0x8+parseInt(_0x5b0ae3(0x103))/0x9*(parseInt(_0x5b0ae3(0x10f))/0xa);if(_0x153d4d===_0x49cfca)break;else _0x4f69b0['push'](_0x4f69b0['shift']());}catch(_0x152464){_0x4f69b0['push'](_0x4f69b0['shift']());}}}(_0x1745,0xd8a81));function _0x1745(){const _0x5acb31=['337081oPxURd','get','UNIVER_SLIDE','9BQLCnX','importDOCXToSnapshot','extend','UNIVER_SHEET','UNIVER_PROJECT','UNIVER_DOC','importFileToUnitId','1155352mrTpdw','58614oSgZYL','1023880MuAbOu','_injector','FUniver','12344410KQzhfo','exportXLSXByUnitId','UNRECOGNIZED','IExchangeService','454005rHGjPH','@univerjs-pro/exchange-client','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','745aTJAFS','8wAZMSQ','importXLSXToUnitId','994595PMvHYl','UNIVER_UNKNOWN'];_0x1745=function(){return _0x5acb31;};return _0x1745();}const c=require('@univerjs/core'),n=require(_0x16ae6e(0x114));var i=(_0x5bccef=>(_0x5bccef[_0x5bccef['UNIVER_UNKNOWN']=0x0]=_0x16ae6e(0xff),_0x5bccef[_0x5bccef[_0x16ae6e(0x108)]=0x1]=_0x16ae6e(0x108),_0x5bccef[_0x5bccef[_0x16ae6e(0x106)]=0x2]=_0x16ae6e(0x106),_0x5bccef[_0x5bccef[_0x16ae6e(0x102)]=0x3]=_0x16ae6e(0x102),_0x5bccef[_0x5bccef[_0x16ae6e(0x107)]=0x4]=_0x16ae6e(0x107),_0x5bccef[_0x5bccef[_0x16ae6e(0x111)]=-0x1]=_0x16ae6e(0x111),_0x5bccef))(i||{});class o extends c[_0x16ae6e(0x10e)]{async[_0x16ae6e(0xfd)](_0x265aef){const _0x1eaa95=_0x16ae6e,_0x25274f=this['_injector'][_0x1eaa95(0x101)](n['IExchangeService']);if(!_0x25274f)throw new Error(_0x1eaa95(0x116));return _0x25274f[_0x1eaa95(0x109)](_0x265aef,i[_0x1eaa95(0x106)]);}async['importXLSXToSnapshot'](_0x4011ce){const _0x2e51be=_0x16ae6e,_0xbb2997=this[_0x2e51be(0x10d)][_0x2e51be(0x101)](n['IExchangeService']);if(!_0xbb2997)throw new Error(_0x2e51be(0x116));return _0xbb2997['importXLSXToSnapshot'](_0x4011ce);}async['exportXLSXByUnitId'](_0x5f2ba8){const _0x19f067=_0x16ae6e,_0x5a3345=this[_0x19f067(0x10d)]['get'](n[_0x19f067(0x112)]);if(!_0x5a3345)throw new Error(_0x19f067(0x116));return _0x5a3345[_0x19f067(0x110)](_0x5f2ba8);}async['exportXLSXBySnapshot'](_0x102700){const _0x4c8203=_0x16ae6e,_0xea83fd=this[_0x4c8203(0x10d)][_0x4c8203(0x101)](n[_0x4c8203(0x112)]);if(!_0xea83fd)throw new Error(_0x4c8203(0x116));return _0xea83fd['exportXLSXBySnapshot'](_0x102700);}async[_0x16ae6e(0x115)](_0x47c73b){const _0x5a0935=_0x16ae6e,_0x273435=this[_0x5a0935(0x10d)]['get'](n['IExchangeService']);if(!_0x273435)throw new Error(_0x5a0935(0x116));return _0x273435['importFileToUnitId'](_0x47c73b,i[_0x5a0935(0x108)]);}async[_0x16ae6e(0x104)](_0x547ddf){const _0x3178f5=_0x16ae6e,_0x357a72=this[_0x3178f5(0x10d)][_0x3178f5(0x101)](n['IExchangeService']);if(!_0x357a72)throw new Error(_0x3178f5(0x116));return _0x357a72['importDOCXToSnapshot'](_0x547ddf);}}c[_0x16ae6e(0x10e)][_0x16ae6e(0x105)](o);
1
+ 'use strict';const _0xd7a6ea=_0x22c2;(function(_0x482ae6,_0x5809a3){const _0x59a2d8=_0x22c2,_0x315a10=_0x482ae6();while(!![]){try{const _0x11b95c=-parseInt(_0x59a2d8(0xdb))/0x1+parseInt(_0x59a2d8(0xd8))/0x2*(parseInt(_0x59a2d8(0xcc))/0x3)+parseInt(_0x59a2d8(0xd7))/0x4*(-parseInt(_0x59a2d8(0xd4))/0x5)+parseInt(_0x59a2d8(0xce))/0x6*(parseInt(_0x59a2d8(0xcf))/0x7)+parseInt(_0x59a2d8(0xc1))/0x8*(parseInt(_0x59a2d8(0xc3))/0x9)+-parseInt(_0x59a2d8(0xcd))/0xa*(-parseInt(_0x59a2d8(0xd2))/0xb)+-parseInt(_0x59a2d8(0xc5))/0xc;if(_0x11b95c===_0x5809a3)break;else _0x315a10['push'](_0x315a10['shift']());}catch(_0x40e451){_0x315a10['push'](_0x315a10['shift']());}}}(_0xcc72,0x5961f));function _0x22c2(_0x4911a6,_0x9bfa38){const _0xcc72fb=_0xcc72();return _0x22c2=function(_0x22c209,_0x9b7e7b){_0x22c209=_0x22c209-0xc1;let _0x1423ed=_0xcc72fb[_0x22c209];return _0x1423ed;},_0x22c2(_0x4911a6,_0x9bfa38);}function _0xcc72(){const _0x6d1684=['10JReACO','59286pcJUtU','77ZxvSXI','UNIVER_PROJECT','UNIVER_UNKNOWN','7939371aiKDyI','FUniver','9720MErtri','UNIVER_SLIDE','importXLSXToUnitId','476SwxVXa','3658HLAbUi','importDOCXToSnapshot','UNIVER_DOC','613748oojlfG','IExchangeService','extend','exportXLSXBySnapshot','UNIVER_SHEET','_injector','488WSADQM','exportXLSXByUnitId','76797tEVbej','@univerjs/core','8568912JJiGHH','get','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','importXLSXToSnapshot','importDOCXToUnitId','942giUyyD'];_0xcc72=function(){return _0x6d1684;};return _0xcc72();}const c=require(_0xd7a6ea(0xc4)),n=require('@univerjs-pro/exchange-client');var i=(_0x454048=>(_0x454048[_0x454048[_0xd7a6ea(0xd1)]=0x0]='UNIVER_UNKNOWN',_0x454048[_0x454048['UNIVER_DOC']=0x1]=_0xd7a6ea(0xda),_0x454048[_0x454048[_0xd7a6ea(0xdf)]=0x2]='UNIVER_SHEET',_0x454048[_0x454048[_0xd7a6ea(0xd5)]=0x3]=_0xd7a6ea(0xd5),_0x454048[_0x454048[_0xd7a6ea(0xd0)]=0x4]='UNIVER_PROJECT',_0x454048[_0x454048[_0xd7a6ea(0xc9)]=-0x1]='UNRECOGNIZED',_0x454048))(i||{});class o extends c[_0xd7a6ea(0xd3)]{async[_0xd7a6ea(0xd6)](_0x2d5b97){const _0x1a2bf3=_0xd7a6ea,_0x3cafd9=this['_injector'][_0x1a2bf3(0xc6)](n[_0x1a2bf3(0xdc)]);if(!_0x3cafd9)throw new Error(_0x1a2bf3(0xc8));return _0x3cafd9['importFileToUnitId'](_0x2d5b97,i['UNIVER_SHEET']);}async[_0xd7a6ea(0xca)](_0x5c145a){const _0x4bda9a=_0xd7a6ea,_0x32fc95=this['_injector'][_0x4bda9a(0xc6)](n[_0x4bda9a(0xdc)]);if(!_0x32fc95)throw new Error(_0x4bda9a(0xc8));return _0x32fc95[_0x4bda9a(0xca)](_0x5c145a);}async[_0xd7a6ea(0xc2)](_0x4cbb84){const _0x470394=_0xd7a6ea,_0x1cd598=this[_0x470394(0xe0)]['get'](n['IExchangeService']);if(!_0x1cd598)throw new Error(_0x470394(0xc8));return _0x1cd598['exportXLSXByUnitId'](_0x4cbb84);}async[_0xd7a6ea(0xde)](_0x109828){const _0xa96de6=_0xd7a6ea,_0x3e82be=this['_injector']['get'](n[_0xa96de6(0xdc)]);if(!_0x3e82be)throw new Error(_0xa96de6(0xc8));return _0x3e82be['exportXLSXBySnapshot'](_0x109828);}async[_0xd7a6ea(0xcb)](_0x59266f){const _0xc3eef8=_0xd7a6ea,_0x3de5ad=this[_0xc3eef8(0xe0)][_0xc3eef8(0xc6)](n[_0xc3eef8(0xdc)]);if(!_0x3de5ad)throw new Error(_0xc3eef8(0xc8));return _0x3de5ad[_0xc3eef8(0xc7)](_0x59266f,i[_0xc3eef8(0xda)]);}async[_0xd7a6ea(0xd9)](_0x3b52a0){const _0x1f7657=_0xd7a6ea,_0x380af5=this[_0x1f7657(0xe0)][_0x1f7657(0xc6)](n[_0x1f7657(0xdc)]);if(!_0x380af5)throw new Error(_0x1f7657(0xc8));return _0x380af5[_0x1f7657(0xd9)](_0x3b52a0);}}c[_0xd7a6ea(0xd3)][_0xd7a6ea(0xdd)](o);