@univerjs-pro/exchange-client 0.7.0-nightly.202505021607 → 0.7.0-nightly.202505031606

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 _0x3ad147=_0x3c33;function _0x4e29(){const _0xe5abcf=['importXLSXToUnitId','extend','35124nalGOf','IExchangeService','exportXLSXBySnapshotAsync','3369752gLfSOw','1632102vzRvIk','importDOCXToSnapshotAsync','UNIVER_SLIDE','UNIVER_PROJECT','importDOCXToSnapshot','importXLSXToSnapshotAsync','importFileToUnitId','importXLSXToSnapshot','3938000pSQdCx','424RGycMU','The\x20exchange\x20service\x20is\x20not\x20available','1862jtfiir','6762672OoXaUh','exportXLSXBySnapshot','1mlRLLx','UNIVER_UNKNOWN','UNRECOGNIZED','@univerjs-pro/exchange-client','get','importXLSXToUnitIdAsync','49094GeCvTR','FUniver','_injector','85375QThoYZ','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','UNIVER_DOC','UNIVER_SHEET'];_0x4e29=function(){return _0xe5abcf;};return _0x4e29();}(function(_0x14d708,_0x529ea4){const _0x4c62ff=_0x3c33,_0x154075=_0x14d708();while(!![]){try{const _0x3a4453=-parseInt(_0x4c62ff(0x164))/0x1*(parseInt(_0x4c62ff(0x16a))/0x2)+parseInt(_0x4c62ff(0x156))/0x3+-parseInt(_0x4c62ff(0x15f))/0x4*(parseInt(_0x4c62ff(0x16d))/0x5)+parseInt(_0x4c62ff(0x152))/0x6*(parseInt(_0x4c62ff(0x161))/0x7)+-parseInt(_0x4c62ff(0x155))/0x8+parseInt(_0x4c62ff(0x162))/0x9+parseInt(_0x4c62ff(0x15e))/0xa;if(_0x3a4453===_0x529ea4)break;else _0x154075['push'](_0x154075['shift']());}catch(_0x1f472b){_0x154075['push'](_0x154075['shift']());}}}(_0x4e29,0xf1de2));const r=require(_0x3ad147(0x167)),i=require('@univerjs/core/facade');var o=(_0x13597c=>(_0x13597c[_0x13597c[_0x3ad147(0x165)]=0x0]='UNIVER_UNKNOWN',_0x13597c[_0x13597c['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x13597c[_0x13597c[_0x3ad147(0x14f)]=0x2]='UNIVER_SHEET',_0x13597c[_0x13597c[_0x3ad147(0x158)]=0x3]=_0x3ad147(0x158),_0x13597c[_0x13597c[_0x3ad147(0x159)]=0x4]='UNIVER_PROJECT',_0x13597c[_0x13597c[_0x3ad147(0x166)]=-0x1]=_0x3ad147(0x166),_0x13597c))(o||{});class c extends i[_0x3ad147(0x16b)]{async[_0x3ad147(0x150)](_0x309162){const _0x5877ed=_0x3ad147;return this[_0x5877ed(0x169)](_0x309162);}async[_0x3ad147(0x169)](_0x38d73b){const _0x38f624=_0x3ad147,_0x31dbb8=this['_injector'][_0x38f624(0x168)](r[_0x38f624(0x153)]);if(!_0x31dbb8)throw new Error(_0x38f624(0x160));return _0x31dbb8['importFileToUnitId'](_0x38d73b,o[_0x38f624(0x14f)]);}async['importXLSXToSnapshot'](_0x1c5097){const _0x1743a7=_0x3ad147;return this[_0x1743a7(0x15b)](_0x1c5097);}async['importXLSXToSnapshotAsync'](_0x3399f8){const _0x3fa5e7=_0x3ad147,_0x440114=this[_0x3fa5e7(0x16c)][_0x3fa5e7(0x168)](r[_0x3fa5e7(0x153)]);if(!_0x440114)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x440114[_0x3fa5e7(0x15d)](_0x3399f8);}async['exportXLSXByUnitId'](_0x6122f7){const _0x394d60=_0x3ad147;return this[_0x394d60(0x16e)](_0x6122f7);}async[_0x3ad147(0x16e)](_0x4d80d0){const _0x5063ce=_0x3ad147,_0x36000b=this[_0x5063ce(0x16c)]['get'](r[_0x5063ce(0x153)]);if(!_0x36000b)throw new Error(_0x5063ce(0x160));return _0x36000b['exportXLSXByUnitId'](_0x4d80d0);}async[_0x3ad147(0x163)](_0x41166a){const _0x4cdadb=_0x3ad147;return this[_0x4cdadb(0x154)](_0x41166a);}async[_0x3ad147(0x154)](_0x2336c1){const _0x318813=_0x3ad147,_0x505b3e=this[_0x318813(0x16c)][_0x318813(0x168)](r[_0x318813(0x153)]);if(!_0x505b3e)throw new Error(_0x318813(0x160));return _0x505b3e[_0x318813(0x163)](_0x2336c1);}async['importDOCXToUnitId'](_0x2acbd9){const _0x185c38=_0x3ad147;return this[_0x185c38(0x16f)](_0x2acbd9);}async[_0x3ad147(0x16f)](_0x45a0a5){const _0x331ddb=_0x3ad147,_0x50a8e9=this[_0x331ddb(0x16c)]['get'](r['IExchangeService']);if(!_0x50a8e9)throw new Error(_0x331ddb(0x160));return _0x50a8e9[_0x331ddb(0x15c)](_0x45a0a5,o[_0x331ddb(0x14e)]);}async[_0x3ad147(0x15a)](_0x2fd7fc){const _0x176f54=_0x3ad147;return this[_0x176f54(0x157)](_0x2fd7fc);}async[_0x3ad147(0x157)](_0x1a3638){const _0x181804=_0x3ad147,_0x4a2573=this[_0x181804(0x16c)][_0x181804(0x168)](r[_0x181804(0x153)]);if(!_0x4a2573)throw new Error(_0x181804(0x160));return _0x4a2573[_0x181804(0x15a)](_0x1a3638);}}function _0x3c33(_0x16ac0b,_0x36a0af){const _0x4e29bf=_0x4e29();return _0x3c33=function(_0x3c3301,_0x260e5c){_0x3c3301=_0x3c3301-0x14e;let _0x33c104=_0x4e29bf[_0x3c3301];return _0x33c104;},_0x3c33(_0x16ac0b,_0x36a0af);}i[_0x3ad147(0x16b)][_0x3ad147(0x151)](c);
1
+ 'use strict';function _0x3167(){const _0x25c703=['9SNuESK','629799eZbdlP','UNIVER_UNKNOWN','importDOCXToSnapshot','UNRECOGNIZED','importDOCXToUnitIdAsync','IExchangeService','18246uHGqqt','455OsyLCR','extend','importDOCXToSnapshotAsync','UNIVER_SHEET','exportXLSXBySnapshotAsync','1594768vkxMIv','_injector','UNIVER_PROJECT','791890IIqbgX','exportXLSXBySnapshot','importXLSXToSnapshot','12vAXVTe','2XASJhO','5upeWuK','exportXLSXByUnitId','importXLSXToSnapshotAsync','2639540cQpdCZ','importFileToUnitId','importXLSXToUnitId','get','UNIVER_SLIDE','@univerjs-pro/exchange-client','1925924ONMbsV','UNIVER_DOC','FUniver','@univerjs/core/facade','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','93561rDRbTv','The\x20exchange\x20service\x20is\x20not\x20available'];_0x3167=function(){return _0x25c703;};return _0x3167();}const _0x240a0c=_0x4185;(function(_0x3572bb,_0x4a3884){const _0x509037=_0x4185,_0x3d414f=_0x3572bb();while(!![]){try{const _0x596dca=parseInt(_0x509037(0xc1))/0x1+-parseInt(_0x509037(0xb1))/0x2*(parseInt(_0x509037(0xc4))/0x3)+parseInt(_0x509037(0xb5))/0x4*(parseInt(_0x509037(0xb2))/0x5)+-parseInt(_0x509037(0xca))/0x6*(parseInt(_0x509037(0xcb))/0x7)+-parseInt(_0x509037(0xaa))/0x8+parseInt(_0x509037(0xc3))/0x9*(parseInt(_0x509037(0xad))/0xa)+parseInt(_0x509037(0xbb))/0xb*(parseInt(_0x509037(0xb0))/0xc);if(_0x596dca===_0x4a3884)break;else _0x3d414f['push'](_0x3d414f['shift']());}catch(_0x30c2f1){_0x3d414f['push'](_0x3d414f['shift']());}}}(_0x3167,0x61d87));const r=require(_0x240a0c(0xba)),i=require(_0x240a0c(0xbe));function _0x4185(_0x490a2d,_0x563a50){const _0x316766=_0x3167();return _0x4185=function(_0x418575,_0x4df9bc){_0x418575=_0x418575-0xa7;let _0x5782d8=_0x316766[_0x418575];return _0x5782d8;},_0x4185(_0x490a2d,_0x563a50);}var o=(_0x34bdc1=>(_0x34bdc1[_0x34bdc1[_0x240a0c(0xc5)]=0x0]='UNIVER_UNKNOWN',_0x34bdc1[_0x34bdc1['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x34bdc1[_0x34bdc1[_0x240a0c(0xa8)]=0x2]='UNIVER_SHEET',_0x34bdc1[_0x34bdc1['UNIVER_SLIDE']=0x3]=_0x240a0c(0xb9),_0x34bdc1[_0x34bdc1[_0x240a0c(0xac)]=0x4]=_0x240a0c(0xac),_0x34bdc1[_0x34bdc1[_0x240a0c(0xc7)]=-0x1]=_0x240a0c(0xc7),_0x34bdc1))(o||{});class c extends i[_0x240a0c(0xbd)]{async[_0x240a0c(0xb7)](_0x51ff43){const _0x1f9e3e=_0x240a0c;return this[_0x1f9e3e(0xc0)](_0x51ff43);}async['importXLSXToUnitIdAsync'](_0x54f37a){const _0xcf06f4=_0x240a0c,_0xb350d0=this['_injector'][_0xcf06f4(0xb8)](r['IExchangeService']);if(!_0xb350d0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xb350d0[_0xcf06f4(0xb6)](_0x54f37a,o[_0xcf06f4(0xa8)]);}async['importXLSXToSnapshot'](_0x18cd62){const _0xe7e29c=_0x240a0c;return this[_0xe7e29c(0xb4)](_0x18cd62);}async[_0x240a0c(0xb4)](_0x341444){const _0x2c61b4=_0x240a0c,_0x18b73e=this[_0x2c61b4(0xab)][_0x2c61b4(0xb8)](r[_0x2c61b4(0xc9)]);if(!_0x18b73e)throw new Error(_0x2c61b4(0xc2));return _0x18b73e[_0x2c61b4(0xaf)](_0x341444);}async[_0x240a0c(0xb3)](_0x42605e){const _0x3b8200=_0x240a0c;return this[_0x3b8200(0xbf)](_0x42605e);}async['exportXLSXByUnitIdAsync'](_0x50cb22){const _0x3a60bc=_0x240a0c,_0x480d48=this[_0x3a60bc(0xab)][_0x3a60bc(0xb8)](r['IExchangeService']);if(!_0x480d48)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x480d48[_0x3a60bc(0xb3)](_0x50cb22);}async[_0x240a0c(0xae)](_0xc31ec2){const _0x39181e=_0x240a0c;return this[_0x39181e(0xa9)](_0xc31ec2);}async[_0x240a0c(0xa9)](_0x59f3e4){const _0x57d033=_0x240a0c,_0x21bf88=this[_0x57d033(0xab)][_0x57d033(0xb8)](r[_0x57d033(0xc9)]);if(!_0x21bf88)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x21bf88[_0x57d033(0xae)](_0x59f3e4);}async['importDOCXToUnitId'](_0x13cbcf){const _0x10283b=_0x240a0c;return this[_0x10283b(0xc8)](_0x13cbcf);}async['importDOCXToUnitIdAsync'](_0x131b94){const _0x55a82e=_0x240a0c,_0x397542=this[_0x55a82e(0xab)][_0x55a82e(0xb8)](r[_0x55a82e(0xc9)]);if(!_0x397542)throw new Error(_0x55a82e(0xc2));return _0x397542['importFileToUnitId'](_0x131b94,o[_0x55a82e(0xbc)]);}async[_0x240a0c(0xc6)](_0xc97c1d){const _0x26a97a=_0x240a0c;return this[_0x26a97a(0xa7)](_0xc97c1d);}async[_0x240a0c(0xa7)](_0x4ee3cb){const _0x439f01=_0x240a0c,_0xba8618=this['_injector'][_0x439f01(0xb8)](r[_0x439f01(0xc9)]);if(!_0xba8618)throw new Error(_0x439f01(0xc2));return _0xba8618['importDOCXToSnapshot'](_0x4ee3cb);}}i[_0x240a0c(0xbd)][_0x240a0c(0xcc)](c);