@univerjs-pro/exchange-client 0.5.3-nightly.202501061606 → 0.5.3-nightly.202501071618

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 _0x3601(_0x5df178,_0x31f4b9){const _0x3f216c=_0x3f21();return _0x3601=function(_0x360125,_0x12dbc3){_0x360125=_0x360125-0x9f;let _0x50ffcc=_0x3f216c[_0x360125];return _0x50ffcc;},_0x3601(_0x5df178,_0x31f4b9);}const _0x4b7165=_0x3601;(function(_0x2f9546,_0xd3562b){const _0x4ba27b=_0x3601,_0x7865d6=_0x2f9546();while(!![]){try{const _0x49358b=parseInt(_0x4ba27b(0xae))/0x1*(parseInt(_0x4ba27b(0xb1))/0x2)+parseInt(_0x4ba27b(0xa3))/0x3*(-parseInt(_0x4ba27b(0xbd))/0x4)+parseInt(_0x4ba27b(0xa0))/0x5+parseInt(_0x4ba27b(0xa5))/0x6*(parseInt(_0x4ba27b(0xa9))/0x7)+parseInt(_0x4ba27b(0xbc))/0x8*(-parseInt(_0x4ba27b(0xb0))/0x9)+-parseInt(_0x4ba27b(0xb3))/0xa*(-parseInt(_0x4ba27b(0xa7))/0xb)+-parseInt(_0x4ba27b(0xb4))/0xc;if(_0x49358b===_0xd3562b)break;else _0x7865d6['push'](_0x7865d6['shift']());}catch(_0x55614a){_0x7865d6['push'](_0x7865d6['shift']());}}}(_0x3f21,0xb5c9f));const c=require('@univerjs/core'),n=require(_0x4b7165(0xbb));var i=(_0x15fe82=>(_0x15fe82[_0x15fe82['UNIVER_UNKNOWN']=0x0]=_0x4b7165(0xaf),_0x15fe82[_0x15fe82[_0x4b7165(0xab)]=0x1]='UNIVER_DOC',_0x15fe82[_0x15fe82['UNIVER_SHEET']=0x2]=_0x4b7165(0xa2),_0x15fe82[_0x15fe82[_0x4b7165(0xa1)]=0x3]='UNIVER_SLIDE',_0x15fe82[_0x15fe82[_0x4b7165(0xa8)]=0x4]=_0x4b7165(0xa8),_0x15fe82[_0x15fe82[_0x4b7165(0xb5)]=-0x1]=_0x4b7165(0xb5),_0x15fe82))(i||{});class o extends c[_0x4b7165(0x9f)]{async[_0x4b7165(0xbe)](_0x3789b0){const _0x22317e=_0x4b7165,_0x1f9f0d=this[_0x22317e(0xac)][_0x22317e(0xb7)](n[_0x22317e(0xb9)]);if(!_0x1f9f0d)throw new Error(_0x22317e(0xa6));return _0x1f9f0d['importFileToUnitId'](_0x3789b0,i[_0x22317e(0xa2)]);}async[_0x4b7165(0xb8)](_0x1ca38f){const _0x5d5dc2=_0x4b7165,_0x3c30b1=this[_0x5d5dc2(0xac)][_0x5d5dc2(0xb7)](n['IExchangeService']);if(!_0x3c30b1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c30b1['importXLSXToSnapshot'](_0x1ca38f);}async[_0x4b7165(0xba)](_0x2018f4){const _0x3ede46=_0x4b7165,_0x131fcf=this['_injector'][_0x3ede46(0xb7)](n[_0x3ede46(0xb9)]);if(!_0x131fcf)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x131fcf['exportXLSXByUnitId'](_0x2018f4);}async[_0x4b7165(0xad)](_0x5dbb55){const _0x936045=_0x4b7165,_0x3a45e2=this[_0x936045(0xac)][_0x936045(0xb7)](n['IExchangeService']);if(!_0x3a45e2)throw new Error(_0x936045(0xa6));return _0x3a45e2['exportXLSXBySnapshot'](_0x5dbb55);}async[_0x4b7165(0xaa)](_0x23aa1d){const _0x8ab13e=_0x4b7165,_0x527b6a=this['_injector']['get'](n['IExchangeService']);if(!_0x527b6a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x527b6a[_0x8ab13e(0xb2)](_0x23aa1d,i[_0x8ab13e(0xab)]);}async[_0x4b7165(0xa4)](_0x19aacd){const _0x5c1f8e=_0x4b7165,_0x3990a3=this[_0x5c1f8e(0xac)]['get'](n[_0x5c1f8e(0xb9)]);if(!_0x3990a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3990a3[_0x5c1f8e(0xa4)](_0x19aacd);}}c[_0x4b7165(0x9f)][_0x4b7165(0xb6)](o);function _0x3f21(){const _0x4ea33e=['1760403QcgBFg','importDOCXToSnapshot','6759534ZgaUIl','The\x20exchange\x20service\x20is\x20not\x20available','9803321mEoicF','UNIVER_PROJECT','7yeotEs','importDOCXToUnitId','UNIVER_DOC','_injector','exportXLSXBySnapshot','7maMeuY','UNIVER_UNKNOWN','89055WliuDF','351114lrWiUr','importFileToUnitId','10hhXzHH','18295656XEMTdR','UNRECOGNIZED','extend','get','importXLSXToSnapshot','IExchangeService','exportXLSXByUnitId','@univerjs-pro/exchange-client','776xgJDRY','8QdpJaF','importXLSXToUnitId','FUniver','5779815YrbUvw','UNIVER_SLIDE','UNIVER_SHEET'];_0x3f21=function(){return _0x4ea33e;};return _0x3f21();}
1
+ 'use strict';const _0x35c16a=_0x15ed;(function(_0x51afc0,_0x313003){const _0x4e4278=_0x15ed,_0x387730=_0x51afc0();while(!![]){try{const _0x152545=-parseInt(_0x4e4278(0x81))/0x1+parseInt(_0x4e4278(0x78))/0x2+parseInt(_0x4e4278(0x7b))/0x3+-parseInt(_0x4e4278(0x95))/0x4*(parseInt(_0x4e4278(0x88))/0x5)+-parseInt(_0x4e4278(0x83))/0x6+-parseInt(_0x4e4278(0x97))/0x7*(-parseInt(_0x4e4278(0x90))/0x8)+parseInt(_0x4e4278(0x77))/0x9;if(_0x152545===_0x313003)break;else _0x387730['push'](_0x387730['shift']());}catch(_0x1ad0a0){_0x387730['push'](_0x387730['shift']());}}}(_0x339b,0x5a753));const r=require(_0x35c16a(0x92)),i=require(_0x35c16a(0x93));function _0x15ed(_0x47728a,_0x569fed){const _0x339b53=_0x339b();return _0x15ed=function(_0x15edda,_0x185730){_0x15edda=_0x15edda-0x77;let _0x2a8b24=_0x339b53[_0x15edda];return _0x2a8b24;},_0x15ed(_0x47728a,_0x569fed);}var o=(_0x9a28d=>(_0x9a28d[_0x9a28d[_0x35c16a(0x8a)]=0x0]=_0x35c16a(0x8a),_0x9a28d[_0x9a28d[_0x35c16a(0x99)]=0x1]=_0x35c16a(0x99),_0x9a28d[_0x9a28d[_0x35c16a(0x96)]=0x2]=_0x35c16a(0x96),_0x9a28d[_0x9a28d[_0x35c16a(0x7c)]=0x3]=_0x35c16a(0x7c),_0x9a28d[_0x9a28d[_0x35c16a(0x7d)]=0x4]='UNIVER_PROJECT',_0x9a28d[_0x9a28d[_0x35c16a(0x86)]=-0x1]='UNRECOGNIZED',_0x9a28d))(o||{});function _0x339b(){const _0x26ad3d=['UNIVER_UNKNOWN','_injector','importDOCXToUnitId','importDOCXToUnitIdAsync','importXLSXToSnapshot','extend','16xoLziC','importXLSXToUnitId','@univerjs-pro/exchange-client','@univerjs/core','importDOCXToSnapshotAsync','4BIwQRY','UNIVER_SHEET','1610294ZWYwqG','exportXLSXBySnapshotAsync','UNIVER_DOC','exportXLSXBySnapshot','1062279uUyCVb','945988RUYyQt','importXLSXToSnapshotAsync','get','545796tjdUbX','UNIVER_SLIDE','UNIVER_PROJECT','importFileToUnitId','exportXLSXByUnitId','IExchangeService','579095cRtpAt','The\x20exchange\x20service\x20is\x20not\x20available','1625304XMvWpY','FUniver','exportXLSXByUnitIdAsync','UNRECOGNIZED','importDOCXToSnapshot','62735hgpmrT','importXLSXToUnitIdAsync'];_0x339b=function(){return _0x26ad3d;};return _0x339b();}class c extends i[_0x35c16a(0x84)]{async[_0x35c16a(0x91)](_0xf5ee01){const _0x23c1a9=_0x35c16a;return this[_0x23c1a9(0x89)](_0xf5ee01);}async[_0x35c16a(0x89)](_0x627cce){const _0x573ac2=_0x35c16a,_0x9c92e8=this[_0x573ac2(0x8b)][_0x573ac2(0x7a)](r[_0x573ac2(0x80)]);if(!_0x9c92e8)throw new Error(_0x573ac2(0x82));return _0x9c92e8[_0x573ac2(0x7e)](_0x627cce,o[_0x573ac2(0x96)]);}async[_0x35c16a(0x8e)](_0x3f4a04){const _0x1ba3c4=_0x35c16a;return this[_0x1ba3c4(0x79)](_0x3f4a04);}async[_0x35c16a(0x79)](_0x372fd7){const _0x1ba1a4=_0x35c16a,_0x4573cf=this[_0x1ba1a4(0x8b)][_0x1ba1a4(0x7a)](r[_0x1ba1a4(0x80)]);if(!_0x4573cf)throw new Error(_0x1ba1a4(0x82));return _0x4573cf['importXLSXToSnapshot'](_0x372fd7);}async[_0x35c16a(0x7f)](_0x1fb894){const _0x46063f=_0x35c16a;return this[_0x46063f(0x85)](_0x1fb894);}async['exportXLSXByUnitIdAsync'](_0x37e6b5){const _0x3e6fc2=_0x35c16a,_0x5d3a07=this[_0x3e6fc2(0x8b)][_0x3e6fc2(0x7a)](r[_0x3e6fc2(0x80)]);if(!_0x5d3a07)throw new Error(_0x3e6fc2(0x82));return _0x5d3a07[_0x3e6fc2(0x7f)](_0x37e6b5);}async[_0x35c16a(0x9a)](_0x39c0ea){const _0x3a1401=_0x35c16a;return this[_0x3a1401(0x98)](_0x39c0ea);}async[_0x35c16a(0x98)](_0x29c734){const _0x31a505=_0x35c16a,_0x266406=this[_0x31a505(0x8b)][_0x31a505(0x7a)](r['IExchangeService']);if(!_0x266406)throw new Error(_0x31a505(0x82));return _0x266406[_0x31a505(0x9a)](_0x29c734);}async[_0x35c16a(0x8c)](_0x4dc6bf){const _0x329b92=_0x35c16a;return this[_0x329b92(0x8d)](_0x4dc6bf);}async[_0x35c16a(0x8d)](_0x296dad){const _0x227a88=_0x35c16a,_0x5c8cff=this[_0x227a88(0x8b)][_0x227a88(0x7a)](r[_0x227a88(0x80)]);if(!_0x5c8cff)throw new Error(_0x227a88(0x82));return _0x5c8cff[_0x227a88(0x7e)](_0x296dad,o[_0x227a88(0x99)]);}async[_0x35c16a(0x87)](_0x1bf4cb){const _0xb7d1d7=_0x35c16a;return this[_0xb7d1d7(0x94)](_0x1bf4cb);}async['importDOCXToSnapshotAsync'](_0xaea709){const _0x2230e5=_0x35c16a,_0x18f632=this[_0x2230e5(0x8b)][_0x2230e5(0x7a)](r[_0x2230e5(0x80)]);if(!_0x18f632)throw new Error(_0x2230e5(0x82));return _0x18f632[_0x2230e5(0x87)](_0xaea709);}}i[_0x35c16a(0x84)][_0x35c16a(0x8f)](c);