@univerjs-pro/exchange-client 0.5.5-experimental.20250124-fc44c59 → 0.5.5-experimental.20250125-1aa33c0

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 _0x596bae=_0x1c83;(function(_0x518ad2,_0x6764e7){const _0x34bfea=_0x1c83,_0x4bdd08=_0x518ad2();while(!![]){try{const _0x2e1f98=-parseInt(_0x34bfea(0xc0))/0x1+-parseInt(_0x34bfea(0xd7))/0x2*(parseInt(_0x34bfea(0xc1))/0x3)+-parseInt(_0x34bfea(0xda))/0x4+parseInt(_0x34bfea(0xcb))/0x5*(-parseInt(_0x34bfea(0xc7))/0x6)+parseInt(_0x34bfea(0xdd))/0x7+-parseInt(_0x34bfea(0xd6))/0x8*(parseInt(_0x34bfea(0xd9))/0x9)+parseInt(_0x34bfea(0xd0))/0xa;if(_0x2e1f98===_0x6764e7)break;else _0x4bdd08['push'](_0x4bdd08['shift']());}catch(_0x303961){_0x4bdd08['push'](_0x4bdd08['shift']());}}}(_0x7ed7,0xd0559));var __defProp=Object[_0x596bae(0xd2)],__name=(_0x3f9e8f,_0xea560e)=>__defProp(_0x3f9e8f,_0x596bae(0xcd),{'value':_0xea560e,'configurable':!0x0});function _0x7ed7(){const _0x349add=['FUniverExchangeClientMixin','UNIVER_DOC','importDOCXToUnitId','2471856TqPgOs','2ZESarA','importXLSXToSnapshot','45qXcHhQ','1663392IGMAJC','importFileToUnitId','importDOCXToSnapshot','3590748NCvMPI','IExchangeService','UNIVER_PROJECT','importXLSXToUnitIdAsync','@univerjs-pro/exchange-client','FUniver','UNIVER_SHEET','578498pdEMbA','1834344EAGUfP','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','30nsPwUR','exportXLSXBySnapshot','_injector','exportXLSXByUnitIdAsync','921445rORtex','exportXLSXByUnitId','name','exportXLSXBySnapshotAsync','get','44125220YSKLQt','importDOCXToSnapshotAsync','defineProperty'];_0x7ed7=function(){return _0x349add;};return _0x7ed7();}function _0x1c83(_0x41c52b,_0x4e4fc0){const _0x7ed7ff=_0x7ed7();return _0x1c83=function(_0x1c83c7,_0x2a41db){_0x1c83c7=_0x1c83c7-0xbc;let _0x1650c1=_0x7ed7ff[_0x1c83c7];return _0x1650c1;},_0x1c83(_0x41c52b,_0x4e4fc0);}const exchangeClient=require(_0x596bae(0xbd)),core=require('@univerjs/core');var UniverType=(_0x4233ad=>(_0x4233ad[_0x4233ad[_0x596bae(0xc5)]=0x0]=_0x596bae(0xc5),_0x4233ad[_0x4233ad[_0x596bae(0xd4)]=0x1]=_0x596bae(0xd4),_0x4233ad[_0x4233ad[_0x596bae(0xbf)]=0x2]=_0x596bae(0xbf),_0x4233ad[_0x4233ad['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4233ad[_0x4233ad[_0x596bae(0xdf)]=0x4]=_0x596bae(0xdf),_0x4233ad[_0x4233ad[_0x596bae(0xc2)]=-0x1]=_0x596bae(0xc2),_0x4233ad))(UniverType||{});const _FUniverExchangeClientMixin=class _FUniverExchangeClientMixin extends core[_0x596bae(0xbe)]{async['importXLSXToUnitId'](_0x320fc5){const _0x57517b=_0x596bae;return this[_0x57517b(0xbc)](_0x320fc5);}async[_0x596bae(0xbc)](_0x3069ae){const _0x529e6e=_0x596bae,_0x30e7c8=this[_0x529e6e(0xc9)][_0x529e6e(0xcf)](exchangeClient[_0x529e6e(0xde)]);if(!_0x30e7c8)throw new Error(_0x529e6e(0xc3));return _0x30e7c8[_0x529e6e(0xdb)](_0x3069ae,UniverType[_0x529e6e(0xbf)]);}async[_0x596bae(0xd8)](_0xf2207a){const _0x3d0f24=_0x596bae;return this[_0x3d0f24(0xc6)](_0xf2207a);}async['importXLSXToSnapshotAsync'](_0x5af824){const _0x2e1912=_0x596bae,_0x5b7569=this[_0x2e1912(0xc9)][_0x2e1912(0xcf)](exchangeClient[_0x2e1912(0xde)]);if(!_0x5b7569)throw new Error(_0x2e1912(0xc3));return _0x5b7569[_0x2e1912(0xd8)](_0x5af824);}async[_0x596bae(0xcc)](_0x52e9f6){const _0x1c9f40=_0x596bae;return this[_0x1c9f40(0xca)](_0x52e9f6);}async[_0x596bae(0xca)](_0x13de46){const _0x30f7c3=_0x596bae,_0x1c8a1b=this['_injector'][_0x30f7c3(0xcf)](exchangeClient[_0x30f7c3(0xde)]);if(!_0x1c8a1b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1c8a1b[_0x30f7c3(0xcc)](_0x13de46);}async['exportXLSXBySnapshot'](_0x299850){const _0x54af11=_0x596bae;return this[_0x54af11(0xce)](_0x299850);}async[_0x596bae(0xce)](_0x5094b8){const _0x5d412a=_0x596bae,_0x57fa65=this[_0x5d412a(0xc9)][_0x5d412a(0xcf)](exchangeClient[_0x5d412a(0xde)]);if(!_0x57fa65)throw new Error(_0x5d412a(0xc3));return _0x57fa65[_0x5d412a(0xc8)](_0x5094b8);}async[_0x596bae(0xd5)](_0x1ba1a4){const _0x3174ad=_0x596bae;return this[_0x3174ad(0xc4)](_0x1ba1a4);}async[_0x596bae(0xc4)](_0x37032b){const _0x3cd1e3=_0x596bae,_0x489f84=this[_0x3cd1e3(0xc9)][_0x3cd1e3(0xcf)](exchangeClient[_0x3cd1e3(0xde)]);if(!_0x489f84)throw new Error(_0x3cd1e3(0xc3));return _0x489f84[_0x3cd1e3(0xdb)](_0x37032b,UniverType[_0x3cd1e3(0xd4)]);}async[_0x596bae(0xdc)](_0x1e6824){const _0x5a722b=_0x596bae;return this[_0x5a722b(0xd1)](_0x1e6824);}async[_0x596bae(0xd1)](_0x815e6b){const _0x59746e=_0x596bae,_0x138d3f=this['_injector']['get'](exchangeClient[_0x59746e(0xde)]);if(!_0x138d3f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x138d3f['importDOCXToSnapshot'](_0x815e6b);}};__name(_FUniverExchangeClientMixin,_0x596bae(0xd3));let FUniverExchangeClientMixin=_FUniverExchangeClientMixin;core['FUniver']['extend'](FUniverExchangeClientMixin);
1
+ 'use strict';function _0x5d60(_0x8760f5,_0x4aa1f5){const _0xf6886d=_0xf688();return _0x5d60=function(_0x5d60e8,_0x106c57){_0x5d60e8=_0x5d60e8-0x154;let _0x36e0be=_0xf6886d[_0x5d60e8];return _0x36e0be;},_0x5d60(_0x8760f5,_0x4aa1f5);}const _0x27d08c=_0x5d60;function _0xf688(){const _0x28357c=['UNRECOGNIZED','6fTiihP','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','importDOCXToUnitId','790200HBwfDz','IExchangeService','1702020PoNQEB','UNIVER_SLIDE','importFileToUnitId','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','684171cELTdT','UNIVER_SHEET','FUniverExchangeClientMixin','extend','@univerjs-pro/exchange-client','exportXLSXByUnitId','UNIVER_PROJECT','230993HVCqdf','12iEPcae','importDOCXToSnapshot','FUniver','1016965LRniLX','_injector','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','33YTUapp','importXLSXToSnapshot','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','UNIVER_DOC','30OLFwyc','45ThbfUh','name','importXLSXToUnitId','exportXLSXBySnapshot','get','defineProperty','1239200tczlfX','12347856KhqmFH'];_0xf688=function(){return _0x28357c;};return _0xf688();}(function(_0x49836e,_0x30006b){const _0x5bc430=_0x5d60,_0x29ed50=_0x49836e();while(!![]){try{const _0x126e88=-parseInt(_0x5bc430(0x16b))/0x1+-parseInt(_0x5bc430(0x167))/0x2*(-parseInt(_0x5bc430(0x172))/0x3)+parseInt(_0x5bc430(0x17a))/0x4*(-parseInt(_0x5bc430(0x154))/0x5)+parseInt(_0x5bc430(0x15d))/0x6*(-parseInt(_0x5bc430(0x179))/0x7)+-parseInt(_0x5bc430(0x164))/0x8*(-parseInt(_0x5bc430(0x15e))/0x9)+parseInt(_0x5bc430(0x16d))/0xa*(-parseInt(_0x5bc430(0x158))/0xb)+parseInt(_0x5bc430(0x165))/0xc;if(_0x126e88===_0x30006b)break;else _0x29ed50['push'](_0x29ed50['shift']());}catch(_0x9551b2){_0x29ed50['push'](_0x29ed50['shift']());}}}(_0xf688,0x6481f));var __defProp=Object[_0x27d08c(0x163)],__name=(_0x508ea5,_0x8a792f)=>__defProp(_0x508ea5,_0x27d08c(0x15f),{'value':_0x8a792f,'configurable':!0x0});const exchangeClient=require(_0x27d08c(0x176)),core=require('@univerjs/core');var UniverType=(_0x553863=>(_0x553863[_0x553863[_0x27d08c(0x171)]=0x0]=_0x27d08c(0x171),_0x553863[_0x553863[_0x27d08c(0x15c)]=0x1]=_0x27d08c(0x15c),_0x553863[_0x553863[_0x27d08c(0x173)]=0x2]=_0x27d08c(0x173),_0x553863[_0x553863[_0x27d08c(0x16e)]=0x3]=_0x27d08c(0x16e),_0x553863[_0x553863[_0x27d08c(0x178)]=0x4]=_0x27d08c(0x178),_0x553863[_0x553863[_0x27d08c(0x166)]=-0x1]=_0x27d08c(0x166),_0x553863))(UniverType||{});const _FUniverExchangeClientMixin=class _FUniverExchangeClientMixin extends core[_0x27d08c(0x17c)]{async[_0x27d08c(0x160)](_0x502fde){const _0x188d2f=_0x27d08c;return this[_0x188d2f(0x15a)](_0x502fde);}async['importXLSXToUnitIdAsync'](_0x349605){const _0x2c2ae0=_0x27d08c,_0x3bb2e3=this[_0x2c2ae0(0x155)][_0x2c2ae0(0x162)](exchangeClient[_0x2c2ae0(0x16c)]);if(!_0x3bb2e3)throw new Error(_0x2c2ae0(0x156));return _0x3bb2e3[_0x2c2ae0(0x16f)](_0x349605,UniverType[_0x2c2ae0(0x173)]);}async[_0x27d08c(0x159)](_0x477f24){const _0x20586d=_0x27d08c;return this[_0x20586d(0x168)](_0x477f24);}async[_0x27d08c(0x168)](_0x21366b){const _0xd2ec75=_0x27d08c,_0x39a18a=this[_0xd2ec75(0x155)][_0xd2ec75(0x162)](exchangeClient[_0xd2ec75(0x16c)]);if(!_0x39a18a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x39a18a[_0xd2ec75(0x159)](_0x21366b);}async[_0x27d08c(0x177)](_0x15a67e){const _0x120146=_0x27d08c;return this[_0x120146(0x157)](_0x15a67e);}async[_0x27d08c(0x157)](_0x51408d){const _0x4f082b=_0x27d08c,_0x5b4945=this[_0x4f082b(0x155)][_0x4f082b(0x162)](exchangeClient[_0x4f082b(0x16c)]);if(!_0x5b4945)throw new Error(_0x4f082b(0x156));return _0x5b4945['exportXLSXByUnitId'](_0x51408d);}async['exportXLSXBySnapshot'](_0x2f3b52){const _0x31b201=_0x27d08c;return this[_0x31b201(0x169)](_0x2f3b52);}async[_0x27d08c(0x169)](_0x15e900){const _0x16702a=_0x27d08c,_0x48bdcb=this['_injector'][_0x16702a(0x162)](exchangeClient[_0x16702a(0x16c)]);if(!_0x48bdcb)throw new Error(_0x16702a(0x156));return _0x48bdcb[_0x16702a(0x161)](_0x15e900);}async[_0x27d08c(0x16a)](_0x4d962f){const _0xe651e5=_0x27d08c;return this[_0xe651e5(0x15b)](_0x4d962f);}async[_0x27d08c(0x15b)](_0x4ff5d9){const _0x28f4c3=_0x27d08c,_0x4c76d3=this[_0x28f4c3(0x155)]['get'](exchangeClient[_0x28f4c3(0x16c)]);if(!_0x4c76d3)throw new Error(_0x28f4c3(0x156));return _0x4c76d3['importFileToUnitId'](_0x4ff5d9,UniverType[_0x28f4c3(0x15c)]);}async[_0x27d08c(0x17b)](_0x5398d3){return this['importDOCXToSnapshotAsync'](_0x5398d3);}async[_0x27d08c(0x170)](_0xaf1f13){const _0x31f48b=_0x27d08c,_0x40ceab=this['_injector'][_0x31f48b(0x162)](exchangeClient[_0x31f48b(0x16c)]);if(!_0x40ceab)throw new Error(_0x31f48b(0x156));return _0x40ceab['importDOCXToSnapshot'](_0xaf1f13);}};__name(_FUniverExchangeClientMixin,_0x27d08c(0x174));let FUniverExchangeClientMixin=_FUniverExchangeClientMixin;core['FUniver'][_0x27d08c(0x175)](FUniverExchangeClientMixin);