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

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 _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);
1
+ 'use strict';function _0x5842(_0x37e699,_0x1e1b3e){const _0x5f74e7=_0x5f74();return _0x5842=function(_0x58425f,_0x59e73d){_0x58425f=_0x58425f-0xdb;let _0x493869=_0x5f74e7[_0x58425f];return _0x493869;},_0x5842(_0x37e699,_0x1e1b3e);}const _0x4c4a34=_0x5842;(function(_0x384b07,_0x4c21d6){const _0x352342=_0x5842,_0x4f288a=_0x384b07();while(!![]){try{const _0x33d264=-parseInt(_0x352342(0xf8))/0x1+-parseInt(_0x352342(0xed))/0x2*(-parseInt(_0x352342(0xf9))/0x3)+-parseInt(_0x352342(0xf6))/0x4+parseInt(_0x352342(0xf7))/0x5*(parseInt(_0x352342(0xfa))/0x6)+parseInt(_0x352342(0xef))/0x7+-parseInt(_0x352342(0xe2))/0x8*(parseInt(_0x352342(0xdb))/0x9)+parseInt(_0x352342(0xfc))/0xa;if(_0x33d264===_0x4c21d6)break;else _0x4f288a['push'](_0x4f288a['shift']());}catch(_0x410465){_0x4f288a['push'](_0x4f288a['shift']());}}}(_0x5f74,0xd7e48));const r=require('@univerjs-pro/exchange-client'),i=require(_0x4c4a34(0xf0));var o=(_0x2d8ef8=>(_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xde)]=0x0]=_0x4c4a34(0xde),_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xdd)]=0x1]=_0x4c4a34(0xdd),_0x2d8ef8[_0x2d8ef8['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xdf)]=0x3]=_0x4c4a34(0xdf),_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xf5)]=0x4]=_0x4c4a34(0xf5),_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xe7)]=-0x1]='UNRECOGNIZED',_0x2d8ef8))(o||{});function _0x5f74(){const _0x14e7d0=['6lncUSV','importDOCXToSnapshot','8681380jNwWaq','importXLSXToSnapshot','1382688EtFojD','FUniver','UNIVER_DOC','UNIVER_UNKNOWN','UNIVER_SLIDE','get','exportXLSXBySnapshotAsync','48xynDUR','importDOCXToUnitId','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','importFileToUnitId','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importXLSXToSnapshotAsync','UNIVER_SHEET','IExchangeService','2cpnEgc','_injector','10195696eVQAPG','@univerjs/core/facade','extend','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','importXLSXToUnitId','UNIVER_PROJECT','4339304GCtjzv','5826055pMvuDj','1433812ZgAJWN','2504547GBQYel'];_0x5f74=function(){return _0x14e7d0;};return _0x5f74();}class c extends i[_0x4c4a34(0xdc)]{async[_0x4c4a34(0xf4)](_0x385a64){const _0x438f2d=_0x4c4a34;return this[_0x438f2d(0xe4)](_0x385a64);}async['importXLSXToUnitIdAsync'](_0x5c6f6b){const _0x51c75e=_0x4c4a34,_0x133c82=this[_0x51c75e(0xee)][_0x51c75e(0xe0)](r[_0x51c75e(0xec)]);if(!_0x133c82)throw new Error(_0x51c75e(0xe8));return _0x133c82[_0x51c75e(0xe6)](_0x5c6f6b,o[_0x51c75e(0xeb)]);}async[_0x4c4a34(0xfd)](_0xf25380){const _0x57f8d5=_0x4c4a34;return this[_0x57f8d5(0xea)](_0xf25380);}async[_0x4c4a34(0xea)](_0x35a07c){const _0x2faba2=_0x4c4a34,_0x3d2b3=this[_0x2faba2(0xee)][_0x2faba2(0xe0)](r[_0x2faba2(0xec)]);if(!_0x3d2b3)throw new Error(_0x2faba2(0xe8));return _0x3d2b3[_0x2faba2(0xfd)](_0x35a07c);}async[_0x4c4a34(0xe9)](_0x153ff3){return this['exportXLSXByUnitIdAsync'](_0x153ff3);}async[_0x4c4a34(0xf2)](_0x1befcf){const _0x1ed856=_0x4c4a34,_0xa18e3a=this[_0x1ed856(0xee)][_0x1ed856(0xe0)](r['IExchangeService']);if(!_0xa18e3a)throw new Error(_0x1ed856(0xe8));return _0xa18e3a[_0x1ed856(0xe9)](_0x1befcf);}async[_0x4c4a34(0xf3)](_0x3491b7){const _0x8c8681=_0x4c4a34;return this[_0x8c8681(0xe1)](_0x3491b7);}async['exportXLSXBySnapshotAsync'](_0x1ab2c3){const _0x4d6a5b=_0x4c4a34,_0x4ff804=this[_0x4d6a5b(0xee)][_0x4d6a5b(0xe0)](r['IExchangeService']);if(!_0x4ff804)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ff804['exportXLSXBySnapshot'](_0x1ab2c3);}async[_0x4c4a34(0xe3)](_0x1ed824){return this['importDOCXToUnitIdAsync'](_0x1ed824);}async['importDOCXToUnitIdAsync'](_0x2e9f91){const _0x2746f5=_0x4c4a34,_0x2c6470=this['_injector'][_0x2746f5(0xe0)](r[_0x2746f5(0xec)]);if(!_0x2c6470)throw new Error(_0x2746f5(0xe8));return _0x2c6470[_0x2746f5(0xe6)](_0x2e9f91,o['UNIVER_DOC']);}async[_0x4c4a34(0xfb)](_0x3f1060){const _0x4ceac1=_0x4c4a34;return this[_0x4ceac1(0xe5)](_0x3f1060);}async[_0x4c4a34(0xe5)](_0xfe6ef0){const _0x5e01fe=_0x4c4a34,_0x1b8d03=this['_injector'][_0x5e01fe(0xe0)](r['IExchangeService']);if(!_0x1b8d03)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b8d03['importDOCXToSnapshot'](_0xfe6ef0);}}i['FUniver'][_0x4c4a34(0xf1)](c);