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

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 _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);
1
+ 'use strict';const _0x32d02d=_0x94d1;(function(_0x1c7900,_0x30950b){const _0x380037=_0x94d1,_0x219285=_0x1c7900();while(!![]){try{const _0x317e7a=-parseInt(_0x380037(0x17b))/0x1*(parseInt(_0x380037(0x17d))/0x2)+-parseInt(_0x380037(0x18a))/0x3*(parseInt(_0x380037(0x17a))/0x4)+parseInt(_0x380037(0x177))/0x5+-parseInt(_0x380037(0x18c))/0x6+parseInt(_0x380037(0x18e))/0x7+parseInt(_0x380037(0x18f))/0x8*(parseInt(_0x380037(0x183))/0x9)+parseInt(_0x380037(0x17f))/0xa*(parseInt(_0x380037(0x182))/0xb);if(_0x317e7a===_0x30950b)break;else _0x219285['push'](_0x219285['shift']());}catch(_0xf91b70){_0x219285['push'](_0x219285['shift']());}}}(_0x3d52,0xe108b));const c=require(_0x32d02d(0x176)),n=require(_0x32d02d(0x186));function _0x94d1(_0x53e4e0,_0x11bc69){const _0x3d52c7=_0x3d52();return _0x94d1=function(_0x94d10d,_0xda0c0a){_0x94d10d=_0x94d10d-0x174;let _0x215695=_0x3d52c7[_0x94d10d];return _0x215695;},_0x94d1(_0x53e4e0,_0x11bc69);}var i=(_0x1643c1=>(_0x1643c1[_0x1643c1[_0x32d02d(0x175)]=0x0]='UNIVER_UNKNOWN',_0x1643c1[_0x1643c1[_0x32d02d(0x179)]=0x1]='UNIVER_DOC',_0x1643c1[_0x1643c1[_0x32d02d(0x17e)]=0x2]=_0x32d02d(0x17e),_0x1643c1[_0x1643c1[_0x32d02d(0x185)]=0x3]=_0x32d02d(0x185),_0x1643c1[_0x1643c1[_0x32d02d(0x190)]=0x4]=_0x32d02d(0x190),_0x1643c1[_0x1643c1[_0x32d02d(0x18b)]=-0x1]=_0x32d02d(0x18b),_0x1643c1))(i||{});function _0x3d52(){const _0x4785f2=['9YzZqBA','UNRECOGNIZED','4628376FGbxEd','The\x20exchange\x20service\x20is\x20not\x20available','3037146ALziKn','568OPBSMm','UNIVER_PROJECT','importFileToUnitId','IExchangeService','UNIVER_UNKNOWN','@univerjs/core','8414265NGFfXZ','_injector','UNIVER_DOC','89412bnVnLp','8874uryUqe','importXLSXToSnapshot','384gGXjnb','UNIVER_SHEET','20CuapQS','exportXLSXByUnitId','FUniver','2451812FZehEe','114273rZtRNU','get','UNIVER_SLIDE','@univerjs-pro/exchange-client','importXLSXToUnitId','importDOCXToUnitId','extend'];_0x3d52=function(){return _0x4785f2;};return _0x3d52();}class o extends c['FUniver']{async[_0x32d02d(0x187)](_0x31ca3c){const _0x46b8a5=_0x32d02d,_0x52b5ef=this[_0x46b8a5(0x178)][_0x46b8a5(0x184)](n['IExchangeService']);if(!_0x52b5ef)throw new Error(_0x46b8a5(0x18d));return _0x52b5ef[_0x46b8a5(0x191)](_0x31ca3c,i[_0x46b8a5(0x17e)]);}async['importXLSXToSnapshot'](_0x59b4a6){const _0x4541f5=_0x32d02d,_0x23bd9e=this['_injector'][_0x4541f5(0x184)](n[_0x4541f5(0x174)]);if(!_0x23bd9e)throw new Error(_0x4541f5(0x18d));return _0x23bd9e[_0x4541f5(0x17c)](_0x59b4a6);}async[_0x32d02d(0x180)](_0x67a883){const _0x115575=_0x32d02d,_0x1ccbe1=this['_injector'][_0x115575(0x184)](n[_0x115575(0x174)]);if(!_0x1ccbe1)throw new Error(_0x115575(0x18d));return _0x1ccbe1['exportXLSXByUnitId'](_0x67a883);}async['exportXLSXBySnapshot'](_0x2ad4d6){const _0x3f6572=_0x32d02d,_0x28225f=this['_injector']['get'](n[_0x3f6572(0x174)]);if(!_0x28225f)throw new Error(_0x3f6572(0x18d));return _0x28225f['exportXLSXBySnapshot'](_0x2ad4d6);}async[_0x32d02d(0x188)](_0x118511){const _0x1061c5=_0x32d02d,_0x251468=this['_injector'][_0x1061c5(0x184)](n[_0x1061c5(0x174)]);if(!_0x251468)throw new Error(_0x1061c5(0x18d));return _0x251468[_0x1061c5(0x191)](_0x118511,i[_0x1061c5(0x179)]);}async['importDOCXToSnapshot'](_0x49d164){const _0x1c654b=_0x32d02d,_0x55c81e=this[_0x1c654b(0x178)]['get'](n['IExchangeService']);if(!_0x55c81e)throw new Error(_0x1c654b(0x18d));return _0x55c81e['importDOCXToSnapshot'](_0x49d164);}}c[_0x32d02d(0x181)][_0x32d02d(0x189)](o);