@univerjs-pro/exchange-client 0.5.4-nightly.202501151252 → 0.5.4-nightly.202501151339

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 _0x160690=_0xb151;(function(_0x4184b8,_0x5b8ad3){const _0x55e4d0=_0xb151,_0xbcbe54=_0x4184b8();while(!![]){try{const _0x3c6ed0=-parseInt(_0x55e4d0(0xa0))/0x1+-parseInt(_0x55e4d0(0xa6))/0x2*(parseInt(_0x55e4d0(0xb8))/0x3)+-parseInt(_0x55e4d0(0xb7))/0x4*(parseInt(_0x55e4d0(0x97))/0x5)+parseInt(_0x55e4d0(0xaf))/0x6+parseInt(_0x55e4d0(0xa2))/0x7+-parseInt(_0x55e4d0(0xa7))/0x8*(parseInt(_0x55e4d0(0x96))/0x9)+-parseInt(_0x55e4d0(0xa1))/0xa*(-parseInt(_0x55e4d0(0xa9))/0xb);if(_0x3c6ed0===_0x5b8ad3)break;else _0xbcbe54['push'](_0xbcbe54['shift']());}catch(_0x14c469){_0xbcbe54['push'](_0xbcbe54['shift']());}}}(_0x1a85,0x2531b));function _0x1a85(){const _0x4c8056=['importXLSXToUnitId','FUniver','extend','_injector','exportXLSXBySnapshotAsync','IExchangeService','importDOCXToUnitIdAsync','exportXLSXBySnapshot','96893sXOOeo','700630kKfnfh','379554KcMpzZ','UNIVER_UNKNOWN','UNIVER_DOC','importFileToUnitId','2hazKja','1840dYuewP','importDOCXToUnitId','44PLvOMZ','importXLSXToUnitIdAsync','get','importXLSXToSnapshotAsync','importDOCXToSnapshot','UNIVER_SHEET','1421310hTGmcB','importDOCXToSnapshotAsync','@univerjs-pro/exchange-client','UNIVER_SLIDE','UNIVER_PROJECT','UNRECOGNIZED','@univerjs/core','importXLSXToSnapshot','120364fpjtrw','149514LvkULc','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','9477iSLDdC','5cRWQCd'];_0x1a85=function(){return _0x4c8056;};return _0x1a85();}function _0xb151(_0x4d6231,_0x3e59a9){const _0x1a8517=_0x1a85();return _0xb151=function(_0xb151d8,_0xbaa9fb){_0xb151d8=_0xb151d8-0x94;let _0x1447ec=_0x1a8517[_0xb151d8];return _0x1447ec;},_0xb151(_0x4d6231,_0x3e59a9);}const r=require(_0x160690(0xb1)),i=require(_0x160690(0xb5));var o=(_0x42870f=>(_0x42870f[_0x42870f[_0x160690(0xa3)]=0x0]=_0x160690(0xa3),_0x42870f[_0x42870f[_0x160690(0xa4)]=0x1]=_0x160690(0xa4),_0x42870f[_0x42870f[_0x160690(0xae)]=0x2]='UNIVER_SHEET',_0x42870f[_0x42870f[_0x160690(0xb2)]=0x3]=_0x160690(0xb2),_0x42870f[_0x42870f[_0x160690(0xb3)]=0x4]='UNIVER_PROJECT',_0x42870f[_0x42870f['UNRECOGNIZED']=-0x1]=_0x160690(0xb4),_0x42870f))(o||{});class c extends i[_0x160690(0x99)]{async[_0x160690(0x98)](_0x78c527){return this['importXLSXToUnitIdAsync'](_0x78c527);}async[_0x160690(0xaa)](_0x176d98){const _0x5ccbd2=_0x160690,_0xa69c0f=this['_injector'][_0x5ccbd2(0xab)](r[_0x5ccbd2(0x9d)]);if(!_0xa69c0f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xa69c0f[_0x5ccbd2(0xa5)](_0x176d98,o[_0x5ccbd2(0xae)]);}async[_0x160690(0xb6)](_0x208e31){const _0x30ed73=_0x160690;return this[_0x30ed73(0xac)](_0x208e31);}async[_0x160690(0xac)](_0x1eb1fe){const _0x3a1229=_0x160690,_0x175c3d=this['_injector'][_0x3a1229(0xab)](r[_0x3a1229(0x9d)]);if(!_0x175c3d)throw new Error(_0x3a1229(0x95));return _0x175c3d[_0x3a1229(0xb6)](_0x1eb1fe);}async['exportXLSXByUnitId'](_0x3f8694){return this['exportXLSXByUnitIdAsync'](_0x3f8694);}async[_0x160690(0x94)](_0x382b5f){const _0x5eb9b3=_0x160690,_0x2fc4bd=this[_0x5eb9b3(0x9b)][_0x5eb9b3(0xab)](r[_0x5eb9b3(0x9d)]);if(!_0x2fc4bd)throw new Error(_0x5eb9b3(0x95));return _0x2fc4bd['exportXLSXByUnitId'](_0x382b5f);}async[_0x160690(0x9f)](_0x43dc63){const _0xeb6980=_0x160690;return this[_0xeb6980(0x9c)](_0x43dc63);}async[_0x160690(0x9c)](_0x5435c7){const _0x5931c3=_0x160690,_0x52cec8=this['_injector'][_0x5931c3(0xab)](r[_0x5931c3(0x9d)]);if(!_0x52cec8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52cec8[_0x5931c3(0x9f)](_0x5435c7);}async[_0x160690(0xa8)](_0xd2e14c){const _0xc109d=_0x160690;return this[_0xc109d(0x9e)](_0xd2e14c);}async[_0x160690(0x9e)](_0x10a480){const _0x258598=_0x160690,_0x279898=this[_0x258598(0x9b)][_0x258598(0xab)](r['IExchangeService']);if(!_0x279898)throw new Error(_0x258598(0x95));return _0x279898[_0x258598(0xa5)](_0x10a480,o['UNIVER_DOC']);}async[_0x160690(0xad)](_0x4f0157){return this['importDOCXToSnapshotAsync'](_0x4f0157);}async[_0x160690(0xb0)](_0x48cd19){const _0xee875c=_0x160690,_0x37bb6a=this[_0xee875c(0x9b)][_0xee875c(0xab)](r['IExchangeService']);if(!_0x37bb6a)throw new Error(_0xee875c(0x95));return _0x37bb6a['importDOCXToSnapshot'](_0x48cd19);}}i['FUniver'][_0x160690(0x9a)](c);
1
+ 'use strict';const _0x208d80=_0x35dd;function _0x35dd(_0x553d60,_0x4befd9){const _0x570bc6=_0x570b();return _0x35dd=function(_0x35dd2e,_0x24a3d4){_0x35dd2e=_0x35dd2e-0x1d0;let _0x50897b=_0x570bc6[_0x35dd2e];return _0x50897b;},_0x35dd(_0x553d60,_0x4befd9);}(function(_0xb01bb6,_0x37a514){const _0x5497d7=_0x35dd,_0x26e34a=_0xb01bb6();while(!![]){try{const _0x3d41b3=-parseInt(_0x5497d7(0x1e8))/0x1*(-parseInt(_0x5497d7(0x1ef))/0x2)+parseInt(_0x5497d7(0x1d8))/0x3*(parseInt(_0x5497d7(0x1db))/0x4)+parseInt(_0x5497d7(0x1eb))/0x5+parseInt(_0x5497d7(0x1d6))/0x6+-parseInt(_0x5497d7(0x1d5))/0x7+parseInt(_0x5497d7(0x1f1))/0x8+-parseInt(_0x5497d7(0x1e2))/0x9*(parseInt(_0x5497d7(0x1df))/0xa);if(_0x3d41b3===_0x37a514)break;else _0x26e34a['push'](_0x26e34a['shift']());}catch(_0xdd1772){_0x26e34a['push'](_0x26e34a['shift']());}}}(_0x570b,0x9a3f5));const r=require(_0x208d80(0x1e1)),i=require(_0x208d80(0x1f0));var o=(_0x6baa05=>(_0x6baa05[_0x6baa05['UNIVER_UNKNOWN']=0x0]=_0x208d80(0x1f2),_0x6baa05[_0x6baa05['UNIVER_DOC']=0x1]=_0x208d80(0x1d9),_0x6baa05[_0x6baa05['UNIVER_SHEET']=0x2]=_0x208d80(0x1de),_0x6baa05[_0x6baa05[_0x208d80(0x1e3)]=0x3]='UNIVER_SLIDE',_0x6baa05[_0x6baa05[_0x208d80(0x1d2)]=0x4]=_0x208d80(0x1d2),_0x6baa05[_0x6baa05[_0x208d80(0x1dc)]=-0x1]=_0x208d80(0x1dc),_0x6baa05))(o||{});function _0x570b(){const _0x222461=['exportXLSXByUnitIdAsync','_injector','7132951MnANCT','319686NignOv','extend','12OvCqPj','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','461964DlLTZn','UNRECOGNIZED','exportXLSXBySnapshotAsync','UNIVER_SHEET','10hAFnSN','get','@univerjs-pro/exchange-client','9659079YJgntJ','UNIVER_SLIDE','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','importXLSXToUnitId','IExchangeService','353308YdisXE','exportXLSXBySnapshot','importDOCXToSnapshot','6296010dWtqIM','importXLSXToSnapshot','exportXLSXByUnitId','importDOCXToUnitIdAsync','2VoAGpo','@univerjs/core','4770128PjHJYc','UNIVER_UNKNOWN','importDOCXToUnitId','importDOCXToSnapshotAsync','UNIVER_PROJECT'];_0x570b=function(){return _0x222461;};return _0x570b();}class c extends i['FUniver']{async[_0x208d80(0x1e6)](_0x29098f){return this['importXLSXToUnitIdAsync'](_0x29098f);}async[_0x208d80(0x1e4)](_0xa25652){const _0x10eaaa=_0x208d80,_0x3dca64=this[_0x10eaaa(0x1d4)][_0x10eaaa(0x1e0)](r[_0x10eaaa(0x1e7)]);if(!_0x3dca64)throw new Error(_0x10eaaa(0x1da));return _0x3dca64['importFileToUnitId'](_0xa25652,o[_0x10eaaa(0x1de)]);}async[_0x208d80(0x1ec)](_0x4b8fe){const _0x2655a4=_0x208d80;return this[_0x2655a4(0x1e5)](_0x4b8fe);}async['importXLSXToSnapshotAsync'](_0x379f88){const _0x4f80d7=_0x208d80,_0x184f75=this[_0x4f80d7(0x1d4)][_0x4f80d7(0x1e0)](r[_0x4f80d7(0x1e7)]);if(!_0x184f75)throw new Error(_0x4f80d7(0x1da));return _0x184f75['importXLSXToSnapshot'](_0x379f88);}async[_0x208d80(0x1ed)](_0x37854c){return this['exportXLSXByUnitIdAsync'](_0x37854c);}async[_0x208d80(0x1d3)](_0x324a16){const _0x472ec7=_0x208d80,_0x49b1a2=this[_0x472ec7(0x1d4)][_0x472ec7(0x1e0)](r['IExchangeService']);if(!_0x49b1a2)throw new Error(_0x472ec7(0x1da));return _0x49b1a2['exportXLSXByUnitId'](_0x324a16);}async['exportXLSXBySnapshot'](_0x27eac7){return this['exportXLSXBySnapshotAsync'](_0x27eac7);}async[_0x208d80(0x1dd)](_0x2d7af7){const _0x3b582b=_0x208d80,_0x39676f=this[_0x3b582b(0x1d4)][_0x3b582b(0x1e0)](r['IExchangeService']);if(!_0x39676f)throw new Error(_0x3b582b(0x1da));return _0x39676f[_0x3b582b(0x1e9)](_0x2d7af7);}async[_0x208d80(0x1d0)](_0x39c2f0){const _0x31cf0a=_0x208d80;return this[_0x31cf0a(0x1ee)](_0x39c2f0);}async[_0x208d80(0x1ee)](_0x220ae9){const _0x5c197c=_0x208d80,_0x273f25=this[_0x5c197c(0x1d4)]['get'](r['IExchangeService']);if(!_0x273f25)throw new Error(_0x5c197c(0x1da));return _0x273f25['importFileToUnitId'](_0x220ae9,o['UNIVER_DOC']);}async[_0x208d80(0x1ea)](_0x2c5313){const _0x1853ec=_0x208d80;return this[_0x1853ec(0x1d1)](_0x2c5313);}async[_0x208d80(0x1d1)](_0x538723){const _0x50aca6=_0x208d80,_0x2dd572=this[_0x50aca6(0x1d4)][_0x50aca6(0x1e0)](r[_0x50aca6(0x1e7)]);if(!_0x2dd572)throw new Error(_0x50aca6(0x1da));return _0x2dd572[_0x50aca6(0x1ea)](_0x538723);}}i['FUniver'][_0x208d80(0x1d7)](c);