@univerjs-pro/exchange-client 0.6.0-nightly.202501261605 → 0.6.0-nightly.202501271606

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 _0x5f51(_0x40ea3b,_0x3e73c3){const _0x2a8759=_0x2a87();return _0x5f51=function(_0x5f511b,_0x48934a){_0x5f511b=_0x5f511b-0xa8;let _0x3162e2=_0x2a8759[_0x5f511b];return _0x3162e2;},_0x5f51(_0x40ea3b,_0x3e73c3);}const _0x15931e=_0x5f51;(function(_0x195f0f,_0x4029fb){const _0x124cad=_0x5f51,_0x23f618=_0x195f0f();while(!![]){try{const _0x2ee5ae=parseInt(_0x124cad(0xba))/0x1+-parseInt(_0x124cad(0xab))/0x2*(-parseInt(_0x124cad(0xbb))/0x3)+-parseInt(_0x124cad(0xc9))/0x4*(-parseInt(_0x124cad(0xb5))/0x5)+-parseInt(_0x124cad(0xcd))/0x6*(parseInt(_0x124cad(0xc7))/0x7)+parseInt(_0x124cad(0xbe))/0x8+-parseInt(_0x124cad(0xb9))/0x9*(-parseInt(_0x124cad(0xcc))/0xa)+-parseInt(_0x124cad(0xbc))/0xb;if(_0x2ee5ae===_0x4029fb)break;else _0x23f618['push'](_0x23f618['shift']());}catch(_0x5b28a3){_0x23f618['push'](_0x23f618['shift']());}}}(_0x2a87,0xa0a16));function _0x2a87(){const _0x483890=['exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','562810rEWfPY','importXLSXToSnapshot','importXLSXToUnitIdAsync','importXLSXToUnitId','405kishHf','740021eDsPKX','3SXxliL','17092922HyEVTK','FUniver','531536mJdSDE','exportXLSXBySnapshot','importDOCXToSnapshotAsync','importFileToUnitId','UNRECOGNIZED','UNIVER_SLIDE','get','UNIVER_UNKNOWN','importDOCXToUnitId','126161uajLtm','importDOCXToSnapshot','44OuDNzJ','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','155410PQHOKs','402Pzfudh','@univerjs/core','IExchangeService','exportXLSXByUnitId','1350790EqrAJm','extend','UNIVER_DOC','UNIVER_SHEET','importXLSXToSnapshotAsync','_injector','@univerjs-pro/exchange-client'];_0x2a87=function(){return _0x483890;};return _0x2a87();}const r=require(_0x15931e(0xb1)),i=require(_0x15931e(0xa8));var o=(_0x2eb335=>(_0x2eb335[_0x2eb335['UNIVER_UNKNOWN']=0x0]=_0x15931e(0xc5),_0x2eb335[_0x2eb335[_0x15931e(0xad)]=0x1]=_0x15931e(0xad),_0x2eb335[_0x2eb335[_0x15931e(0xae)]=0x2]=_0x15931e(0xae),_0x2eb335[_0x2eb335['UNIVER_SLIDE']=0x3]=_0x15931e(0xc3),_0x2eb335[_0x2eb335['UNIVER_PROJECT']=0x4]=_0x15931e(0xcb),_0x2eb335[_0x2eb335[_0x15931e(0xc2)]=-0x1]='UNRECOGNIZED',_0x2eb335))(o||{});class c extends i[_0x15931e(0xbd)]{async[_0x15931e(0xb8)](_0x253f2b){const _0x411ab3=_0x15931e;return this[_0x411ab3(0xb7)](_0x253f2b);}async[_0x15931e(0xb7)](_0x299fbd){const _0x56a48f=_0x15931e,_0x37ca87=this[_0x56a48f(0xb0)][_0x56a48f(0xc4)](r[_0x56a48f(0xa9)]);if(!_0x37ca87)throw new Error(_0x56a48f(0xca));return _0x37ca87[_0x56a48f(0xc1)](_0x299fbd,o[_0x56a48f(0xae)]);}async[_0x15931e(0xb6)](_0x5154e4){const _0x46c75f=_0x15931e;return this[_0x46c75f(0xaf)](_0x5154e4);}async[_0x15931e(0xaf)](_0x29dd0a){const _0x516cf8=_0x15931e,_0x495372=this[_0x516cf8(0xb0)][_0x516cf8(0xc4)](r['IExchangeService']);if(!_0x495372)throw new Error(_0x516cf8(0xca));return _0x495372[_0x516cf8(0xb6)](_0x29dd0a);}async['exportXLSXByUnitId'](_0x313320){const _0x324bd3=_0x15931e;return this[_0x324bd3(0xb2)](_0x313320);}async[_0x15931e(0xb2)](_0x857f1d){const _0x3e5182=_0x15931e,_0x3f1800=this['_injector'][_0x3e5182(0xc4)](r[_0x3e5182(0xa9)]);if(!_0x3f1800)throw new Error(_0x3e5182(0xca));return _0x3f1800[_0x3e5182(0xaa)](_0x857f1d);}async[_0x15931e(0xbf)](_0x149f74){const _0xfe0f2e=_0x15931e;return this[_0xfe0f2e(0xb4)](_0x149f74);}async[_0x15931e(0xb4)](_0x14d2df){const _0x24135e=_0x15931e,_0x459766=this['_injector']['get'](r[_0x24135e(0xa9)]);if(!_0x459766)throw new Error(_0x24135e(0xca));return _0x459766[_0x24135e(0xbf)](_0x14d2df);}async[_0x15931e(0xc6)](_0x374423){const _0x5d7d04=_0x15931e;return this[_0x5d7d04(0xb3)](_0x374423);}async[_0x15931e(0xb3)](_0x41dc54){const _0x5597ab=_0x15931e,_0x208e64=this[_0x5597ab(0xb0)]['get'](r[_0x5597ab(0xa9)]);if(!_0x208e64)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x208e64[_0x5597ab(0xc1)](_0x41dc54,o['UNIVER_DOC']);}async[_0x15931e(0xc8)](_0x58e1b2){const _0x55fbe0=_0x15931e;return this[_0x55fbe0(0xc0)](_0x58e1b2);}async[_0x15931e(0xc0)](_0x2a0cad){const _0x2aaeef=_0x15931e,_0x2431c6=this['_injector'][_0x2aaeef(0xc4)](r[_0x2aaeef(0xa9)]);if(!_0x2431c6)throw new Error(_0x2aaeef(0xca));return _0x2431c6[_0x2aaeef(0xc8)](_0x2a0cad);}}i['FUniver'][_0x15931e(0xac)](c);
1
+ 'use strict';function _0x3892(_0x350267,_0x99e3e7){const _0x573076=_0x5730();return _0x3892=function(_0x3892ee,_0x6ed102){_0x3892ee=_0x3892ee-0xf9;let _0x444274=_0x573076[_0x3892ee];return _0x444274;},_0x3892(_0x350267,_0x99e3e7);}const _0x3bf9ff=_0x3892;function _0x5730(){const _0x15f7c4=['8RLoTjn','get','IExchangeService','importFileToUnitId','_injector','UNIVER_SHEET','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','1700277QXkFSm','995dCWPBb','exportXLSXByUnitId','importDOCXToUnitIdAsync','@univerjs/core','1105326aOdDXw','extend','importDOCXToUnitId','importXLSXToSnapshot','importDOCXToSnapshot','importXLSXToSnapshotAsync','50djZArV','@univerjs-pro/exchange-client','importXLSXToUnitIdAsync','13278HGVeyw','importXLSXToUnitId','12679356sRLIiW','UNIVER_DOC','28vmYNIR','66864IkkvfZ','1MNCGpe','importDOCXToSnapshotAsync','FUniver','UNIVER_SLIDE','UNRECOGNIZED','UNIVER_PROJECT','2089356ZDGPgG','26gGUhIf','2251766fQXhAF','exportXLSXByUnitIdAsync'];_0x5730=function(){return _0x15f7c4;};return _0x5730();}(function(_0x64d114,_0x318934){const _0x15d7cf=_0x3892,_0xc8631b=_0x64d114();while(!![]){try{const _0x4f3d6d=-parseInt(_0x15d7cf(0x119))/0x1*(-parseInt(_0x15d7cf(0xf9))/0x2)+-parseInt(_0x15d7cf(0x105))/0x3*(-parseInt(_0x15d7cf(0xfd))/0x4)+-parseInt(_0x15d7cf(0x106))/0x5*(parseInt(_0x15d7cf(0x113))/0x6)+parseInt(_0x15d7cf(0x117))/0x7*(parseInt(_0x15d7cf(0x118))/0x8)+parseInt(_0x15d7cf(0x10a))/0x9+parseInt(_0x15d7cf(0x110))/0xa*(parseInt(_0x15d7cf(0xfb))/0xb)+-parseInt(_0x15d7cf(0x115))/0xc*(parseInt(_0x15d7cf(0xfa))/0xd);if(_0x4f3d6d===_0x318934)break;else _0xc8631b['push'](_0xc8631b['shift']());}catch(_0x4093e7){_0xc8631b['push'](_0xc8631b['shift']());}}}(_0x5730,0xc4607));const r=require(_0x3bf9ff(0x111)),i=require(_0x3bf9ff(0x109));var o=(_0x510a14=>(_0x510a14[_0x510a14['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x510a14[_0x510a14['UNIVER_DOC']=0x1]=_0x3bf9ff(0x116),_0x510a14[_0x510a14[_0x3bf9ff(0x102)]=0x2]=_0x3bf9ff(0x102),_0x510a14[_0x510a14['UNIVER_SLIDE']=0x3]=_0x3bf9ff(0x11c),_0x510a14[_0x510a14['UNIVER_PROJECT']=0x4]=_0x3bf9ff(0x11e),_0x510a14[_0x510a14[_0x3bf9ff(0x11d)]=-0x1]=_0x3bf9ff(0x11d),_0x510a14))(o||{});class c extends i[_0x3bf9ff(0x11b)]{async[_0x3bf9ff(0x114)](_0x4e1b97){return this['importXLSXToUnitIdAsync'](_0x4e1b97);}async[_0x3bf9ff(0x112)](_0x5192e6){const _0x25ef4e=_0x3bf9ff,_0x143251=this['_injector'][_0x25ef4e(0xfe)](r['IExchangeService']);if(!_0x143251)throw new Error(_0x25ef4e(0x104));return _0x143251[_0x25ef4e(0x100)](_0x5192e6,o['UNIVER_SHEET']);}async[_0x3bf9ff(0x10d)](_0x36d731){const _0x4f16f7=_0x3bf9ff;return this[_0x4f16f7(0x10f)](_0x36d731);}async['importXLSXToSnapshotAsync'](_0x1fade0){const _0x3e6f46=_0x3bf9ff,_0xc4de59=this[_0x3e6f46(0x101)][_0x3e6f46(0xfe)](r[_0x3e6f46(0xff)]);if(!_0xc4de59)throw new Error(_0x3e6f46(0x104));return _0xc4de59[_0x3e6f46(0x10d)](_0x1fade0);}async[_0x3bf9ff(0x107)](_0x82ea2f){const _0x4317e3=_0x3bf9ff;return this[_0x4317e3(0xfc)](_0x82ea2f);}async[_0x3bf9ff(0xfc)](_0x5a31b6){const _0x4971fd=_0x3bf9ff,_0x342d73=this[_0x4971fd(0x101)]['get'](r[_0x4971fd(0xff)]);if(!_0x342d73)throw new Error(_0x4971fd(0x104));return _0x342d73[_0x4971fd(0x107)](_0x5a31b6);}async['exportXLSXBySnapshot'](_0x135bd7){const _0x2ab781=_0x3bf9ff;return this[_0x2ab781(0x103)](_0x135bd7);}async['exportXLSXBySnapshotAsync'](_0x41e986){const _0x40c2bb=_0x3bf9ff,_0x38383b=this[_0x40c2bb(0x101)][_0x40c2bb(0xfe)](r[_0x40c2bb(0xff)]);if(!_0x38383b)throw new Error(_0x40c2bb(0x104));return _0x38383b['exportXLSXBySnapshot'](_0x41e986);}async[_0x3bf9ff(0x10c)](_0x170eda){return this['importDOCXToUnitIdAsync'](_0x170eda);}async[_0x3bf9ff(0x108)](_0x188f94){const _0x17545a=_0x3bf9ff,_0x350150=this[_0x17545a(0x101)][_0x17545a(0xfe)](r[_0x17545a(0xff)]);if(!_0x350150)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x350150['importFileToUnitId'](_0x188f94,o['UNIVER_DOC']);}async[_0x3bf9ff(0x10e)](_0x2c1cef){return this['importDOCXToSnapshotAsync'](_0x2c1cef);}async[_0x3bf9ff(0x11a)](_0x44c897){const _0x20cc1f=_0x3bf9ff,_0x20b046=this[_0x20cc1f(0x101)][_0x20cc1f(0xfe)](r[_0x20cc1f(0xff)]);if(!_0x20b046)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x20b046[_0x20cc1f(0x10e)](_0x44c897);}}i[_0x3bf9ff(0x11b)][_0x3bf9ff(0x10b)](c);