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

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 _0x18847d=_0x3a09;(function(_0x1199aa,_0x357e34){const _0x10fe50=_0x3a09,_0x401591=_0x1199aa();while(!![]){try{const _0x140a74=parseInt(_0x10fe50(0xc2))/0x1+-parseInt(_0x10fe50(0xad))/0x2*(parseInt(_0x10fe50(0xbb))/0x3)+parseInt(_0x10fe50(0xc4))/0x4+-parseInt(_0x10fe50(0xc0))/0x5*(parseInt(_0x10fe50(0xb7))/0x6)+-parseInt(_0x10fe50(0xb2))/0x7*(-parseInt(_0x10fe50(0xb9))/0x8)+parseInt(_0x10fe50(0xc9))/0x9*(parseInt(_0x10fe50(0xc6))/0xa)+parseInt(_0x10fe50(0xae))/0xb*(parseInt(_0x10fe50(0xc5))/0xc);if(_0x140a74===_0x357e34)break;else _0x401591['push'](_0x401591['shift']());}catch(_0x348748){_0x401591['push'](_0x401591['shift']());}}}(_0x6bec,0xb6ac7));function _0x6bec(){const _0x3fb387=['importXLSXToUnitId','1279286BBuPfm','@univerjs/core','657200dXegOc','67452VsQaEg','20vrwAFG','exportXLSXByUnitId','UNIVER_SLIDE','207729RTuJjS','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','4HRCpQw','2552iSYwNp','FUniver','UNIVER_UNKNOWN','extend','14077VDwktL','UNIVER_DOC','importDOCXToSnapshot','_injector','importXLSXToSnapshot','24ibNsPp','UNIVER_PROJECT','1784TnzBNY','UNRECOGNIZED','1566777vUbYKy','get','IExchangeService','exportXLSXBySnapshot','UNIVER_SHEET','1811905RaVUBr'];_0x6bec=function(){return _0x3fb387;};return _0x6bec();}const c=require(_0x18847d(0xc3)),n=require('@univerjs-pro/exchange-client');var i=(_0x3fc880=>(_0x3fc880[_0x3fc880[_0x18847d(0xb0)]=0x0]=_0x18847d(0xb0),_0x3fc880[_0x3fc880[_0x18847d(0xb3)]=0x1]=_0x18847d(0xb3),_0x3fc880[_0x3fc880['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x3fc880[_0x3fc880[_0x18847d(0xc8)]=0x3]=_0x18847d(0xc8),_0x3fc880[_0x3fc880[_0x18847d(0xb8)]=0x4]=_0x18847d(0xb8),_0x3fc880[_0x3fc880[_0x18847d(0xba)]=-0x1]=_0x18847d(0xba),_0x3fc880))(i||{});function _0x3a09(_0x3c8945,_0x3db4c6){const _0x6bec4d=_0x6bec();return _0x3a09=function(_0x3a0973,_0x505f22){_0x3a0973=_0x3a0973-0xac;let _0x473006=_0x6bec4d[_0x3a0973];return _0x473006;},_0x3a09(_0x3c8945,_0x3db4c6);}class o extends c[_0x18847d(0xaf)]{async[_0x18847d(0xc1)](_0x3f0229){const _0x35375c=_0x18847d,_0x460a9d=this[_0x35375c(0xb5)][_0x35375c(0xbc)](n[_0x35375c(0xbd)]);if(!_0x460a9d)throw new Error(_0x35375c(0xca));return _0x460a9d['importFileToUnitId'](_0x3f0229,i[_0x35375c(0xbf)]);}async[_0x18847d(0xb6)](_0x20521a){const _0x4ec7a0=_0x18847d,_0x124eac=this['_injector'][_0x4ec7a0(0xbc)](n[_0x4ec7a0(0xbd)]);if(!_0x124eac)throw new Error(_0x4ec7a0(0xca));return _0x124eac['importXLSXToSnapshot'](_0x20521a);}async[_0x18847d(0xc7)](_0x3b0d69){const _0x579edb=_0x18847d,_0x5cb938=this[_0x579edb(0xb5)]['get'](n[_0x579edb(0xbd)]);if(!_0x5cb938)throw new Error(_0x579edb(0xca));return _0x5cb938[_0x579edb(0xc7)](_0x3b0d69);}async[_0x18847d(0xbe)](_0x111a5f){const _0x35512c=_0x18847d,_0xb892da=this[_0x35512c(0xb5)][_0x35512c(0xbc)](n['IExchangeService']);if(!_0xb892da)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xb892da['exportXLSXBySnapshot'](_0x111a5f);}async['importDOCXToUnitId'](_0x2376c7){const _0xc3f9a2=_0x18847d,_0x38bab7=this[_0xc3f9a2(0xb5)][_0xc3f9a2(0xbc)](n['IExchangeService']);if(!_0x38bab7)throw new Error(_0xc3f9a2(0xca));return _0x38bab7[_0xc3f9a2(0xac)](_0x2376c7,i[_0xc3f9a2(0xb3)]);}async[_0x18847d(0xb4)](_0x4d9f89){const _0x189a69=_0x18847d,_0x47a550=this[_0x189a69(0xb5)]['get'](n['IExchangeService']);if(!_0x47a550)throw new Error(_0x189a69(0xca));return _0x47a550[_0x189a69(0xb4)](_0x4d9f89);}}c[_0x18847d(0xaf)][_0x18847d(0xb1)](o);