@univerjs-pro/exchange-client 0.8.0-nightly.202506051607 → 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 _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);
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);