@univerjs-pro/exchange-client 0.8.1-nightly.202506141606 → 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';const _0x1e4cb2=_0x4e34;(function(_0x66dc33,_0x3b5f26){const _0x557962=_0x4e34,_0x2379ce=_0x66dc33();while(!![]){try{const _0x556c17=-parseInt(_0x557962(0xa0))/0x1+parseInt(_0x557962(0x8a))/0x2*(parseInt(_0x557962(0x93))/0x3)+-parseInt(_0x557962(0x97))/0x4+-parseInt(_0x557962(0x91))/0x5+-parseInt(_0x557962(0xa8))/0x6*(parseInt(_0x557962(0xac))/0x7)+parseInt(_0x557962(0x8c))/0x8+-parseInt(_0x557962(0x8d))/0x9*(-parseInt(_0x557962(0x96))/0xa);if(_0x556c17===_0x3b5f26)break;else _0x2379ce['push'](_0x2379ce['shift']());}catch(_0x3efff7){_0x2379ce['push'](_0x2379ce['shift']());}}}(_0x5177,0xa82d3));const r=require(_0x1e4cb2(0xa1)),o=require(_0x1e4cb2(0x9f));var i=(_0x597201=>(_0x597201[_0x597201['UNIVER_UNKNOWN']=0x0]=_0x1e4cb2(0xa5),_0x597201[_0x597201['UNIVER_DOC']=0x1]=_0x1e4cb2(0x9b),_0x597201[_0x597201[_0x1e4cb2(0x9e)]=0x2]=_0x1e4cb2(0x9e),_0x597201[_0x597201['UNIVER_SLIDE']=0x3]=_0x1e4cb2(0x94),_0x597201[_0x597201[_0x1e4cb2(0xa9)]=0x4]='UNIVER_PROJECT',_0x597201[_0x597201[_0x1e4cb2(0xa7)]=-0x1]='UNRECOGNIZED',_0x597201))(i||{});function _0x4e34(_0x59a66a,_0x230b44){const _0x517766=_0x5177();return _0x4e34=function(_0x4e3461,_0x4c1d59){_0x4e3461=_0x4e3461-0x88;let _0x4c7b4f=_0x517766[_0x4e3461];return _0x4c7b4f;},_0x4e34(_0x59a66a,_0x230b44);}class c extends o['FUniver']{async[_0x1e4cb2(0x99)](_0x491f3d){const _0x358d3a=_0x1e4cb2;return this[_0x358d3a(0xa2)](_0x491f3d);}async[_0x1e4cb2(0xa2)](_0x44371c){const _0x4e0272=_0x1e4cb2,_0x427171=this[_0x4e0272(0x98)]['get'](r['IExchangeService']);if(!_0x427171)throw new Error(_0x4e0272(0x8f));return _0x427171[_0x4e0272(0x9d)](_0x44371c,i[_0x4e0272(0x9e)]);}async['importXLSXToSnapshot'](_0xf7163b){const _0x4c7268=_0x1e4cb2;return this[_0x4c7268(0xa6)](_0xf7163b);}async['importXLSXToSnapshotAsync'](_0x2d495c){const _0x49e980=_0x1e4cb2,_0x28d0a7=this[_0x49e980(0x98)][_0x49e980(0x9c)](r[_0x49e980(0x8e)]);if(!_0x28d0a7)throw new Error(_0x49e980(0x8f));return _0x28d0a7[_0x49e980(0x95)](_0x2d495c);}async[_0x1e4cb2(0xa4)](_0x475682){const _0xd575eb=_0x1e4cb2;return this[_0xd575eb(0x8b)](_0x475682);}async['exportXLSXByUnitIdAsync'](_0x5f35b5){const _0x10db27=_0x1e4cb2,_0x5d6c79=this[_0x10db27(0x98)][_0x10db27(0x9c)](r[_0x10db27(0x8e)]);if(!_0x5d6c79)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d6c79['exportXLSXByUnitId'](_0x5f35b5);}async[_0x1e4cb2(0xab)](_0x25830e){const _0xd75a52=_0x1e4cb2;return this[_0xd75a52(0x88)](_0x25830e);}async[_0x1e4cb2(0x88)](_0x2bb438){const _0x3b4dd6=_0x1e4cb2,_0x1c791d=this[_0x3b4dd6(0x98)]['get'](r[_0x3b4dd6(0x8e)]);if(!_0x1c791d)throw new Error(_0x3b4dd6(0x8f));return _0x1c791d[_0x3b4dd6(0xab)](_0x2bb438);}async['importDOCXToUnitId'](_0x34c39f){const _0x452b73=_0x1e4cb2;return this[_0x452b73(0xa3)](_0x34c39f);}async['importDOCXToUnitIdAsync'](_0x2d1392){const _0x38351e=_0x1e4cb2,_0x23601a=this[_0x38351e(0x98)][_0x38351e(0x9c)](r['IExchangeService']);if(!_0x23601a)throw new Error(_0x38351e(0x8f));return _0x23601a[_0x38351e(0x9d)](_0x2d1392,i[_0x38351e(0x9b)]);}async['importDOCXToSnapshot'](_0x573865){const _0x123808=_0x1e4cb2;return this[_0x123808(0xaa)](_0x573865);}async[_0x1e4cb2(0xaa)](_0x4c7bdf){const _0x3a3429=_0x1e4cb2,_0x2d848a=this[_0x3a3429(0x98)][_0x3a3429(0x9c)](r[_0x3a3429(0x8e)]);if(!_0x2d848a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2d848a[_0x3a3429(0x92)](_0x4c7bdf);}async[_0x1e4cb2(0x89)](_0x1de2db){const _0xf95aae=_0x1e4cb2,_0xf690fd=this['_injector'][_0xf95aae(0x9c)](r['IExchangeService']);if(!_0xf690fd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf690fd['exportDOCXBySnapshot'](_0x1de2db);}async[_0x1e4cb2(0x9a)](_0x5eed85){const _0x777d16=_0x1e4cb2,_0x369628=this[_0x777d16(0x98)][_0x777d16(0x9c)](r['IExchangeService']);if(!_0x369628)throw new Error(_0x777d16(0x8f));return _0x369628['exportDOCXByUnitId'](_0x5eed85);}}function _0x5177(){const _0x406e11=['exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','UNRECOGNIZED','12594NKwoei','UNIVER_PROJECT','importDOCXToSnapshotAsync','exportXLSXBySnapshot','777OKwCAp','exportXLSXBySnapshotAsync','exportDOCXBySnapshotAsync','58FzSJva','exportXLSXByUnitIdAsync','3208400rPHglZ','3330GzUQRV','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','4278355KfVbjy','importDOCXToSnapshot','91581mALDZl','UNIVER_SLIDE','importXLSXToSnapshot','57840ZbdWub','4561380WYKtIK','_injector','importXLSXToUnitId','exportDOCXByUnitIdAsync','UNIVER_DOC','get','importFileToUnitId','UNIVER_SHEET','@univerjs/core/facade','508557DrqifN','@univerjs-pro/exchange-client','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync'];_0x5177=function(){return _0x406e11;};return _0x5177();}o[_0x1e4cb2(0x90)]['extend'](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);