@univerjs-pro/exchange-client 0.9.1-nightly.202507081607 → 0.9.1-nightly.202507101607

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 _0xb35617=_0x1571;function _0x56b7(){const _0x4f0c8e=['1530768ezskBi','3HTdWvk','1777581WFKvLz','importXLSXToSnapshot','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','2559564DcxXqy','123546MfIWre','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','importDOCXToSnapshot','UNRECOGNIZED','321325TuqGeq','importXLSXToUnitId','UNIVER_PROJECT','exportDOCXByUnitIdAsync','exportDOCXBySnapshotAsync','exportDOCXByUnitId','649722PbUJHf','get','_injector','UNIVER_UNKNOWN','importFileToUnitId','IExchangeService','FUniver','importDOCXToUnitIdAsync','356422FMKTDm','exportXLSXByUnitId','40sGaJqj','importDOCXToUnitId','exportXLSXByUnitIdAsync','extend'];_0x56b7=function(){return _0x4f0c8e;};return _0x56b7();}(function(_0x50e263,_0x29525f){const _0x2b68b2=_0x1571,_0x36a07f=_0x50e263();while(!![]){try{const _0x5b6b64=-parseInt(_0x2b68b2(0x167))/0x1+parseInt(_0x2b68b2(0x15f))/0x2+parseInt(_0x2b68b2(0x16e))/0x3*(-parseInt(_0x2b68b2(0x16d))/0x4)+parseInt(_0x2b68b2(0x159))/0x5+-parseInt(_0x2b68b2(0x153))/0x6+-parseInt(_0x2b68b2(0x152))/0x7+parseInt(_0x2b68b2(0x169))/0x8*(parseInt(_0x2b68b2(0x16f))/0x9);if(_0x5b6b64===_0x29525f)break;else _0x36a07f['push'](_0x36a07f['shift']());}catch(_0x571ebd){_0x36a07f['push'](_0x36a07f['shift']());}}}(_0x56b7,0x3d5b2));function _0x1571(_0x27d675,_0x3480b4){const _0x56b7b9=_0x56b7();return _0x1571=function(_0x1571f3,_0x1cbacd){_0x1571f3=_0x1571f3-0x151;let _0x38852b=_0x56b7b9[_0x1571f3];return _0x38852b;},_0x1571(_0x27d675,_0x3480b4);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x213bb1=>(_0x213bb1[_0x213bb1[_0xb35617(0x162)]=0x0]=_0xb35617(0x162),_0x213bb1[_0x213bb1[_0xb35617(0x171)]=0x1]=_0xb35617(0x171),_0x213bb1[_0x213bb1[_0xb35617(0x151)]=0x2]=_0xb35617(0x151),_0x213bb1[_0x213bb1['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x213bb1[_0x213bb1[_0xb35617(0x15b)]=0x4]='UNIVER_PROJECT',_0x213bb1[_0x213bb1[_0xb35617(0x158)]=-0x1]=_0xb35617(0x158),_0x213bb1))(i||{});class c extends o['FUniver']{async[_0xb35617(0x15a)](_0x5a5d68){const _0x1f3f32=_0xb35617;return this[_0x1f3f32(0x154)](_0x5a5d68);}async[_0xb35617(0x154)](_0x2d910c){const _0x2059c0=_0xb35617,_0x283cbe=this[_0x2059c0(0x161)][_0x2059c0(0x160)](r[_0x2059c0(0x164)]);if(!_0x283cbe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x283cbe[_0x2059c0(0x163)](_0x2d910c,i[_0x2059c0(0x151)]);}async[_0xb35617(0x170)](_0x4da0fe){return this['importXLSXToSnapshotAsync'](_0x4da0fe);}async[_0xb35617(0x156)](_0x542202){const _0x1944c=_0xb35617,_0x51dff6=this['_injector'][_0x1944c(0x160)](r[_0x1944c(0x164)]);if(!_0x51dff6)throw new Error(_0x1944c(0x172));return _0x51dff6['importXLSXToSnapshot'](_0x542202);}async[_0xb35617(0x168)](_0x2c1b9b){const _0x5b2ffd=_0xb35617;return this[_0x5b2ffd(0x16b)](_0x2c1b9b);}async[_0xb35617(0x16b)](_0x498bfa){const _0x1a087b=_0xb35617,_0x1aa0ef=this[_0x1a087b(0x161)]['get'](r['IExchangeService']);if(!_0x1aa0ef)throw new Error(_0x1a087b(0x172));return _0x1aa0ef['exportXLSXByUnitId'](_0x498bfa);}async['exportXLSXBySnapshot'](_0x518fc1){return this['exportXLSXBySnapshotAsync'](_0x518fc1);}async['exportXLSXBySnapshotAsync'](_0x5b312c){const _0x713fc9=_0xb35617,_0x2f254e=this[_0x713fc9(0x161)]['get'](r[_0x713fc9(0x164)]);if(!_0x2f254e)throw new Error(_0x713fc9(0x172));return _0x2f254e['exportXLSXBySnapshot'](_0x5b312c);}async[_0xb35617(0x16a)](_0x51fd30){const _0x9f3190=_0xb35617;return this[_0x9f3190(0x166)](_0x51fd30);}async['importDOCXToUnitIdAsync'](_0x16be5a){const _0x3125e1=_0xb35617,_0x375cfb=this['_injector'][_0x3125e1(0x160)](r[_0x3125e1(0x164)]);if(!_0x375cfb)throw new Error(_0x3125e1(0x172));return _0x375cfb[_0x3125e1(0x163)](_0x16be5a,i['UNIVER_DOC']);}async[_0xb35617(0x157)](_0x5cb7a6){const _0x3d2326=_0xb35617;return this[_0x3d2326(0x155)](_0x5cb7a6);}async[_0xb35617(0x155)](_0x30d875){const _0x12c449=_0xb35617,_0x25e1bb=this[_0x12c449(0x161)][_0x12c449(0x160)](r[_0x12c449(0x164)]);if(!_0x25e1bb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25e1bb[_0x12c449(0x157)](_0x30d875);}async[_0xb35617(0x15d)](_0x3e3a69){const _0x4b1f45=_0xb35617,_0x5c9a14=this['_injector'][_0x4b1f45(0x160)](r[_0x4b1f45(0x164)]);if(!_0x5c9a14)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5c9a14['exportDOCXBySnapshot'](_0x3e3a69);}async[_0xb35617(0x15c)](_0x73d25c){const _0x21a245=_0xb35617,_0x5a737b=this['_injector'][_0x21a245(0x160)](r['IExchangeService']);if(!_0x5a737b)throw new Error(_0x21a245(0x172));return _0x5a737b[_0x21a245(0x15e)](_0x73d25c);}}o[_0xb35617(0x165)][_0xb35617(0x16c)](c);
1
+ 'use strict';const _0x116f91=_0xe9d4;(function(_0x3f8fa3,_0x4aba65){const _0x3641f1=_0xe9d4,_0x9ae400=_0x3f8fa3();while(!![]){try{const _0x34c58f=-parseInt(_0x3641f1(0x1c7))/0x1*(parseInt(_0x3641f1(0x1e0))/0x2)+-parseInt(_0x3641f1(0x1d2))/0x3*(parseInt(_0x3641f1(0x1d8))/0x4)+parseInt(_0x3641f1(0x1d4))/0x5+parseInt(_0x3641f1(0x1dd))/0x6*(-parseInt(_0x3641f1(0x1db))/0x7)+-parseInt(_0x3641f1(0x1c4))/0x8*(-parseInt(_0x3641f1(0x1be))/0x9)+parseInt(_0x3641f1(0x1d9))/0xa+-parseInt(_0x3641f1(0x1d0))/0xb;if(_0x34c58f===_0x4aba65)break;else _0x9ae400['push'](_0x9ae400['shift']());}catch(_0x8b2520){_0x9ae400['push'](_0x9ae400['shift']());}}}(_0x1632,0x8226d));function _0xe9d4(_0x3ccf5f,_0x595d52){const _0x16325e=_0x1632();return _0xe9d4=function(_0xe9d445,_0x3580a2){_0xe9d445=_0xe9d445-0x1bb;let _0xc96030=_0x16325e[_0xe9d445];return _0xc96030;},_0xe9d4(_0x3ccf5f,_0x595d52);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3aeb3d=>(_0x3aeb3d[_0x3aeb3d[_0x116f91(0x1cd)]=0x0]=_0x116f91(0x1cd),_0x3aeb3d[_0x3aeb3d[_0x116f91(0x1d1)]=0x1]=_0x116f91(0x1d1),_0x3aeb3d[_0x3aeb3d[_0x116f91(0x1d7)]=0x2]=_0x116f91(0x1d7),_0x3aeb3d[_0x3aeb3d[_0x116f91(0x1dc)]=0x3]=_0x116f91(0x1dc),_0x3aeb3d[_0x3aeb3d[_0x116f91(0x1c3)]=0x4]=_0x116f91(0x1c3),_0x3aeb3d[_0x3aeb3d['UNRECOGNIZED']=-0x1]=_0x116f91(0x1bb),_0x3aeb3d))(i||{});class c extends o[_0x116f91(0x1da)]{async[_0x116f91(0x1c9)](_0x51520f){return this['importXLSXToUnitIdAsync'](_0x51520f);}async[_0x116f91(0x1ce)](_0x385411){const _0x12ee8a=_0x116f91,_0x1b54bd=this[_0x12ee8a(0x1c1)][_0x12ee8a(0x1d5)](r[_0x12ee8a(0x1ca)]);if(!_0x1b54bd)throw new Error(_0x12ee8a(0x1cb));return _0x1b54bd[_0x12ee8a(0x1c6)](_0x385411,i[_0x12ee8a(0x1d7)]);}async[_0x116f91(0x1bd)](_0x5c193e){const _0x2460c3=_0x116f91;return this[_0x2460c3(0x1c8)](_0x5c193e);}async[_0x116f91(0x1c8)](_0x236a13){const _0x4cc2d7=_0x116f91,_0x1a0c45=this[_0x4cc2d7(0x1c1)]['get'](r[_0x4cc2d7(0x1ca)]);if(!_0x1a0c45)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a0c45[_0x4cc2d7(0x1bd)](_0x236a13);}async[_0x116f91(0x1cc)](_0x181e54){const _0x3e7742=_0x116f91;return this[_0x3e7742(0x1e1)](_0x181e54);}async[_0x116f91(0x1e1)](_0x405daa){const _0x9277a9=_0x116f91,_0x2bdc7f=this[_0x9277a9(0x1c1)]['get'](r[_0x9277a9(0x1ca)]);if(!_0x2bdc7f)throw new Error(_0x9277a9(0x1cb));return _0x2bdc7f['exportXLSXByUnitId'](_0x405daa);}async['exportXLSXBySnapshot'](_0x3b8e2c){const _0x12db26=_0x116f91;return this[_0x12db26(0x1d6)](_0x3b8e2c);}async[_0x116f91(0x1d6)](_0x19621a){const _0x3c5120=_0x116f91,_0x4197e8=this[_0x3c5120(0x1c1)][_0x3c5120(0x1d5)](r[_0x3c5120(0x1ca)]);if(!_0x4197e8)throw new Error(_0x3c5120(0x1cb));return _0x4197e8['exportXLSXBySnapshot'](_0x19621a);}async[_0x116f91(0x1bc)](_0x29c125){const _0xb2f36c=_0x116f91;return this[_0xb2f36c(0x1de)](_0x29c125);}async[_0x116f91(0x1de)](_0x453e4a){const _0x1abece=_0x116f91,_0x20dbf8=this[_0x1abece(0x1c1)][_0x1abece(0x1d5)](r[_0x1abece(0x1ca)]);if(!_0x20dbf8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x20dbf8[_0x1abece(0x1c6)](_0x453e4a,i[_0x1abece(0x1d1)]);}async[_0x116f91(0x1c2)](_0x39367f){return this['importDOCXToSnapshotAsync'](_0x39367f);}async[_0x116f91(0x1c5)](_0xced531){const _0x8bd1be=_0x116f91,_0x3973e7=this[_0x8bd1be(0x1c1)]['get'](r['IExchangeService']);if(!_0x3973e7)throw new Error(_0x8bd1be(0x1cb));return _0x3973e7['importDOCXToSnapshot'](_0xced531);}async[_0x116f91(0x1bf)](_0x134ce1){const _0x13fa51=_0x116f91,_0x24bee2=this[_0x13fa51(0x1c1)][_0x13fa51(0x1d5)](r[_0x13fa51(0x1ca)]);if(!_0x24bee2)throw new Error(_0x13fa51(0x1cb));return _0x24bee2[_0x13fa51(0x1d3)](_0x134ce1);}async[_0x116f91(0x1cf)](_0x25b387){const _0x56a7c7=_0x116f91,_0x5d7694=this['_injector'][_0x56a7c7(0x1d5)](r[_0x56a7c7(0x1ca)]);if(!_0x5d7694)throw new Error(_0x56a7c7(0x1cb));return _0x5d7694[_0x56a7c7(0x1c0)](_0x25b387);}}function _0x1632(){const _0x571d31=['2644KDaKLA','2096160ZcKJSL','FUniver','165445ROfIZV','UNIVER_SLIDE','6HYnWXd','importDOCXToUnitIdAsync','extend','2XlfXLg','exportXLSXByUnitIdAsync','UNRECOGNIZED','importDOCXToUnitId','importXLSXToSnapshot','108gLgWtL','exportDOCXBySnapshotAsync','exportDOCXByUnitId','_injector','importDOCXToSnapshot','UNIVER_PROJECT','527792GKqdkl','importDOCXToSnapshotAsync','importFileToUnitId','180884EDCXiR','importXLSXToSnapshotAsync','importXLSXToUnitId','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','exportDOCXByUnitIdAsync','8252563qplvCA','UNIVER_DOC','2217ujIYjG','exportDOCXBySnapshot','4875140oGUfyU','get','exportXLSXBySnapshotAsync','UNIVER_SHEET'];_0x1632=function(){return _0x571d31;};return _0x1632();}o['FUniver'][_0x116f91(0x1df)](c);