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

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 _0x45d28f=_0x3f64;(function(_0x370e66,_0x25a1c2){const _0x7f6c11=_0x3f64,_0x1423e9=_0x370e66();while(!![]){try{const _0x15f052=-parseInt(_0x7f6c11(0x192))/0x1*(-parseInt(_0x7f6c11(0x19f))/0x2)+parseInt(_0x7f6c11(0x1a1))/0x3*(parseInt(_0x7f6c11(0x1a4))/0x4)+parseInt(_0x7f6c11(0x1a6))/0x5+-parseInt(_0x7f6c11(0x190))/0x6+parseInt(_0x7f6c11(0x199))/0x7*(parseInt(_0x7f6c11(0x18e))/0x8)+parseInt(_0x7f6c11(0x1a0))/0x9*(-parseInt(_0x7f6c11(0x191))/0xa)+parseInt(_0x7f6c11(0x19d))/0xb;if(_0x15f052===_0x25a1c2)break;else _0x1423e9['push'](_0x1423e9['shift']());}catch(_0x8d58f4){_0x1423e9['push'](_0x1423e9['shift']());}}}(_0x596c,0x8bf50));function _0x3f64(_0x480e5e,_0x32b9d4){const _0x596c2f=_0x596c();return _0x3f64=function(_0x3f643e,_0x33f861){_0x3f643e=_0x3f643e-0x18e;let _0x46ec43=_0x596c2f[_0x3f643e];return _0x46ec43;},_0x3f64(_0x480e5e,_0x32b9d4);}function _0x596c(){const _0x21fbda=['10ETbzJR','117rUyIEI','6DAmoDq','importXLSXToSnapshot','get','1461864qeXFEe','UNIVER_SLIDE','852880ZUncPS','UNIVER_UNKNOWN','UNRECOGNIZED','6744opmZeM','UNIVER_PROJECT','3824562xdkXpJ','594710vtKSKT','27941higGmi','UNIVER_SHEET','exportXLSXByUnitId','_injector','IExchangeService','UNIVER_DOC','importXLSXToUnitId','4501NAoiyS','importDOCXToSnapshot','exportXLSXBySnapshot','importFileToUnitId','4406072iITsUg','The\x20exchange\x20service\x20is\x20not\x20available'];_0x596c=function(){return _0x21fbda;};return _0x596c();}const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');var i=(_0x4e8e06=>(_0x4e8e06[_0x4e8e06[_0x45d28f(0x1a7)]=0x0]=_0x45d28f(0x1a7),_0x4e8e06[_0x4e8e06[_0x45d28f(0x197)]=0x1]=_0x45d28f(0x197),_0x4e8e06[_0x4e8e06[_0x45d28f(0x193)]=0x2]=_0x45d28f(0x193),_0x4e8e06[_0x4e8e06[_0x45d28f(0x1a5)]=0x3]=_0x45d28f(0x1a5),_0x4e8e06[_0x4e8e06[_0x45d28f(0x18f)]=0x4]=_0x45d28f(0x18f),_0x4e8e06[_0x4e8e06[_0x45d28f(0x1a8)]=-0x1]=_0x45d28f(0x1a8),_0x4e8e06))(i||{});class o extends c['FUniver']{async[_0x45d28f(0x198)](_0x26f830){const _0x1ebe95=_0x45d28f,_0x5a8e6a=this[_0x1ebe95(0x195)][_0x1ebe95(0x1a3)](n[_0x1ebe95(0x196)]);if(!_0x5a8e6a)throw new Error(_0x1ebe95(0x19e));return _0x5a8e6a[_0x1ebe95(0x19c)](_0x26f830,i[_0x1ebe95(0x193)]);}async[_0x45d28f(0x1a2)](_0x407c0e){const _0x3a2d3d=_0x45d28f,_0x4586c0=this[_0x3a2d3d(0x195)][_0x3a2d3d(0x1a3)](n['IExchangeService']);if(!_0x4586c0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4586c0['importXLSXToSnapshot'](_0x407c0e);}async[_0x45d28f(0x194)](_0x1ec158){const _0x5e4beb=_0x45d28f,_0x2b3821=this['_injector'][_0x5e4beb(0x1a3)](n[_0x5e4beb(0x196)]);if(!_0x2b3821)throw new Error(_0x5e4beb(0x19e));return _0x2b3821[_0x5e4beb(0x194)](_0x1ec158);}async[_0x45d28f(0x19b)](_0x254853){const _0x1d66d3=_0x45d28f,_0x191ac4=this['_injector'][_0x1d66d3(0x1a3)](n[_0x1d66d3(0x196)]);if(!_0x191ac4)throw new Error(_0x1d66d3(0x19e));return _0x191ac4[_0x1d66d3(0x19b)](_0x254853);}async['importDOCXToUnitId'](_0x56c5c){const _0x9bbea=_0x45d28f,_0x2c6025=this[_0x9bbea(0x195)][_0x9bbea(0x1a3)](n[_0x9bbea(0x196)]);if(!_0x2c6025)throw new Error(_0x9bbea(0x19e));return _0x2c6025[_0x9bbea(0x19c)](_0x56c5c,i[_0x9bbea(0x197)]);}async[_0x45d28f(0x19a)](_0x26d8c6){const _0x1ec994=_0x45d28f,_0x422988=this[_0x1ec994(0x195)][_0x1ec994(0x1a3)](n[_0x1ec994(0x196)]);if(!_0x422988)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x422988[_0x1ec994(0x19a)](_0x26d8c6);}}c['FUniver']['extend'](o);