@univerjs-pro/exchange-client 0.6.0-nightly.202502041606 → 0.6.0-nightly.202502051606

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 _0x5d96f=_0x4b42;(function(_0x331d07,_0x3c441d){const _0x44dcba=_0x4b42,_0xb0c9f9=_0x331d07();while(!![]){try{const _0x4410d7=parseInt(_0x44dcba(0x123))/0x1*(parseInt(_0x44dcba(0x107))/0x2)+parseInt(_0x44dcba(0x11b))/0x3+parseInt(_0x44dcba(0x10f))/0x4*(-parseInt(_0x44dcba(0x10a))/0x5)+-parseInt(_0x44dcba(0x104))/0x6+parseInt(_0x44dcba(0x10b))/0x7*(parseInt(_0x44dcba(0x10e))/0x8)+parseInt(_0x44dcba(0x118))/0x9*(parseInt(_0x44dcba(0x119))/0xa)+parseInt(_0x44dcba(0x11e))/0xb*(-parseInt(_0x44dcba(0x115))/0xc);if(_0x4410d7===_0x3c441d)break;else _0xb0c9f9['push'](_0xb0c9f9['shift']());}catch(_0x16a287){_0xb0c9f9['push'](_0xb0c9f9['shift']());}}}(_0x2e5e,0x5e2c9));const r=require(_0x5d96f(0x11a)),i=require(_0x5d96f(0x105));function _0x4b42(_0x266077,_0x654d4c){const _0x2e5e3c=_0x2e5e();return _0x4b42=function(_0x4b42ea,_0x3aa5ce){_0x4b42ea=_0x4b42ea-0x100;let _0x452b8b=_0x2e5e3c[_0x4b42ea];return _0x452b8b;},_0x4b42(_0x266077,_0x654d4c);}var o=(_0x4aae38=>(_0x4aae38[_0x4aae38[_0x5d96f(0x124)]=0x0]=_0x5d96f(0x124),_0x4aae38[_0x4aae38['UNIVER_DOC']=0x1]=_0x5d96f(0x113),_0x4aae38[_0x4aae38[_0x5d96f(0x120)]=0x2]='UNIVER_SHEET',_0x4aae38[_0x4aae38[_0x5d96f(0x114)]=0x3]=_0x5d96f(0x114),_0x4aae38[_0x4aae38[_0x5d96f(0x103)]=0x4]=_0x5d96f(0x103),_0x4aae38[_0x4aae38[_0x5d96f(0x11d)]=-0x1]=_0x5d96f(0x11d),_0x4aae38))(o||{});class c extends i[_0x5d96f(0x10d)]{async[_0x5d96f(0x116)](_0x1dd9dc){const _0x3392c7=_0x5d96f;return this[_0x3392c7(0x10c)](_0x1dd9dc);}async[_0x5d96f(0x10c)](_0x58856d){const _0x1740e9=_0x5d96f,_0x515f3a=this[_0x1740e9(0x101)][_0x1740e9(0x125)](r[_0x1740e9(0x112)]);if(!_0x515f3a)throw new Error(_0x1740e9(0x117));return _0x515f3a[_0x1740e9(0x110)](_0x58856d,o[_0x1740e9(0x120)]);}async[_0x5d96f(0x106)](_0x545533){const _0x173f24=_0x5d96f;return this[_0x173f24(0x109)](_0x545533);}async[_0x5d96f(0x109)](_0x4cdaa2){const _0x4db409=_0x5d96f,_0x97f638=this['_injector'][_0x4db409(0x125)](r[_0x4db409(0x112)]);if(!_0x97f638)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x97f638['importXLSXToSnapshot'](_0x4cdaa2);}async[_0x5d96f(0x121)](_0x19c1c1){const _0x1e37c3=_0x5d96f;return this[_0x1e37c3(0x11c)](_0x19c1c1);}async[_0x5d96f(0x11c)](_0x49b37e){const _0x468421=_0x5d96f,_0x75c735=this[_0x468421(0x101)]['get'](r[_0x468421(0x112)]);if(!_0x75c735)throw new Error(_0x468421(0x117));return _0x75c735[_0x468421(0x121)](_0x49b37e);}async[_0x5d96f(0x111)](_0x3a0286){return this['exportXLSXBySnapshotAsync'](_0x3a0286);}async[_0x5d96f(0x108)](_0x2c94da){const _0x27da0f=_0x5d96f,_0x16fb4c=this['_injector']['get'](r[_0x27da0f(0x112)]);if(!_0x16fb4c)throw new Error(_0x27da0f(0x117));return _0x16fb4c[_0x27da0f(0x111)](_0x2c94da);}async['importDOCXToUnitId'](_0x13577c){const _0x102080=_0x5d96f;return this[_0x102080(0x100)](_0x13577c);}async[_0x5d96f(0x100)](_0x3b9068){const _0x3d3d49=_0x5d96f,_0x51eb7b=this[_0x3d3d49(0x101)][_0x3d3d49(0x125)](r[_0x3d3d49(0x112)]);if(!_0x51eb7b)throw new Error(_0x3d3d49(0x117));return _0x51eb7b['importFileToUnitId'](_0x3b9068,o['UNIVER_DOC']);}async[_0x5d96f(0x11f)](_0x5b56fd){const _0x192fd2=_0x5d96f;return this[_0x192fd2(0x102)](_0x5b56fd);}async[_0x5d96f(0x102)](_0x5cd736){const _0x62e49e=_0x5d96f,_0x4a4ca6=this[_0x62e49e(0x101)][_0x62e49e(0x125)](r[_0x62e49e(0x112)]);if(!_0x4a4ca6)throw new Error(_0x62e49e(0x117));return _0x4a4ca6[_0x62e49e(0x11f)](_0x5cd736);}}function _0x2e5e(){const _0xc1f5c9=['importDOCXToSnapshot','UNIVER_SHEET','exportXLSXByUnitId','extend','266eLYLcg','UNIVER_UNKNOWN','get','importDOCXToUnitIdAsync','_injector','importDOCXToSnapshotAsync','UNIVER_PROJECT','3682878YcsWPb','@univerjs/core','importXLSXToSnapshot','4132hPRGUS','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','27385ZjzoHF','1317799YADXME','importXLSXToUnitIdAsync','FUniver','8smVIjq','344cXmLfx','importFileToUnitId','exportXLSXBySnapshot','IExchangeService','UNIVER_DOC','UNIVER_SLIDE','60dYPzDZ','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','54AhPGHm','1269960DddjKk','@univerjs-pro/exchange-client','1947729QRSeiA','exportXLSXByUnitIdAsync','UNRECOGNIZED','1492612lodLqU'];_0x2e5e=function(){return _0xc1f5c9;};return _0x2e5e();}i[_0x5d96f(0x10d)][_0x5d96f(0x122)](c);
1
+ 'use strict';const _0x2afd0f=_0x8981;(function(_0x2551ac,_0x5471ff){const _0x437ec1=_0x8981,_0x312e29=_0x2551ac();while(!![]){try{const _0xf5243=-parseInt(_0x437ec1(0x1a6))/0x1*(parseInt(_0x437ec1(0x1a3))/0x2)+parseInt(_0x437ec1(0x1b9))/0x3+-parseInt(_0x437ec1(0x19d))/0x4+parseInt(_0x437ec1(0x1b3))/0x5+parseInt(_0x437ec1(0x1b8))/0x6+-parseInt(_0x437ec1(0x19a))/0x7+-parseInt(_0x437ec1(0x19c))/0x8;if(_0xf5243===_0x5471ff)break;else _0x312e29['push'](_0x312e29['shift']());}catch(_0x4858d1){_0x312e29['push'](_0x312e29['shift']());}}}(_0x5f3b,0x3781c));function _0x5f3b(){const _0x24f950=['UNIVER_SLIDE','importXLSXToSnapshot','extend','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','get','UNRECOGNIZED','UNIVER_DOC','importFileToUnitId','896645TuxGtH','importXLSXToUnitIdAsync','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','2459556tERmSP','381666TEkddq','@univerjs/core','_injector','368977oLkGSd','exportXLSXBySnapshot','662712Vnlffz','1409280yUBgVP','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','UNIVER_PROJECT','importXLSXToSnapshotAsync','importDOCXToSnapshot','2IBmMUw','UNIVER_SHEET','exportXLSXByUnitId','1251NBNhNk','importDOCXToUnitId','UNIVER_UNKNOWN'];_0x5f3b=function(){return _0x24f950;};return _0x5f3b();}const r=require(_0x2afd0f(0x19e)),i=require(_0x2afd0f(0x1ba));function _0x8981(_0x269756,_0x2633aa){const _0x5f3b0d=_0x5f3b();return _0x8981=function(_0x8981af,_0x1b5005){_0x8981af=_0x8981af-0x19a;let _0x33598c=_0x5f3b0d[_0x8981af];return _0x33598c;},_0x8981(_0x269756,_0x2633aa);}var o=(_0x3d33bc=>(_0x3d33bc[_0x3d33bc[_0x2afd0f(0x1a8)]=0x0]=_0x2afd0f(0x1a8),_0x3d33bc[_0x3d33bc[_0x2afd0f(0x1b1)]=0x1]=_0x2afd0f(0x1b1),_0x3d33bc[_0x3d33bc['UNIVER_SHEET']=0x2]=_0x2afd0f(0x1a4),_0x3d33bc[_0x3d33bc['UNIVER_SLIDE']=0x3]=_0x2afd0f(0x1a9),_0x3d33bc[_0x3d33bc[_0x2afd0f(0x1a0)]=0x4]=_0x2afd0f(0x1a0),_0x3d33bc[_0x3d33bc['UNRECOGNIZED']=-0x1]=_0x2afd0f(0x1b0),_0x3d33bc))(o||{});class c extends i['FUniver']{async[_0x2afd0f(0x1b5)](_0x54f0a5){return this['importXLSXToUnitIdAsync'](_0x54f0a5);}async[_0x2afd0f(0x1b4)](_0x275e53){const _0x4441e6=_0x2afd0f,_0x25f782=this[_0x4441e6(0x1bb)][_0x4441e6(0x1af)](r[_0x4441e6(0x1b7)]);if(!_0x25f782)throw new Error(_0x4441e6(0x1b6));return _0x25f782[_0x4441e6(0x1b2)](_0x275e53,o[_0x4441e6(0x1a4)]);}async[_0x2afd0f(0x1aa)](_0x22e298){const _0x3e7ebc=_0x2afd0f;return this[_0x3e7ebc(0x1a1)](_0x22e298);}async[_0x2afd0f(0x1a1)](_0x24283c){const _0x3fb42a=_0x2afd0f,_0x209881=this[_0x3fb42a(0x1bb)]['get'](r[_0x3fb42a(0x1b7)]);if(!_0x209881)throw new Error(_0x3fb42a(0x1b6));return _0x209881[_0x3fb42a(0x1aa)](_0x24283c);}async[_0x2afd0f(0x1a5)](_0x57f1c9){const _0x3eb866=_0x2afd0f;return this[_0x3eb866(0x19f)](_0x57f1c9);}async['exportXLSXByUnitIdAsync'](_0x39d191){const _0x25bb30=_0x2afd0f,_0x12719b=this[_0x25bb30(0x1bb)][_0x25bb30(0x1af)](r['IExchangeService']);if(!_0x12719b)throw new Error(_0x25bb30(0x1b6));return _0x12719b[_0x25bb30(0x1a5)](_0x39d191);}async['exportXLSXBySnapshot'](_0x495834){const _0x124a42=_0x2afd0f;return this[_0x124a42(0x1ad)](_0x495834);}async['exportXLSXBySnapshotAsync'](_0x53f746){const _0x4f189c=_0x2afd0f,_0x1a9289=this['_injector'][_0x4f189c(0x1af)](r[_0x4f189c(0x1b7)]);if(!_0x1a9289)throw new Error(_0x4f189c(0x1b6));return _0x1a9289[_0x4f189c(0x19b)](_0x53f746);}async[_0x2afd0f(0x1a7)](_0x93c924){const _0x4dfca7=_0x2afd0f;return this[_0x4dfca7(0x1ac)](_0x93c924);}async[_0x2afd0f(0x1ac)](_0xa16a75){const _0x427c46=_0x2afd0f,_0x4ce9bf=this[_0x427c46(0x1bb)][_0x427c46(0x1af)](r[_0x427c46(0x1b7)]);if(!_0x4ce9bf)throw new Error(_0x427c46(0x1b6));return _0x4ce9bf[_0x427c46(0x1b2)](_0xa16a75,o[_0x427c46(0x1b1)]);}async[_0x2afd0f(0x1a2)](_0xd87a8){const _0x17f05f=_0x2afd0f;return this[_0x17f05f(0x1ae)](_0xd87a8);}async[_0x2afd0f(0x1ae)](_0x17e12e){const _0x5d0cea=_0x2afd0f,_0x500dfc=this[_0x5d0cea(0x1bb)][_0x5d0cea(0x1af)](r['IExchangeService']);if(!_0x500dfc)throw new Error(_0x5d0cea(0x1b6));return _0x500dfc[_0x5d0cea(0x1a2)](_0x17e12e);}}i['FUniver'][_0x2afd0f(0x1ab)](c);