@univerjs-pro/exchange-client 0.5.1-nightly.202412231606 → 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';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';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);