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

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 _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();}
1
+ 'use strict';function _0x55b8(_0x3a8292,_0x30e09e){const _0x5c7a86=_0x5c7a();return _0x55b8=function(_0x55b84c,_0x2acbbc){_0x55b84c=_0x55b84c-0x80;let _0x22450d=_0x5c7a86[_0x55b84c];return _0x22450d;},_0x55b8(_0x3a8292,_0x30e09e);}const _0x5e4a3c=_0x55b8;(function(_0x14ac70,_0x246ced){const _0x4a0b1c=_0x55b8,_0x3b3130=_0x14ac70();while(!![]){try{const _0x2ecd84=-parseInt(_0x4a0b1c(0x92))/0x1+-parseInt(_0x4a0b1c(0x81))/0x2+parseInt(_0x4a0b1c(0x87))/0x3*(-parseInt(_0x4a0b1c(0x89))/0x4)+-parseInt(_0x4a0b1c(0x98))/0x5+parseInt(_0x4a0b1c(0x84))/0x6+parseInt(_0x4a0b1c(0x96))/0x7*(-parseInt(_0x4a0b1c(0x93))/0x8)+-parseInt(_0x4a0b1c(0x8b))/0x9*(-parseInt(_0x4a0b1c(0x8d))/0xa);if(_0x2ecd84===_0x246ced)break;else _0x3b3130['push'](_0x3b3130['shift']());}catch(_0x1243a7){_0x3b3130['push'](_0x3b3130['shift']());}}}(_0x5c7a,0xb4c3c));const c=require('@univerjs/core'),n=require(_0x5e4a3c(0x86));function _0x5c7a(){const _0x191795=['1111974nlXHks','8UnCJND','get','IExchangeService','1078847uWzzxd','importDOCXToSnapshot','3053325KJOmoo','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','408564ZygvLQ','UNIVER_DOC','UNIVER_PROJECT','2680374RTnHFK','_injector','@univerjs-pro/exchange-client','127419wCwXYd','FUniver','16WkZTci','importDOCXToUnitId','22901553IOvnVP','UNIVER_UNKNOWN','10gbdMJv','UNIVER_SLIDE','importXLSXToUnitId','UNRECOGNIZED','UNIVER_SHEET'];_0x5c7a=function(){return _0x191795;};return _0x5c7a();}var i=(_0x450046=>(_0x450046[_0x450046[_0x5e4a3c(0x8c)]=0x0]=_0x5e4a3c(0x8c),_0x450046[_0x450046['UNIVER_DOC']=0x1]=_0x5e4a3c(0x82),_0x450046[_0x450046[_0x5e4a3c(0x91)]=0x2]=_0x5e4a3c(0x91),_0x450046[_0x450046[_0x5e4a3c(0x8e)]=0x3]=_0x5e4a3c(0x8e),_0x450046[_0x450046['UNIVER_PROJECT']=0x4]=_0x5e4a3c(0x83),_0x450046[_0x450046[_0x5e4a3c(0x90)]=-0x1]=_0x5e4a3c(0x90),_0x450046))(i||{});class o extends c[_0x5e4a3c(0x88)]{async[_0x5e4a3c(0x8f)](_0xd51c8b){const _0x3ab221=_0x5e4a3c,_0x4f5e87=this[_0x3ab221(0x85)][_0x3ab221(0x94)](n[_0x3ab221(0x95)]);if(!_0x4f5e87)throw new Error(_0x3ab221(0x80));return _0x4f5e87['importFileToUnitId'](_0xd51c8b,i[_0x3ab221(0x91)]);}async['importXLSXToSnapshot'](_0x568a3d){const _0x435e92=_0x5e4a3c,_0x4dd701=this[_0x435e92(0x85)][_0x435e92(0x94)](n[_0x435e92(0x95)]);if(!_0x4dd701)throw new Error(_0x435e92(0x80));return _0x4dd701['importXLSXToSnapshot'](_0x568a3d);}async['exportXLSXByUnitId'](_0x2699b8){const _0x3172fd=_0x5e4a3c,_0x10efb8=this[_0x3172fd(0x85)][_0x3172fd(0x94)](n[_0x3172fd(0x95)]);if(!_0x10efb8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x10efb8[_0x3172fd(0x99)](_0x2699b8);}async['exportXLSXBySnapshot'](_0x4b0aa7){const _0x10e29c=_0x5e4a3c,_0x32219e=this[_0x10e29c(0x85)][_0x10e29c(0x94)](n[_0x10e29c(0x95)]);if(!_0x32219e)throw new Error(_0x10e29c(0x80));return _0x32219e['exportXLSXBySnapshot'](_0x4b0aa7);}async[_0x5e4a3c(0x8a)](_0x519c1b){const _0x57b2e6=_0x5e4a3c,_0x3c484e=this[_0x57b2e6(0x85)][_0x57b2e6(0x94)](n[_0x57b2e6(0x95)]);if(!_0x3c484e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c484e['importFileToUnitId'](_0x519c1b,i[_0x57b2e6(0x82)]);}async['importDOCXToSnapshot'](_0x15032a){const _0x1642e1=_0x5e4a3c,_0x135d59=this[_0x1642e1(0x85)][_0x1642e1(0x94)](n[_0x1642e1(0x95)]);if(!_0x135d59)throw new Error(_0x1642e1(0x80));return _0x135d59[_0x1642e1(0x97)](_0x15032a);}}c[_0x5e4a3c(0x88)]['extend'](o);