@univerjs-pro/exchange-client 0.6.0-nightly.202502151605 → 0.6.0-nightly.202502171606

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 _0x5d5d24=_0x4792;(function(_0xfc1bf0,_0x357206){const _0x388dde=_0x4792,_0x26ef07=_0xfc1bf0();while(!![]){try{const _0x4a7d9d=parseInt(_0x388dde(0xc9))/0x1*(-parseInt(_0x388dde(0xd0))/0x2)+-parseInt(_0x388dde(0xd9))/0x3+-parseInt(_0x388dde(0xc4))/0x4+parseInt(_0x388dde(0xcc))/0x5*(parseInt(_0x388dde(0xdb))/0x6)+parseInt(_0x388dde(0xc3))/0x7+parseInt(_0x388dde(0xce))/0x8+parseInt(_0x388dde(0xd8))/0x9;if(_0x4a7d9d===_0x357206)break;else _0x26ef07['push'](_0x26ef07['shift']());}catch(_0x124fc1){_0x26ef07['push'](_0x26ef07['shift']());}}}(_0x2e91,0x9fe7c));function _0x2e91(){const _0x38e93f=['importXLSXToSnapshot','importXLSXToUnitId','@univerjs-pro/exchange-client','4935456agXgAc','1200498xOzYUw','UNIVER_DOC','7098504osWTtA','FUniver','_injector','get','extend','exportXLSXByUnitIdAsync','IExchangeService','3545976gXIULh','2858960jEAcBi','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','exportXLSXBySnapshot','13438QLdKcV','importXLSXToUnitIdAsync','exportXLSXByUnitId','5XuoVlZ','@univerjs/core/facade','662400fRTABk','importDOCXToSnapshot','82GyGYqP','importDOCXToUnitIdAsync','UNRECOGNIZED','importDOCXToSnapshotAsync','importFileToUnitId'];_0x2e91=function(){return _0x38e93f;};return _0x2e91();}function _0x4792(_0x22e780,_0x8df18a){const _0x2e914e=_0x2e91();return _0x4792=function(_0x479210,_0x40e617){_0x479210=_0x479210-0xbe;let _0xbfdc80=_0x2e914e[_0x479210];return _0xbfdc80;},_0x4792(_0x22e780,_0x8df18a);}const r=require(_0x5d5d24(0xd7)),i=require(_0x5d5d24(0xcd));var o=(_0x10bc98=>(_0x10bc98[_0x10bc98['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x10bc98[_0x10bc98[_0x5d5d24(0xda)]=0x1]=_0x5d5d24(0xda),_0x10bc98[_0x10bc98[_0x5d5d24(0xc7)]=0x2]=_0x5d5d24(0xc7),_0x10bc98[_0x10bc98['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x10bc98[_0x10bc98['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x10bc98[_0x10bc98[_0x5d5d24(0xd2)]=-0x1]=_0x5d5d24(0xd2),_0x10bc98))(o||{});class c extends i[_0x5d5d24(0xdc)]{async[_0x5d5d24(0xd6)](_0x1fad53){const _0xec4a3=_0x5d5d24;return this[_0xec4a3(0xca)](_0x1fad53);}async[_0x5d5d24(0xca)](_0x2feaed){const _0x4b38c6=_0x5d5d24,_0x2d5627=this[_0x4b38c6(0xbe)][_0x4b38c6(0xbf)](r[_0x4b38c6(0xc2)]);if(!_0x2d5627)throw new Error(_0x4b38c6(0xc6));return _0x2d5627[_0x4b38c6(0xd4)](_0x2feaed,o['UNIVER_SHEET']);}async[_0x5d5d24(0xd5)](_0xad4900){return this['importXLSXToSnapshotAsync'](_0xad4900);}async['importXLSXToSnapshotAsync'](_0x2ce538){const _0x3f0e67=_0x5d5d24,_0x50cf84=this[_0x3f0e67(0xbe)]['get'](r['IExchangeService']);if(!_0x50cf84)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x50cf84['importXLSXToSnapshot'](_0x2ce538);}async[_0x5d5d24(0xcb)](_0x3ba066){const _0x6aa7c6=_0x5d5d24;return this[_0x6aa7c6(0xc1)](_0x3ba066);}async[_0x5d5d24(0xc1)](_0x593397){const _0x56104a=_0x5d5d24,_0x3dc8f4=this[_0x56104a(0xbe)][_0x56104a(0xbf)](r[_0x56104a(0xc2)]);if(!_0x3dc8f4)throw new Error(_0x56104a(0xc6));return _0x3dc8f4[_0x56104a(0xcb)](_0x593397);}async[_0x5d5d24(0xc8)](_0x36dfc9){const _0x561950=_0x5d5d24;return this[_0x561950(0xc5)](_0x36dfc9);}async[_0x5d5d24(0xc5)](_0x3484e2){const _0x3c535c=_0x5d5d24,_0x25cdb8=this[_0x3c535c(0xbe)]['get'](r[_0x3c535c(0xc2)]);if(!_0x25cdb8)throw new Error(_0x3c535c(0xc6));return _0x25cdb8[_0x3c535c(0xc8)](_0x3484e2);}async['importDOCXToUnitId'](_0x42ed80){const _0x428517=_0x5d5d24;return this[_0x428517(0xd1)](_0x42ed80);}async['importDOCXToUnitIdAsync'](_0x1c0076){const _0x545b9a=_0x5d5d24,_0x5256fc=this[_0x545b9a(0xbe)][_0x545b9a(0xbf)](r['IExchangeService']);if(!_0x5256fc)throw new Error(_0x545b9a(0xc6));return _0x5256fc['importFileToUnitId'](_0x1c0076,o[_0x545b9a(0xda)]);}async[_0x5d5d24(0xcf)](_0x1b72d7){const _0x5d3a34=_0x5d5d24;return this[_0x5d3a34(0xd3)](_0x1b72d7);}async[_0x5d5d24(0xd3)](_0x10e763){const _0x26b709=_0x5d5d24,_0x3116d0=this[_0x26b709(0xbe)][_0x26b709(0xbf)](r[_0x26b709(0xc2)]);if(!_0x3116d0)throw new Error(_0x26b709(0xc6));return _0x3116d0[_0x26b709(0xcf)](_0x10e763);}}i[_0x5d5d24(0xdc)][_0x5d5d24(0xc0)](c);
1
+ 'use strict';const _0x1e5ff0=_0x360e;function _0x360e(_0x5bcd72,_0xc224b0){const _0x267f0a=_0x267f();return _0x360e=function(_0x360e11,_0x1ee270){_0x360e11=_0x360e11-0x188;let _0x3ad5af=_0x267f0a[_0x360e11];return _0x3ad5af;},_0x360e(_0x5bcd72,_0xc224b0);}(function(_0x3eef85,_0xab0241){const _0x1bb9cd=_0x360e,_0x214ed0=_0x3eef85();while(!![]){try{const _0x4233d1=-parseInt(_0x1bb9cd(0x19d))/0x1*(-parseInt(_0x1bb9cd(0x1a2))/0x2)+parseInt(_0x1bb9cd(0x1a1))/0x3+-parseInt(_0x1bb9cd(0x18f))/0x4+-parseInt(_0x1bb9cd(0x19a))/0x5+-parseInt(_0x1bb9cd(0x194))/0x6*(parseInt(_0x1bb9cd(0x18b))/0x7)+-parseInt(_0x1bb9cd(0x193))/0x8+parseInt(_0x1bb9cd(0x18e))/0x9;if(_0x4233d1===_0xab0241)break;else _0x214ed0['push'](_0x214ed0['shift']());}catch(_0x4e37ae){_0x214ed0['push'](_0x214ed0['shift']());}}}(_0x267f,0x4d029));const r=require(_0x1e5ff0(0x196)),i=require(_0x1e5ff0(0x1a0));var o=(_0x168f88=>(_0x168f88[_0x168f88['UNIVER_UNKNOWN']=0x0]=_0x1e5ff0(0x1a5),_0x168f88[_0x168f88[_0x1e5ff0(0x1a6)]=0x1]='UNIVER_DOC',_0x168f88[_0x168f88[_0x1e5ff0(0x198)]=0x2]='UNIVER_SHEET',_0x168f88[_0x168f88['UNIVER_SLIDE']=0x3]=_0x1e5ff0(0x197),_0x168f88[_0x168f88[_0x1e5ff0(0x199)]=0x4]='UNIVER_PROJECT',_0x168f88[_0x168f88[_0x1e5ff0(0x1a3)]=-0x1]=_0x1e5ff0(0x1a3),_0x168f88))(o||{});function _0x267f(){const _0x38e766=['UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','UNIVER_DOC','importXLSXToSnapshot','extend','importXLSXToUnitIdAsync','IExchangeService','exportXLSXByUnitIdAsync','importDOCXToUnitId','exportXLSXBySnapshot','15015NXwwsH','importFileToUnitId','importXLSXToSnapshotAsync','10296828wIegUW','1932852wosKMD','exportXLSXByUnitId','_injector','importDOCXToSnapshot','4777216wDfRtK','1506pkWUCQ','FUniver','@univerjs-pro/exchange-client','UNIVER_SLIDE','UNIVER_SHEET','UNIVER_PROJECT','329595ATqgIu','exportXLSXBySnapshotAsync','get','1238LXudky','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','@univerjs/core/facade','818766eRacSh','942nYBGwv'];_0x267f=function(){return _0x38e766;};return _0x267f();}class c extends i['FUniver']{async['importXLSXToUnitId'](_0x3d3a1c){const _0x5efe1e=_0x1e5ff0;return this[_0x5efe1e(0x1a9)](_0x3d3a1c);}async[_0x1e5ff0(0x1a9)](_0x37920a){const _0x57c493=_0x1e5ff0,_0x1ad47a=this[_0x57c493(0x191)][_0x57c493(0x19c)](r[_0x57c493(0x1aa)]);if(!_0x1ad47a)throw new Error(_0x57c493(0x1a4));return _0x1ad47a[_0x57c493(0x18c)](_0x37920a,o[_0x57c493(0x198)]);}async[_0x1e5ff0(0x1a7)](_0x2384bc){return this['importXLSXToSnapshotAsync'](_0x2384bc);}async[_0x1e5ff0(0x18d)](_0x41fe0e){const _0x156739=_0x1e5ff0,_0xffab48=this[_0x156739(0x191)][_0x156739(0x19c)](r[_0x156739(0x1aa)]);if(!_0xffab48)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xffab48['importXLSXToSnapshot'](_0x41fe0e);}async[_0x1e5ff0(0x190)](_0x457ce8){return this['exportXLSXByUnitIdAsync'](_0x457ce8);}async[_0x1e5ff0(0x188)](_0x3d6f00){const _0x2d0435=_0x1e5ff0,_0x5dd3e2=this[_0x2d0435(0x191)]['get'](r['IExchangeService']);if(!_0x5dd3e2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5dd3e2[_0x2d0435(0x190)](_0x3d6f00);}async[_0x1e5ff0(0x18a)](_0x54740a){const _0x540782=_0x1e5ff0;return this[_0x540782(0x19b)](_0x54740a);}async[_0x1e5ff0(0x19b)](_0x113e77){const _0x2be109=_0x1e5ff0,_0x3b998c=this[_0x2be109(0x191)]['get'](r[_0x2be109(0x1aa)]);if(!_0x3b998c)throw new Error(_0x2be109(0x1a4));return _0x3b998c['exportXLSXBySnapshot'](_0x113e77);}async[_0x1e5ff0(0x189)](_0x1b866e){const _0x4cbd74=_0x1e5ff0;return this[_0x4cbd74(0x19e)](_0x1b866e);}async[_0x1e5ff0(0x19e)](_0x46537d){const _0x364e29=_0x1e5ff0,_0x140561=this['_injector'][_0x364e29(0x19c)](r['IExchangeService']);if(!_0x140561)throw new Error(_0x364e29(0x1a4));return _0x140561[_0x364e29(0x18c)](_0x46537d,o['UNIVER_DOC']);}async[_0x1e5ff0(0x192)](_0x840932){const _0xa5bedf=_0x1e5ff0;return this[_0xa5bedf(0x19f)](_0x840932);}async[_0x1e5ff0(0x19f)](_0xd1c3dc){const _0x2103a6=_0x1e5ff0,_0x3acb35=this[_0x2103a6(0x191)][_0x2103a6(0x19c)](r[_0x2103a6(0x1aa)]);if(!_0x3acb35)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3acb35[_0x2103a6(0x192)](_0xd1c3dc);}}i[_0x1e5ff0(0x195)][_0x1e5ff0(0x1a8)](c);