@univerjs-pro/exchange-client 0.6.6-nightly.202503181607 → 0.6.6-nightly.202503191607

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 _0x723d2a=_0xa464;(function(_0x34aed3,_0x3f40b6){const _0x7c2f55=_0xa464,_0x2fa909=_0x34aed3();while(!![]){try{const _0x1bb469=-parseInt(_0x7c2f55(0x1c6))/0x1+-parseInt(_0x7c2f55(0x1b9))/0x2+-parseInt(_0x7c2f55(0x1c7))/0x3+parseInt(_0x7c2f55(0x1d3))/0x4*(parseInt(_0x7c2f55(0x1bc))/0x5)+-parseInt(_0x7c2f55(0x1d0))/0x6*(-parseInt(_0x7c2f55(0x1b8))/0x7)+-parseInt(_0x7c2f55(0x1cb))/0x8+parseInt(_0x7c2f55(0x1b7))/0x9*(parseInt(_0x7c2f55(0x1cd))/0xa);if(_0x1bb469===_0x3f40b6)break;else _0x2fa909['push'](_0x2fa909['shift']());}catch(_0x36677f){_0x2fa909['push'](_0x2fa909['shift']());}}}(_0x4444,0x69a26));const r=require(_0x723d2a(0x1c9)),i=require(_0x723d2a(0x1c0));var o=(_0x4fb029=>(_0x4fb029[_0x4fb029[_0x723d2a(0x1ca)]=0x0]=_0x723d2a(0x1ca),_0x4fb029[_0x4fb029[_0x723d2a(0x1ce)]=0x1]=_0x723d2a(0x1ce),_0x4fb029[_0x4fb029[_0x723d2a(0x1be)]=0x2]=_0x723d2a(0x1be),_0x4fb029[_0x4fb029['UNIVER_SLIDE']=0x3]=_0x723d2a(0x1ba),_0x4fb029[_0x4fb029[_0x723d2a(0x1c3)]=0x4]=_0x723d2a(0x1c3),_0x4fb029[_0x4fb029['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4fb029))(o||{});class c extends i[_0x723d2a(0x1c2)]{async[_0x723d2a(0x1b6)](_0x15cfd6){const _0x47459f=_0x723d2a;return this[_0x47459f(0x1d5)](_0x15cfd6);}async[_0x723d2a(0x1d5)](_0x290cbf){const _0x7dd83d=_0x723d2a,_0x2693f7=this[_0x7dd83d(0x1c4)][_0x7dd83d(0x1c5)](r['IExchangeService']);if(!_0x2693f7)throw new Error(_0x7dd83d(0x1d1));return _0x2693f7[_0x7dd83d(0x1b5)](_0x290cbf,o['UNIVER_SHEET']);}async[_0x723d2a(0x1c8)](_0x4ad4e9){const _0x1bbee8=_0x723d2a;return this[_0x1bbee8(0x1b4)](_0x4ad4e9);}async[_0x723d2a(0x1b4)](_0x19a650){const _0x20cfc7=_0x723d2a,_0x111734=this[_0x20cfc7(0x1c4)][_0x20cfc7(0x1c5)](r[_0x20cfc7(0x1d4)]);if(!_0x111734)throw new Error(_0x20cfc7(0x1d1));return _0x111734[_0x20cfc7(0x1c8)](_0x19a650);}async[_0x723d2a(0x1bd)](_0x33d58e){const _0x4afe36=_0x723d2a;return this[_0x4afe36(0x1d6)](_0x33d58e);}async['exportXLSXByUnitIdAsync'](_0x3c7a44){const _0x324d51=_0x723d2a,_0x441ea8=this[_0x324d51(0x1c4)][_0x324d51(0x1c5)](r[_0x324d51(0x1d4)]);if(!_0x441ea8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x441ea8[_0x324d51(0x1bd)](_0x3c7a44);}async[_0x723d2a(0x1bb)](_0xda4ebf){const _0x144c24=_0x723d2a;return this[_0x144c24(0x1d2)](_0xda4ebf);}async[_0x723d2a(0x1d2)](_0x57cf36){const _0x1f8c9b=_0x723d2a,_0x2eaa4c=this['_injector'][_0x1f8c9b(0x1c5)](r[_0x1f8c9b(0x1d4)]);if(!_0x2eaa4c)throw new Error(_0x1f8c9b(0x1d1));return _0x2eaa4c[_0x1f8c9b(0x1bb)](_0x57cf36);}async[_0x723d2a(0x1cc)](_0x1f4d3a){return this['importDOCXToUnitIdAsync'](_0x1f4d3a);}async[_0x723d2a(0x1bf)](_0x1d176f){const _0x55d242=_0x723d2a,_0x1e125d=this[_0x55d242(0x1c4)][_0x55d242(0x1c5)](r[_0x55d242(0x1d4)]);if(!_0x1e125d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1e125d['importFileToUnitId'](_0x1d176f,o[_0x55d242(0x1ce)]);}async['importDOCXToSnapshot'](_0x52a0b3){const _0x3e759d=_0x723d2a;return this[_0x3e759d(0x1c1)](_0x52a0b3);}async[_0x723d2a(0x1c1)](_0x51f653){const _0x504321=_0x723d2a,_0x55260c=this[_0x504321(0x1c4)][_0x504321(0x1c5)](r['IExchangeService']);if(!_0x55260c)throw new Error(_0x504321(0x1d1));return _0x55260c[_0x504321(0x1cf)](_0x51f653);}}function _0x4444(){const _0xe501ae=['484310IDdKpA','UNIVER_SLIDE','exportXLSXBySnapshot','725YOwkxw','exportXLSXByUnitId','UNIVER_SHEET','importDOCXToUnitIdAsync','@univerjs/core/facade','importDOCXToSnapshotAsync','FUniver','UNIVER_PROJECT','_injector','get','575882ocBxew','2208690qIwDih','importXLSXToSnapshot','@univerjs-pro/exchange-client','UNIVER_UNKNOWN','3169664CORTRv','importDOCXToUnitId','1380eiQvSb','UNIVER_DOC','importDOCXToSnapshot','984qBbUtB','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','1308vGOndN','IExchangeService','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importFileToUnitId','importXLSXToUnitId','104211vmzLDv','31493pfqMbE'];_0x4444=function(){return _0xe501ae;};return _0x4444();}function _0xa464(_0xbf6a5,_0x23d1e4){const _0x44448a=_0x4444();return _0xa464=function(_0xa46439,_0x4d6385){_0xa46439=_0xa46439-0x1b4;let _0x4ebe67=_0x44448a[_0xa46439];return _0x4ebe67;},_0xa464(_0xbf6a5,_0x23d1e4);}i[_0x723d2a(0x1c2)]['extend'](c);
1
+ 'use strict';function _0x4b7f(_0x3400d7,_0x53cda4){const _0x45cd31=_0x45cd();return _0x4b7f=function(_0x4b7fcc,_0x955e1){_0x4b7fcc=_0x4b7fcc-0xa2;let _0x4c2575=_0x45cd31[_0x4b7fcc];return _0x4c2575;},_0x4b7f(_0x3400d7,_0x53cda4);}const _0x38ab74=_0x4b7f;(function(_0x2ca6bc,_0x27a76c){const _0x41d2eb=_0x4b7f,_0x26403f=_0x2ca6bc();while(!![]){try{const _0x2e844f=parseInt(_0x41d2eb(0xaf))/0x1*(parseInt(_0x41d2eb(0xc4))/0x2)+-parseInt(_0x41d2eb(0xb5))/0x3+parseInt(_0x41d2eb(0xb2))/0x4+-parseInt(_0x41d2eb(0xba))/0x5*(parseInt(_0x41d2eb(0xa6))/0x6)+-parseInt(_0x41d2eb(0xb4))/0x7*(parseInt(_0x41d2eb(0xbe))/0x8)+parseInt(_0x41d2eb(0xb6))/0x9*(-parseInt(_0x41d2eb(0xa4))/0xa)+parseInt(_0x41d2eb(0xa9))/0xb;if(_0x2e844f===_0x27a76c)break;else _0x26403f['push'](_0x26403f['shift']());}catch(_0x139084){_0x26403f['push'](_0x26403f['shift']());}}}(_0x45cd,0x9d152));function _0x45cd(){const _0x4e6399=['_injector','1873505zLItau','exportXLSXByUnitId','UNRECOGNIZED','UNIVER_DOC','7248FUfASe','UNIVER_SHEET','importDOCXToSnapshotAsync','get','importXLSXToUnitId','importXLSXToSnapshotAsync','5362UeDfaU','exportXLSXBySnapshot','IExchangeService','UNIVER_SLIDE','@univerjs-pro/exchange-client','10wFLMOW','importDOCXToSnapshot','18aakdJo','importDOCXToUnitId','@univerjs/core/facade','41680694CiRGJA','UNIVER_PROJECT','UNIVER_UNKNOWN','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','7vjunGp','extend','exportXLSXBySnapshotAsync','1983236zPBxDb','FUniver','9093zSsMEB','1600416TTRnUh','7432659cxqzvg','importFileToUnitId','exportXLSXByUnitIdAsync'];_0x45cd=function(){return _0x4e6399;};return _0x45cd();}const r=require(_0x38ab74(0xa3)),i=require(_0x38ab74(0xa8));var o=(_0x550d16=>(_0x550d16[_0x550d16[_0x38ab74(0xab)]=0x0]=_0x38ab74(0xab),_0x550d16[_0x550d16[_0x38ab74(0xbd)]=0x1]='UNIVER_DOC',_0x550d16[_0x550d16[_0x38ab74(0xbf)]=0x2]=_0x38ab74(0xbf),_0x550d16[_0x550d16[_0x38ab74(0xa2)]=0x3]=_0x38ab74(0xa2),_0x550d16[_0x550d16[_0x38ab74(0xaa)]=0x4]='UNIVER_PROJECT',_0x550d16[_0x550d16[_0x38ab74(0xbc)]=-0x1]=_0x38ab74(0xbc),_0x550d16))(o||{});class c extends i[_0x38ab74(0xb3)]{async[_0x38ab74(0xc2)](_0x34e278){const _0x4d8b42=_0x38ab74;return this[_0x4d8b42(0xae)](_0x34e278);}async['importXLSXToUnitIdAsync'](_0x4a813c){const _0x539c40=_0x38ab74,_0x1cc97d=this[_0x539c40(0xb9)]['get'](r['IExchangeService']);if(!_0x1cc97d)throw new Error(_0x539c40(0xad));return _0x1cc97d[_0x539c40(0xb7)](_0x4a813c,o[_0x539c40(0xbf)]);}async['importXLSXToSnapshot'](_0x2f0c08){const _0x2f9d5b=_0x38ab74;return this[_0x2f9d5b(0xc3)](_0x2f0c08);}async['importXLSXToSnapshotAsync'](_0x1339f3){const _0x3c7b80=_0x38ab74,_0x1b393a=this['_injector'][_0x3c7b80(0xc1)](r[_0x3c7b80(0xc6)]);if(!_0x1b393a)throw new Error(_0x3c7b80(0xad));return _0x1b393a[_0x3c7b80(0xac)](_0x1339f3);}async[_0x38ab74(0xbb)](_0x565900){const _0x3f3a72=_0x38ab74;return this[_0x3f3a72(0xb8)](_0x565900);}async['exportXLSXByUnitIdAsync'](_0x3a7429){const _0x3dfcc3=_0x38ab74,_0xd194f7=this['_injector']['get'](r['IExchangeService']);if(!_0xd194f7)throw new Error(_0x3dfcc3(0xad));return _0xd194f7['exportXLSXByUnitId'](_0x3a7429);}async[_0x38ab74(0xc5)](_0xab4ee0){const _0x316231=_0x38ab74;return this[_0x316231(0xb1)](_0xab4ee0);}async[_0x38ab74(0xb1)](_0xc81398){const _0x50a649=_0x38ab74,_0x3d9b58=this[_0x50a649(0xb9)][_0x50a649(0xc1)](r['IExchangeService']);if(!_0x3d9b58)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d9b58[_0x50a649(0xc5)](_0xc81398);}async[_0x38ab74(0xa7)](_0x27efd2){return this['importDOCXToUnitIdAsync'](_0x27efd2);}async['importDOCXToUnitIdAsync'](_0x12ad41){const _0x1d77a9=_0x38ab74,_0x5314b1=this[_0x1d77a9(0xb9)][_0x1d77a9(0xc1)](r[_0x1d77a9(0xc6)]);if(!_0x5314b1)throw new Error(_0x1d77a9(0xad));return _0x5314b1['importFileToUnitId'](_0x12ad41,o[_0x1d77a9(0xbd)]);}async[_0x38ab74(0xa5)](_0x157077){const _0x180a6e=_0x38ab74;return this[_0x180a6e(0xc0)](_0x157077);}async['importDOCXToSnapshotAsync'](_0x509ecf){const _0x2b078c=_0x38ab74,_0x2139c9=this[_0x2b078c(0xb9)][_0x2b078c(0xc1)](r['IExchangeService']);if(!_0x2139c9)throw new Error(_0x2b078c(0xad));return _0x2139c9[_0x2b078c(0xa5)](_0x509ecf);}}i[_0x38ab74(0xb3)][_0x38ab74(0xb0)](c);