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

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 _0x409e(){const _0x21bdea=['importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','UNRECOGNIZED','exportDOCXByUnitId','1748ZImLzZ','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','get','1176710TQyxuX','IExchangeService','755814fKghdH','exportXLSXByUnitIdAsync','exportDOCXBySnapshot','@univerjs/core/facade','3669066keTSpR','exportDOCXByUnitIdAsync','_injector','importFileToUnitId','importXLSXToSnapshot','17656mOXLrL','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','importDOCXToSnapshot','exportXLSXByUnitId','UNIVER_SHEET','extend','177WXfMCh','791oQxulN','338756DFqaiy','@univerjs-pro/exchange-client','318667sSwsFd','UNIVER_PROJECT','UNIVER_DOC','exportXLSXBySnapshot'];_0x409e=function(){return _0x21bdea;};return _0x409e();}const _0x539eed=_0x35f6;(function(_0x28aabe,_0x2a0786){const _0x206af7=_0x35f6,_0x107c7f=_0x28aabe();while(!![]){try{const _0x1d8990=-parseInt(_0x206af7(0x1b8))/0x1+parseInt(_0x206af7(0x1b6))/0x2+-parseInt(_0x206af7(0x1b4))/0x3*(-parseInt(_0x206af7(0x1c1))/0x4)+-parseInt(_0x206af7(0x1a1))/0x5+parseInt(_0x206af7(0x1a3))/0x6+-parseInt(_0x206af7(0x1b5))/0x7*(-parseInt(_0x206af7(0x1ac))/0x8)+parseInt(_0x206af7(0x1a7))/0x9;if(_0x1d8990===_0x2a0786)break;else _0x107c7f['push'](_0x107c7f['shift']());}catch(_0x59841c){_0x107c7f['push'](_0x107c7f['shift']());}}}(_0x409e,0x678fa));const r=require(_0x539eed(0x1b7)),o=require(_0x539eed(0x1a6));var i=(_0x244e3d=>(_0x244e3d[_0x244e3d['UNIVER_UNKNOWN']=0x0]=_0x539eed(0x1c3),_0x244e3d[_0x244e3d['UNIVER_DOC']=0x1]=_0x539eed(0x1ba),_0x244e3d[_0x244e3d[_0x539eed(0x1b2)]=0x2]=_0x539eed(0x1b2),_0x244e3d[_0x244e3d['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x244e3d[_0x244e3d[_0x539eed(0x1b9)]=0x4]=_0x539eed(0x1b9),_0x244e3d[_0x244e3d[_0x539eed(0x1bf)]=-0x1]=_0x539eed(0x1bf),_0x244e3d))(i||{});class c extends o['FUniver']{async[_0x539eed(0x1bc)](_0x47395d){const _0x25dd01=_0x539eed;return this[_0x25dd01(0x1ae)](_0x47395d);}async['importXLSXToUnitIdAsync'](_0x24aefe){const _0x47796c=_0x539eed,_0x512295=this[_0x47796c(0x1a9)][_0x47796c(0x1a0)](r[_0x47796c(0x1a2)]);if(!_0x512295)throw new Error(_0x47796c(0x1bd));return _0x512295[_0x47796c(0x1aa)](_0x24aefe,i[_0x47796c(0x1b2)]);}async['importXLSXToSnapshot'](_0x3b364c){const _0x34f7f1=_0x539eed;return this[_0x34f7f1(0x1ad)](_0x3b364c);}async[_0x539eed(0x1ad)](_0x3e0ecc){const _0x2928df=_0x539eed,_0x4a33c9=this[_0x2928df(0x1a9)][_0x2928df(0x1a0)](r['IExchangeService']);if(!_0x4a33c9)throw new Error(_0x2928df(0x1bd));return _0x4a33c9[_0x2928df(0x1ab)](_0x3e0ecc);}async['exportXLSXByUnitId'](_0x2e910c){const _0xc27043=_0x539eed;return this[_0xc27043(0x1a4)](_0x2e910c);}async[_0x539eed(0x1a4)](_0x4f5671){const _0x562d61=_0x539eed,_0xa76cb8=this[_0x562d61(0x1a9)]['get'](r[_0x562d61(0x1a2)]);if(!_0xa76cb8)throw new Error(_0x562d61(0x1bd));return _0xa76cb8[_0x562d61(0x1b1)](_0x4f5671);}async[_0x539eed(0x1bb)](_0x507d4a){return this['exportXLSXBySnapshotAsync'](_0x507d4a);}async[_0x539eed(0x1af)](_0x1c8a1c){const _0x2e7e42=_0x539eed,_0xe8826b=this[_0x2e7e42(0x1a9)][_0x2e7e42(0x1a0)](r[_0x2e7e42(0x1a2)]);if(!_0xe8826b)throw new Error(_0x2e7e42(0x1bd));return _0xe8826b['exportXLSXBySnapshot'](_0x1c8a1c);}async[_0x539eed(0x1be)](_0x1e8e05){return this['importDOCXToUnitIdAsync'](_0x1e8e05);}async['importDOCXToUnitIdAsync'](_0xbeefb5){const _0x5487ae=_0x539eed,_0x29789c=this[_0x5487ae(0x1a9)][_0x5487ae(0x1a0)](r[_0x5487ae(0x1a2)]);if(!_0x29789c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x29789c['importFileToUnitId'](_0xbeefb5,i[_0x5487ae(0x1ba)]);}async[_0x539eed(0x1b0)](_0x359b34){const _0x1b6caf=_0x539eed;return this[_0x1b6caf(0x1c2)](_0x359b34);}async[_0x539eed(0x1c2)](_0x4ec777){const _0x55ac46=_0x539eed,_0x1af30c=this[_0x55ac46(0x1a9)][_0x55ac46(0x1a0)](r[_0x55ac46(0x1a2)]);if(!_0x1af30c)throw new Error(_0x55ac46(0x1bd));return _0x1af30c[_0x55ac46(0x1b0)](_0x4ec777);}async['exportDOCXBySnapshotAsync'](_0x6f753){const _0x4aa74e=_0x539eed,_0x3b162e=this[_0x4aa74e(0x1a9)][_0x4aa74e(0x1a0)](r[_0x4aa74e(0x1a2)]);if(!_0x3b162e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b162e[_0x4aa74e(0x1a5)](_0x6f753);}async[_0x539eed(0x1a8)](_0x8e6357){const _0x36eb8b=_0x539eed,_0x15714c=this[_0x36eb8b(0x1a9)][_0x36eb8b(0x1a0)](r[_0x36eb8b(0x1a2)]);if(!_0x15714c)throw new Error(_0x36eb8b(0x1bd));return _0x15714c[_0x36eb8b(0x1c0)](_0x8e6357);}}function _0x35f6(_0x351b5f,_0x288a64){const _0x409ea9=_0x409e();return _0x35f6=function(_0x35f647,_0x47ddd3){_0x35f647=_0x35f647-0x1a0;let _0x119ea5=_0x409ea9[_0x35f647];return _0x119ea5;},_0x35f6(_0x351b5f,_0x288a64);}o['FUniver'][_0x539eed(0x1b3)](c);
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);