@univerjs-pro/exchange-client 0.6.0-nightly.202502161605 → 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 _0x3fa1b4=_0x59fd;(function(_0x1e58f2,_0x42acc5){const _0x5cfc11=_0x59fd,_0x1c6620=_0x1e58f2();while(!![]){try{const _0x1d883e=parseInt(_0x5cfc11(0x195))/0x1+parseInt(_0x5cfc11(0x181))/0x2+parseInt(_0x5cfc11(0x17d))/0x3*(-parseInt(_0x5cfc11(0x18c))/0x4)+-parseInt(_0x5cfc11(0x194))/0x5+-parseInt(_0x5cfc11(0x17e))/0x6*(-parseInt(_0x5cfc11(0x178))/0x7)+parseInt(_0x5cfc11(0x180))/0x8*(parseInt(_0x5cfc11(0x197))/0x9)+parseInt(_0x5cfc11(0x187))/0xa*(-parseInt(_0x5cfc11(0x179))/0xb);if(_0x1d883e===_0x42acc5)break;else _0x1c6620['push'](_0x1c6620['shift']());}catch(_0x2bd87){_0x1c6620['push'](_0x1c6620['shift']());}}}(_0x1fd2,0xd99a0));function _0x59fd(_0x2892aa,_0x14868f){const _0x1fd2d2=_0x1fd2();return _0x59fd=function(_0x59fd60,_0x11f9e2){_0x59fd60=_0x59fd60-0x175;let _0x360177=_0x1fd2d2[_0x59fd60];return _0x360177;},_0x59fd(_0x2892aa,_0x14868f);}const r=require(_0x3fa1b4(0x188)),i=require(_0x3fa1b4(0x18d));var o=(_0x23b10d=>(_0x23b10d[_0x23b10d['UNIVER_UNKNOWN']=0x0]=_0x3fa1b4(0x18b),_0x23b10d[_0x23b10d[_0x3fa1b4(0x191)]=0x1]=_0x3fa1b4(0x191),_0x23b10d[_0x23b10d[_0x3fa1b4(0x18f)]=0x2]=_0x3fa1b4(0x18f),_0x23b10d[_0x23b10d[_0x3fa1b4(0x18a)]=0x3]=_0x3fa1b4(0x18a),_0x23b10d[_0x23b10d['UNIVER_PROJECT']=0x4]=_0x3fa1b4(0x193),_0x23b10d[_0x23b10d[_0x3fa1b4(0x189)]=-0x1]=_0x3fa1b4(0x189),_0x23b10d))(o||{});class c extends i['FUniver']{async[_0x3fa1b4(0x17c)](_0x21f1cf){const _0xf7088e=_0x3fa1b4;return this[_0xf7088e(0x175)](_0x21f1cf);}async['importXLSXToUnitIdAsync'](_0x32bcc4){const _0x2fb3b5=_0x3fa1b4,_0x35709e=this[_0x2fb3b5(0x18e)]['get'](r[_0x2fb3b5(0x192)]);if(!_0x35709e)throw new Error(_0x2fb3b5(0x177));return _0x35709e['importFileToUnitId'](_0x32bcc4,o[_0x2fb3b5(0x18f)]);}async[_0x3fa1b4(0x182)](_0x18ad9e){const _0x21b3c9=_0x3fa1b4;return this[_0x21b3c9(0x17f)](_0x18ad9e);}async[_0x3fa1b4(0x17f)](_0x485252){const _0x268b89=_0x3fa1b4,_0x2a1e8f=this[_0x268b89(0x18e)][_0x268b89(0x17a)](r['IExchangeService']);if(!_0x2a1e8f)throw new Error(_0x268b89(0x177));return _0x2a1e8f[_0x268b89(0x182)](_0x485252);}async['exportXLSXByUnitId'](_0x3d45bd){const _0x510c8c=_0x3fa1b4;return this[_0x510c8c(0x196)](_0x3d45bd);}async[_0x3fa1b4(0x196)](_0xefc84d){const _0x19b321=_0x3fa1b4,_0x16b8d5=this[_0x19b321(0x18e)][_0x19b321(0x17a)](r[_0x19b321(0x192)]);if(!_0x16b8d5)throw new Error(_0x19b321(0x177));return _0x16b8d5[_0x19b321(0x185)](_0xefc84d);}async[_0x3fa1b4(0x186)](_0x53fcd1){return this['exportXLSXBySnapshotAsync'](_0x53fcd1);}async[_0x3fa1b4(0x176)](_0x2829a3){const _0xadaebb=_0x3fa1b4,_0x3f37a0=this[_0xadaebb(0x18e)][_0xadaebb(0x17a)](r[_0xadaebb(0x192)]);if(!_0x3f37a0)throw new Error(_0xadaebb(0x177));return _0x3f37a0['exportXLSXBySnapshot'](_0x2829a3);}async['importDOCXToUnitId'](_0xcc66c1){const _0x1ac010=_0x3fa1b4;return this[_0x1ac010(0x17b)](_0xcc66c1);}async[_0x3fa1b4(0x17b)](_0xba4aa3){const _0x4fceb2=_0x3fa1b4,_0x5cf935=this[_0x4fceb2(0x18e)][_0x4fceb2(0x17a)](r[_0x4fceb2(0x192)]);if(!_0x5cf935)throw new Error(_0x4fceb2(0x177));return _0x5cf935[_0x4fceb2(0x190)](_0xba4aa3,o[_0x4fceb2(0x191)]);}async['importDOCXToSnapshot'](_0x235c7f){const _0x39fee9=_0x3fa1b4;return this[_0x39fee9(0x183)](_0x235c7f);}async[_0x3fa1b4(0x183)](_0x139dd9){const _0x3200f2=_0x3fa1b4,_0x58713a=this[_0x3200f2(0x18e)][_0x3200f2(0x17a)](r[_0x3200f2(0x192)]);if(!_0x58713a)throw new Error(_0x3200f2(0x177));return _0x58713a['importDOCXToSnapshot'](_0x139dd9);}}function _0x1fd2(){const _0x1d384b=['importFileToUnitId','UNIVER_DOC','IExchangeService','UNIVER_PROJECT','4469820GuIszN','177141kzBiHz','exportXLSXByUnitIdAsync','9EQvcse','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','483QXNyaJ','521642bRvcOq','get','importDOCXToUnitIdAsync','importXLSXToUnitId','18LQTOlh','103170HhAtTx','importXLSXToSnapshotAsync','1090736LbuQpN','2688436kJcXQw','importXLSXToSnapshot','importDOCXToSnapshotAsync','FUniver','exportXLSXByUnitId','exportXLSXBySnapshot','70whxKgf','@univerjs-pro/exchange-client','UNRECOGNIZED','UNIVER_SLIDE','UNIVER_UNKNOWN','484628nYfgXA','@univerjs/core/facade','_injector','UNIVER_SHEET'];_0x1fd2=function(){return _0x1d384b;};return _0x1fd2();}i[_0x3fa1b4(0x184)]['extend'](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);