@univerjs-pro/exchange-client 0.5.0-nightly.202411171605 → 0.5.0-nightly.202411181606

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 _0x895c(_0xd42eba,_0x5233cb){const _0x1ab2bf=_0x1ab2();return _0x895c=function(_0x895c02,_0x537576){_0x895c02=_0x895c02-0x11d;let _0x3bdc70=_0x1ab2bf[_0x895c02];return _0x3bdc70;},_0x895c(_0xd42eba,_0x5233cb);}const _0x2f037f=_0x895c;(function(_0x362bda,_0x340f54){const _0x255443=_0x895c,_0x2da5a4=_0x362bda();while(!![]){try{const _0x249635=parseInt(_0x255443(0x133))/0x1*(-parseInt(_0x255443(0x125))/0x2)+parseInt(_0x255443(0x137))/0x3*(parseInt(_0x255443(0x11d))/0x4)+-parseInt(_0x255443(0x12e))/0x5+parseInt(_0x255443(0x12a))/0x6+-parseInt(_0x255443(0x135))/0x7+-parseInt(_0x255443(0x122))/0x8+-parseInt(_0x255443(0x136))/0x9*(-parseInt(_0x255443(0x129))/0xa);if(_0x249635===_0x340f54)break;else _0x2da5a4['push'](_0x2da5a4['shift']());}catch(_0x2715ee){_0x2da5a4['push'](_0x2da5a4['shift']());}}}(_0x1ab2,0x53510));function _0x1ab2(){const _0x54247a=['473410BIYlAW','exportXLSXByUnitId','importXLSXToSnapshot','UNIVER_PROJECT','49890zHLjcu','3545814LTuMtK','UNIVER_SLIDE','importDOCXToSnapshot','IExchangeService','3232275OlYqwe','importDOCXToUnitId','@univerjs/core','The\x20exchange\x20service\x20is\x20not\x20available','_injector','1SmLxLD','UNIVER_UNKNOWN','1261589xHmhbV','522CWWnFy','1753959pjtkhr','importXLSXToUnitId','importFileToUnitId','UNIVER_DOC','4VfbFvB','UNRECOGNIZED','UNIVER_SHEET','exportXLSXBySnapshot','extend','482664bMKZFi','FUniver','get'];_0x1ab2=function(){return _0x54247a;};return _0x1ab2();}const c=require(_0x2f037f(0x130)),n=require('@univerjs-pro/exchange-client');var i=(_0x5cc031=>(_0x5cc031[_0x5cc031[_0x2f037f(0x134)]=0x0]=_0x2f037f(0x134),_0x5cc031[_0x5cc031[_0x2f037f(0x13a)]=0x1]='UNIVER_DOC',_0x5cc031[_0x5cc031[_0x2f037f(0x11f)]=0x2]=_0x2f037f(0x11f),_0x5cc031[_0x5cc031[_0x2f037f(0x12b)]=0x3]=_0x2f037f(0x12b),_0x5cc031[_0x5cc031[_0x2f037f(0x128)]=0x4]=_0x2f037f(0x128),_0x5cc031[_0x5cc031['UNRECOGNIZED']=-0x1]=_0x2f037f(0x11e),_0x5cc031))(i||{});class o extends c['FUniver']{async[_0x2f037f(0x138)](_0x5e7f86){const _0x5a9c42=_0x2f037f,_0x257d30=this[_0x5a9c42(0x132)][_0x5a9c42(0x124)](n['IExchangeService']);if(!_0x257d30)throw new Error(_0x5a9c42(0x131));return _0x257d30[_0x5a9c42(0x139)](_0x5e7f86,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x56beee){const _0x44a73e=_0x2f037f,_0x3e213c=this[_0x44a73e(0x132)][_0x44a73e(0x124)](n[_0x44a73e(0x12d)]);if(!_0x3e213c)throw new Error(_0x44a73e(0x131));return _0x3e213c[_0x44a73e(0x127)](_0x56beee);}async[_0x2f037f(0x126)](_0x366d11){const _0x5bf321=_0x2f037f,_0x311001=this[_0x5bf321(0x132)][_0x5bf321(0x124)](n[_0x5bf321(0x12d)]);if(!_0x311001)throw new Error(_0x5bf321(0x131));return _0x311001[_0x5bf321(0x126)](_0x366d11);}async[_0x2f037f(0x120)](_0x2f8b52){const _0x186680=_0x2f037f,_0x17652c=this[_0x186680(0x132)][_0x186680(0x124)](n['IExchangeService']);if(!_0x17652c)throw new Error(_0x186680(0x131));return _0x17652c[_0x186680(0x120)](_0x2f8b52);}async[_0x2f037f(0x12f)](_0x36b31d){const _0x273eb6=_0x2f037f,_0x27bc9a=this[_0x273eb6(0x132)][_0x273eb6(0x124)](n[_0x273eb6(0x12d)]);if(!_0x27bc9a)throw new Error(_0x273eb6(0x131));return _0x27bc9a[_0x273eb6(0x139)](_0x36b31d,i[_0x273eb6(0x13a)]);}async[_0x2f037f(0x12c)](_0x9de426){const _0x2dfc1b=_0x2f037f,_0x5b2a0f=this['_injector'][_0x2dfc1b(0x124)](n[_0x2dfc1b(0x12d)]);if(!_0x5b2a0f)throw new Error(_0x2dfc1b(0x131));return _0x5b2a0f['importDOCXToSnapshot'](_0x9de426);}}c[_0x2f037f(0x123)][_0x2f037f(0x121)](o);
1
+ 'use strict';function _0x374a(_0xcbdf8,_0x24c3a5){const _0x5ee6d7=_0x5ee6();return _0x374a=function(_0x374a35,_0x425627){_0x374a35=_0x374a35-0x104;let _0x215720=_0x5ee6d7[_0x374a35];return _0x215720;},_0x374a(_0xcbdf8,_0x24c3a5);}const _0x340e67=_0x374a;(function(_0x4dca6a,_0x4e660f){const _0x1caa14=_0x374a,_0x5d5852=_0x4dca6a();while(!![]){try{const _0x35f122=parseInt(_0x1caa14(0x11e))/0x1+-parseInt(_0x1caa14(0x114))/0x2*(-parseInt(_0x1caa14(0x119))/0x3)+-parseInt(_0x1caa14(0x10f))/0x4*(-parseInt(_0x1caa14(0x118))/0x5)+parseInt(_0x1caa14(0x105))/0x6+parseInt(_0x1caa14(0x11c))/0x7*(-parseInt(_0x1caa14(0x106))/0x8)+parseInt(_0x1caa14(0x122))/0x9+-parseInt(_0x1caa14(0x110))/0xa;if(_0x35f122===_0x4e660f)break;else _0x5d5852['push'](_0x5d5852['shift']());}catch(_0x39f442){_0x5d5852['push'](_0x5d5852['shift']());}}}(_0x5ee6,0xac101));const c=require(_0x340e67(0x107)),n=require(_0x340e67(0x121));function _0x5ee6(){const _0x59782c=['importXLSXToUnitId','exportXLSXByUnitId','49188dyxQvl','17543570mJvGJk','UNIVER_PROJECT','_injector','FUniver','23776WuxrmT','importXLSXToSnapshot','UNIVER_UNKNOWN','importDOCXToUnitId','215VeqcVQ','276dkvVmr','extend','importFileToUnitId','462TsfLtg','exportXLSXBySnapshot','281916DtQAnc','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','7497792MnAlwE','importDOCXToSnapshot','1932738FsqgXC','72784QHWSiC','@univerjs/core','IExchangeService','UNIVER_SHEET','get','UNRECOGNIZED','UNIVER_SLIDE'];_0x5ee6=function(){return _0x59782c;};return _0x5ee6();}var i=(_0x4f999b=>(_0x4f999b[_0x4f999b[_0x340e67(0x116)]=0x0]='UNIVER_UNKNOWN',_0x4f999b[_0x4f999b[_0x340e67(0x11f)]=0x1]='UNIVER_DOC',_0x4f999b[_0x4f999b['UNIVER_SHEET']=0x2]=_0x340e67(0x109),_0x4f999b[_0x4f999b[_0x340e67(0x10c)]=0x3]=_0x340e67(0x10c),_0x4f999b[_0x4f999b[_0x340e67(0x111)]=0x4]=_0x340e67(0x111),_0x4f999b[_0x4f999b['UNRECOGNIZED']=-0x1]=_0x340e67(0x10b),_0x4f999b))(i||{});class o extends c['FUniver']{async[_0x340e67(0x10d)](_0x2206e0){const _0x1ebe96=_0x340e67,_0x5f33b1=this[_0x1ebe96(0x112)][_0x1ebe96(0x10a)](n[_0x1ebe96(0x108)]);if(!_0x5f33b1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5f33b1[_0x1ebe96(0x11b)](_0x2206e0,i[_0x1ebe96(0x109)]);}async[_0x340e67(0x115)](_0xe4b30){const _0x3195a3=_0x340e67,_0x44281d=this[_0x3195a3(0x112)][_0x3195a3(0x10a)](n['IExchangeService']);if(!_0x44281d)throw new Error(_0x3195a3(0x120));return _0x44281d['importXLSXToSnapshot'](_0xe4b30);}async['exportXLSXByUnitId'](_0xe0d0c9){const _0x4705f5=_0x340e67,_0x100f1d=this[_0x4705f5(0x112)][_0x4705f5(0x10a)](n[_0x4705f5(0x108)]);if(!_0x100f1d)throw new Error(_0x4705f5(0x120));return _0x100f1d[_0x4705f5(0x10e)](_0xe0d0c9);}async['exportXLSXBySnapshot'](_0x1717c5){const _0x599da6=_0x340e67,_0x47207d=this[_0x599da6(0x112)][_0x599da6(0x10a)](n[_0x599da6(0x108)]);if(!_0x47207d)throw new Error(_0x599da6(0x120));return _0x47207d[_0x599da6(0x11d)](_0x1717c5);}async[_0x340e67(0x117)](_0x4f3979){const _0x3e6622=_0x340e67,_0x4b3576=this[_0x3e6622(0x112)]['get'](n[_0x3e6622(0x108)]);if(!_0x4b3576)throw new Error(_0x3e6622(0x120));return _0x4b3576[_0x3e6622(0x11b)](_0x4f3979,i[_0x3e6622(0x11f)]);}async[_0x340e67(0x104)](_0x5a058d){const _0x5c4436=_0x340e67,_0x3326b7=this[_0x5c4436(0x112)][_0x5c4436(0x10a)](n[_0x5c4436(0x108)]);if(!_0x3326b7)throw new Error(_0x5c4436(0x120));return _0x3326b7[_0x5c4436(0x104)](_0x5a058d);}}c[_0x340e67(0x113)][_0x340e67(0x11a)](o);