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

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 _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);
1
+ 'use strict';const _0x581297=_0x41cb;(function(_0xe6fb97,_0x340877){const _0x1003ed=_0x41cb,_0x321baf=_0xe6fb97();while(!![]){try{const _0x32c0ac=-parseInt(_0x1003ed(0x13c))/0x1*(-parseInt(_0x1003ed(0x12a))/0x2)+parseInt(_0x1003ed(0x13f))/0x3+-parseInt(_0x1003ed(0x12b))/0x4*(-parseInt(_0x1003ed(0x12f))/0x5)+-parseInt(_0x1003ed(0x135))/0x6+parseInt(_0x1003ed(0x138))/0x7+parseInt(_0x1003ed(0x139))/0x8+-parseInt(_0x1003ed(0x137))/0x9;if(_0x32c0ac===_0x340877)break;else _0x321baf['push'](_0x321baf['shift']());}catch(_0x5b1153){_0x321baf['push'](_0x321baf['shift']());}}}(_0x31fb,0xef4f1));const c=require(_0x581297(0x136)),n=require('@univerjs-pro/exchange-client');function _0x41cb(_0x57d87d,_0x2cd8a0){const _0x31fbbc=_0x31fb();return _0x41cb=function(_0x41cb43,_0x2f4d65){_0x41cb43=_0x41cb43-0x129;let _0x344b79=_0x31fbbc[_0x41cb43];return _0x344b79;},_0x41cb(_0x57d87d,_0x2cd8a0);}var i=(_0x40778d=>(_0x40778d[_0x40778d[_0x581297(0x141)]=0x0]=_0x581297(0x141),_0x40778d[_0x40778d[_0x581297(0x130)]=0x1]=_0x581297(0x130),_0x40778d[_0x40778d[_0x581297(0x12e)]=0x2]='UNIVER_SHEET',_0x40778d[_0x40778d[_0x581297(0x12c)]=0x3]=_0x581297(0x12c),_0x40778d[_0x40778d['UNIVER_PROJECT']=0x4]=_0x581297(0x140),_0x40778d[_0x40778d[_0x581297(0x143)]=-0x1]=_0x581297(0x143),_0x40778d))(i||{});function _0x31fb(){const _0x3fb3dd=['extend','4962135rcqrVw','UNIVER_PROJECT','UNIVER_UNKNOWN','exportXLSXByUnitId','UNRECOGNIZED','FUniver','2KiSAtM','12zscwCm','UNIVER_SLIDE','_injector','UNIVER_SHEET','287285qCEPql','UNIVER_DOC','IExchangeService','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','10265502DVeSvL','@univerjs/core','11328210hDQeuj','2680804fCrhQG','7185456sXWOEK','importFileToUnitId','get','842246ZNVAvQ','importDOCXToSnapshot'];_0x31fb=function(){return _0x3fb3dd;};return _0x31fb();}class o extends c['FUniver']{async['importXLSXToUnitId'](_0x4a5a90){const _0x3e3cc1=_0x581297,_0x4c4ffe=this[_0x3e3cc1(0x12d)][_0x3e3cc1(0x13b)](n[_0x3e3cc1(0x131)]);if(!_0x4c4ffe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4c4ffe[_0x3e3cc1(0x13a)](_0x4a5a90,i[_0x3e3cc1(0x12e)]);}async[_0x581297(0x132)](_0xa9e128){const _0x2a3d8a=_0x581297,_0x3af5c6=this[_0x2a3d8a(0x12d)][_0x2a3d8a(0x13b)](n['IExchangeService']);if(!_0x3af5c6)throw new Error(_0x2a3d8a(0x133));return _0x3af5c6[_0x2a3d8a(0x132)](_0xa9e128);}async[_0x581297(0x142)](_0x54111c){const _0x5ef3a1=_0x581297,_0x3f6934=this[_0x5ef3a1(0x12d)]['get'](n[_0x5ef3a1(0x131)]);if(!_0x3f6934)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3f6934[_0x5ef3a1(0x142)](_0x54111c);}async['exportXLSXBySnapshot'](_0x50b100){const _0xec7a=_0x581297,_0x1cfac6=this[_0xec7a(0x12d)][_0xec7a(0x13b)](n[_0xec7a(0x131)]);if(!_0x1cfac6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1cfac6['exportXLSXBySnapshot'](_0x50b100);}async[_0x581297(0x134)](_0x23010d){const _0x1fb493=_0x581297,_0x6e58d=this[_0x1fb493(0x12d)][_0x1fb493(0x13b)](n['IExchangeService']);if(!_0x6e58d)throw new Error(_0x1fb493(0x133));return _0x6e58d[_0x1fb493(0x13a)](_0x23010d,i[_0x1fb493(0x130)]);}async[_0x581297(0x13d)](_0x1df33e){const _0x1aa241=_0x581297,_0x20430b=this[_0x1aa241(0x12d)][_0x1aa241(0x13b)](n[_0x1aa241(0x131)]);if(!_0x20430b)throw new Error(_0x1aa241(0x133));return _0x20430b[_0x1aa241(0x13d)](_0x1df33e);}}c[_0x581297(0x129)][_0x581297(0x13e)](o);