@univerjs-pro/exchange-client 0.5.5-nightly.202501220324 → 0.5.5-nightly.202501231606

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 _0x5e1d43=_0x3f9d;(function(_0x46b778,_0x48300d){const _0x333d64=_0x3f9d,_0x188195=_0x46b778();while(!![]){try{const _0x411ef1=parseInt(_0x333d64(0xa6))/0x1+-parseInt(_0x333d64(0xb6))/0x2*(parseInt(_0x333d64(0xb1))/0x3)+-parseInt(_0x333d64(0x9a))/0x4+parseInt(_0x333d64(0xa4))/0x5+-parseInt(_0x333d64(0x9c))/0x6+-parseInt(_0x333d64(0xa8))/0x7*(-parseInt(_0x333d64(0x96))/0x8)+parseInt(_0x333d64(0xa1))/0x9;if(_0x411ef1===_0x48300d)break;else _0x188195['push'](_0x188195['shift']());}catch(_0x465ff9){_0x188195['push'](_0x188195['shift']());}}}(_0x3e45,0x7ee98));function _0x3f9d(_0x763bb9,_0xb4f2cb){const _0x3e45c5=_0x3e45();return _0x3f9d=function(_0x3f9d35,_0x3cca66){_0x3f9d35=_0x3f9d35-0x96;let _0x2a04e2=_0x3e45c5[_0x3f9d35];return _0x2a04e2;},_0x3f9d(_0x763bb9,_0xb4f2cb);}function _0x3e45(){const _0x29d98b=['9819063NtedSC','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','1284185HfKNID','exportXLSXBySnapshotAsync','535789rJSznu','importXLSXToUnitId','10717wxKeNE','importFileToUnitId','importDOCXToUnitIdAsync','get','UNIVER_PROJECT','importDOCXToUnitId','importDOCXToSnapshotAsync','_injector','exportXLSXByUnitIdAsync','21lkDECM','defineProperty','IExchangeService','exportXLSXByUnitId','name','219052bcotUO','FUniverExchangeClientMixin','UNIVER_DOC','UNIVER_SHEET','1240qAIBDu','UNIVER_UNKNOWN','exportXLSXBySnapshot','extend','1666480ZzJpMP','UNRECOGNIZED','2506824AkuRLf','importXLSXToSnapshot','UNIVER_SLIDE','importXLSXToSnapshotAsync','FUniver'];_0x3e45=function(){return _0x29d98b;};return _0x3e45();}var __defProp=Object[_0x5e1d43(0xb2)],__name=(_0x546608,_0x11bd05)=>__defProp(_0x546608,_0x5e1d43(0xb5),{'value':_0x11bd05,'configurable':!0x0});const exchangeClient=require('@univerjs-pro/exchange-client'),core=require('@univerjs/core');var UniverType=(_0x230047=>(_0x230047[_0x230047[_0x5e1d43(0x97)]=0x0]=_0x5e1d43(0x97),_0x230047[_0x230047[_0x5e1d43(0xb8)]=0x1]=_0x5e1d43(0xb8),_0x230047[_0x230047[_0x5e1d43(0xb9)]=0x2]='UNIVER_SHEET',_0x230047[_0x230047[_0x5e1d43(0x9e)]=0x3]=_0x5e1d43(0x9e),_0x230047[_0x230047[_0x5e1d43(0xac)]=0x4]=_0x5e1d43(0xac),_0x230047[_0x230047[_0x5e1d43(0x9b)]=-0x1]=_0x5e1d43(0x9b),_0x230047))(UniverType||{});const _FUniverExchangeClientMixin=class _FUniverExchangeClientMixin extends core[_0x5e1d43(0xa0)]{async[_0x5e1d43(0xa7)](_0x443952){const _0x439233=_0x5e1d43;return this[_0x439233(0xa3)](_0x443952);}async['importXLSXToUnitIdAsync'](_0x304e49){const _0xb4d425=_0x5e1d43,_0x28f35e=this['_injector'][_0xb4d425(0xab)](exchangeClient['IExchangeService']);if(!_0x28f35e)throw new Error(_0xb4d425(0xa2));return _0x28f35e[_0xb4d425(0xa9)](_0x304e49,UniverType[_0xb4d425(0xb9)]);}async[_0x5e1d43(0x9d)](_0x17f5b5){const _0x452c23=_0x5e1d43;return this[_0x452c23(0x9f)](_0x17f5b5);}async[_0x5e1d43(0x9f)](_0x4d1c1e){const _0x366865=_0x5e1d43,_0x59c0e1=this['_injector'][_0x366865(0xab)](exchangeClient['IExchangeService']);if(!_0x59c0e1)throw new Error(_0x366865(0xa2));return _0x59c0e1['importXLSXToSnapshot'](_0x4d1c1e);}async[_0x5e1d43(0xb4)](_0x448db0){const _0x21ad46=_0x5e1d43;return this[_0x21ad46(0xb0)](_0x448db0);}async[_0x5e1d43(0xb0)](_0x5ee186){const _0x28af02=_0x5e1d43,_0x286c6d=this['_injector'][_0x28af02(0xab)](exchangeClient[_0x28af02(0xb3)]);if(!_0x286c6d)throw new Error(_0x28af02(0xa2));return _0x286c6d[_0x28af02(0xb4)](_0x5ee186);}async['exportXLSXBySnapshot'](_0x2e2ad1){const _0x389479=_0x5e1d43;return this[_0x389479(0xa5)](_0x2e2ad1);}async[_0x5e1d43(0xa5)](_0xf9be6){const _0x5af990=_0x5e1d43,_0x1284c3=this['_injector'][_0x5af990(0xab)](exchangeClient[_0x5af990(0xb3)]);if(!_0x1284c3)throw new Error(_0x5af990(0xa2));return _0x1284c3[_0x5af990(0x98)](_0xf9be6);}async[_0x5e1d43(0xad)](_0x5c45c4){const _0xd65586=_0x5e1d43;return this[_0xd65586(0xaa)](_0x5c45c4);}async[_0x5e1d43(0xaa)](_0x1caa79){const _0x51f465=_0x5e1d43,_0x427e09=this[_0x51f465(0xaf)][_0x51f465(0xab)](exchangeClient[_0x51f465(0xb3)]);if(!_0x427e09)throw new Error(_0x51f465(0xa2));return _0x427e09['importFileToUnitId'](_0x1caa79,UniverType[_0x51f465(0xb8)]);}async['importDOCXToSnapshot'](_0x1ba4b2){const _0x5bcc9b=_0x5e1d43;return this[_0x5bcc9b(0xae)](_0x1ba4b2);}async[_0x5e1d43(0xae)](_0x34c737){const _0x94e48=_0x5e1d43,_0x409159=this[_0x94e48(0xaf)][_0x94e48(0xab)](exchangeClient[_0x94e48(0xb3)]);if(!_0x409159)throw new Error(_0x94e48(0xa2));return _0x409159['importDOCXToSnapshot'](_0x34c737);}};__name(_FUniverExchangeClientMixin,_0x5e1d43(0xb7));let FUniverExchangeClientMixin=_FUniverExchangeClientMixin;core['FUniver'][_0x5e1d43(0x99)](FUniverExchangeClientMixin);
1
+ 'use strict';const _0x362aa2=_0x2135;(function(_0x4a4f2d,_0x5c4dde){const _0x55b9b4=_0x2135,_0x30d1ef=_0x4a4f2d();while(!![]){try{const _0xfccd0=parseInt(_0x55b9b4(0x16e))/0x1+-parseInt(_0x55b9b4(0x153))/0x2+parseInt(_0x55b9b4(0x16a))/0x3+-parseInt(_0x55b9b4(0x165))/0x4*(-parseInt(_0x55b9b4(0x15c))/0x5)+parseInt(_0x55b9b4(0x161))/0x6*(-parseInt(_0x55b9b4(0x152))/0x7)+-parseInt(_0x55b9b4(0x163))/0x8+parseInt(_0x55b9b4(0x154))/0x9;if(_0xfccd0===_0x5c4dde)break;else _0x30d1ef['push'](_0x30d1ef['shift']());}catch(_0x534fc0){_0x30d1ef['push'](_0x30d1ef['shift']());}}}(_0xf868,0x85ce4));var __defProp=Object['defineProperty'],__name=(_0x5255ee,_0x15d168)=>__defProp(_0x5255ee,_0x362aa2(0x15a),{'value':_0x15d168,'configurable':!0x0});const exchangeClient=require(_0x362aa2(0x156)),core=require(_0x362aa2(0x158));var UniverType=(_0x56c4d3=>(_0x56c4d3[_0x56c4d3[_0x362aa2(0x15e)]=0x0]=_0x362aa2(0x15e),_0x56c4d3[_0x56c4d3[_0x362aa2(0x166)]=0x1]=_0x362aa2(0x166),_0x56c4d3[_0x56c4d3[_0x362aa2(0x162)]=0x2]=_0x362aa2(0x162),_0x56c4d3[_0x56c4d3['UNIVER_SLIDE']=0x3]=_0x362aa2(0x164),_0x56c4d3[_0x56c4d3[_0x362aa2(0x155)]=0x4]=_0x362aa2(0x155),_0x56c4d3[_0x56c4d3[_0x362aa2(0x15b)]=-0x1]='UNRECOGNIZED',_0x56c4d3))(UniverType||{});const _FUniverExchangeClientMixin=class _FUniverExchangeClientMixin extends core['FUniver']{async['importXLSXToUnitId'](_0x29be73){const _0x442a06=_0x362aa2;return this[_0x442a06(0x168)](_0x29be73);}async['importXLSXToUnitIdAsync'](_0x2d6b24){const _0x13b361=_0x362aa2,_0x4904b8=this[_0x13b361(0x169)]['get'](exchangeClient[_0x13b361(0x160)]);if(!_0x4904b8)throw new Error(_0x13b361(0x16d));return _0x4904b8[_0x13b361(0x14f)](_0x2d6b24,UniverType[_0x13b361(0x162)]);}async[_0x362aa2(0x157)](_0x250f5c){const _0x287978=_0x362aa2;return this[_0x287978(0x150)](_0x250f5c);}async['importXLSXToSnapshotAsync'](_0x4d143e){const _0x344596=_0x362aa2,_0x5026ec=this['_injector'][_0x344596(0x15d)](exchangeClient[_0x344596(0x160)]);if(!_0x5026ec)throw new Error(_0x344596(0x16d));return _0x5026ec[_0x344596(0x157)](_0x4d143e);}async[_0x362aa2(0x167)](_0xbf38f1){return this['exportXLSXByUnitIdAsync'](_0xbf38f1);}async['exportXLSXByUnitIdAsync'](_0x53dbce){const _0x313b4c=_0x362aa2,_0x1713e7=this[_0x313b4c(0x169)]['get'](exchangeClient[_0x313b4c(0x160)]);if(!_0x1713e7)throw new Error(_0x313b4c(0x16d));return _0x1713e7[_0x313b4c(0x167)](_0x53dbce);}async[_0x362aa2(0x16b)](_0x2187c2){const _0x790670=_0x362aa2;return this[_0x790670(0x151)](_0x2187c2);}async[_0x362aa2(0x151)](_0x234aa0){const _0x4fdd30=_0x362aa2,_0x3c5062=this[_0x4fdd30(0x169)][_0x4fdd30(0x15d)](exchangeClient[_0x4fdd30(0x160)]);if(!_0x3c5062)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c5062[_0x4fdd30(0x16b)](_0x234aa0);}async['importDOCXToUnitId'](_0x5f531b){const _0x16316f=_0x362aa2;return this[_0x16316f(0x15f)](_0x5f531b);}async['importDOCXToUnitIdAsync'](_0xfe3fae){const _0x1c0c63=_0x362aa2,_0x433499=this['_injector'][_0x1c0c63(0x15d)](exchangeClient[_0x1c0c63(0x160)]);if(!_0x433499)throw new Error(_0x1c0c63(0x16d));return _0x433499[_0x1c0c63(0x14f)](_0xfe3fae,UniverType[_0x1c0c63(0x166)]);}async[_0x362aa2(0x16c)](_0x38e8f9){const _0x16d2e6=_0x362aa2;return this[_0x16d2e6(0x159)](_0x38e8f9);}async[_0x362aa2(0x159)](_0x9007da){const _0x27511b=_0x362aa2,_0x25235f=this[_0x27511b(0x169)][_0x27511b(0x15d)](exchangeClient['IExchangeService']);if(!_0x25235f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25235f['importDOCXToSnapshot'](_0x9007da);}};__name(_FUniverExchangeClientMixin,'FUniverExchangeClientMixin');function _0xf868(){const _0x2dcbf3=['importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','446663VDUIVg','1175618nJKqoe','21093462qjYwRx','UNIVER_PROJECT','@univerjs-pro/exchange-client','importXLSXToSnapshot','@univerjs/core','importDOCXToSnapshotAsync','name','UNRECOGNIZED','195KuzsHQ','get','UNIVER_UNKNOWN','importDOCXToUnitIdAsync','IExchangeService','102ATxHVb','UNIVER_SHEET','7980048ryOKDk','UNIVER_SLIDE','12308cYGXKv','UNIVER_DOC','exportXLSXByUnitId','importXLSXToUnitIdAsync','_injector','641865LQEsCT','exportXLSXBySnapshot','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','540460aDQnoM','importFileToUnitId'];_0xf868=function(){return _0x2dcbf3;};return _0xf868();}function _0x2135(_0x380102,_0xcb695a){const _0xf868f0=_0xf868();return _0x2135=function(_0x213551,_0x1cfe0a){_0x213551=_0x213551-0x14f;let _0x50e6da=_0xf868f0[_0x213551];return _0x50e6da;},_0x2135(_0x380102,_0xcb695a);}let FUniverExchangeClientMixin=_FUniverExchangeClientMixin;core['FUniver']['extend'](FUniverExchangeClientMixin);