@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 +1 -1
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +2 -2
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/facade/f-univer.d.ts +7 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
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);
|