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

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 _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);
1
+ 'use strict';const _0x8ab46a=_0x4aa8;(function(_0x44ad5f,_0x27f214){const _0x1bf7f5=_0x4aa8,_0x5afd24=_0x44ad5f();while(!![]){try{const _0x3b947f=-parseInt(_0x1bf7f5(0x1d0))/0x1+-parseInt(_0x1bf7f5(0x1d8))/0x2+parseInt(_0x1bf7f5(0x1ce))/0x3*(-parseInt(_0x1bf7f5(0x1e6))/0x4)+-parseInt(_0x1bf7f5(0x1e0))/0x5*(-parseInt(_0x1bf7f5(0x1d2))/0x6)+-parseInt(_0x1bf7f5(0x1eb))/0x7+parseInt(_0x1bf7f5(0x1db))/0x8+parseInt(_0x1bf7f5(0x1df))/0x9;if(_0x3b947f===_0x27f214)break;else _0x5afd24['push'](_0x5afd24['shift']());}catch(_0x513ae9){_0x5afd24['push'](_0x5afd24['shift']());}}}(_0x5f1a,0x6be7e));const r=require('@univerjs-pro/exchange-client'),i=require(_0x8ab46a(0x1d3));var o=(_0x4433fd=>(_0x4433fd[_0x4433fd[_0x8ab46a(0x1de)]=0x0]=_0x8ab46a(0x1de),_0x4433fd[_0x4433fd['UNIVER_DOC']=0x1]=_0x8ab46a(0x1ea),_0x4433fd[_0x4433fd[_0x8ab46a(0x1e7)]=0x2]=_0x8ab46a(0x1e7),_0x4433fd[_0x4433fd[_0x8ab46a(0x1d1)]=0x3]=_0x8ab46a(0x1d1),_0x4433fd[_0x4433fd[_0x8ab46a(0x1da)]=0x4]=_0x8ab46a(0x1da),_0x4433fd[_0x4433fd['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4433fd))(o||{});function _0x5f1a(){const _0x5013cf=['7879EmhbfQ','UNIVER_SLIDE','76764kSOHfi','@univerjs/core','exportXLSXByUnitIdAsync','exportXLSXBySnapshotAsync','FUniver','exportXLSXByUnitId','366156ooriGr','importDOCXToSnapshotAsync','UNIVER_PROJECT','766768tMGvuC','get','importFileToUnitId','UNIVER_UNKNOWN','4393305MshkYT','200KnZazj','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','IExchangeService','importXLSXToUnitIdAsync','100488oMmVjz','UNIVER_SHEET','importXLSXToSnapshot','exportXLSXBySnapshot','UNIVER_DOC','1656998Liblwt','_injector','27HVPndA','importDOCXToSnapshot'];_0x5f1a=function(){return _0x5013cf;};return _0x5f1a();}function _0x4aa8(_0x1e90de,_0x236e0b){const _0x5f1a29=_0x5f1a();return _0x4aa8=function(_0x4aa8f3,_0x1533a4){_0x4aa8f3=_0x4aa8f3-0x1cd;let _0x2bb803=_0x5f1a29[_0x4aa8f3];return _0x2bb803;},_0x4aa8(_0x1e90de,_0x236e0b);}class c extends i[_0x8ab46a(0x1d6)]{async['importXLSXToUnitId'](_0x72fd10){return this['importXLSXToUnitIdAsync'](_0x72fd10);}async[_0x8ab46a(0x1e5)](_0x90ce35){const _0x3f7c97=_0x8ab46a,_0x152862=this[_0x3f7c97(0x1cd)][_0x3f7c97(0x1dc)](r[_0x3f7c97(0x1e4)]);if(!_0x152862)throw new Error(_0x3f7c97(0x1e2));return _0x152862['importFileToUnitId'](_0x90ce35,o[_0x3f7c97(0x1e7)]);}async[_0x8ab46a(0x1e8)](_0x2a7f54){const _0x127706=_0x8ab46a;return this[_0x127706(0x1e3)](_0x2a7f54);}async['importXLSXToSnapshotAsync'](_0x17a44c){const _0x54a154=_0x8ab46a,_0x5dab78=this[_0x54a154(0x1cd)][_0x54a154(0x1dc)](r['IExchangeService']);if(!_0x5dab78)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5dab78['importXLSXToSnapshot'](_0x17a44c);}async[_0x8ab46a(0x1d7)](_0x4c1fe5){const _0x4a00f3=_0x8ab46a;return this[_0x4a00f3(0x1d4)](_0x4c1fe5);}async[_0x8ab46a(0x1d4)](_0x545103){const _0x58505b=_0x8ab46a,_0x396820=this[_0x58505b(0x1cd)][_0x58505b(0x1dc)](r[_0x58505b(0x1e4)]);if(!_0x396820)throw new Error(_0x58505b(0x1e2));return _0x396820[_0x58505b(0x1d7)](_0x545103);}async[_0x8ab46a(0x1e9)](_0x5282c3){const _0x34162b=_0x8ab46a;return this[_0x34162b(0x1d5)](_0x5282c3);}async[_0x8ab46a(0x1d5)](_0x48d699){const _0x56005a=_0x8ab46a,_0x2edc2c=this['_injector'][_0x56005a(0x1dc)](r[_0x56005a(0x1e4)]);if(!_0x2edc2c)throw new Error(_0x56005a(0x1e2));return _0x2edc2c[_0x56005a(0x1e9)](_0x48d699);}async['importDOCXToUnitId'](_0x5566ea){return this['importDOCXToUnitIdAsync'](_0x5566ea);}async[_0x8ab46a(0x1e1)](_0xf48ea){const _0x2f643c=_0x8ab46a,_0x3ac549=this[_0x2f643c(0x1cd)]['get'](r[_0x2f643c(0x1e4)]);if(!_0x3ac549)throw new Error(_0x2f643c(0x1e2));return _0x3ac549[_0x2f643c(0x1dd)](_0xf48ea,o[_0x2f643c(0x1ea)]);}async[_0x8ab46a(0x1cf)](_0x31fcf9){const _0x3d9684=_0x8ab46a;return this[_0x3d9684(0x1d9)](_0x31fcf9);}async[_0x8ab46a(0x1d9)](_0x52b434){const _0x58cb2e=_0x8ab46a,_0x4828af=this[_0x58cb2e(0x1cd)][_0x58cb2e(0x1dc)](r[_0x58cb2e(0x1e4)]);if(!_0x4828af)throw new Error(_0x58cb2e(0x1e2));return _0x4828af['importDOCXToSnapshot'](_0x52b434);}}i[_0x8ab46a(0x1d6)]['extend'](c);