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

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 _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);
1
+ 'use strict';const _0x1d9a2b=_0x146c;(function(_0x555a3d,_0x43d037){const _0x51bda8=_0x146c,_0x10995b=_0x555a3d();while(!![]){try{const _0x204b56=parseInt(_0x51bda8(0x1f5))/0x1+-parseInt(_0x51bda8(0x1e9))/0x2+-parseInt(_0x51bda8(0x1e8))/0x3*(parseInt(_0x51bda8(0x1e4))/0x4)+parseInt(_0x51bda8(0x1fc))/0x5+-parseInt(_0x51bda8(0x1fe))/0x6+-parseInt(_0x51bda8(0x1f0))/0x7+parseInt(_0x51bda8(0x1e2))/0x8;if(_0x204b56===_0x43d037)break;else _0x10995b['push'](_0x10995b['shift']());}catch(_0x1d8ff4){_0x10995b['push'](_0x10995b['shift']());}}}(_0x41ba,0x8f8af));function _0x146c(_0x1b33e3,_0x48bed6){const _0x41baad=_0x41ba();return _0x146c=function(_0x146ca9,_0x465da5){_0x146ca9=_0x146ca9-0x1e1;let _0x4d1f09=_0x41baad[_0x146ca9];return _0x4d1f09;},_0x146c(_0x1b33e3,_0x48bed6);}const r=require(_0x1d9a2b(0x1e7)),i=require(_0x1d9a2b(0x203));var o=(_0x36a908=>(_0x36a908[_0x36a908['UNIVER_UNKNOWN']=0x0]=_0x1d9a2b(0x1ea),_0x36a908[_0x36a908['UNIVER_DOC']=0x1]=_0x1d9a2b(0x1fb),_0x36a908[_0x36a908[_0x1d9a2b(0x1fa)]=0x2]=_0x1d9a2b(0x1fa),_0x36a908[_0x36a908['UNIVER_SLIDE']=0x3]=_0x1d9a2b(0x1e3),_0x36a908[_0x36a908[_0x1d9a2b(0x1ec)]=0x4]=_0x1d9a2b(0x1ec),_0x36a908[_0x36a908[_0x1d9a2b(0x1ef)]=-0x1]=_0x1d9a2b(0x1ef),_0x36a908))(o||{});class c extends i[_0x1d9a2b(0x1e1)]{async[_0x1d9a2b(0x1f4)](_0x2113f6){const _0x5e6feb=_0x1d9a2b;return this[_0x5e6feb(0x1f3)](_0x2113f6);}async[_0x1d9a2b(0x1f3)](_0x116d31){const _0x43537a=_0x1d9a2b,_0x5cfa77=this[_0x43537a(0x1f1)][_0x43537a(0x1e6)](r[_0x43537a(0x1ee)]);if(!_0x5cfa77)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5cfa77[_0x43537a(0x1f6)](_0x116d31,o[_0x43537a(0x1fa)]);}async[_0x1d9a2b(0x202)](_0x568da2){const _0x3a114d=_0x1d9a2b;return this[_0x3a114d(0x1f2)](_0x568da2);}async[_0x1d9a2b(0x1f2)](_0x5f52e5){const _0x390118=_0x1d9a2b,_0x5289d0=this['_injector'][_0x390118(0x1e6)](r[_0x390118(0x1ee)]);if(!_0x5289d0)throw new Error(_0x390118(0x1fd));return _0x5289d0[_0x390118(0x202)](_0x5f52e5);}async[_0x1d9a2b(0x1eb)](_0x53eacc){const _0x1f5f34=_0x1d9a2b;return this[_0x1f5f34(0x200)](_0x53eacc);}async[_0x1d9a2b(0x200)](_0x1f9cd0){const _0x565fe3=_0x1d9a2b,_0x5cabff=this['_injector'][_0x565fe3(0x1e6)](r[_0x565fe3(0x1ee)]);if(!_0x5cabff)throw new Error(_0x565fe3(0x1fd));return _0x5cabff[_0x565fe3(0x1eb)](_0x1f9cd0);}async[_0x1d9a2b(0x201)](_0x3b6da7){return this['exportXLSXBySnapshotAsync'](_0x3b6da7);}async[_0x1d9a2b(0x1f8)](_0x2defbc){const _0x447a47=_0x1d9a2b,_0x3611bd=this[_0x447a47(0x1f1)][_0x447a47(0x1e6)](r[_0x447a47(0x1ee)]);if(!_0x3611bd)throw new Error(_0x447a47(0x1fd));return _0x3611bd['exportXLSXBySnapshot'](_0x2defbc);}async[_0x1d9a2b(0x1ed)](_0x1fb09e){const _0x46a883=_0x1d9a2b;return this[_0x46a883(0x1f7)](_0x1fb09e);}async[_0x1d9a2b(0x1f7)](_0x13488a){const _0x41ee44=_0x1d9a2b,_0x4c32ce=this['_injector']['get'](r[_0x41ee44(0x1ee)]);if(!_0x4c32ce)throw new Error(_0x41ee44(0x1fd));return _0x4c32ce[_0x41ee44(0x1f6)](_0x13488a,o['UNIVER_DOC']);}async[_0x1d9a2b(0x1f9)](_0x52885a){const _0x16e88a=_0x1d9a2b;return this[_0x16e88a(0x1e5)](_0x52885a);}async[_0x1d9a2b(0x1e5)](_0x3a9bdc){const _0x5852e9=_0x1d9a2b,_0x567303=this['_injector'][_0x5852e9(0x1e6)](r[_0x5852e9(0x1ee)]);if(!_0x567303)throw new Error(_0x5852e9(0x1fd));return _0x567303['importDOCXToSnapshot'](_0x3a9bdc);}}function _0x41ba(){const _0x136474=['_injector','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','importXLSXToUnitId','849834LnvIlZ','importFileToUnitId','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','importDOCXToSnapshot','UNIVER_SHEET','UNIVER_DOC','814115ehXXJk','The\x20exchange\x20service\x20is\x20not\x20available','3458958MPbCUZ','extend','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','importXLSXToSnapshot','@univerjs/core','FUniver','19628656SXLgjQ','UNIVER_SLIDE','1225776OjnKaj','importDOCXToSnapshotAsync','get','@univerjs-pro/exchange-client','9FpzoTI','1569128VtbPsX','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_PROJECT','importDOCXToUnitId','IExchangeService','UNRECOGNIZED','4185293UWQfzf'];_0x41ba=function(){return _0x136474;};return _0x41ba();}i[_0x1d9a2b(0x1e1)][_0x1d9a2b(0x1ff)](c);