@univerjs-pro/exchange-client 0.5.4-nightly.202501160949 → 0.5.4-nightly.202501161606

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 _0x201b(_0x422b47,_0x5f431e){const _0x391187=_0x3911();return _0x201b=function(_0x201b6f,_0x43672c){_0x201b6f=_0x201b6f-0xdb;let _0x29caaf=_0x391187[_0x201b6f];return _0x29caaf;},_0x201b(_0x422b47,_0x5f431e);}const _0x1234f1=_0x201b;(function(_0x1823a3,_0x52b172){const _0x2b4cca=_0x201b,_0x3818cf=_0x1823a3();while(!![]){try{const _0x184c3f=-parseInt(_0x2b4cca(0xfb))/0x1*(-parseInt(_0x2b4cca(0xf8))/0x2)+-parseInt(_0x2b4cca(0xf3))/0x3*(parseInt(_0x2b4cca(0xed))/0x4)+-parseInt(_0x2b4cca(0xe8))/0x5+-parseInt(_0x2b4cca(0xf7))/0x6*(parseInt(_0x2b4cca(0xe2))/0x7)+parseInt(_0x2b4cca(0xeb))/0x8+parseInt(_0x2b4cca(0xfe))/0x9+parseInt(_0x2b4cca(0xe6))/0xa;if(_0x184c3f===_0x52b172)break;else _0x3818cf['push'](_0x3818cf['shift']());}catch(_0x48189f){_0x3818cf['push'](_0x3818cf['shift']());}}}(_0x3911,0xcacc9));function _0x3911(){const _0xb24658=['3092050VKOsXF','@univerjs/core','2622805IMuqSV','IExchangeService','importXLSXToUnitIdAsync','2901584NVqmEm','exportXLSXBySnapshot','8PGozsG','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','FUniver','UNIVER_SLIDE','importXLSXToSnapshot','96243Pgjtag','UNIVER_PROJECT','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','6dmTDhi','4gtXITh','UNIVER_SHEET','importFileToUnitId','501809wyNmvK','importDOCXToSnapshot','_injector','5632776JHTvyS','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_DOC','@univerjs-pro/exchange-client','get','importXLSXToSnapshotAsync','extend','6173979KGaHQt','importXLSXToUnitId','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync'];_0x3911=function(){return _0xb24658;};return _0x3911();}const r=require(_0x1234f1(0xde)),i=require(_0x1234f1(0xe7));var o=(_0x4cedb1=>(_0x4cedb1[_0x4cedb1[_0x1234f1(0xdb)]=0x0]=_0x1234f1(0xdb),_0x4cedb1[_0x4cedb1['UNIVER_DOC']=0x1]=_0x1234f1(0xdd),_0x4cedb1[_0x4cedb1['UNIVER_SHEET']=0x2]=_0x1234f1(0xf9),_0x4cedb1[_0x4cedb1[_0x1234f1(0xf1)]=0x3]='UNIVER_SLIDE',_0x4cedb1[_0x4cedb1[_0x1234f1(0xf4)]=0x4]=_0x1234f1(0xf4),_0x4cedb1[_0x4cedb1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4cedb1))(o||{});class c extends i[_0x1234f1(0xf0)]{async[_0x1234f1(0xe3)](_0x163cf0){const _0x22354b=_0x1234f1;return this[_0x22354b(0xea)](_0x163cf0);}async[_0x1234f1(0xea)](_0x29b0a3){const _0x5c21f8=_0x1234f1,_0x6b8469=this[_0x5c21f8(0xfd)][_0x5c21f8(0xdf)](r[_0x5c21f8(0xe9)]);if(!_0x6b8469)throw new Error(_0x5c21f8(0xf6));return _0x6b8469[_0x5c21f8(0xfa)](_0x29b0a3,o[_0x5c21f8(0xf9)]);}async[_0x1234f1(0xf2)](_0x21b2e3){const _0x460d9d=_0x1234f1;return this[_0x460d9d(0xe0)](_0x21b2e3);}async[_0x1234f1(0xe0)](_0x165890){const _0x3b1366=_0x1234f1,_0x55296e=this[_0x3b1366(0xfd)][_0x3b1366(0xdf)](r['IExchangeService']);if(!_0x55296e)throw new Error(_0x3b1366(0xf6));return _0x55296e[_0x3b1366(0xf2)](_0x165890);}async[_0x1234f1(0xdc)](_0x24f4db){const _0x423e7e=_0x1234f1;return this[_0x423e7e(0xef)](_0x24f4db);}async['exportXLSXByUnitIdAsync'](_0x5df7d2){const _0x43b4f3=_0x1234f1,_0x2079d6=this[_0x43b4f3(0xfd)][_0x43b4f3(0xdf)](r[_0x43b4f3(0xe9)]);if(!_0x2079d6)throw new Error(_0x43b4f3(0xf6));return _0x2079d6[_0x43b4f3(0xdc)](_0x5df7d2);}async[_0x1234f1(0xec)](_0x56e378){return this['exportXLSXBySnapshotAsync'](_0x56e378);}async[_0x1234f1(0xe4)](_0x363c4d){const _0x152211=_0x1234f1,_0x5cfc5b=this[_0x152211(0xfd)]['get'](r[_0x152211(0xe9)]);if(!_0x5cfc5b)throw new Error(_0x152211(0xf6));return _0x5cfc5b[_0x152211(0xec)](_0x363c4d);}async[_0x1234f1(0xf5)](_0x38e33c){const _0x54f0d7=_0x1234f1;return this[_0x54f0d7(0xe5)](_0x38e33c);}async[_0x1234f1(0xe5)](_0x22c1c1){const _0x628eeb=_0x1234f1,_0x1d2c08=this[_0x628eeb(0xfd)]['get'](r[_0x628eeb(0xe9)]);if(!_0x1d2c08)throw new Error(_0x628eeb(0xf6));return _0x1d2c08[_0x628eeb(0xfa)](_0x22c1c1,o[_0x628eeb(0xdd)]);}async['importDOCXToSnapshot'](_0x122a50){const _0x319d2f=_0x1234f1;return this[_0x319d2f(0xee)](_0x122a50);}async[_0x1234f1(0xee)](_0x104f53){const _0x3c487f=_0x1234f1,_0x457d91=this[_0x3c487f(0xfd)][_0x3c487f(0xdf)](r[_0x3c487f(0xe9)]);if(!_0x457d91)throw new Error(_0x3c487f(0xf6));return _0x457d91[_0x3c487f(0xfc)](_0x104f53);}}i[_0x1234f1(0xf0)][_0x1234f1(0xe1)](c);
1
+ 'use strict';const _0x4e0076=_0x4e03;(function(_0x1657a7,_0x271a78){const _0x4985f9=_0x4e03,_0x46303d=_0x1657a7();while(!![]){try{const _0x3dcaa0=parseInt(_0x4985f9(0x118))/0x1+-parseInt(_0x4985f9(0x10b))/0x2*(parseInt(_0x4985f9(0x121))/0x3)+-parseInt(_0x4985f9(0x107))/0x4+parseInt(_0x4985f9(0x11e))/0x5+-parseInt(_0x4985f9(0x11a))/0x6*(parseInt(_0x4985f9(0x125))/0x7)+-parseInt(_0x4985f9(0x124))/0x8*(-parseInt(_0x4985f9(0x10a))/0x9)+-parseInt(_0x4985f9(0x105))/0xa;if(_0x3dcaa0===_0x271a78)break;else _0x46303d['push'](_0x46303d['shift']());}catch(_0x46a04b){_0x46303d['push'](_0x46303d['shift']());}}}(_0x29e1,0xf0f8a));const r=require(_0x4e0076(0x120)),i=require(_0x4e0076(0x123));var o=(_0x54f89a=>(_0x54f89a[_0x54f89a['UNIVER_UNKNOWN']=0x0]=_0x4e0076(0x110),_0x54f89a[_0x54f89a['UNIVER_DOC']=0x1]=_0x4e0076(0x106),_0x54f89a[_0x54f89a[_0x4e0076(0x109)]=0x2]=_0x4e0076(0x109),_0x54f89a[_0x54f89a[_0x4e0076(0x11f)]=0x3]=_0x4e0076(0x11f),_0x54f89a[_0x54f89a[_0x4e0076(0x113)]=0x4]=_0x4e0076(0x113),_0x54f89a[_0x54f89a[_0x4e0076(0x10c)]=-0x1]=_0x4e0076(0x10c),_0x54f89a))(o||{});function _0x29e1(){const _0x35cefc=['UNIVER_DOC','1617800nuUYTL','importDOCXToSnapshot','UNIVER_SHEET','468QZCJCM','8zlMFiO','UNRECOGNIZED','exportXLSXByUnitId','importDOCXToUnitIdAsync','FUniver','UNIVER_UNKNOWN','importFileToUnitId','exportXLSXBySnapshot','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importXLSXToSnapshot','importXLSXToUnitIdAsync','1651095XixwCq','importDOCXToUnitId','201738XrsCGD','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','2209975MWKXvf','UNIVER_SLIDE','@univerjs-pro/exchange-client','482901NDBBVw','extend','@univerjs/core','66904rUZyQx','77AWREDS','importXLSXToUnitId','get','IExchangeService','exportXLSXByUnitIdAsync','1227770yHquAh'];_0x29e1=function(){return _0x35cefc;};return _0x29e1();}function _0x4e03(_0x83ace5,_0x133928){const _0x29e15b=_0x29e1();return _0x4e03=function(_0x4e0334,_0x57e7f7){_0x4e0334=_0x4e0334-0x102;let _0x2dfae5=_0x29e15b[_0x4e0334];return _0x2dfae5;},_0x4e03(_0x83ace5,_0x133928);}class c extends i[_0x4e0076(0x10f)]{async[_0x4e0076(0x126)](_0x7f4184){const _0x54cd33=_0x4e0076;return this[_0x54cd33(0x117)](_0x7f4184);}async[_0x4e0076(0x117)](_0x21ac6b){const _0x30a03b=_0x4e0076,_0x1d1f9e=this[_0x30a03b(0x115)][_0x30a03b(0x102)](r[_0x30a03b(0x103)]);if(!_0x1d1f9e)throw new Error(_0x30a03b(0x114));return _0x1d1f9e[_0x30a03b(0x111)](_0x21ac6b,o[_0x30a03b(0x109)]);}async['importXLSXToSnapshot'](_0xc9a4bd){const _0x175c0f=_0x4e0076;return this[_0x175c0f(0x11b)](_0xc9a4bd);}async[_0x4e0076(0x11b)](_0x2b1e5b){const _0x57f162=_0x4e0076,_0x3236b3=this[_0x57f162(0x115)][_0x57f162(0x102)](r['IExchangeService']);if(!_0x3236b3)throw new Error(_0x57f162(0x114));return _0x3236b3[_0x57f162(0x116)](_0x2b1e5b);}async[_0x4e0076(0x10d)](_0x1316ae){const _0x2560e6=_0x4e0076;return this[_0x2560e6(0x104)](_0x1316ae);}async[_0x4e0076(0x104)](_0x2677e3){const _0x4d3462=_0x4e0076,_0xadab9c=this['_injector'][_0x4d3462(0x102)](r[_0x4d3462(0x103)]);if(!_0xadab9c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xadab9c[_0x4d3462(0x10d)](_0x2677e3);}async[_0x4e0076(0x112)](_0x1be02d){const _0x3f8180=_0x4e0076;return this[_0x3f8180(0x11d)](_0x1be02d);}async['exportXLSXBySnapshotAsync'](_0x33f77e){const _0xd15ae7=_0x4e0076,_0x1fb981=this[_0xd15ae7(0x115)][_0xd15ae7(0x102)](r[_0xd15ae7(0x103)]);if(!_0x1fb981)throw new Error(_0xd15ae7(0x114));return _0x1fb981['exportXLSXBySnapshot'](_0x33f77e);}async[_0x4e0076(0x119)](_0x56c439){return this['importDOCXToUnitIdAsync'](_0x56c439);}async[_0x4e0076(0x10e)](_0xf1d405){const _0x3d4266=_0x4e0076,_0x1ba92f=this[_0x3d4266(0x115)][_0x3d4266(0x102)](r[_0x3d4266(0x103)]);if(!_0x1ba92f)throw new Error(_0x3d4266(0x114));return _0x1ba92f['importFileToUnitId'](_0xf1d405,o['UNIVER_DOC']);}async[_0x4e0076(0x108)](_0x562405){const _0x24083d=_0x4e0076;return this[_0x24083d(0x11c)](_0x562405);}async[_0x4e0076(0x11c)](_0x89d050){const _0x472c5d=_0x4e0076,_0x18ec02=this['_injector'][_0x472c5d(0x102)](r[_0x472c5d(0x103)]);if(!_0x18ec02)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18ec02['importDOCXToSnapshot'](_0x89d050);}}i[_0x4e0076(0x10f)][_0x4e0076(0x122)](c);