@univerjs-pro/exchange-client 0.5.1-nightly.202412161321 → 0.5.1-nightly.202412161606

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';function _0x7253(_0x47f9e6,_0x34019b){const _0x3ec6da=_0x3ec6();return _0x7253=function(_0x72532,_0x13a41b){_0x72532=_0x72532-0x17b;let _0xb405ec=_0x3ec6da[_0x72532];return _0xb405ec;},_0x7253(_0x47f9e6,_0x34019b);}function _0x3ec6(){const _0x3446c3=['_injector','get','The\x20exchange\x20service\x20is\x20not\x20available','3ymduQS','UNIVER_UNKNOWN','626774cJjMih','UNIVER_SLIDE','875592DFLdte','FUniver','IExchangeService','2201625RgaEmP','importXLSXToSnapshot','UNIVER_DOC','5604819DPcSmz','UNIVER_SHEET','exportXLSXByUnitId','@univerjs/core','10SaAzQl','importFileToUnitId','149338hJlqgM','324IcTsab','importDOCXToUnitId','232moAwkk','UNRECOGNIZED','importDOCXToSnapshot','5298508tmZXVR','311742IMmvzt','UNIVER_PROJECT'];_0x3ec6=function(){return _0x3446c3;};return _0x3ec6();}const _0x332cba=_0x7253;(function(_0x58ce44,_0x35498d){const _0x5e9913=_0x7253,_0xf670e6=_0x58ce44();while(!![]){try{const _0x107786=parseInt(_0x5e9913(0x17d))/0x1+-parseInt(_0x5e9913(0x17b))/0x2*(parseInt(_0x5e9913(0x195))/0x3)+parseInt(_0x5e9913(0x18f))/0x4+parseInt(_0x5e9913(0x180))/0x5+-parseInt(_0x5e9913(0x18a))/0x6*(parseInt(_0x5e9913(0x189))/0x7)+parseInt(_0x5e9913(0x18c))/0x8*(-parseInt(_0x5e9913(0x190))/0x9)+-parseInt(_0x5e9913(0x187))/0xa*(-parseInt(_0x5e9913(0x183))/0xb);if(_0x107786===_0x35498d)break;else _0xf670e6['push'](_0xf670e6['shift']());}catch(_0x32a2f7){_0xf670e6['push'](_0xf670e6['shift']());}}}(_0x3ec6,0xa60d4));const c=require(_0x332cba(0x186)),n=require('@univerjs-pro/exchange-client');var i=(_0x28a128=>(_0x28a128[_0x28a128[_0x332cba(0x196)]=0x0]=_0x332cba(0x196),_0x28a128[_0x28a128['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x28a128[_0x28a128['UNIVER_SHEET']=0x2]=_0x332cba(0x184),_0x28a128[_0x28a128['UNIVER_SLIDE']=0x3]=_0x332cba(0x17c),_0x28a128[_0x28a128[_0x332cba(0x191)]=0x4]='UNIVER_PROJECT',_0x28a128[_0x28a128[_0x332cba(0x18d)]=-0x1]='UNRECOGNIZED',_0x28a128))(i||{});class o extends c['FUniver']{async['importXLSXToUnitId'](_0x304291){const _0x520ff0=_0x332cba,_0xbc934f=this[_0x520ff0(0x192)]['get'](n[_0x520ff0(0x17f)]);if(!_0xbc934f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xbc934f[_0x520ff0(0x188)](_0x304291,i[_0x520ff0(0x184)]);}async[_0x332cba(0x181)](_0x5f48d5){const _0x228a03=_0x332cba,_0x38ff70=this['_injector'][_0x228a03(0x193)](n[_0x228a03(0x17f)]);if(!_0x38ff70)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x38ff70[_0x228a03(0x181)](_0x5f48d5);}async['exportXLSXByUnitId'](_0x5b78fd){const _0x669c8b=_0x332cba,_0x5b9df5=this[_0x669c8b(0x192)][_0x669c8b(0x193)](n[_0x669c8b(0x17f)]);if(!_0x5b9df5)throw new Error(_0x669c8b(0x194));return _0x5b9df5[_0x669c8b(0x185)](_0x5b78fd);}async['exportXLSXBySnapshot'](_0x1ddfd3){const _0x3cdcf5=_0x332cba,_0x17cd42=this[_0x3cdcf5(0x192)][_0x3cdcf5(0x193)](n['IExchangeService']);if(!_0x17cd42)throw new Error(_0x3cdcf5(0x194));return _0x17cd42['exportXLSXBySnapshot'](_0x1ddfd3);}async[_0x332cba(0x18b)](_0x4d606f){const _0x11e2c6=_0x332cba,_0x4f2a5b=this[_0x11e2c6(0x192)][_0x11e2c6(0x193)](n[_0x11e2c6(0x17f)]);if(!_0x4f2a5b)throw new Error(_0x11e2c6(0x194));return _0x4f2a5b[_0x11e2c6(0x188)](_0x4d606f,i[_0x11e2c6(0x182)]);}async['importDOCXToSnapshot'](_0x1ab085){const _0x28d1a1=_0x332cba,_0x258870=this['_injector'][_0x28d1a1(0x193)](n[_0x28d1a1(0x17f)]);if(!_0x258870)throw new Error(_0x28d1a1(0x194));return _0x258870[_0x28d1a1(0x18e)](_0x1ab085);}}c[_0x332cba(0x17e)]['extend'](o);
1
+ 'use strict';const _0x4d6792=_0x11e1;(function(_0x18d6b9,_0x5287d9){const _0x588eb8=_0x11e1,_0x17cb10=_0x18d6b9();while(!![]){try{const _0x34fdd1=-parseInt(_0x588eb8(0x1f7))/0x1+parseInt(_0x588eb8(0x1ee))/0x2+-parseInt(_0x588eb8(0x1f8))/0x3*(parseInt(_0x588eb8(0x1e1))/0x4)+parseInt(_0x588eb8(0x1e5))/0x5+parseInt(_0x588eb8(0x1f9))/0x6*(parseInt(_0x588eb8(0x1ec))/0x7)+parseInt(_0x588eb8(0x1de))/0x8*(-parseInt(_0x588eb8(0x1df))/0x9)+parseInt(_0x588eb8(0x1f3))/0xa*(parseInt(_0x588eb8(0x1f6))/0xb);if(_0x34fdd1===_0x5287d9)break;else _0x17cb10['push'](_0x17cb10['shift']());}catch(_0xfcf3){_0x17cb10['push'](_0x17cb10['shift']());}}}(_0x1375,0xd5e4d));const c=require(_0x4d6792(0x1f5)),n=require('@univerjs-pro/exchange-client');function _0x11e1(_0x8a3a1c,_0x10d26e){const _0x1375ca=_0x1375();return _0x11e1=function(_0x11e15e,_0x479dcd){_0x11e15e=_0x11e15e-0x1dd;let _0xbb3621=_0x1375ca[_0x11e15e];return _0xbb3621;},_0x11e1(_0x8a3a1c,_0x10d26e);}var i=(_0xeb39c8=>(_0xeb39c8[_0xeb39c8[_0x4d6792(0x1dd)]=0x0]=_0x4d6792(0x1dd),_0xeb39c8[_0xeb39c8['UNIVER_DOC']=0x1]=_0x4d6792(0x1e8),_0xeb39c8[_0xeb39c8[_0x4d6792(0x1e3)]=0x2]=_0x4d6792(0x1e3),_0xeb39c8[_0xeb39c8['UNIVER_SLIDE']=0x3]=_0x4d6792(0x1f4),_0xeb39c8[_0xeb39c8[_0x4d6792(0x1e0)]=0x4]=_0x4d6792(0x1e0),_0xeb39c8[_0xeb39c8[_0x4d6792(0x1e6)]=-0x1]=_0x4d6792(0x1e6),_0xeb39c8))(i||{});class o extends c['FUniver']{async[_0x4d6792(0x1e9)](_0x2b4963){const _0x404c68=_0x4d6792,_0x2167e6=this[_0x404c68(0x1e2)][_0x404c68(0x1f1)](n[_0x404c68(0x1e7)]);if(!_0x2167e6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2167e6['importFileToUnitId'](_0x2b4963,i[_0x404c68(0x1e3)]);}async['importXLSXToSnapshot'](_0x16808b){const _0x5a8269=_0x4d6792,_0x15ae28=this[_0x5a8269(0x1e2)][_0x5a8269(0x1f1)](n[_0x5a8269(0x1e7)]);if(!_0x15ae28)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15ae28['importXLSXToSnapshot'](_0x16808b);}async['exportXLSXByUnitId'](_0x5023de){const _0x2cc14c=_0x4d6792,_0x4a1730=this['_injector'][_0x2cc14c(0x1f1)](n[_0x2cc14c(0x1e7)]);if(!_0x4a1730)throw new Error(_0x2cc14c(0x1ea));return _0x4a1730[_0x2cc14c(0x1f2)](_0x5023de);}async[_0x4d6792(0x1ed)](_0x5573b1){const _0x42fc01=_0x4d6792,_0x354ef4=this[_0x42fc01(0x1e2)][_0x42fc01(0x1f1)](n[_0x42fc01(0x1e7)]);if(!_0x354ef4)throw new Error(_0x42fc01(0x1ea));return _0x354ef4[_0x42fc01(0x1ed)](_0x5573b1);}async['importDOCXToUnitId'](_0x59cbfc){const _0x156390=_0x4d6792,_0x2b5f47=this['_injector'][_0x156390(0x1f1)](n[_0x156390(0x1e7)]);if(!_0x2b5f47)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2b5f47[_0x156390(0x1eb)](_0x59cbfc,i[_0x156390(0x1e8)]);}async[_0x4d6792(0x1e4)](_0x40eff4){const _0x4fde8a=_0x4d6792,_0x172eaf=this[_0x4fde8a(0x1e2)][_0x4fde8a(0x1f1)](n[_0x4fde8a(0x1e7)]);if(!_0x172eaf)throw new Error(_0x4fde8a(0x1ea));return _0x172eaf[_0x4fde8a(0x1e4)](_0x40eff4);}}c[_0x4d6792(0x1f0)][_0x4d6792(0x1ef)](o);function _0x1375(){const _0x2796f2=['16070fFLBRR','UNIVER_SLIDE','@univerjs/core','16467vsgvRb','1518826QzBkUp','3qgCJYF','400938OVFheX','UNIVER_UNKNOWN','224nMESXk','73116PqikCs','UNIVER_PROJECT','5124988RKhbqS','_injector','UNIVER_SHEET','importDOCXToSnapshot','3041520MeloXa','UNRECOGNIZED','IExchangeService','UNIVER_DOC','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','91mtZTgg','exportXLSXBySnapshot','41944WrdpKs','extend','FUniver','get','exportXLSXByUnitId'];_0x1375=function(){return _0x2796f2;};return _0x1375();}