@univerjs-pro/exchange-client 0.5.1-nightly.202412231606 → 0.5.1-nightly.202412241606

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 _0x39c6d3=_0x3189;function _0x3189(_0x5227a8,_0x368270){const _0x1af626=_0x1af6();return _0x3189=function(_0x3189e7,_0x11f7bd){_0x3189e7=_0x3189e7-0x16d;let _0xa9dfcd=_0x1af626[_0x3189e7];return _0xa9dfcd;},_0x3189(_0x5227a8,_0x368270);}(function(_0x5b4fa3,_0x1899ea){const _0x5a53e2=_0x3189,_0x3302a6=_0x5b4fa3();while(!![]){try{const _0x19ec1c=-parseInt(_0x5a53e2(0x180))/0x1+-parseInt(_0x5a53e2(0x174))/0x2+parseInt(_0x5a53e2(0x17b))/0x3+-parseInt(_0x5a53e2(0x16f))/0x4*(-parseInt(_0x5a53e2(0x17f))/0x5)+parseInt(_0x5a53e2(0x173))/0x6*(-parseInt(_0x5a53e2(0x175))/0x7)+parseInt(_0x5a53e2(0x182))/0x8+-parseInt(_0x5a53e2(0x183))/0x9;if(_0x19ec1c===_0x1899ea)break;else _0x3302a6['push'](_0x3302a6['shift']());}catch(_0x5b37af){_0x3302a6['push'](_0x3302a6['shift']());}}}(_0x1af6,0x5181b));const c=require(_0x39c6d3(0x172)),n=require(_0x39c6d3(0x17a));var i=(_0x2cde6e=>(_0x2cde6e[_0x2cde6e[_0x39c6d3(0x16d)]=0x0]=_0x39c6d3(0x16d),_0x2cde6e[_0x2cde6e[_0x39c6d3(0x179)]=0x1]='UNIVER_DOC',_0x2cde6e[_0x2cde6e['UNIVER_SHEET']=0x2]=_0x39c6d3(0x16e),_0x2cde6e[_0x2cde6e[_0x39c6d3(0x177)]=0x3]='UNIVER_SLIDE',_0x2cde6e[_0x2cde6e['UNIVER_PROJECT']=0x4]=_0x39c6d3(0x176),_0x2cde6e[_0x2cde6e[_0x39c6d3(0x170)]=-0x1]=_0x39c6d3(0x170),_0x2cde6e))(i||{});class o extends c[_0x39c6d3(0x17e)]{async['importXLSXToUnitId'](_0x14c219){const _0x3a4ec3=_0x39c6d3,_0x778550=this[_0x3a4ec3(0x188)][_0x3a4ec3(0x187)](n[_0x3a4ec3(0x17c)]);if(!_0x778550)throw new Error(_0x3a4ec3(0x185));return _0x778550[_0x3a4ec3(0x171)](_0x14c219,i['UNIVER_SHEET']);}async[_0x39c6d3(0x178)](_0x21547){const _0x3d3a02=_0x39c6d3,_0x404806=this[_0x3d3a02(0x188)]['get'](n['IExchangeService']);if(!_0x404806)throw new Error(_0x3d3a02(0x185));return _0x404806[_0x3d3a02(0x178)](_0x21547);}async[_0x39c6d3(0x184)](_0x4380aa){const _0x594d2c=_0x39c6d3,_0x6d3e19=this[_0x594d2c(0x188)][_0x594d2c(0x187)](n['IExchangeService']);if(!_0x6d3e19)throw new Error(_0x594d2c(0x185));return _0x6d3e19[_0x594d2c(0x184)](_0x4380aa);}async['exportXLSXBySnapshot'](_0x414680){const _0x48628b=_0x39c6d3,_0x2d7e93=this['_injector'][_0x48628b(0x187)](n['IExchangeService']);if(!_0x2d7e93)throw new Error(_0x48628b(0x185));return _0x2d7e93['exportXLSXBySnapshot'](_0x414680);}async[_0x39c6d3(0x186)](_0x22ac78){const _0x44e4d3=_0x39c6d3,_0x535e72=this[_0x44e4d3(0x188)]['get'](n['IExchangeService']);if(!_0x535e72)throw new Error(_0x44e4d3(0x185));return _0x535e72[_0x44e4d3(0x171)](_0x22ac78,i[_0x44e4d3(0x179)]);}async[_0x39c6d3(0x17d)](_0x5f38d1){const _0x42a6f9=_0x39c6d3,_0x1b9eb9=this[_0x42a6f9(0x188)][_0x42a6f9(0x187)](n[_0x42a6f9(0x17c)]);if(!_0x1b9eb9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b9eb9[_0x42a6f9(0x17d)](_0x5f38d1);}}c[_0x39c6d3(0x17e)][_0x39c6d3(0x181)](o);function _0x1af6(){const _0x444b94=['importDOCXToSnapshot','FUniver','245mxLSXF','320524KeIzuD','extend','4771008gnjilL','917955MfxRvd','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','get','_injector','UNIVER_UNKNOWN','UNIVER_SHEET','46796QaOFMH','UNRECOGNIZED','importFileToUnitId','@univerjs/core','12iyAjUz','1135426MFtgNY','1200787RXCBqy','UNIVER_PROJECT','UNIVER_SLIDE','importXLSXToSnapshot','UNIVER_DOC','@univerjs-pro/exchange-client','1492614GsKKJD','IExchangeService'];_0x1af6=function(){return _0x444b94;};return _0x1af6();}
1
+ 'use strict';function _0x29bd(_0x48818e,_0x30a6b5){const _0x322f25=_0x322f();return _0x29bd=function(_0x29bd7c,_0x5c021f){_0x29bd7c=_0x29bd7c-0x127;let _0x4dd699=_0x322f25[_0x29bd7c];return _0x4dd699;},_0x29bd(_0x48818e,_0x30a6b5);}const _0x588b4b=_0x29bd;(function(_0x1d41cf,_0x22e535){const _0x230938=_0x29bd,_0x74ca4f=_0x1d41cf();while(!![]){try{const _0x41ee49=parseInt(_0x230938(0x135))/0x1+parseInt(_0x230938(0x131))/0x2*(parseInt(_0x230938(0x12e))/0x3)+-parseInt(_0x230938(0x142))/0x4+-parseInt(_0x230938(0x134))/0x5+-parseInt(_0x230938(0x140))/0x6+parseInt(_0x230938(0x138))/0x7*(parseInt(_0x230938(0x133))/0x8)+parseInt(_0x230938(0x13a))/0x9*(parseInt(_0x230938(0x13d))/0xa);if(_0x41ee49===_0x22e535)break;else _0x74ca4f['push'](_0x74ca4f['shift']());}catch(_0x346fb7){_0x74ca4f['push'](_0x74ca4f['shift']());}}}(_0x322f,0x5c85f));const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');var i=(_0x358320=>(_0x358320[_0x358320['UNIVER_UNKNOWN']=0x0]=_0x588b4b(0x141),_0x358320[_0x358320[_0x588b4b(0x13f)]=0x1]=_0x588b4b(0x13f),_0x358320[_0x358320[_0x588b4b(0x13e)]=0x2]='UNIVER_SHEET',_0x358320[_0x358320['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x358320[_0x358320[_0x588b4b(0x127)]=0x4]='UNIVER_PROJECT',_0x358320[_0x358320[_0x588b4b(0x12f)]=-0x1]=_0x588b4b(0x12f),_0x358320))(i||{});class o extends c[_0x588b4b(0x137)]{async[_0x588b4b(0x128)](_0x1cc4b0){const _0x194ab5=_0x588b4b,_0x52eb1b=this[_0x194ab5(0x139)][_0x194ab5(0x12b)](n[_0x194ab5(0x12d)]);if(!_0x52eb1b)throw new Error(_0x194ab5(0x13b));return _0x52eb1b['importFileToUnitId'](_0x1cc4b0,i[_0x194ab5(0x13e)]);}async[_0x588b4b(0x132)](_0x2190e5){const _0x32a176=_0x588b4b,_0x409115=this[_0x32a176(0x139)]['get'](n[_0x32a176(0x12d)]);if(!_0x409115)throw new Error(_0x32a176(0x13b));return _0x409115['importXLSXToSnapshot'](_0x2190e5);}async[_0x588b4b(0x136)](_0x301f6f){const _0x4ddad8=_0x588b4b,_0x279886=this['_injector']['get'](n[_0x4ddad8(0x12d)]);if(!_0x279886)throw new Error(_0x4ddad8(0x13b));return _0x279886[_0x4ddad8(0x136)](_0x301f6f);}async[_0x588b4b(0x13c)](_0x56ee75){const _0x28e549=_0x588b4b,_0x53828d=this[_0x28e549(0x139)][_0x28e549(0x12b)](n[_0x28e549(0x12d)]);if(!_0x53828d)throw new Error(_0x28e549(0x13b));return _0x53828d[_0x28e549(0x13c)](_0x56ee75);}async[_0x588b4b(0x130)](_0x47f176){const _0x48bd8b=_0x588b4b,_0x3f1224=this[_0x48bd8b(0x139)][_0x48bd8b(0x12b)](n[_0x48bd8b(0x12d)]);if(!_0x3f1224)throw new Error(_0x48bd8b(0x13b));return _0x3f1224[_0x48bd8b(0x12c)](_0x47f176,i[_0x48bd8b(0x13f)]);}async[_0x588b4b(0x129)](_0x514950){const _0x16411f=_0x588b4b,_0x2640c9=this[_0x16411f(0x139)][_0x16411f(0x12b)](n[_0x16411f(0x12d)]);if(!_0x2640c9)throw new Error(_0x16411f(0x13b));return _0x2640c9[_0x16411f(0x129)](_0x514950);}}function _0x322f(){const _0x4f5c7b=['The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','110HUeJEi','UNIVER_SHEET','UNIVER_DOC','2384820AabMQt','UNIVER_UNKNOWN','2836552fqxtSK','UNIVER_PROJECT','importXLSXToUnitId','importDOCXToSnapshot','extend','get','importFileToUnitId','IExchangeService','3QEikJq','UNRECOGNIZED','importDOCXToUnitId','1451734usOAgm','importXLSXToSnapshot','9136ItNzdS','714325UdpZBF','626185tSIdOk','exportXLSXByUnitId','FUniver','581mblGwy','_injector','148590ozemBE'];_0x322f=function(){return _0x4f5c7b;};return _0x322f();}c[_0x588b4b(0x137)][_0x588b4b(0x12a)](o);