@univerjs-pro/exchange-client 0.8.0-nightly.202506041607 → 0.8.0-nightly.202506051607

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 _0x38c2fa=_0x350b;(function(_0x5ecd9f,_0x15917b){const _0x27dcb7=_0x350b,_0x68dd7d=_0x5ecd9f();while(!![]){try{const _0x489051=parseInt(_0x27dcb7(0x1ca))/0x1+parseInt(_0x27dcb7(0x1da))/0x2+-parseInt(_0x27dcb7(0x1c7))/0x3+parseInt(_0x27dcb7(0x1d6))/0x4*(-parseInt(_0x27dcb7(0x1d0))/0x5)+parseInt(_0x27dcb7(0x1dd))/0x6+parseInt(_0x27dcb7(0x1d2))/0x7*(parseInt(_0x27dcb7(0x1e7))/0x8)+parseInt(_0x27dcb7(0x1cd))/0x9*(-parseInt(_0x27dcb7(0x1c5))/0xa);if(_0x489051===_0x15917b)break;else _0x68dd7d['push'](_0x68dd7d['shift']());}catch(_0x27d2a1){_0x68dd7d['push'](_0x68dd7d['shift']());}}}(_0x13f9,0x4499d));function _0x13f9(){const _0x28fc57=['UNIVER_DOC','importFileToUnitId','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','8720GQxTma','extend','UNRECOGNIZED','194030PXDQbU','importDOCXToSnapshotAsync','270009zHJbQu','exportDOCXBySnapshot','exportXLSXBySnapshotAsync','309576YUTBFd','importDOCXToSnapshot','exportDOCXByUnitIdAsync','63gFcawS','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','50ibIiRL','FUniver','749tGNvuJ','exportDOCXByUnitId','@univerjs/core/facade','exportDOCXBySnapshotAsync','174608rMEdYl','IExchangeService','exportXLSXByUnitIdAsync','UNIVER_UNKNOWN','62810zLPSdW','UNIVER_SHEET','importXLSXToSnapshotAsync','2914332uzeGAp','_injector','importXLSXToSnapshot','UNIVER_PROJECT','UNIVER_SLIDE','get'];_0x13f9=function(){return _0x28fc57;};return _0x13f9();}function _0x350b(_0x4e150a,_0x2b5528){const _0x13f9a5=_0x13f9();return _0x350b=function(_0x350b47,_0x30073e){_0x350b47=_0x350b47-0x1c4;let _0x2266c7=_0x13f9a5[_0x350b47];return _0x2266c7;},_0x350b(_0x4e150a,_0x2b5528);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x38c2fa(0x1d4));var i=(_0x53237b=>(_0x53237b[_0x53237b[_0x38c2fa(0x1d9)]=0x0]=_0x38c2fa(0x1d9),_0x53237b[_0x53237b[_0x38c2fa(0x1e3)]=0x1]=_0x38c2fa(0x1e3),_0x53237b[_0x53237b[_0x38c2fa(0x1db)]=0x2]=_0x38c2fa(0x1db),_0x53237b[_0x53237b[_0x38c2fa(0x1e1)]=0x3]=_0x38c2fa(0x1e1),_0x53237b[_0x53237b['UNIVER_PROJECT']=0x4]=_0x38c2fa(0x1e0),_0x53237b[_0x53237b[_0x38c2fa(0x1c4)]=-0x1]=_0x38c2fa(0x1c4),_0x53237b))(i||{});class c extends o[_0x38c2fa(0x1d1)]{async['importXLSXToUnitId'](_0x1af184){const _0x34626b=_0x38c2fa;return this[_0x34626b(0x1e6)](_0x1af184);}async[_0x38c2fa(0x1e6)](_0x32eeb8){const _0x222b82=_0x38c2fa,_0x4b56da=this[_0x222b82(0x1de)]['get'](r[_0x222b82(0x1d7)]);if(!_0x4b56da)throw new Error(_0x222b82(0x1ce));return _0x4b56da[_0x222b82(0x1e4)](_0x32eeb8,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x495b17){return this['importXLSXToSnapshotAsync'](_0x495b17);}async[_0x38c2fa(0x1dc)](_0xb022f3){const _0x4ec1ef=_0x38c2fa,_0x2e4f5b=this['_injector']['get'](r[_0x4ec1ef(0x1d7)]);if(!_0x2e4f5b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2e4f5b[_0x4ec1ef(0x1df)](_0xb022f3);}async['exportXLSXByUnitId'](_0x569271){const _0x55af74=_0x38c2fa;return this[_0x55af74(0x1d8)](_0x569271);}async[_0x38c2fa(0x1d8)](_0x48767b){const _0x49e212=_0x38c2fa,_0x4b1bec=this[_0x49e212(0x1de)][_0x49e212(0x1e2)](r['IExchangeService']);if(!_0x4b1bec)throw new Error(_0x49e212(0x1ce));return _0x4b1bec[_0x49e212(0x1cf)](_0x48767b);}async['exportXLSXBySnapshot'](_0x450778){const _0x5c1640=_0x38c2fa;return this[_0x5c1640(0x1c9)](_0x450778);}async[_0x38c2fa(0x1c9)](_0x25b5a4){const _0x756c3b=_0x38c2fa,_0x4d698a=this[_0x756c3b(0x1de)][_0x756c3b(0x1e2)](r[_0x756c3b(0x1d7)]);if(!_0x4d698a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4d698a['exportXLSXBySnapshot'](_0x25b5a4);}async['importDOCXToUnitId'](_0x57c4c5){const _0xc1d625=_0x38c2fa;return this[_0xc1d625(0x1e5)](_0x57c4c5);}async['importDOCXToUnitIdAsync'](_0x3cc4d5){const _0xbe5722=_0x38c2fa,_0x1a3b6e=this[_0xbe5722(0x1de)][_0xbe5722(0x1e2)](r[_0xbe5722(0x1d7)]);if(!_0x1a3b6e)throw new Error(_0xbe5722(0x1ce));return _0x1a3b6e['importFileToUnitId'](_0x3cc4d5,i[_0xbe5722(0x1e3)]);}async[_0x38c2fa(0x1cb)](_0x3b571b){const _0x15391e=_0x38c2fa;return this[_0x15391e(0x1c6)](_0x3b571b);}async[_0x38c2fa(0x1c6)](_0x4c6fbe){const _0x59436e=_0x38c2fa,_0x2857d3=this['_injector'][_0x59436e(0x1e2)](r[_0x59436e(0x1d7)]);if(!_0x2857d3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2857d3[_0x59436e(0x1cb)](_0x4c6fbe);}async[_0x38c2fa(0x1d5)](_0x4814e3){const _0x2a93f9=_0x38c2fa,_0x7cd4fa=this[_0x2a93f9(0x1de)]['get'](r[_0x2a93f9(0x1d7)]);if(!_0x7cd4fa)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x7cd4fa[_0x2a93f9(0x1c8)](_0x4814e3);}async[_0x38c2fa(0x1cc)](_0x33d93a){const _0x50764e=_0x38c2fa,_0x242da6=this['_injector'][_0x50764e(0x1e2)](r[_0x50764e(0x1d7)]);if(!_0x242da6)throw new Error(_0x50764e(0x1ce));return _0x242da6[_0x50764e(0x1d3)](_0x33d93a);}}o[_0x38c2fa(0x1d1)][_0x38c2fa(0x1e8)](c);
1
+ 'use strict';const _0x38fee1=_0x1004;function _0x1004(_0x102c75,_0xd0b0b5){const _0x492c9a=_0x492c();return _0x1004=function(_0x10047f,_0xec1714){_0x10047f=_0x10047f-0xdf;let _0x4d30d7=_0x492c9a[_0x10047f];return _0x4d30d7;},_0x1004(_0x102c75,_0xd0b0b5);}(function(_0x226c0f,_0x44cc16){const _0x107e65=_0x1004,_0x3d4667=_0x226c0f();while(!![]){try{const _0x4e015e=parseInt(_0x107e65(0xf7))/0x1*(parseInt(_0x107e65(0x100))/0x2)+-parseInt(_0x107e65(0x101))/0x3+parseInt(_0x107e65(0xe0))/0x4*(-parseInt(_0x107e65(0xfa))/0x5)+-parseInt(_0x107e65(0xfc))/0x6*(-parseInt(_0x107e65(0xe7))/0x7)+-parseInt(_0x107e65(0xea))/0x8*(-parseInt(_0x107e65(0xee))/0x9)+-parseInt(_0x107e65(0xe6))/0xa*(parseInt(_0x107e65(0xfe))/0xb)+parseInt(_0x107e65(0xff))/0xc*(parseInt(_0x107e65(0xf2))/0xd);if(_0x4e015e===_0x44cc16)break;else _0x3d4667['push'](_0x3d4667['shift']());}catch(_0x6a441){_0x3d4667['push'](_0x3d4667['shift']());}}}(_0x492c,0xf39b8));const r=require(_0x38fee1(0xdf)),o=require('@univerjs/core/facade');function _0x492c(){const _0x5787cf=['The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','174112dXVEzG','exportDOCXBySnapshot','importXLSXToUnitIdAsync','importDOCXToSnapshot','279cKEBHA','FUniver','importFileToUnitId','importDOCXToUnitIdAsync','14542853gJjVsG','exportDOCXBySnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToUnitId','41kfVwXm','IExchangeService','importXLSXToSnapshot','3375460xEiEFv','importDOCXToSnapshotAsync','173916enlbdW','extend','143hAPDeX','24ZmlCqD','26218iBRlFQ','4078842UPyFop','exportXLSXBySnapshot','UNIVER_PROJECT','exportXLSXBySnapshotAsync','_injector','UNIVER_UNKNOWN','UNIVER_DOC','@univerjs-pro/exchange-client','4kYrwxK','get','UNIVER_SHEET','exportDOCXByUnitIdAsync','UNRECOGNIZED','exportXLSXByUnitId','855890OKkvlp','168hbVnwf'];_0x492c=function(){return _0x5787cf;};return _0x492c();}var i=(_0x5c40a2=>(_0x5c40a2[_0x5c40a2[_0x38fee1(0x106)]=0x0]='UNIVER_UNKNOWN',_0x5c40a2[_0x5c40a2[_0x38fee1(0x107)]=0x1]=_0x38fee1(0x107),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe2)]=0x2]=_0x38fee1(0xe2),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe9)]=0x3]=_0x38fee1(0xe9),_0x5c40a2[_0x5c40a2[_0x38fee1(0x103)]=0x4]=_0x38fee1(0x103),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe4)]=-0x1]='UNRECOGNIZED',_0x5c40a2))(i||{});class c extends o[_0x38fee1(0xef)]{async['importXLSXToUnitId'](_0x223d2f){const _0x23e30e=_0x38fee1;return this[_0x23e30e(0xec)](_0x223d2f);}async[_0x38fee1(0xec)](_0x453511){const _0x59d4d3=_0x38fee1,_0x2442b1=this[_0x59d4d3(0x105)]['get'](r[_0x59d4d3(0xf8)]);if(!_0x2442b1)throw new Error(_0x59d4d3(0xe8));return _0x2442b1[_0x59d4d3(0xf0)](_0x453511,i[_0x59d4d3(0xe2)]);}async['importXLSXToSnapshot'](_0xd9ca90){const _0x26f38c=_0x38fee1;return this[_0x26f38c(0xf5)](_0xd9ca90);}async[_0x38fee1(0xf5)](_0x5d75d0){const _0x3e119f=_0x38fee1,_0x1a5458=this[_0x3e119f(0x105)]['get'](r[_0x3e119f(0xf8)]);if(!_0x1a5458)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a5458[_0x3e119f(0xf9)](_0x5d75d0);}async[_0x38fee1(0xe5)](_0x303f49){const _0x13f5b7=_0x38fee1;return this[_0x13f5b7(0xf4)](_0x303f49);}async[_0x38fee1(0xf4)](_0x5e2c25){const _0x108004=_0x38fee1,_0x18b5a1=this['_injector'][_0x108004(0xe1)](r[_0x108004(0xf8)]);if(!_0x18b5a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18b5a1['exportXLSXByUnitId'](_0x5e2c25);}async[_0x38fee1(0x102)](_0x42a59e){const _0x613df0=_0x38fee1;return this[_0x613df0(0x104)](_0x42a59e);}async[_0x38fee1(0x104)](_0x1eac40){const _0x380233=_0x38fee1,_0x59fc19=this[_0x380233(0x105)][_0x380233(0xe1)](r[_0x380233(0xf8)]);if(!_0x59fc19)throw new Error(_0x380233(0xe8));return _0x59fc19['exportXLSXBySnapshot'](_0x1eac40);}async[_0x38fee1(0xf6)](_0x31df73){const _0x527808=_0x38fee1;return this[_0x527808(0xf1)](_0x31df73);}async[_0x38fee1(0xf1)](_0x59f806){const _0x466e6a=_0x38fee1,_0x313f23=this['_injector'][_0x466e6a(0xe1)](r[_0x466e6a(0xf8)]);if(!_0x313f23)throw new Error(_0x466e6a(0xe8));return _0x313f23[_0x466e6a(0xf0)](_0x59f806,i['UNIVER_DOC']);}async[_0x38fee1(0xed)](_0x563998){const _0x34f4e8=_0x38fee1;return this[_0x34f4e8(0xfb)](_0x563998);}async[_0x38fee1(0xfb)](_0xe7c814){const _0x5bd4b3=_0x38fee1,_0x5b8d79=this[_0x5bd4b3(0x105)][_0x5bd4b3(0xe1)](r[_0x5bd4b3(0xf8)]);if(!_0x5b8d79)throw new Error(_0x5bd4b3(0xe8));return _0x5b8d79['importDOCXToSnapshot'](_0xe7c814);}async[_0x38fee1(0xf3)](_0x4a3cab){const _0x1a368c=_0x38fee1,_0x5d0153=this[_0x1a368c(0x105)]['get'](r[_0x1a368c(0xf8)]);if(!_0x5d0153)throw new Error(_0x1a368c(0xe8));return _0x5d0153[_0x1a368c(0xeb)](_0x4a3cab);}async[_0x38fee1(0xe3)](_0x2178a7){const _0x34fb32=_0x38fee1,_0x4210a4=this[_0x34fb32(0x105)][_0x34fb32(0xe1)](r[_0x34fb32(0xf8)]);if(!_0x4210a4)throw new Error(_0x34fb32(0xe8));return _0x4210a4['exportDOCXByUnitId'](_0x2178a7);}}o[_0x38fee1(0xef)][_0x38fee1(0xfd)](c);