@univerjs-pro/exchange-client 0.6.10-nightly.202504231607 → 0.6.10-nightly.202504251607

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 _0x4690(_0x1ee326,_0x38d286){const _0x4003cb=_0x4003();return _0x4690=function(_0x46901b,_0xe1f541){_0x46901b=_0x46901b-0x1df;let _0x19b5a5=_0x4003cb[_0x46901b];return _0x19b5a5;},_0x4690(_0x1ee326,_0x38d286);}const _0x7c9cb2=_0x4690;(function(_0x28c9d0,_0x281183){const _0x39d2f5=_0x4690,_0x1e67ae=_0x28c9d0();while(!![]){try{const _0x23d707=parseInt(_0x39d2f5(0x200))/0x1+parseInt(_0x39d2f5(0x1f5))/0x2*(-parseInt(_0x39d2f5(0x1fd))/0x3)+parseInt(_0x39d2f5(0x1f0))/0x4*(parseInt(_0x39d2f5(0x1e8))/0x5)+-parseInt(_0x39d2f5(0x1f7))/0x6*(parseInt(_0x39d2f5(0x1e0))/0x7)+parseInt(_0x39d2f5(0x1ff))/0x8+-parseInt(_0x39d2f5(0x1fe))/0x9*(parseInt(_0x39d2f5(0x1ec))/0xa)+-parseInt(_0x39d2f5(0x1e4))/0xb*(parseInt(_0x39d2f5(0x1f2))/0xc);if(_0x23d707===_0x281183)break;else _0x1e67ae['push'](_0x1e67ae['shift']());}catch(_0x148eb8){_0x1e67ae['push'](_0x1e67ae['shift']());}}}(_0x4003,0xde0fc));const r=require('@univerjs-pro/exchange-client'),i=require(_0x7c9cb2(0x1ed));var o=(_0x1b1eef=>(_0x1b1eef[_0x1b1eef['UNIVER_UNKNOWN']=0x0]=_0x7c9cb2(0x1e2),_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1e9)]=0x1]='UNIVER_DOC',_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1e1)]=0x2]=_0x7c9cb2(0x1e1),_0x1b1eef[_0x1b1eef['UNIVER_SLIDE']=0x3]=_0x7c9cb2(0x1e3),_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1f9)]=0x4]=_0x7c9cb2(0x1f9),_0x1b1eef[_0x1b1eef[_0x7c9cb2(0x1fa)]=-0x1]='UNRECOGNIZED',_0x1b1eef))(o||{});function _0x4003(){const _0x57e884=['exportXLSXBySnapshot','importXLSXToSnapshot','938olUjdR','UNIVER_SHEET','UNIVER_UNKNOWN','UNIVER_SLIDE','38401qysTjm','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','728285rMerfI','UNIVER_DOC','exportXLSXByUnitIdAsync','FUniver','462110pDDxHd','@univerjs/core/facade','IExchangeService','importFileToUnitId','24fjWavx','get','492XgAuRl','extend','importDOCXToSnapshotAsync','8gsiMTc','_injector','21708bOoIRn','importDOCXToUnitIdAsync','UNIVER_PROJECT','UNRECOGNIZED','importXLSXToUnitIdAsync','importDOCXToSnapshot','516162uLstQl','261VQqrPb','11162296UPLOkB','1296613tcjoax'];_0x4003=function(){return _0x57e884;};return _0x4003();}class c extends i[_0x7c9cb2(0x1eb)]{async[_0x7c9cb2(0x1e7)](_0x242bc4){const _0xa69567=_0x7c9cb2;return this[_0xa69567(0x1fb)](_0x242bc4);}async[_0x7c9cb2(0x1fb)](_0x316daa){const _0x322e09=_0x7c9cb2,_0x3e3e9c=this[_0x322e09(0x1f6)][_0x322e09(0x1f1)](r[_0x322e09(0x1ee)]);if(!_0x3e3e9c)throw new Error(_0x322e09(0x1e6));return _0x3e3e9c[_0x322e09(0x1ef)](_0x316daa,o[_0x322e09(0x1e1)]);}async[_0x7c9cb2(0x1df)](_0x45c023){return this['importXLSXToSnapshotAsync'](_0x45c023);}async['importXLSXToSnapshotAsync'](_0x38f76c){const _0x1b9bc8=_0x7c9cb2,_0x147e5d=this[_0x1b9bc8(0x1f6)][_0x1b9bc8(0x1f1)](r['IExchangeService']);if(!_0x147e5d)throw new Error(_0x1b9bc8(0x1e6));return _0x147e5d[_0x1b9bc8(0x1df)](_0x38f76c);}async[_0x7c9cb2(0x1e5)](_0x11f97e){return this['exportXLSXByUnitIdAsync'](_0x11f97e);}async[_0x7c9cb2(0x1ea)](_0x37e0e9){const _0x399fe6=_0x7c9cb2,_0x15e304=this['_injector'][_0x399fe6(0x1f1)](r[_0x399fe6(0x1ee)]);if(!_0x15e304)throw new Error(_0x399fe6(0x1e6));return _0x15e304[_0x399fe6(0x1e5)](_0x37e0e9);}async[_0x7c9cb2(0x201)](_0x50a35f){return this['exportXLSXBySnapshotAsync'](_0x50a35f);}async['exportXLSXBySnapshotAsync'](_0xfd8137){const _0x5002c5=_0x7c9cb2,_0x392678=this[_0x5002c5(0x1f6)]['get'](r['IExchangeService']);if(!_0x392678)throw new Error(_0x5002c5(0x1e6));return _0x392678[_0x5002c5(0x201)](_0xfd8137);}async['importDOCXToUnitId'](_0x1eefda){const _0x1fd123=_0x7c9cb2;return this[_0x1fd123(0x1f8)](_0x1eefda);}async[_0x7c9cb2(0x1f8)](_0x3882ea){const _0x4a9fe4=_0x7c9cb2,_0x178ba2=this[_0x4a9fe4(0x1f6)]['get'](r[_0x4a9fe4(0x1ee)]);if(!_0x178ba2)throw new Error(_0x4a9fe4(0x1e6));return _0x178ba2[_0x4a9fe4(0x1ef)](_0x3882ea,o[_0x4a9fe4(0x1e9)]);}async[_0x7c9cb2(0x1fc)](_0x1998f6){const _0x17cbbf=_0x7c9cb2;return this[_0x17cbbf(0x1f4)](_0x1998f6);}async[_0x7c9cb2(0x1f4)](_0x3a8e6a){const _0x4a6661=_0x7c9cb2,_0x4d0241=this[_0x4a6661(0x1f6)][_0x4a6661(0x1f1)](r[_0x4a6661(0x1ee)]);if(!_0x4d0241)throw new Error(_0x4a6661(0x1e6));return _0x4d0241['importDOCXToSnapshot'](_0x3a8e6a);}}i[_0x7c9cb2(0x1eb)][_0x7c9cb2(0x1f3)](c);
1
+ 'use strict';const _0x2ddc5b=_0xe4d8;(function(_0xf4b8dd,_0x135828){const _0x1395f9=_0xe4d8,_0x12f9a8=_0xf4b8dd();while(!![]){try{const _0x374f0a=parseInt(_0x1395f9(0xbc))/0x1+parseInt(_0x1395f9(0xc9))/0x2*(-parseInt(_0x1395f9(0xbb))/0x3)+-parseInt(_0x1395f9(0xde))/0x4+-parseInt(_0x1395f9(0xd7))/0x5*(-parseInt(_0x1395f9(0xcb))/0x6)+parseInt(_0x1395f9(0xc7))/0x7+parseInt(_0x1395f9(0xca))/0x8+parseInt(_0x1395f9(0xcf))/0x9*(-parseInt(_0x1395f9(0xbf))/0xa);if(_0x374f0a===_0x135828)break;else _0x12f9a8['push'](_0x12f9a8['shift']());}catch(_0x30ec06){_0x12f9a8['push'](_0x12f9a8['shift']());}}}(_0x5396,0x1bff5));const r=require(_0x2ddc5b(0xd4)),i=require(_0x2ddc5b(0xc2));var o=(_0x283478=>(_0x283478[_0x283478[_0x2ddc5b(0xdc)]=0x0]=_0x2ddc5b(0xdc),_0x283478[_0x283478[_0x2ddc5b(0xda)]=0x1]='UNIVER_DOC',_0x283478[_0x283478[_0x2ddc5b(0xd3)]=0x2]=_0x2ddc5b(0xd3),_0x283478[_0x283478[_0x2ddc5b(0xc3)]=0x3]='UNIVER_SLIDE',_0x283478[_0x283478[_0x2ddc5b(0xdb)]=0x4]=_0x2ddc5b(0xdb),_0x283478[_0x283478[_0x2ddc5b(0xcc)]=-0x1]=_0x2ddc5b(0xcc),_0x283478))(o||{});class c extends i[_0x2ddc5b(0xc4)]{async[_0x2ddc5b(0xdd)](_0x466b38){return this['importXLSXToUnitIdAsync'](_0x466b38);}async[_0x2ddc5b(0xd1)](_0x54176e){const _0x4be418=_0x2ddc5b,_0x23097b=this[_0x4be418(0xcd)][_0x4be418(0xce)](r['IExchangeService']);if(!_0x23097b)throw new Error(_0x4be418(0xd0));return _0x23097b[_0x4be418(0xc1)](_0x54176e,o[_0x4be418(0xd3)]);}async[_0x2ddc5b(0xc8)](_0x40407d){return this['importXLSXToSnapshotAsync'](_0x40407d);}async['importXLSXToSnapshotAsync'](_0x19e3aa){const _0x5223f2=_0x2ddc5b,_0x2e978a=this['_injector'][_0x5223f2(0xce)](r['IExchangeService']);if(!_0x2e978a)throw new Error(_0x5223f2(0xd0));return _0x2e978a['importXLSXToSnapshot'](_0x19e3aa);}async['exportXLSXByUnitId'](_0x2eaf4f){const _0x16602a=_0x2ddc5b;return this[_0x16602a(0xbe)](_0x2eaf4f);}async['exportXLSXByUnitIdAsync'](_0x4c9921){const _0x1a1d6b=_0x2ddc5b,_0x2cf4f3=this[_0x1a1d6b(0xcd)][_0x1a1d6b(0xce)](r[_0x1a1d6b(0xbd)]);if(!_0x2cf4f3)throw new Error(_0x1a1d6b(0xd0));return _0x2cf4f3[_0x1a1d6b(0xc6)](_0x4c9921);}async[_0x2ddc5b(0xd9)](_0x1b5837){const _0x16aefd=_0x2ddc5b;return this[_0x16aefd(0xd5)](_0x1b5837);}async[_0x2ddc5b(0xd5)](_0x2183a5){const _0x58d3da=_0x2ddc5b,_0x1b4664=this[_0x58d3da(0xcd)][_0x58d3da(0xce)](r[_0x58d3da(0xbd)]);if(!_0x1b4664)throw new Error(_0x58d3da(0xd0));return _0x1b4664['exportXLSXBySnapshot'](_0x2183a5);}async[_0x2ddc5b(0xd6)](_0x5504f7){return this['importDOCXToUnitIdAsync'](_0x5504f7);}async[_0x2ddc5b(0xd2)](_0x354c5c){const _0x3b0a76=_0x2ddc5b,_0x4acc43=this[_0x3b0a76(0xcd)][_0x3b0a76(0xce)](r['IExchangeService']);if(!_0x4acc43)throw new Error(_0x3b0a76(0xd0));return _0x4acc43[_0x3b0a76(0xc1)](_0x354c5c,o['UNIVER_DOC']);}async[_0x2ddc5b(0xd8)](_0x4a0842){const _0x502d7f=_0x2ddc5b;return this[_0x502d7f(0xc5)](_0x4a0842);}async[_0x2ddc5b(0xc5)](_0x3d5b86){const _0x590f32=_0x2ddc5b,_0x267b70=this[_0x590f32(0xcd)]['get'](r[_0x590f32(0xbd)]);if(!_0x267b70)throw new Error(_0x590f32(0xd0));return _0x267b70[_0x590f32(0xd8)](_0x3d5b86);}}function _0xe4d8(_0x3365ee,_0x3932d7){const _0x5396d2=_0x5396();return _0xe4d8=function(_0xe4d89c,_0x13c2b8){_0xe4d89c=_0xe4d89c-0xbb;let _0x1abda0=_0x5396d2[_0xe4d89c];return _0x1abda0;},_0xe4d8(_0x3365ee,_0x3932d7);}function _0x5396(){const _0x5d9179=['exportXLSXBySnapshot','UNIVER_DOC','UNIVER_PROJECT','UNIVER_UNKNOWN','importXLSXToUnitId','386420TxZyRR','114LGTeiQ','43474duVGlK','IExchangeService','exportXLSXByUnitIdAsync','897340GhmrQo','extend','importFileToUnitId','@univerjs/core/facade','UNIVER_SLIDE','FUniver','importDOCXToSnapshotAsync','exportXLSXByUnitId','762153lgYBfQ','importXLSXToSnapshot','5696fYJnxj','1288568mkkWdX','354hdcyuO','UNRECOGNIZED','_injector','get','9nFLeoe','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','importDOCXToUnitId','8120zNRUyY','importDOCXToSnapshot'];_0x5396=function(){return _0x5d9179;};return _0x5396();}i['FUniver'][_0x2ddc5b(0xc0)](c);