@univerjs-pro/exchange-client 0.5.0-nightly.202411101605 → 0.5.0-nightly.202411120616

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 _0x1ab6(_0x2577a3,_0x37a3fc){const _0x1c8a32=_0x1c8a();return _0x1ab6=function(_0x1ab67e,_0x1a10fc){_0x1ab67e=_0x1ab67e-0x12e;let _0x43fdd4=_0x1c8a32[_0x1ab67e];return _0x43fdd4;},_0x1ab6(_0x2577a3,_0x37a3fc);}const _0x35996e=_0x1ab6;function _0x1c8a(){const _0xdced66=['importXLSXToUnitId','UNRECOGNIZED','@univerjs/core','1233yXfRKG','2085JSBFlH','3628sAuKMY','85141CEZSZu','UNIVER_SLIDE','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshot','222XMjpLA','9660490nAyyRE','69414FikBbJ','exportXLSXByUnitId','UNIVER_UNKNOWN','_injector','UNIVER_DOC','UNIVER_PROJECT','803948HFDESQ','602810EQFtDZ','importXLSXToSnapshot','IExchangeService','exportXLSXBySnapshot','21080RqquNY','FUniver','importFileToUnitId','extend','get','@univerjs-pro/exchange-client'];_0x1c8a=function(){return _0xdced66;};return _0x1c8a();}(function(_0x13a700,_0x3c183e){const _0x47f050=_0x1ab6,_0x19cdf6=_0x13a700();while(!![]){try{const _0x162a83=-parseInt(_0x47f050(0x13d))/0x1+parseInt(_0x47f050(0x13c))/0x2+parseInt(_0x47f050(0x136))/0x3+-parseInt(_0x47f050(0x12e))/0x4*(-parseInt(_0x47f050(0x14b))/0x5)+parseInt(_0x47f050(0x134))/0x6*(-parseInt(_0x47f050(0x12f))/0x7)+parseInt(_0x47f050(0x141))/0x8*(-parseInt(_0x47f050(0x14a))/0x9)+parseInt(_0x47f050(0x135))/0xa;if(_0x162a83===_0x3c183e)break;else _0x19cdf6['push'](_0x19cdf6['shift']());}catch(_0xc7d0ec){_0x19cdf6['push'](_0x19cdf6['shift']());}}}(_0x1c8a,0x56cd8));const c=require(_0x35996e(0x149)),n=require(_0x35996e(0x146));var i=(_0x352cfb=>(_0x352cfb[_0x352cfb['UNIVER_UNKNOWN']=0x0]=_0x35996e(0x138),_0x352cfb[_0x352cfb[_0x35996e(0x13a)]=0x1]=_0x35996e(0x13a),_0x352cfb[_0x352cfb[_0x35996e(0x131)]=0x2]=_0x35996e(0x131),_0x352cfb[_0x352cfb[_0x35996e(0x130)]=0x3]=_0x35996e(0x130),_0x352cfb[_0x352cfb[_0x35996e(0x13b)]=0x4]=_0x35996e(0x13b),_0x352cfb[_0x352cfb[_0x35996e(0x148)]=-0x1]=_0x35996e(0x148),_0x352cfb))(i||{});class o extends c['FUniver']{async[_0x35996e(0x147)](_0xdad547){const _0x201a01=_0x35996e,_0x3d667a=this[_0x201a01(0x139)][_0x201a01(0x145)](n[_0x201a01(0x13f)]);if(!_0x3d667a)throw new Error(_0x201a01(0x132));return _0x3d667a[_0x201a01(0x143)](_0xdad547,i[_0x201a01(0x131)]);}async[_0x35996e(0x13e)](_0x26cb20){const _0x35c90c=_0x35996e,_0x4e2b6d=this[_0x35c90c(0x139)]['get'](n[_0x35c90c(0x13f)]);if(!_0x4e2b6d)throw new Error(_0x35c90c(0x132));return _0x4e2b6d[_0x35c90c(0x13e)](_0x26cb20);}async[_0x35996e(0x137)](_0x36d27d){const _0x4ffd32=_0x35996e,_0x2f93f4=this['_injector']['get'](n['IExchangeService']);if(!_0x2f93f4)throw new Error(_0x4ffd32(0x132));return _0x2f93f4[_0x4ffd32(0x137)](_0x36d27d);}async['exportXLSXBySnapshot'](_0x1272d3){const _0x4bb8cd=_0x35996e,_0xa50aaa=this['_injector']['get'](n[_0x4bb8cd(0x13f)]);if(!_0xa50aaa)throw new Error(_0x4bb8cd(0x132));return _0xa50aaa[_0x4bb8cd(0x140)](_0x1272d3);}async['importDOCXToUnitId'](_0x1b97fe){const _0x159edf=_0x35996e,_0x25401d=this['_injector'][_0x159edf(0x145)](n['IExchangeService']);if(!_0x25401d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25401d[_0x159edf(0x143)](_0x1b97fe,i[_0x159edf(0x13a)]);}async['importDOCXToSnapshot'](_0x375c9d){const _0x4f1851=_0x35996e,_0x559305=this['_injector'][_0x4f1851(0x145)](n[_0x4f1851(0x13f)]);if(!_0x559305)throw new Error(_0x4f1851(0x132));return _0x559305[_0x4f1851(0x133)](_0x375c9d);}}c[_0x35996e(0x142)][_0x35996e(0x144)](o);
1
+ 'use strict';const _0x2de7be=_0x5153;(function(_0x1ccd67,_0xc733){const _0x329f14=_0x5153,_0xcdea98=_0x1ccd67();while(!![]){try{const _0x2e8cf9=-parseInt(_0x329f14(0x172))/0x1+parseInt(_0x329f14(0x17d))/0x2*(-parseInt(_0x329f14(0x185))/0x3)+-parseInt(_0x329f14(0x17b))/0x4*(parseInt(_0x329f14(0x17e))/0x5)+-parseInt(_0x329f14(0x17a))/0x6+-parseInt(_0x329f14(0x18b))/0x7+parseInt(_0x329f14(0x183))/0x8*(parseInt(_0x329f14(0x178))/0x9)+parseInt(_0x329f14(0x182))/0xa;if(_0x2e8cf9===_0xc733)break;else _0xcdea98['push'](_0xcdea98['shift']());}catch(_0x4a2c8e){_0xcdea98['push'](_0xcdea98['shift']());}}}(_0x4697,0xc472c));const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');var i=(_0xe06fa1=>(_0xe06fa1[_0xe06fa1[_0x2de7be(0x17f)]=0x0]=_0x2de7be(0x17f),_0xe06fa1[_0xe06fa1['UNIVER_DOC']=0x1]=_0x2de7be(0x179),_0xe06fa1[_0xe06fa1['UNIVER_SHEET']=0x2]=_0x2de7be(0x189),_0xe06fa1[_0xe06fa1['UNIVER_SLIDE']=0x3]=_0x2de7be(0x181),_0xe06fa1[_0xe06fa1[_0x2de7be(0x173)]=0x4]='UNIVER_PROJECT',_0xe06fa1[_0xe06fa1[_0x2de7be(0x18a)]=-0x1]='UNRECOGNIZED',_0xe06fa1))(i||{});class o extends c[_0x2de7be(0x177)]{async[_0x2de7be(0x18c)](_0x536d8e){const _0x4bb800=_0x2de7be,_0x1a6b1e=this[_0x4bb800(0x174)]['get'](n[_0x4bb800(0x175)]);if(!_0x1a6b1e)throw new Error(_0x4bb800(0x18d));return _0x1a6b1e[_0x4bb800(0x171)](_0x536d8e,i['UNIVER_SHEET']);}async[_0x2de7be(0x186)](_0x29139e){const _0x5b5d98=_0x2de7be,_0x336ecf=this['_injector'][_0x5b5d98(0x188)](n['IExchangeService']);if(!_0x336ecf)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x336ecf[_0x5b5d98(0x186)](_0x29139e);}async[_0x2de7be(0x180)](_0x1b61de){const _0x221a54=_0x2de7be,_0x363498=this[_0x221a54(0x174)][_0x221a54(0x188)](n['IExchangeService']);if(!_0x363498)throw new Error(_0x221a54(0x18d));return _0x363498[_0x221a54(0x180)](_0x1b61de);}async['exportXLSXBySnapshot'](_0x2ec85f){const _0x1b8cd9=_0x2de7be,_0x32c1a7=this['_injector'][_0x1b8cd9(0x188)](n[_0x1b8cd9(0x175)]);if(!_0x32c1a7)throw new Error(_0x1b8cd9(0x18d));return _0x32c1a7[_0x1b8cd9(0x187)](_0x2ec85f);}async[_0x2de7be(0x184)](_0x1d0d46){const _0xd9ce6c=_0x2de7be,_0xb5022f=this[_0xd9ce6c(0x174)][_0xd9ce6c(0x188)](n[_0xd9ce6c(0x175)]);if(!_0xb5022f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xb5022f[_0xd9ce6c(0x171)](_0x1d0d46,i[_0xd9ce6c(0x179)]);}async[_0x2de7be(0x17c)](_0x276252){const _0x112e40=_0x2de7be,_0x25ab6f=this['_injector'][_0x112e40(0x188)](n[_0x112e40(0x175)]);if(!_0x25ab6f)throw new Error(_0x112e40(0x18d));return _0x25ab6f[_0x112e40(0x17c)](_0x276252);}}function _0x4697(){const _0x132c20=['4921056UzJkJp','76AJFKdh','importDOCXToSnapshot','26LGoqRy','288565rPjZJs','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_SLIDE','21545990mXGCcd','56gEnXmq','importDOCXToUnitId','7233Mjwzbc','importXLSXToSnapshot','exportXLSXBySnapshot','get','UNIVER_SHEET','UNRECOGNIZED','1107729SyiAHb','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','815316rdakgP','UNIVER_PROJECT','_injector','IExchangeService','extend','FUniver','2020734Xnjxxq','UNIVER_DOC'];_0x4697=function(){return _0x132c20;};return _0x4697();}function _0x5153(_0xe99173,_0x32e116){const _0x46972d=_0x4697();return _0x5153=function(_0x51538f,_0x537c16){_0x51538f=_0x51538f-0x171;let _0x358d02=_0x46972d[_0x51538f];return _0x358d02;},_0x5153(_0xe99173,_0x32e116);}c[_0x2de7be(0x177)][_0x2de7be(0x176)](o);