@univerjs-pro/exchange-client 0.5.5-nightly.202501210849 → 0.5.5-nightly.202501211606

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 _0x111dd8=_0x2f88;(function(_0x51198e,_0x40aeb6){const _0x1b4dbc=_0x2f88,_0x5b422b=_0x51198e();while(!![]){try{const _0x3629ac=parseInt(_0x1b4dbc(0x1d3))/0x1+parseInt(_0x1b4dbc(0x1d4))/0x2+parseInt(_0x1b4dbc(0x1cd))/0x3+parseInt(_0x1b4dbc(0x1d2))/0x4+-parseInt(_0x1b4dbc(0x1c8))/0x5*(parseInt(_0x1b4dbc(0x1c9))/0x6)+parseInt(_0x1b4dbc(0x1d9))/0x7+-parseInt(_0x1b4dbc(0x1cb))/0x8*(parseInt(_0x1b4dbc(0x1bd))/0x9);if(_0x3629ac===_0x40aeb6)break;else _0x5b422b['push'](_0x5b422b['shift']());}catch(_0x223d45){_0x5b422b['push'](_0x5b422b['shift']());}}}(_0x16af,0xccfef));const r=require(_0x111dd8(0x1be)),i=require('@univerjs/core');var o=(_0xc23f8a=>(_0xc23f8a[_0xc23f8a[_0x111dd8(0x1bc)]=0x0]=_0x111dd8(0x1bc),_0xc23f8a[_0xc23f8a[_0x111dd8(0x1d7)]=0x1]=_0x111dd8(0x1d7),_0xc23f8a[_0xc23f8a[_0x111dd8(0x1c4)]=0x2]=_0x111dd8(0x1c4),_0xc23f8a[_0xc23f8a['UNIVER_SLIDE']=0x3]=_0x111dd8(0x1d6),_0xc23f8a[_0xc23f8a['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0xc23f8a[_0xc23f8a[_0x111dd8(0x1db)]=-0x1]=_0x111dd8(0x1db),_0xc23f8a))(o||{});class c extends i[_0x111dd8(0x1d1)]{async[_0x111dd8(0x1d0)](_0x34f2bf){return this['importXLSXToUnitIdAsync'](_0x34f2bf);}async[_0x111dd8(0x1c6)](_0x38acca){const _0x272df1=_0x111dd8,_0x390d43=this[_0x272df1(0x1ca)][_0x272df1(0x1c0)](r['IExchangeService']);if(!_0x390d43)throw new Error(_0x272df1(0x1ce));return _0x390d43[_0x272df1(0x1cf)](_0x38acca,o['UNIVER_SHEET']);}async[_0x111dd8(0x1c5)](_0x2057e9){const _0x179b91=_0x111dd8;return this[_0x179b91(0x1c7)](_0x2057e9);}async[_0x111dd8(0x1c7)](_0x5c8541){const _0x31a9ff=_0x111dd8,_0x4ffc74=this['_injector'][_0x31a9ff(0x1c0)](r['IExchangeService']);if(!_0x4ffc74)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ffc74[_0x31a9ff(0x1c5)](_0x5c8541);}async['exportXLSXByUnitId'](_0x17e564){const _0x17996c=_0x111dd8;return this[_0x17996c(0x1bf)](_0x17e564);}async['exportXLSXByUnitIdAsync'](_0x20dfdd){const _0x3f52b8=_0x111dd8,_0x158e21=this['_injector'][_0x3f52b8(0x1c0)](r[_0x3f52b8(0x1c2)]);if(!_0x158e21)throw new Error(_0x3f52b8(0x1ce));return _0x158e21[_0x3f52b8(0x1dc)](_0x20dfdd);}async[_0x111dd8(0x1d5)](_0x3886d9){return this['exportXLSXBySnapshotAsync'](_0x3886d9);}async[_0x111dd8(0x1d8)](_0xae1e57){const _0xbb1cf=_0x111dd8,_0x404875=this[_0xbb1cf(0x1ca)][_0xbb1cf(0x1c0)](r[_0xbb1cf(0x1c2)]);if(!_0x404875)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x404875['exportXLSXBySnapshot'](_0xae1e57);}async[_0x111dd8(0x1bb)](_0x9adc84){const _0x69d3e2=_0x111dd8;return this[_0x69d3e2(0x1c1)](_0x9adc84);}async[_0x111dd8(0x1c1)](_0xfdde61){const _0x1167e2=_0x111dd8,_0x1962ad=this[_0x1167e2(0x1ca)][_0x1167e2(0x1c0)](r['IExchangeService']);if(!_0x1962ad)throw new Error(_0x1167e2(0x1ce));return _0x1962ad[_0x1167e2(0x1cf)](_0xfdde61,o['UNIVER_DOC']);}async[_0x111dd8(0x1cc)](_0x40faaa){const _0x36f63a=_0x111dd8;return this[_0x36f63a(0x1da)](_0x40faaa);}async['importDOCXToSnapshotAsync'](_0x22ef05){const _0x5e93bc=_0x111dd8,_0x2ca8c5=this[_0x5e93bc(0x1ca)][_0x5e93bc(0x1c0)](r[_0x5e93bc(0x1c2)]);if(!_0x2ca8c5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ca8c5[_0x5e93bc(0x1cc)](_0x22ef05);}}function _0x16af(){const _0x17f90d=['importDOCXToUnitIdAsync','IExchangeService','extend','UNIVER_SHEET','importXLSXToSnapshot','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','1703005LnOOPW','12GyhVOa','_injector','328spdhJT','importDOCXToSnapshot','4372560ldUDah','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','importXLSXToUnitId','FUniver','4410772osaGrO','921038oUCusH','947106qYeMpo','exportXLSXBySnapshot','UNIVER_SLIDE','UNIVER_DOC','exportXLSXBySnapshotAsync','8313711ArgQRz','importDOCXToSnapshotAsync','UNRECOGNIZED','exportXLSXByUnitId','importDOCXToUnitId','UNIVER_UNKNOWN','794988SIawTC','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','get'];_0x16af=function(){return _0x17f90d;};return _0x16af();}function _0x2f88(_0x1cfab1,_0x300a64){const _0x16afd6=_0x16af();return _0x2f88=function(_0x2f8821,_0xd1c21e){_0x2f8821=_0x2f8821-0x1bb;let _0x334d12=_0x16afd6[_0x2f8821];return _0x334d12;},_0x2f88(_0x1cfab1,_0x300a64);}i[_0x111dd8(0x1d1)][_0x111dd8(0x1c3)](c);
1
+ 'use strict';const _0x4b5153=_0x2508;(function(_0x386f94,_0x5571c2){const _0x5827ae=_0x2508,_0x207ee2=_0x386f94();while(!![]){try{const _0x3ce621=parseInt(_0x5827ae(0x13f))/0x1+-parseInt(_0x5827ae(0x14b))/0x2*(parseInt(_0x5827ae(0x139))/0x3)+parseInt(_0x5827ae(0x151))/0x4*(parseInt(_0x5827ae(0x14d))/0x5)+parseInt(_0x5827ae(0x14f))/0x6+parseInt(_0x5827ae(0x13e))/0x7+-parseInt(_0x5827ae(0x140))/0x8+-parseInt(_0x5827ae(0x146))/0x9;if(_0x3ce621===_0x5571c2)break;else _0x207ee2['push'](_0x207ee2['shift']());}catch(_0xc791ea){_0x207ee2['push'](_0x207ee2['shift']());}}}(_0x26bd,0xdbf8a));const r=require(_0x4b5153(0x152)),i=require(_0x4b5153(0x157));function _0x2508(_0x1d0773,_0x25f761){const _0x26bdba=_0x26bd();return _0x2508=function(_0x2508a6,_0x4d747a){_0x2508a6=_0x2508a6-0x138;let _0x2467c2=_0x26bdba[_0x2508a6];return _0x2467c2;},_0x2508(_0x1d0773,_0x25f761);}var o=(_0x7222bc=>(_0x7222bc[_0x7222bc['UNIVER_UNKNOWN']=0x0]=_0x4b5153(0x154),_0x7222bc[_0x7222bc[_0x4b5153(0x14a)]=0x1]=_0x4b5153(0x14a),_0x7222bc[_0x7222bc[_0x4b5153(0x150)]=0x2]='UNIVER_SHEET',_0x7222bc[_0x7222bc[_0x4b5153(0x155)]=0x3]=_0x4b5153(0x155),_0x7222bc[_0x7222bc['UNIVER_PROJECT']=0x4]=_0x4b5153(0x141),_0x7222bc[_0x7222bc['UNRECOGNIZED']=-0x1]=_0x4b5153(0x142),_0x7222bc))(o||{});class c extends i['FUniver']{async[_0x4b5153(0x14c)](_0x222933){const _0x302f33=_0x4b5153;return this[_0x302f33(0x149)](_0x222933);}async[_0x4b5153(0x149)](_0x4b7d41){const _0x48f61b=_0x4b5153,_0x86e313=this[_0x48f61b(0x147)][_0x48f61b(0x13b)](r[_0x48f61b(0x13c)]);if(!_0x86e313)throw new Error(_0x48f61b(0x144));return _0x86e313[_0x48f61b(0x13a)](_0x4b7d41,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x309f77){const _0x175988=_0x4b5153;return this[_0x175988(0x138)](_0x309f77);}async[_0x4b5153(0x138)](_0x1c2db5){const _0x3d9655=_0x4b5153,_0xce5d7a=this[_0x3d9655(0x147)][_0x3d9655(0x13b)](r[_0x3d9655(0x13c)]);if(!_0xce5d7a)throw new Error(_0x3d9655(0x144));return _0xce5d7a['importXLSXToSnapshot'](_0x1c2db5);}async['exportXLSXByUnitId'](_0x4f1aa1){return this['exportXLSXByUnitIdAsync'](_0x4f1aa1);}async[_0x4b5153(0x145)](_0x5b5d3f){const _0x367044=_0x4b5153,_0x341dae=this[_0x367044(0x147)][_0x367044(0x13b)](r['IExchangeService']);if(!_0x341dae)throw new Error(_0x367044(0x144));return _0x341dae['exportXLSXByUnitId'](_0x5b5d3f);}async[_0x4b5153(0x153)](_0x1ab0db){const _0x416186=_0x4b5153;return this[_0x416186(0x156)](_0x1ab0db);}async[_0x4b5153(0x156)](_0x51ef18){const _0x49e130=_0x4b5153,_0x505bb3=this[_0x49e130(0x147)][_0x49e130(0x13b)](r[_0x49e130(0x13c)]);if(!_0x505bb3)throw new Error(_0x49e130(0x144));return _0x505bb3[_0x49e130(0x153)](_0x51ef18);}async[_0x4b5153(0x143)](_0x3e17e1){const _0x398098=_0x4b5153;return this[_0x398098(0x13d)](_0x3e17e1);}async[_0x4b5153(0x13d)](_0x1fc8ce){const _0x1d9f1b=_0x4b5153,_0x2908e0=this[_0x1d9f1b(0x147)][_0x1d9f1b(0x13b)](r[_0x1d9f1b(0x13c)]);if(!_0x2908e0)throw new Error(_0x1d9f1b(0x144));return _0x2908e0[_0x1d9f1b(0x13a)](_0x1fc8ce,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x46a6a3){const _0x8dfcde=_0x4b5153;return this[_0x8dfcde(0x148)](_0x46a6a3);}async[_0x4b5153(0x148)](_0x37c2f0){const _0x2af88b=_0x4b5153,_0x3213dc=this[_0x2af88b(0x147)][_0x2af88b(0x13b)](r['IExchangeService']);if(!_0x3213dc)throw new Error(_0x2af88b(0x144));return _0x3213dc['importDOCXToSnapshot'](_0x37c2f0);}}function _0x26bd(){const _0x46b1a1=['2390236NeaSpG','@univerjs-pro/exchange-client','exportXLSXBySnapshot','UNIVER_UNKNOWN','UNIVER_SLIDE','exportXLSXBySnapshotAsync','@univerjs/core','importXLSXToSnapshotAsync','9NdqCLC','importFileToUnitId','get','IExchangeService','importDOCXToUnitIdAsync','11455563tNQAzL','547141gDmNaF','7952920ngTSjf','UNIVER_PROJECT','UNRECOGNIZED','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','15823107UojhPz','_injector','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','UNIVER_DOC','59306bHsuyU','importXLSXToUnitId','5IsUhls','extend','5765940vyVPUu','UNIVER_SHEET'];_0x26bd=function(){return _0x46b1a1;};return _0x26bd();}i['FUniver'][_0x4b5153(0x14e)](c);