@univerjs-pro/exchange-client 0.8.1-nightly.202506161607 → 0.8.1-nightly.202506171607

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 _0x169e63=_0x474d;function _0x474d(_0x21bc7d,_0x530bb1){const _0x5d218c=_0x5d21();return _0x474d=function(_0x474dc6,_0x572d58){_0x474dc6=_0x474dc6-0x1d6;let _0x37c8c4=_0x5d218c[_0x474dc6];return _0x37c8c4;},_0x474d(_0x21bc7d,_0x530bb1);}(function(_0x450a03,_0x2877cd){const _0x1b521f=_0x474d,_0x2fd973=_0x450a03();while(!![]){try{const _0xc391f7=-parseInt(_0x1b521f(0x1f6))/0x1*(-parseInt(_0x1b521f(0x1f7))/0x2)+parseInt(_0x1b521f(0x1ff))/0x3*(-parseInt(_0x1b521f(0x1da))/0x4)+-parseInt(_0x1b521f(0x1ee))/0x5+-parseInt(_0x1b521f(0x1de))/0x6*(-parseInt(_0x1b521f(0x1e6))/0x7)+parseInt(_0x1b521f(0x1e3))/0x8*(-parseInt(_0x1b521f(0x1fe))/0x9)+-parseInt(_0x1b521f(0x1fb))/0xa*(-parseInt(_0x1b521f(0x1fc))/0xb)+parseInt(_0x1b521f(0x1e4))/0xc;if(_0xc391f7===_0x2877cd)break;else _0x2fd973['push'](_0x2fd973['shift']());}catch(_0x48bd73){_0x2fd973['push'](_0x2fd973['shift']());}}}(_0x5d21,0xbd744));function _0x5d21(){const _0x36e681=['UNIVER_DOC','UNIVER_SLIDE','@univerjs-pro/exchange-client','34250QCIUez','3762sFtiMI','importDOCXToUnitId','8329653QXOEEx','20982dwsxWh','exportDOCXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXByUnitId','importXLSXToUnitIdAsync','512WqKOCy','UNIVER_PROJECT','importFileToUnitId','exportDOCXByUnitIdAsync','24JGnrpk','exportXLSXBySnapshot','UNRECOGNIZED','_injector','exportXLSXBySnapshotAsync','8rRZHZL','22490784TjRyQu','FUniver','142989WCFPwq','exportXLSXByUnitId','get','exportXLSXByUnitIdAsync','UNIVER_SHEET','@univerjs/core/facade','IExchangeService','importDOCXToUnitIdAsync','5687795bsYxOf','exportDOCXBySnapshot','importDOCXToSnapshot','importXLSXToSnapshot','extend','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','481ZmUwPr','2524ftUOLS'];_0x5d21=function(){return _0x36e681;};return _0x5d21();}const r=require(_0x169e63(0x1fa)),o=require(_0x169e63(0x1eb));var i=(_0x2275cd=>(_0x2275cd[_0x2275cd[_0x169e63(0x1f3)]=0x0]='UNIVER_UNKNOWN',_0x2275cd[_0x2275cd[_0x169e63(0x1f8)]=0x1]=_0x169e63(0x1f8),_0x2275cd[_0x2275cd[_0x169e63(0x1ea)]=0x2]=_0x169e63(0x1ea),_0x2275cd[_0x2275cd[_0x169e63(0x1f9)]=0x3]=_0x169e63(0x1f9),_0x2275cd[_0x2275cd[_0x169e63(0x1db)]=0x4]=_0x169e63(0x1db),_0x2275cd[_0x2275cd[_0x169e63(0x1e0)]=-0x1]=_0x169e63(0x1e0),_0x2275cd))(i||{});class c extends o[_0x169e63(0x1e5)]{async['importXLSXToUnitId'](_0x13403b){const _0x540da9=_0x169e63;return this[_0x540da9(0x1d9)](_0x13403b);}async[_0x169e63(0x1d9)](_0x2505a2){const _0x2e772e=_0x169e63,_0x132a3b=this[_0x2e772e(0x1e1)][_0x2e772e(0x1e8)](r[_0x2e772e(0x1ec)]);if(!_0x132a3b)throw new Error(_0x2e772e(0x1d7));return _0x132a3b[_0x2e772e(0x1dc)](_0x2505a2,i['UNIVER_SHEET']);}async[_0x169e63(0x1f1)](_0x341df2){const _0x468d1b=_0x169e63;return this[_0x468d1b(0x1f4)](_0x341df2);}async[_0x169e63(0x1f4)](_0x29975f){const _0x5950c7=_0x169e63,_0x338371=this['_injector'][_0x5950c7(0x1e8)](r[_0x5950c7(0x1ec)]);if(!_0x338371)throw new Error(_0x5950c7(0x1d7));return _0x338371[_0x5950c7(0x1f1)](_0x29975f);}async[_0x169e63(0x1e7)](_0x2c749f){const _0x3cc3b9=_0x169e63;return this[_0x3cc3b9(0x1e9)](_0x2c749f);}async[_0x169e63(0x1e9)](_0x4de1a6){const _0x53bceb=_0x169e63,_0xccbe27=this[_0x53bceb(0x1e1)][_0x53bceb(0x1e8)](r[_0x53bceb(0x1ec)]);if(!_0xccbe27)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xccbe27['exportXLSXByUnitId'](_0x4de1a6);}async[_0x169e63(0x1df)](_0x4ac7cb){const _0x428458=_0x169e63;return this[_0x428458(0x1e2)](_0x4ac7cb);}async[_0x169e63(0x1e2)](_0x21c382){const _0x5216ad=_0x169e63,_0x4eb3f0=this[_0x5216ad(0x1e1)][_0x5216ad(0x1e8)](r[_0x5216ad(0x1ec)]);if(!_0x4eb3f0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4eb3f0[_0x5216ad(0x1df)](_0x21c382);}async[_0x169e63(0x1fd)](_0x43e611){return this['importDOCXToUnitIdAsync'](_0x43e611);}async[_0x169e63(0x1ed)](_0x369892){const _0x344211=_0x169e63,_0x26c9a0=this[_0x344211(0x1e1)][_0x344211(0x1e8)](r[_0x344211(0x1ec)]);if(!_0x26c9a0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x26c9a0['importFileToUnitId'](_0x369892,i[_0x344211(0x1f8)]);}async[_0x169e63(0x1f0)](_0xc93cc7){const _0x3d314e=_0x169e63;return this[_0x3d314e(0x1f5)](_0xc93cc7);}async['importDOCXToSnapshotAsync'](_0x23315f){const _0x3a4b57=_0x169e63,_0x3a0180=this[_0x3a4b57(0x1e1)][_0x3a4b57(0x1e8)](r[_0x3a4b57(0x1ec)]);if(!_0x3a0180)throw new Error(_0x3a4b57(0x1d7));return _0x3a0180[_0x3a4b57(0x1f0)](_0x23315f);}async[_0x169e63(0x1d6)](_0x5157f8){const _0x3aaf7a=_0x169e63,_0x255f0c=this[_0x3aaf7a(0x1e1)]['get'](r[_0x3aaf7a(0x1ec)]);if(!_0x255f0c)throw new Error(_0x3aaf7a(0x1d7));return _0x255f0c[_0x3aaf7a(0x1ef)](_0x5157f8);}async[_0x169e63(0x1dd)](_0x328bdc){const _0x49d7fa=_0x169e63,_0x981f10=this[_0x49d7fa(0x1e1)]['get'](r[_0x49d7fa(0x1ec)]);if(!_0x981f10)throw new Error(_0x49d7fa(0x1d7));return _0x981f10[_0x49d7fa(0x1d8)](_0x328bdc);}}o['FUniver'][_0x169e63(0x1f2)](c);
1
+ 'use strict';const _0x1c95ea=_0x2939;(function(_0x214e7c,_0xbbf2d5){const _0x2dfada=_0x2939,_0x389ae3=_0x214e7c();while(!![]){try{const _0x52df4=parseInt(_0x2dfada(0xca))/0x1*(-parseInt(_0x2dfada(0xb8))/0x2)+-parseInt(_0x2dfada(0xc6))/0x3+-parseInt(_0x2dfada(0xd1))/0x4*(parseInt(_0x2dfada(0xcb))/0x5)+parseInt(_0x2dfada(0xd4))/0x6*(parseInt(_0x2dfada(0xcf))/0x7)+parseInt(_0x2dfada(0xc7))/0x8*(parseInt(_0x2dfada(0xaf))/0x9)+-parseInt(_0x2dfada(0xc1))/0xa+-parseInt(_0x2dfada(0xc9))/0xb*(-parseInt(_0x2dfada(0xc2))/0xc);if(_0x52df4===_0xbbf2d5)break;else _0x389ae3['push'](_0x389ae3['shift']());}catch(_0x7f1571){_0x389ae3['push'](_0x389ae3['shift']());}}}(_0x1482,0xbbc3a));function _0x1482(){const _0x5e67bb=['exportDOCXByUnitId','importDOCXToUnitId','exportXLSXByUnitId','importDOCXToSnapshot','2znXrfe','UNIVER_SLIDE','@univerjs-pro/exchange-client','exportXLSXBySnapshot','IExchangeService','UNIVER_SHEET','extend','importXLSXToSnapshot','UNIVER_UNKNOWN','7975770wixhZI','2041056oSAFaq','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs/core/facade','_injector','1489140bkFjzE','1166456RGQtpZ','UNIVER_PROJECT','22uULwqo','1021760gKZCEN','20gBpZUD','exportDOCXByUnitIdAsync','importXLSXToUnitIdAsync','importXLSXToUnitId','9583903MbSjkD','get','82576fUWHNL','importDOCXToUnitIdAsync','UNRECOGNIZED','6DJEzyo','FUniver','exportDOCXBySnapshotAsync','UNIVER_DOC','90hYdUdm','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','importFileToUnitId'];_0x1482=function(){return _0x5e67bb;};return _0x1482();}function _0x2939(_0x3b3359,_0x1247b7){const _0x148261=_0x1482();return _0x2939=function(_0x293983,_0x1d2ecc){_0x293983=_0x293983-0xad;let _0x1baf89=_0x148261[_0x293983];return _0x1baf89;},_0x2939(_0x3b3359,_0x1247b7);}const r=require(_0x1c95ea(0xba)),o=require(_0x1c95ea(0xc4));var i=(_0x4a18fb=>(_0x4a18fb[_0x4a18fb[_0x1c95ea(0xc0)]=0x0]=_0x1c95ea(0xc0),_0x4a18fb[_0x4a18fb[_0x1c95ea(0xae)]=0x1]=_0x1c95ea(0xae),_0x4a18fb[_0x4a18fb[_0x1c95ea(0xbd)]=0x2]=_0x1c95ea(0xbd),_0x4a18fb[_0x4a18fb[_0x1c95ea(0xb9)]=0x3]=_0x1c95ea(0xb9),_0x4a18fb[_0x4a18fb['UNIVER_PROJECT']=0x4]=_0x1c95ea(0xc8),_0x4a18fb[_0x4a18fb['UNRECOGNIZED']=-0x1]=_0x1c95ea(0xd3),_0x4a18fb))(i||{});class c extends o[_0x1c95ea(0xd5)]{async[_0x1c95ea(0xce)](_0x3f31f2){const _0x3aa6b8=_0x1c95ea;return this[_0x3aa6b8(0xcd)](_0x3f31f2);}async[_0x1c95ea(0xcd)](_0x1dfa9f){const _0x38a3b7=_0x1c95ea,_0x79e40c=this[_0x38a3b7(0xc5)][_0x38a3b7(0xd0)](r[_0x38a3b7(0xbc)]);if(!_0x79e40c)throw new Error(_0x38a3b7(0xc3));return _0x79e40c[_0x38a3b7(0xb3)](_0x1dfa9f,i[_0x38a3b7(0xbd)]);}async[_0x1c95ea(0xbf)](_0x4d1102){const _0x153b56=_0x1c95ea;return this[_0x153b56(0xb2)](_0x4d1102);}async[_0x1c95ea(0xb2)](_0x1211a4){const _0x23e842=_0x1c95ea,_0x899ec2=this[_0x23e842(0xc5)]['get'](r['IExchangeService']);if(!_0x899ec2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x899ec2[_0x23e842(0xbf)](_0x1211a4);}async['exportXLSXByUnitId'](_0x50f2cf){return this['exportXLSXByUnitIdAsync'](_0x50f2cf);}async['exportXLSXByUnitIdAsync'](_0x204ab3){const _0x152678=_0x1c95ea,_0xc5d629=this['_injector']['get'](r[_0x152678(0xbc)]);if(!_0xc5d629)throw new Error(_0x152678(0xc3));return _0xc5d629[_0x152678(0xb6)](_0x204ab3);}async[_0x1c95ea(0xbb)](_0x4f96b6){return this['exportXLSXBySnapshotAsync'](_0x4f96b6);}async[_0x1c95ea(0xb1)](_0x51f660){const _0x575e1c=_0x1c95ea,_0x520d77=this['_injector'][_0x575e1c(0xd0)](r[_0x575e1c(0xbc)]);if(!_0x520d77)throw new Error(_0x575e1c(0xc3));return _0x520d77[_0x575e1c(0xbb)](_0x51f660);}async[_0x1c95ea(0xb5)](_0xea88b2){const _0x1fa8af=_0x1c95ea;return this[_0x1fa8af(0xd2)](_0xea88b2);}async[_0x1c95ea(0xd2)](_0x4e33c5){const _0x5a44e6=_0x1c95ea,_0xccbc91=this[_0x5a44e6(0xc5)][_0x5a44e6(0xd0)](r[_0x5a44e6(0xbc)]);if(!_0xccbc91)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xccbc91['importFileToUnitId'](_0x4e33c5,i[_0x5a44e6(0xae)]);}async[_0x1c95ea(0xb7)](_0xacdf7e){const _0x1d4af6=_0x1c95ea;return this[_0x1d4af6(0xb0)](_0xacdf7e);}async[_0x1c95ea(0xb0)](_0x1c310b){const _0x5b0458=_0x1c95ea,_0xeaffb7=this['_injector']['get'](r[_0x5b0458(0xbc)]);if(!_0xeaffb7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xeaffb7[_0x5b0458(0xb7)](_0x1c310b);}async[_0x1c95ea(0xad)](_0x52a804){const _0x1796aa=_0x1c95ea,_0x27b185=this[_0x1796aa(0xc5)][_0x1796aa(0xd0)](r['IExchangeService']);if(!_0x27b185)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x27b185['exportDOCXBySnapshot'](_0x52a804);}async[_0x1c95ea(0xcc)](_0x2b09a1){const _0x5617a5=_0x1c95ea,_0x250f10=this[_0x5617a5(0xc5)][_0x5617a5(0xd0)](r['IExchangeService']);if(!_0x250f10)throw new Error(_0x5617a5(0xc3));return _0x250f10[_0x5617a5(0xb4)](_0x2b09a1);}}o[_0x1c95ea(0xd5)][_0x1c95ea(0xbe)](c);