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

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';function _0x3e39(){const _0x466c6a=['exportXLSXBySnapshotAsync','1867878uDulUo','exportXLSXBySnapshot','@univerjs-pro/exchange-client','1YUmXgI','_injector','UNIVER_SLIDE','exportXLSXByUnitId','IExchangeService','FUniver','importXLSXToSnapshotAsync','extend','1032038BwsMlQ','932VNqLGH','UNIVER_SHEET','exportXLSXByUnitIdAsync','819490PisxUu','3429pgHAXM','exportDOCXBySnapshot','UNRECOGNIZED','3698064VyuOWs','17868686dgZOvp','importDOCXToUnitIdAsync','exportDOCXBySnapshotAsync','14AXPIbJ','importFileToUnitId','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','importDOCXToSnapshot','213620bpzYQA','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','90zHlEtT','@univerjs/core/facade','exportDOCXByUnitIdAsync','importXLSXToUnitIdAsync','importXLSXToSnapshot','get','exportDOCXByUnitId'];_0x3e39=function(){return _0x466c6a;};return _0x3e39();}const _0x41b2e4=_0x3a94;(function(_0x50041b,_0x1ef77b){const _0x2a3e62=_0x3a94,_0x2107f6=_0x50041b();while(!![]){try{const _0x4c93d3=parseInt(_0x2a3e62(0xc9))/0x1*(-parseInt(_0x2a3e62(0xd1))/0x2)+parseInt(_0x2a3e62(0xd6))/0x3*(parseInt(_0x2a3e62(0xd2))/0x4)+-parseInt(_0x2a3e62(0xd5))/0x5+parseInt(_0x2a3e62(0xc6))/0x6*(-parseInt(_0x2a3e62(0xdd))/0x7)+-parseInt(_0x2a3e62(0xd9))/0x8+-parseInt(_0x2a3e62(0xe6))/0x9*(-parseInt(_0x2a3e62(0xe3))/0xa)+parseInt(_0x2a3e62(0xda))/0xb;if(_0x4c93d3===_0x1ef77b)break;else _0x2107f6['push'](_0x2107f6['shift']());}catch(_0x40930d){_0x2107f6['push'](_0x2107f6['shift']());}}}(_0x3e39,0x52e6c));function _0x3a94(_0xfcd586,_0x3c0042){const _0x3e3903=_0x3e39();return _0x3a94=function(_0x3a9424,_0x566071){_0x3a9424=_0x3a9424-0xc3;let _0x58762c=_0x3e3903[_0x3a9424];return _0x58762c;},_0x3a94(_0xfcd586,_0x3c0042);}const r=require(_0x41b2e4(0xc8)),o=require(_0x41b2e4(0xe7));var i=(_0x36e346=>(_0x36e346[_0x36e346[_0x41b2e4(0xe4)]=0x0]=_0x41b2e4(0xe4),_0x36e346[_0x36e346[_0x41b2e4(0xdf)]=0x1]=_0x41b2e4(0xdf),_0x36e346[_0x36e346['UNIVER_SHEET']=0x2]=_0x41b2e4(0xd3),_0x36e346[_0x36e346[_0x41b2e4(0xcb)]=0x3]=_0x41b2e4(0xcb),_0x36e346[_0x36e346[_0x41b2e4(0xe1)]=0x4]='UNIVER_PROJECT',_0x36e346[_0x36e346[_0x41b2e4(0xd8)]=-0x1]='UNRECOGNIZED',_0x36e346))(i||{});class c extends o[_0x41b2e4(0xce)]{async['importXLSXToUnitId'](_0x4cb8d5){const _0x4f3eae=_0x41b2e4;return this[_0x4f3eae(0xe9)](_0x4cb8d5);}async[_0x41b2e4(0xe9)](_0x4d8f4c){const _0x4f07ec=_0x41b2e4,_0x4d8220=this[_0x4f07ec(0xca)][_0x4f07ec(0xc3)](r[_0x4f07ec(0xcd)]);if(!_0x4d8220)throw new Error(_0x4f07ec(0xe0));return _0x4d8220['importFileToUnitId'](_0x4d8f4c,i['UNIVER_SHEET']);}async[_0x41b2e4(0xea)](_0x3fad7a){const _0x46f80b=_0x41b2e4;return this[_0x46f80b(0xcf)](_0x3fad7a);}async[_0x41b2e4(0xcf)](_0x5b9dc8){const _0x2e98d2=_0x41b2e4,_0x89a425=this['_injector'][_0x2e98d2(0xc3)](r[_0x2e98d2(0xcd)]);if(!_0x89a425)throw new Error(_0x2e98d2(0xe0));return _0x89a425[_0x2e98d2(0xea)](_0x5b9dc8);}async[_0x41b2e4(0xcc)](_0x5f23e5){const _0x5bc18a=_0x41b2e4;return this[_0x5bc18a(0xd4)](_0x5f23e5);}async[_0x41b2e4(0xd4)](_0x31cac5){const _0x4d6bcc=_0x41b2e4,_0x288778=this['_injector'][_0x4d6bcc(0xc3)](r['IExchangeService']);if(!_0x288778)throw new Error(_0x4d6bcc(0xe0));return _0x288778['exportXLSXByUnitId'](_0x31cac5);}async[_0x41b2e4(0xc7)](_0x57b3ca){return this['exportXLSXBySnapshotAsync'](_0x57b3ca);}async[_0x41b2e4(0xc5)](_0x3b035a){const _0x226073=_0x41b2e4,_0x5d7215=this['_injector'][_0x226073(0xc3)](r[_0x226073(0xcd)]);if(!_0x5d7215)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d7215[_0x226073(0xc7)](_0x3b035a);}async['importDOCXToUnitId'](_0x310c8f){return this['importDOCXToUnitIdAsync'](_0x310c8f);}async[_0x41b2e4(0xdb)](_0x1d1630){const _0x4b46c0=_0x41b2e4,_0x559944=this['_injector'][_0x4b46c0(0xc3)](r['IExchangeService']);if(!_0x559944)throw new Error(_0x4b46c0(0xe0));return _0x559944[_0x4b46c0(0xde)](_0x1d1630,i[_0x4b46c0(0xdf)]);}async[_0x41b2e4(0xe2)](_0x53c2af){const _0x5c528b=_0x41b2e4;return this[_0x5c528b(0xe5)](_0x53c2af);}async[_0x41b2e4(0xe5)](_0x3309f1){const _0x264853=_0x41b2e4,_0x427b4f=this[_0x264853(0xca)][_0x264853(0xc3)](r['IExchangeService']);if(!_0x427b4f)throw new Error(_0x264853(0xe0));return _0x427b4f[_0x264853(0xe2)](_0x3309f1);}async[_0x41b2e4(0xdc)](_0x311aa2){const _0x38ff5f=_0x41b2e4,_0x4a60d4=this[_0x38ff5f(0xca)]['get'](r[_0x38ff5f(0xcd)]);if(!_0x4a60d4)throw new Error(_0x38ff5f(0xe0));return _0x4a60d4[_0x38ff5f(0xd7)](_0x311aa2);}async[_0x41b2e4(0xe8)](_0x748f4f){const _0x348c35=_0x41b2e4,_0x2d2218=this[_0x348c35(0xca)][_0x348c35(0xc3)](r[_0x348c35(0xcd)]);if(!_0x2d2218)throw new Error(_0x348c35(0xe0));return _0x2d2218[_0x348c35(0xc4)](_0x748f4f);}}o[_0x41b2e4(0xce)][_0x41b2e4(0xd0)](c);