@univerjs-pro/exchange-client 0.5.2-nightly.202412301606 → 0.5.2-nightly.202501011606

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 _0x1628(_0x4b0a22,_0x48c8d4){const _0x2d8cd0=_0x2d8c();return _0x1628=function(_0x162886,_0x59c59a){_0x162886=_0x162886-0x96;let _0x204f1a=_0x2d8cd0[_0x162886];return _0x204f1a;},_0x1628(_0x4b0a22,_0x48c8d4);}const _0x12dd6f=_0x1628;(function(_0x3e424a,_0x510f3b){const _0x363bec=_0x1628,_0x46dd05=_0x3e424a();while(!![]){try{const _0xe20835=parseInt(_0x363bec(0xa0))/0x1*(parseInt(_0x363bec(0xa9))/0x2)+parseInt(_0x363bec(0x96))/0x3+parseInt(_0x363bec(0xb4))/0x4*(parseInt(_0x363bec(0xa6))/0x5)+parseInt(_0x363bec(0x9c))/0x6*(-parseInt(_0x363bec(0xae))/0x7)+-parseInt(_0x363bec(0x98))/0x8*(parseInt(_0x363bec(0x97))/0x9)+parseInt(_0x363bec(0xa4))/0xa+-parseInt(_0x363bec(0x9e))/0xb*(parseInt(_0x363bec(0xa5))/0xc);if(_0xe20835===_0x510f3b)break;else _0x46dd05['push'](_0x46dd05['shift']());}catch(_0x533f72){_0x46dd05['push'](_0x46dd05['shift']());}}}(_0x2d8c,0xe39e8));const c=require(_0x12dd6f(0x99)),n=require('@univerjs-pro/exchange-client');function _0x2d8c(){const _0x3ea230=['UNRECOGNIZED','importDOCXToUnitId','get','14IALJvN','_injector','UNIVER_SHEET','importFileToUnitId','exportXLSXByUnitId','extend','280372ZqeSap','IExchangeService','3579978MCnPVM','162JLYehw','465848zRLTVU','@univerjs/core','exportXLSXBySnapshot','UNIVER_DOC','4675566KgsWTp','UNIVER_UNKNOWN','14981021sEltrp','The\x20exchange\x20service\x20is\x20not\x20available','6705QUXujw','FUniver','importXLSXToUnitId','UNIVER_PROJECT','17491660CBoYDW','12zXimCo','45VRtLAu','importDOCXToSnapshot','UNIVER_SLIDE','396HDvrvv','importXLSXToSnapshot'];_0x2d8c=function(){return _0x3ea230;};return _0x2d8c();}var i=(_0x404d0e=>(_0x404d0e[_0x404d0e[_0x12dd6f(0x9d)]=0x0]=_0x12dd6f(0x9d),_0x404d0e[_0x404d0e[_0x12dd6f(0x9b)]=0x1]=_0x12dd6f(0x9b),_0x404d0e[_0x404d0e[_0x12dd6f(0xb0)]=0x2]=_0x12dd6f(0xb0),_0x404d0e[_0x404d0e[_0x12dd6f(0xa8)]=0x3]=_0x12dd6f(0xa8),_0x404d0e[_0x404d0e[_0x12dd6f(0xa3)]=0x4]=_0x12dd6f(0xa3),_0x404d0e[_0x404d0e['UNRECOGNIZED']=-0x1]=_0x12dd6f(0xab),_0x404d0e))(i||{});class o extends c[_0x12dd6f(0xa1)]{async[_0x12dd6f(0xa2)](_0x48faac){const _0x352068=_0x12dd6f,_0x59b0a0=this['_injector'][_0x352068(0xad)](n[_0x352068(0xb5)]);if(!_0x59b0a0)throw new Error(_0x352068(0x9f));return _0x59b0a0[_0x352068(0xb1)](_0x48faac,i[_0x352068(0xb0)]);}async[_0x12dd6f(0xaa)](_0x8e0d14){const _0x19ba80=_0x12dd6f,_0x464ccc=this[_0x19ba80(0xaf)][_0x19ba80(0xad)](n['IExchangeService']);if(!_0x464ccc)throw new Error(_0x19ba80(0x9f));return _0x464ccc['importXLSXToSnapshot'](_0x8e0d14);}async[_0x12dd6f(0xb2)](_0x53cdb3){const _0x53c344=_0x12dd6f,_0x1b4b3b=this[_0x53c344(0xaf)]['get'](n[_0x53c344(0xb5)]);if(!_0x1b4b3b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b4b3b[_0x53c344(0xb2)](_0x53cdb3);}async[_0x12dd6f(0x9a)](_0x43b440){const _0x4ae76c=_0x12dd6f,_0x1ec684=this[_0x4ae76c(0xaf)][_0x4ae76c(0xad)](n[_0x4ae76c(0xb5)]);if(!_0x1ec684)throw new Error(_0x4ae76c(0x9f));return _0x1ec684[_0x4ae76c(0x9a)](_0x43b440);}async[_0x12dd6f(0xac)](_0x4da7d7){const _0x35481b=_0x12dd6f,_0x1fda79=this[_0x35481b(0xaf)][_0x35481b(0xad)](n[_0x35481b(0xb5)]);if(!_0x1fda79)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1fda79[_0x35481b(0xb1)](_0x4da7d7,i['UNIVER_DOC']);}async[_0x12dd6f(0xa7)](_0x5d3d06){const _0xfbbe34=_0x12dd6f,_0xff188c=this[_0xfbbe34(0xaf)][_0xfbbe34(0xad)](n[_0xfbbe34(0xb5)]);if(!_0xff188c)throw new Error(_0xfbbe34(0x9f));return _0xff188c[_0xfbbe34(0xa7)](_0x5d3d06);}}c[_0x12dd6f(0xa1)][_0x12dd6f(0xb3)](o);
1
+ 'use strict';const _0x381076=_0x34a2;(function(_0x518f65,_0x4295ad){const _0x8ba658=_0x34a2,_0x5105c0=_0x518f65();while(!![]){try{const _0x20e6e1=-parseInt(_0x8ba658(0x162))/0x1*(parseInt(_0x8ba658(0x17d))/0x2)+-parseInt(_0x8ba658(0x16e))/0x3*(parseInt(_0x8ba658(0x165))/0x4)+parseInt(_0x8ba658(0x168))/0x5+-parseInt(_0x8ba658(0x16d))/0x6+parseInt(_0x8ba658(0x15f))/0x7+-parseInt(_0x8ba658(0x16b))/0x8*(-parseInt(_0x8ba658(0x164))/0x9)+parseInt(_0x8ba658(0x15e))/0xa*(parseInt(_0x8ba658(0x171))/0xb);if(_0x20e6e1===_0x4295ad)break;else _0x5105c0['push'](_0x5105c0['shift']());}catch(_0x18516c){_0x5105c0['push'](_0x5105c0['shift']());}}}(_0x1302,0x755b2));function _0x1302(){const _0x3d5145=['UNIVER_DOC','UNIVER_SHEET','importDOCXToSnapshot','UNIVER_UNKNOWN','_injector','UNIVER_PROJECT','IExchangeService','importFileToUnitId','@univerjs-pro/exchange-client','exportXLSXByUnitId','105988BnowCX','10dUJkIC','6266897jxHhbX','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','10HGgOIJ','@univerjs/core','9bWhCLr','4qHlLor','importDOCXToUnitId','extend','1495285lzuYLw','importXLSXToSnapshot','UNRECOGNIZED','5654072kEJSbU','UNIVER_SLIDE','3525078vRHZeW','2632671bBueER','importXLSXToUnitId','get','6320743BvVkLU','exportXLSXBySnapshot'];_0x1302=function(){return _0x3d5145;};return _0x1302();}function _0x34a2(_0x49cb9b,_0x300486){const _0x1302ed=_0x1302();return _0x34a2=function(_0x34a208,_0x52f9ef){_0x34a208=_0x34a208-0x15e;let _0x25b008=_0x1302ed[_0x34a208];return _0x25b008;},_0x34a2(_0x49cb9b,_0x300486);}const c=require(_0x381076(0x163)),n=require(_0x381076(0x17b));var i=(_0x363aae=>(_0x363aae[_0x363aae[_0x381076(0x176)]=0x0]='UNIVER_UNKNOWN',_0x363aae[_0x363aae['UNIVER_DOC']=0x1]=_0x381076(0x173),_0x363aae[_0x363aae[_0x381076(0x174)]=0x2]=_0x381076(0x174),_0x363aae[_0x363aae[_0x381076(0x16c)]=0x3]='UNIVER_SLIDE',_0x363aae[_0x363aae[_0x381076(0x178)]=0x4]=_0x381076(0x178),_0x363aae[_0x363aae[_0x381076(0x16a)]=-0x1]=_0x381076(0x16a),_0x363aae))(i||{});class o extends c[_0x381076(0x161)]{async[_0x381076(0x16f)](_0x50a07b){const _0x1fe3bc=_0x381076,_0x82c657=this['_injector'][_0x1fe3bc(0x170)](n['IExchangeService']);if(!_0x82c657)throw new Error(_0x1fe3bc(0x160));return _0x82c657['importFileToUnitId'](_0x50a07b,i['UNIVER_SHEET']);}async[_0x381076(0x169)](_0x5e520a){const _0x4598a4=_0x381076,_0x197bd5=this[_0x4598a4(0x177)]['get'](n[_0x4598a4(0x179)]);if(!_0x197bd5)throw new Error(_0x4598a4(0x160));return _0x197bd5[_0x4598a4(0x169)](_0x5e520a);}async[_0x381076(0x17c)](_0xa51015){const _0x1c0ae9=_0x381076,_0x1c9a96=this[_0x1c0ae9(0x177)][_0x1c0ae9(0x170)](n[_0x1c0ae9(0x179)]);if(!_0x1c9a96)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1c9a96[_0x1c0ae9(0x17c)](_0xa51015);}async[_0x381076(0x172)](_0x234b45){const _0x10668e=_0x381076,_0x2188e5=this[_0x10668e(0x177)][_0x10668e(0x170)](n[_0x10668e(0x179)]);if(!_0x2188e5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2188e5['exportXLSXBySnapshot'](_0x234b45);}async[_0x381076(0x166)](_0x2580a6){const _0x3cdec5=_0x381076,_0x589935=this[_0x3cdec5(0x177)][_0x3cdec5(0x170)](n[_0x3cdec5(0x179)]);if(!_0x589935)throw new Error(_0x3cdec5(0x160));return _0x589935[_0x3cdec5(0x17a)](_0x2580a6,i[_0x3cdec5(0x173)]);}async[_0x381076(0x175)](_0x3770c5){const _0x438c5e=_0x381076,_0x5a9f86=this[_0x438c5e(0x177)][_0x438c5e(0x170)](n[_0x438c5e(0x179)]);if(!_0x5a9f86)throw new Error(_0x438c5e(0x160));return _0x5a9f86[_0x438c5e(0x175)](_0x3770c5);}}c[_0x381076(0x161)][_0x381076(0x167)](o);