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

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';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);
1
+ 'use strict';const _0x5a27c4=_0x49d3;function _0x49d3(_0x3c1642,_0x333059){const _0xfd12ed=_0xfd12();return _0x49d3=function(_0x49d300,_0x189b11){_0x49d300=_0x49d300-0x1be;let _0x16044=_0xfd12ed[_0x49d300];return _0x16044;},_0x49d3(_0x3c1642,_0x333059);}(function(_0x4588da,_0xfd435){const _0x1b77b9=_0x49d3,_0x45729d=_0x4588da();while(!![]){try{const _0x2efb3f=parseInt(_0x1b77b9(0x1c1))/0x1*(parseInt(_0x1b77b9(0x1ce))/0x2)+parseInt(_0x1b77b9(0x1d7))/0x3+-parseInt(_0x1b77b9(0x1d5))/0x4*(parseInt(_0x1b77b9(0x1bf))/0x5)+-parseInt(_0x1b77b9(0x1d8))/0x6+parseInt(_0x1b77b9(0x1c3))/0x7*(parseInt(_0x1b77b9(0x1d6))/0x8)+parseInt(_0x1b77b9(0x1cc))/0x9+-parseInt(_0x1b77b9(0x1d2))/0xa;if(_0x2efb3f===_0xfd435)break;else _0x45729d['push'](_0x45729d['shift']());}catch(_0x6f7c3c){_0x45729d['push'](_0x45729d['shift']());}}}(_0xfd12,0x3d8c1));function _0xfd12(){const _0x162ff9=['24HTlPXc','507945LDSpYl','1146768GBiWhi','importXLSXToSnapshot','FUniver','get','UNRECOGNIZED','3670pPqFYH','importDOCXToUnitId','426107jcunUb','extend','1146677KFCEVA','importDOCXToSnapshot','exportXLSXByUnitId','UNIVER_SHEET','IExchangeService','exportXLSXBySnapshot','importXLSXToUnitId','UNIVER_UNKNOWN','@univerjs/core','1129104ZhZfOl','UNIVER_DOC','2tSUMFd','importFileToUnitId','_injector','UNIVER_PROJECT','4938360ETKuPC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','1500htovYw'];_0xfd12=function(){return _0x162ff9;};return _0xfd12();}const c=require(_0x5a27c4(0x1cb)),n=require('@univerjs-pro/exchange-client');var i=(_0x1e2d59=>(_0x1e2d59[_0x1e2d59['UNIVER_UNKNOWN']=0x0]=_0x5a27c4(0x1ca),_0x1e2d59[_0x1e2d59['UNIVER_DOC']=0x1]=_0x5a27c4(0x1cd),_0x1e2d59[_0x1e2d59[_0x5a27c4(0x1c6)]=0x2]='UNIVER_SHEET',_0x1e2d59[_0x1e2d59[_0x5a27c4(0x1d4)]=0x3]=_0x5a27c4(0x1d4),_0x1e2d59[_0x1e2d59['UNIVER_PROJECT']=0x4]=_0x5a27c4(0x1d1),_0x1e2d59[_0x1e2d59[_0x5a27c4(0x1be)]=-0x1]=_0x5a27c4(0x1be),_0x1e2d59))(i||{});class o extends c[_0x5a27c4(0x1da)]{async[_0x5a27c4(0x1c9)](_0x5d1e44){const _0x144919=_0x5a27c4,_0x4fef80=this[_0x144919(0x1d0)][_0x144919(0x1db)](n[_0x144919(0x1c7)]);if(!_0x4fef80)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4fef80[_0x144919(0x1cf)](_0x5d1e44,i[_0x144919(0x1c6)]);}async[_0x5a27c4(0x1d9)](_0x399de6){const _0x18120f=_0x5a27c4,_0x70d6f7=this['_injector']['get'](n[_0x18120f(0x1c7)]);if(!_0x70d6f7)throw new Error(_0x18120f(0x1d3));return _0x70d6f7['importXLSXToSnapshot'](_0x399de6);}async[_0x5a27c4(0x1c5)](_0x26285d){const _0x3c381c=_0x5a27c4,_0x5dcaba=this[_0x3c381c(0x1d0)]['get'](n[_0x3c381c(0x1c7)]);if(!_0x5dcaba)throw new Error(_0x3c381c(0x1d3));return _0x5dcaba[_0x3c381c(0x1c5)](_0x26285d);}async['exportXLSXBySnapshot'](_0x21c500){const _0x4caf4e=_0x5a27c4,_0x2c7ad2=this['_injector'][_0x4caf4e(0x1db)](n['IExchangeService']);if(!_0x2c7ad2)throw new Error(_0x4caf4e(0x1d3));return _0x2c7ad2[_0x4caf4e(0x1c8)](_0x21c500);}async[_0x5a27c4(0x1c0)](_0x228def){const _0x4613c5=_0x5a27c4,_0x435ec9=this[_0x4613c5(0x1d0)][_0x4613c5(0x1db)](n[_0x4613c5(0x1c7)]);if(!_0x435ec9)throw new Error(_0x4613c5(0x1d3));return _0x435ec9['importFileToUnitId'](_0x228def,i['UNIVER_DOC']);}async[_0x5a27c4(0x1c4)](_0x85de42){const _0xcc93d2=_0x5a27c4,_0x30219b=this['_injector'][_0xcc93d2(0x1db)](n[_0xcc93d2(0x1c7)]);if(!_0x30219b)throw new Error(_0xcc93d2(0x1d3));return _0x30219b['importDOCXToSnapshot'](_0x85de42);}}c[_0x5a27c4(0x1da)][_0x5a27c4(0x1c2)](o);