@univerjs-pro/exchange-client 0.9.1-nightly.202507091606 → 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 _0x569a58=_0x3adc;(function(_0x335bd2,_0x2c0f25){const _0x15c25b=_0x3adc,_0xb36d50=_0x335bd2();while(!![]){try{const _0x114227=-parseInt(_0x15c25b(0x160))/0x1*(parseInt(_0x15c25b(0x143))/0x2)+parseInt(_0x15c25b(0x15f))/0x3+-parseInt(_0x15c25b(0x157))/0x4*(parseInt(_0x15c25b(0x15e))/0x5)+parseInt(_0x15c25b(0x162))/0x6+parseInt(_0x15c25b(0x149))/0x7+parseInt(_0x15c25b(0x142))/0x8*(-parseInt(_0x15c25b(0x14c))/0x9)+parseInt(_0x15c25b(0x151))/0xa*(parseInt(_0x15c25b(0x14f))/0xb);if(_0x114227===_0x2c0f25)break;else _0xb36d50['push'](_0xb36d50['shift']());}catch(_0x1c17be){_0xb36d50['push'](_0xb36d50['shift']());}}}(_0x18b3,0x3dfad));function _0x3adc(_0x4d098f,_0x41496a){const _0x18b362=_0x18b3();return _0x3adc=function(_0x3adc9c,_0x5c453b){_0x3adc9c=_0x3adc9c-0x13f;let _0x4a4379=_0x18b362[_0x3adc9c];return _0x4a4379;},_0x3adc(_0x4d098f,_0x41496a);}function _0x18b3(){const _0xa01f62=['6270IvIvGw','exportXLSXBySnapshot','4540UNJAyC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','importDOCXToUnitId','importXLSXToUnitId','importDOCXToSnapshot','56BzxRMk','importFileToUnitId','importDOCXToUnitIdAsync','importXLSXToSnapshot','exportDOCXByUnitId','extend','exportXLSXBySnapshotAsync','6620QvyhGD','189339aMKvwW','46xyWYbk','_injector','1269606uCgIvR','UNIVER_PROJECT','exportDOCXBySnapshot','exportXLSXByUnitIdAsync','get','importXLSXToUnitIdAsync','16592TkRfNN','16382FJWckV','FUniver','exportDOCXByUnitIdAsync','IExchangeService','UNIVER_DOC','UNIVER_SLIDE','3089205AMjknF','exportXLSXByUnitId','UNRECOGNIZED','1413RKegoX','UNIVER_SHEET','importXLSXToSnapshotAsync'];_0x18b3=function(){return _0xa01f62;};return _0x18b3();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x406f21=>(_0x406f21[_0x406f21[_0x569a58(0x153)]=0x0]=_0x569a58(0x153),_0x406f21[_0x406f21[_0x569a58(0x147)]=0x1]='UNIVER_DOC',_0x406f21[_0x406f21[_0x569a58(0x14d)]=0x2]='UNIVER_SHEET',_0x406f21[_0x406f21[_0x569a58(0x148)]=0x3]=_0x569a58(0x148),_0x406f21[_0x406f21['UNIVER_PROJECT']=0x4]=_0x569a58(0x163),_0x406f21[_0x406f21[_0x569a58(0x14b)]=-0x1]=_0x569a58(0x14b),_0x406f21))(i||{});class c extends o[_0x569a58(0x144)]{async[_0x569a58(0x155)](_0x5216b0){const _0x3088d9=_0x569a58;return this[_0x3088d9(0x141)](_0x5216b0);}async[_0x569a58(0x141)](_0x8b9abd){const _0xa9bb5=_0x569a58,_0x212721=this[_0xa9bb5(0x161)][_0xa9bb5(0x140)](r['IExchangeService']);if(!_0x212721)throw new Error(_0xa9bb5(0x152));return _0x212721[_0xa9bb5(0x158)](_0x8b9abd,i[_0xa9bb5(0x14d)]);}async[_0x569a58(0x15a)](_0x163257){const _0x54fb1b=_0x569a58;return this[_0x54fb1b(0x14e)](_0x163257);}async['importXLSXToSnapshotAsync'](_0x3848e5){const _0x365f55=_0x569a58,_0x3b990d=this[_0x365f55(0x161)][_0x365f55(0x140)](r[_0x365f55(0x146)]);if(!_0x3b990d)throw new Error(_0x365f55(0x152));return _0x3b990d[_0x365f55(0x15a)](_0x3848e5);}async[_0x569a58(0x14a)](_0x403c82){const _0x778d53=_0x569a58;return this[_0x778d53(0x13f)](_0x403c82);}async[_0x569a58(0x13f)](_0x544bcf){const _0x196944=_0x569a58,_0x582354=this[_0x196944(0x161)][_0x196944(0x140)](r[_0x196944(0x146)]);if(!_0x582354)throw new Error(_0x196944(0x152));return _0x582354[_0x196944(0x14a)](_0x544bcf);}async[_0x569a58(0x150)](_0x15ffcb){const _0x3bbd8c=_0x569a58;return this[_0x3bbd8c(0x15d)](_0x15ffcb);}async[_0x569a58(0x15d)](_0x5ccba8){const _0x5c8fac=_0x569a58,_0x545d5b=this[_0x5c8fac(0x161)][_0x5c8fac(0x140)](r[_0x5c8fac(0x146)]);if(!_0x545d5b)throw new Error(_0x5c8fac(0x152));return _0x545d5b[_0x5c8fac(0x150)](_0x5ccba8);}async[_0x569a58(0x154)](_0x4b1997){const _0x50d43b=_0x569a58;return this[_0x50d43b(0x159)](_0x4b1997);}async['importDOCXToUnitIdAsync'](_0x45f2af){const _0x27723e=_0x569a58,_0x565802=this[_0x27723e(0x161)][_0x27723e(0x140)](r[_0x27723e(0x146)]);if(!_0x565802)throw new Error(_0x27723e(0x152));return _0x565802[_0x27723e(0x158)](_0x45f2af,i[_0x27723e(0x147)]);}async[_0x569a58(0x156)](_0x41825c){return this['importDOCXToSnapshotAsync'](_0x41825c);}async['importDOCXToSnapshotAsync'](_0x5d0fd7){const _0x4541ce=_0x569a58,_0x3c419a=this[_0x4541ce(0x161)]['get'](r[_0x4541ce(0x146)]);if(!_0x3c419a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c419a[_0x4541ce(0x156)](_0x5d0fd7);}async['exportDOCXBySnapshotAsync'](_0x5b3341){const _0x320432=_0x569a58,_0x18ec0a=this[_0x320432(0x161)][_0x320432(0x140)](r['IExchangeService']);if(!_0x18ec0a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18ec0a[_0x320432(0x164)](_0x5b3341);}async[_0x569a58(0x145)](_0x3d9445){const _0x32f8a1=_0x569a58,_0x100897=this[_0x32f8a1(0x161)][_0x32f8a1(0x140)](r['IExchangeService']);if(!_0x100897)throw new Error(_0x32f8a1(0x152));return _0x100897[_0x32f8a1(0x15b)](_0x3d9445);}}o[_0x569a58(0x144)][_0x569a58(0x15c)](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);