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

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';function _0xc6a3(_0x35d369,_0x1b9e94){const _0x13b9f3=_0x13b9();return _0xc6a3=function(_0xc6a31e,_0x66345){_0xc6a31e=_0xc6a31e-0xe6;let _0x590a69=_0x13b9f3[_0xc6a31e];return _0x590a69;},_0xc6a3(_0x35d369,_0x1b9e94);}const _0x3fe61e=_0xc6a3;(function(_0x45f130,_0x552fba){const _0x428534=_0xc6a3,_0x29c7f0=_0x45f130();while(!![]){try{const _0x2f987e=parseInt(_0x428534(0x106))/0x1+-parseInt(_0x428534(0xe6))/0x2*(-parseInt(_0x428534(0xed))/0x3)+-parseInt(_0x428534(0xff))/0x4+parseInt(_0x428534(0xfd))/0x5*(parseInt(_0x428534(0x100))/0x6)+parseInt(_0x428534(0xe9))/0x7*(parseInt(_0x428534(0xf6))/0x8)+-parseInt(_0x428534(0x107))/0x9*(-parseInt(_0x428534(0xe7))/0xa)+-parseInt(_0x428534(0xeb))/0xb;if(_0x2f987e===_0x552fba)break;else _0x29c7f0['push'](_0x29c7f0['shift']());}catch(_0x2f6bae){_0x29c7f0['push'](_0x29c7f0['shift']());}}}(_0x13b9,0xdc4c0));const r=require(_0x3fe61e(0xf2)),o=require(_0x3fe61e(0xfc));function _0x13b9(){const _0x2a5eed=['exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','importFileToUnitId','importXLSXToUnitId','exportXLSXByUnitIdAsync','1427563CQzRuy','3531663PcTJKg','importDOCXToSnapshot','exportXLSXByUnitId','UNIVER_SLIDE','UNIVER_PROJECT','importDOCXToUnitId','886wxvyiX','20rBFrdZ','importXLSXToUnitIdAsync','7Essxfn','UNIVER_DOC','22484187NCSzjd','exportXLSXBySnapshot','498vCnwQU','_injector','exportDOCXBySnapshot','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','get','UNRECOGNIZED','UNIVER_SHEET','6315592heymCI','IExchangeService','exportDOCXBySnapshotAsync','importXLSXToSnapshot','importXLSXToSnapshotAsync','exportDOCXByUnitId','@univerjs/core/facade','5AqjmLa','importDOCXToUnitIdAsync','900256TEOilD','576318iKMiko'];_0x13b9=function(){return _0x2a5eed;};return _0x13b9();}var i=(_0x2a0fea=>(_0x2a0fea[_0x2a0fea['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x2a0fea[_0x2a0fea['UNIVER_DOC']=0x1]=_0x3fe61e(0xea),_0x2a0fea[_0x2a0fea[_0x3fe61e(0xf5)]=0x2]=_0x3fe61e(0xf5),_0x2a0fea[_0x2a0fea[_0x3fe61e(0x10a)]=0x3]=_0x3fe61e(0x10a),_0x2a0fea[_0x2a0fea[_0x3fe61e(0x10b)]=0x4]='UNIVER_PROJECT',_0x2a0fea[_0x2a0fea[_0x3fe61e(0xf4)]=-0x1]=_0x3fe61e(0xf4),_0x2a0fea))(i||{});class c extends o[_0x3fe61e(0xf0)]{async[_0x3fe61e(0x104)](_0x4399e9){const _0x2e6fb1=_0x3fe61e;return this[_0x2e6fb1(0xe8)](_0x4399e9);}async[_0x3fe61e(0xe8)](_0x37c671){const _0x340710=_0x3fe61e,_0x48b93a=this[_0x340710(0xee)][_0x340710(0xf3)](r[_0x340710(0xf7)]);if(!_0x48b93a)throw new Error(_0x340710(0xf1));return _0x48b93a[_0x340710(0x103)](_0x37c671,i[_0x340710(0xf5)]);}async['importXLSXToSnapshot'](_0x5f57c3){const _0x34af80=_0x3fe61e;return this[_0x34af80(0xfa)](_0x5f57c3);}async['importXLSXToSnapshotAsync'](_0x436de8){const _0x42c5c5=_0x3fe61e,_0x2a18db=this[_0x42c5c5(0xee)][_0x42c5c5(0xf3)](r[_0x42c5c5(0xf7)]);if(!_0x2a18db)throw new Error(_0x42c5c5(0xf1));return _0x2a18db[_0x42c5c5(0xf9)](_0x436de8);}async[_0x3fe61e(0x109)](_0x5869ff){const _0x2c3db4=_0x3fe61e;return this[_0x2c3db4(0x105)](_0x5869ff);}async[_0x3fe61e(0x105)](_0xcd199d){const _0x2245e5=_0x3fe61e,_0x3024ad=this['_injector'][_0x2245e5(0xf3)](r[_0x2245e5(0xf7)]);if(!_0x3024ad)throw new Error(_0x2245e5(0xf1));return _0x3024ad['exportXLSXByUnitId'](_0xcd199d);}async[_0x3fe61e(0xec)](_0x49a239){const _0x1a507e=_0x3fe61e;return this[_0x1a507e(0x101)](_0x49a239);}async['exportXLSXBySnapshotAsync'](_0x110083){const _0x287f9b=_0x3fe61e,_0x33e15e=this[_0x287f9b(0xee)][_0x287f9b(0xf3)](r[_0x287f9b(0xf7)]);if(!_0x33e15e)throw new Error(_0x287f9b(0xf1));return _0x33e15e[_0x287f9b(0xec)](_0x110083);}async[_0x3fe61e(0x10c)](_0x539bdb){return this['importDOCXToUnitIdAsync'](_0x539bdb);}async[_0x3fe61e(0xfe)](_0x167f0e){const _0x2a1e64=_0x3fe61e,_0x27c84d=this['_injector']['get'](r[_0x2a1e64(0xf7)]);if(!_0x27c84d)throw new Error(_0x2a1e64(0xf1));return _0x27c84d['importFileToUnitId'](_0x167f0e,i[_0x2a1e64(0xea)]);}async['importDOCXToSnapshot'](_0x46e8ed){const _0x1533be=_0x3fe61e;return this[_0x1533be(0x102)](_0x46e8ed);}async[_0x3fe61e(0x102)](_0x3aa67e){const _0x49c258=_0x3fe61e,_0x398cd4=this[_0x49c258(0xee)]['get'](r[_0x49c258(0xf7)]);if(!_0x398cd4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x398cd4[_0x49c258(0x108)](_0x3aa67e);}async[_0x3fe61e(0xf8)](_0x17e34a){const _0x2b0c9c=_0x3fe61e,_0x49aaf6=this[_0x2b0c9c(0xee)][_0x2b0c9c(0xf3)](r[_0x2b0c9c(0xf7)]);if(!_0x49aaf6)throw new Error(_0x2b0c9c(0xf1));return _0x49aaf6[_0x2b0c9c(0xef)](_0x17e34a);}async['exportDOCXByUnitIdAsync'](_0x2dcceb){const _0x254d25=_0x3fe61e,_0x410e91=this['_injector'][_0x254d25(0xf3)](r['IExchangeService']);if(!_0x410e91)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x410e91[_0x254d25(0xfb)](_0x2dcceb);}}o[_0x3fe61e(0xf0)]['extend'](c);