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

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';function _0x4416(){const _0x409f2c=['importXLSXToSnapshotAsync','get','importFileToUnitId','_injector','7643735jPBqak','UNRECOGNIZED','355SijkEu','150mvgxSt','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','10QuWmWO','importDOCXToUnitIdAsync','importXLSXToSnapshot','FUniver','UNIVER_SHEET','9050lXQNcZ','UNIVER_DOC','128236aIczCg','6914800qEjPBl','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','36qqSpfb','3396316WWOXHM','exportXLSXByUnitId','UNIVER_PROJECT','@univerjs/core','143346XTljdZ','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','7417485lzudok','IExchangeService','exportXLSXBySnapshot','UNIVER_SLIDE','importDOCXToSnapshot','305DltcAi'];_0x4416=function(){return _0x409f2c;};return _0x4416();}const _0x2ae342=_0x42b1;(function(_0x57460b,_0x1f6814){const _0x4d42ae=_0x42b1,_0x36cd38=_0x57460b();while(!![]){try{const _0x3caff3=parseInt(_0x4d42ae(0x173))/0x1*(-parseInt(_0x4d42ae(0x17c))/0x2)+-parseInt(_0x4d42ae(0x174))/0x3*(parseInt(_0x4d42ae(0x17e))/0x4)+-parseInt(_0x4d42ae(0x16c))/0x5*(-parseInt(_0x4d42ae(0x164))/0x6)+parseInt(_0x4d42ae(0x160))/0x7+parseInt(_0x4d42ae(0x17f))/0x8+-parseInt(_0x4d42ae(0x167))/0x9*(parseInt(_0x4d42ae(0x177))/0xa)+-parseInt(_0x4d42ae(0x171))/0xb*(-parseInt(_0x4d42ae(0x15f))/0xc);if(_0x3caff3===_0x1f6814)break;else _0x36cd38['push'](_0x36cd38['shift']());}catch(_0x3fd9aa){_0x36cd38['push'](_0x36cd38['shift']());}}}(_0x4416,0xd17c6));function _0x42b1(_0x1153e8,_0xcf77c3){const _0x4416db=_0x4416();return _0x42b1=function(_0x42b186,_0x184df7){_0x42b186=_0x42b186-0x15d;let _0x2da23d=_0x4416db[_0x42b186];return _0x2da23d;},_0x42b1(_0x1153e8,_0xcf77c3);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x2ae342(0x163));var o=(_0x47e4c9=>(_0x47e4c9[_0x47e4c9['UNIVER_UNKNOWN']=0x0]=_0x2ae342(0x176),_0x47e4c9[_0x47e4c9[_0x2ae342(0x17d)]=0x1]='UNIVER_DOC',_0x47e4c9[_0x47e4c9[_0x2ae342(0x17b)]=0x2]=_0x2ae342(0x17b),_0x47e4c9[_0x47e4c9[_0x2ae342(0x16a)]=0x3]=_0x2ae342(0x16a),_0x47e4c9[_0x47e4c9[_0x2ae342(0x162)]=0x4]=_0x2ae342(0x162),_0x47e4c9[_0x47e4c9[_0x2ae342(0x172)]=-0x1]='UNRECOGNIZED',_0x47e4c9))(o||{});class c extends i[_0x2ae342(0x17a)]{async[_0x2ae342(0x15e)](_0x11c257){return this['importXLSXToUnitIdAsync'](_0x11c257);}async['importXLSXToUnitIdAsync'](_0x5dfbe9){const _0x38acff=_0x2ae342,_0x38bed9=this[_0x38acff(0x170)][_0x38acff(0x16e)](r[_0x38acff(0x168)]);if(!_0x38bed9)throw new Error(_0x38acff(0x15d));return _0x38bed9[_0x38acff(0x16f)](_0x5dfbe9,o[_0x38acff(0x17b)]);}async[_0x2ae342(0x179)](_0x24232a){const _0x5df12a=_0x2ae342;return this[_0x5df12a(0x16d)](_0x24232a);}async[_0x2ae342(0x16d)](_0x5f05ba){const _0x1d18a4=_0x2ae342,_0x504748=this['_injector'][_0x1d18a4(0x16e)](r[_0x1d18a4(0x168)]);if(!_0x504748)throw new Error(_0x1d18a4(0x15d));return _0x504748[_0x1d18a4(0x179)](_0x5f05ba);}async[_0x2ae342(0x161)](_0x1b5099){const _0x507301=_0x2ae342;return this[_0x507301(0x166)](_0x1b5099);}async[_0x2ae342(0x166)](_0x29deaf){const _0x3934f6=_0x2ae342,_0x38ef39=this[_0x3934f6(0x170)][_0x3934f6(0x16e)](r[_0x3934f6(0x168)]);if(!_0x38ef39)throw new Error(_0x3934f6(0x15d));return _0x38ef39[_0x3934f6(0x161)](_0x29deaf);}async['exportXLSXBySnapshot'](_0x754d46){const _0x54c52d=_0x2ae342;return this[_0x54c52d(0x175)](_0x754d46);}async[_0x2ae342(0x175)](_0x47919c){const _0x33b49f=_0x2ae342,_0x20722a=this[_0x33b49f(0x170)][_0x33b49f(0x16e)](r[_0x33b49f(0x168)]);if(!_0x20722a)throw new Error(_0x33b49f(0x15d));return _0x20722a[_0x33b49f(0x169)](_0x47919c);}async['importDOCXToUnitId'](_0x4dd977){return this['importDOCXToUnitIdAsync'](_0x4dd977);}async[_0x2ae342(0x178)](_0x26f7f6){const _0x2df803=_0x2ae342,_0x11bfdf=this[_0x2df803(0x170)][_0x2df803(0x16e)](r['IExchangeService']);if(!_0x11bfdf)throw new Error(_0x2df803(0x15d));return _0x11bfdf[_0x2df803(0x16f)](_0x26f7f6,o[_0x2df803(0x17d)]);}async['importDOCXToSnapshot'](_0x26d481){const _0x1c8bda=_0x2ae342;return this[_0x1c8bda(0x165)](_0x26d481);}async['importDOCXToSnapshotAsync'](_0x1327b9){const _0x5a2fe0=_0x2ae342,_0x7a3fb7=this[_0x5a2fe0(0x170)][_0x5a2fe0(0x16e)](r[_0x5a2fe0(0x168)]);if(!_0x7a3fb7)throw new Error(_0x5a2fe0(0x15d));return _0x7a3fb7[_0x5a2fe0(0x16b)](_0x1327b9);}}i[_0x2ae342(0x17a)]['extend'](c);