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

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';const _0xc81be7=_0x230c;function _0x230c(_0x1364a6,_0x2275b4){const _0x5d578a=_0x5d57();return _0x230c=function(_0x230c3d,_0x31941e){_0x230c3d=_0x230c3d-0xa6;let _0xdd1094=_0x5d578a[_0x230c3d];return _0xdd1094;},_0x230c(_0x1364a6,_0x2275b4);}(function(_0x30ff4f,_0x2a90fa){const _0x5b31c7=_0x230c,_0x321b45=_0x30ff4f();while(!![]){try{const _0x43b5df=-parseInt(_0x5b31c7(0xad))/0x1*(-parseInt(_0x5b31c7(0xb3))/0x2)+parseInt(_0x5b31c7(0xc2))/0x3*(parseInt(_0x5b31c7(0xa9))/0x4)+parseInt(_0x5b31c7(0xaa))/0x5+parseInt(_0x5b31c7(0xc4))/0x6+parseInt(_0x5b31c7(0xb9))/0x7*(parseInt(_0x5b31c7(0xaf))/0x8)+-parseInt(_0x5b31c7(0xc3))/0x9*(parseInt(_0x5b31c7(0xb4))/0xa)+-parseInt(_0x5b31c7(0xa8))/0xb;if(_0x43b5df===_0x2a90fa)break;else _0x321b45['push'](_0x321b45['shift']());}catch(_0x15f6e7){_0x321b45['push'](_0x321b45['shift']());}}}(_0x5d57,0xaa741));const r=require('@univerjs-pro/exchange-client'),i=require(_0xc81be7(0xba));var o=(_0x1a9592=>(_0x1a9592[_0x1a9592['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x1a9592[_0x1a9592['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1a9592[_0x1a9592['UNIVER_SHEET']=0x2]=_0xc81be7(0xb0),_0x1a9592[_0x1a9592['UNIVER_SLIDE']=0x3]=_0xc81be7(0xb7),_0x1a9592[_0x1a9592[_0xc81be7(0xb5)]=0x4]='UNIVER_PROJECT',_0x1a9592[_0x1a9592[_0xc81be7(0xa7)]=-0x1]=_0xc81be7(0xa7),_0x1a9592))(o||{});class c extends i[_0xc81be7(0xbb)]{async[_0xc81be7(0xbe)](_0xedde4a){return this['importXLSXToUnitIdAsync'](_0xedde4a);}async[_0xc81be7(0xc7)](_0x51a1ac){const _0x562b1c=_0xc81be7,_0x2eedf1=this[_0x562b1c(0xb2)]['get'](r[_0x562b1c(0xc0)]);if(!_0x2eedf1)throw new Error(_0x562b1c(0xbf));return _0x2eedf1[_0x562b1c(0xab)](_0x51a1ac,o[_0x562b1c(0xb0)]);}async[_0xc81be7(0xc5)](_0x56901c){const _0x28bf42=_0xc81be7;return this[_0x28bf42(0xa6)](_0x56901c);}async['importXLSXToSnapshotAsync'](_0x5d113a){const _0x4a2be1=_0xc81be7,_0x2c5882=this[_0x4a2be1(0xb2)][_0x4a2be1(0xbd)](r['IExchangeService']);if(!_0x2c5882)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c5882[_0x4a2be1(0xc5)](_0x5d113a);}async[_0xc81be7(0xb6)](_0x3ed68b){const _0xbda07a=_0xc81be7;return this[_0xbda07a(0xc1)](_0x3ed68b);}async[_0xc81be7(0xc1)](_0x2f9ced){const _0x4eeeb7=_0xc81be7,_0x243682=this['_injector']['get'](r[_0x4eeeb7(0xc0)]);if(!_0x243682)throw new Error(_0x4eeeb7(0xbf));return _0x243682[_0x4eeeb7(0xb6)](_0x2f9ced);}async[_0xc81be7(0xb8)](_0x35584b){const _0x2342bb=_0xc81be7;return this[_0x2342bb(0xc6)](_0x35584b);}async[_0xc81be7(0xc6)](_0x59cdae){const _0x29dded=_0xc81be7,_0x280322=this[_0x29dded(0xb2)]['get'](r[_0x29dded(0xc0)]);if(!_0x280322)throw new Error(_0x29dded(0xbf));return _0x280322[_0x29dded(0xb8)](_0x59cdae);}async[_0xc81be7(0xac)](_0x16aad7){const _0x369334=_0xc81be7;return this[_0x369334(0xbc)](_0x16aad7);}async[_0xc81be7(0xbc)](_0xd28735){const _0x977b88=_0xc81be7,_0x37c24c=this['_injector']['get'](r['IExchangeService']);if(!_0x37c24c)throw new Error(_0x977b88(0xbf));return _0x37c24c[_0x977b88(0xab)](_0xd28735,o[_0x977b88(0xb1)]);}async['importDOCXToSnapshot'](_0x3acd39){return this['importDOCXToSnapshotAsync'](_0x3acd39);}async['importDOCXToSnapshotAsync'](_0x20df5c){const _0x13f86f=_0xc81be7,_0x5ce602=this[_0x13f86f(0xb2)][_0x13f86f(0xbd)](r[_0x13f86f(0xc0)]);if(!_0x5ce602)throw new Error(_0x13f86f(0xbf));return _0x5ce602['importDOCXToSnapshot'](_0x20df5c);}}i['FUniver'][_0xc81be7(0xae)](c);function _0x5d57(){const _0x2c54cb=['importFileToUnitId','importDOCXToUnitId','19EgtWpx','extend','80112tajQBV','UNIVER_SHEET','UNIVER_DOC','_injector','77262bgACzB','20xJEOCT','UNIVER_PROJECT','exportXLSXByUnitId','UNIVER_SLIDE','exportXLSXBySnapshot','623gOrGhN','@univerjs/core','FUniver','importDOCXToUnitIdAsync','get','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','exportXLSXByUnitIdAsync','456876wzMPBj','5792814FZOsLc','4978236WlQRTF','importXLSXToSnapshot','exportXLSXBySnapshotAsync','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','UNRECOGNIZED','15734477ceJiLR','12aBMuQQ','2520295ZwwMMr'];_0x5d57=function(){return _0x2c54cb;};return _0x5d57();}
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);