@univerjs-pro/exchange-client 0.5.5-nightly.202501220324 → 0.5.5-nightly.202501221606
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/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 +7 -7
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x3b6a4e=_0x2045;(function(_0xcafd59,_0x49f310){const _0x2b4931=_0x2045,_0x34c361=_0xcafd59();while(!![]){try{const _0x7f6ebd=-parseInt(_0x2b4931(0xe0))/0x1+parseInt(_0x2b4931(0xe3))/0x2*(-parseInt(_0x2b4931(0xed))/0x3)+parseInt(_0x2b4931(0xd4))/0x4*(-parseInt(_0x2b4931(0xea))/0x5)+-parseInt(_0x2b4931(0xd7))/0x6+-parseInt(_0x2b4931(0xd3))/0x7+parseInt(_0x2b4931(0xcf))/0x8*(-parseInt(_0x2b4931(0xd1))/0x9)+parseInt(_0x2b4931(0xe8))/0xa*(parseInt(_0x2b4931(0xd2))/0xb);if(_0x7f6ebd===_0x49f310)break;else _0x34c361['push'](_0x34c361['shift']());}catch(_0x2ba343){_0x34c361['push'](_0x34c361['shift']());}}}(_0x486d,0x2398f));var __defProp=Object[_0x3b6a4e(0xe1)],__name=(_0x505b05,_0x261c79)=>__defProp(_0x505b05,_0x3b6a4e(0xe7),{'value':_0x261c79,'configurable':!0x0});const exchangeClient=require(_0x3b6a4e(0xdc)),core=require(_0x3b6a4e(0xe2));function _0x2045(_0x42c639,_0x52a63b){const _0x486db9=_0x486d();return _0x2045=function(_0x204599,_0x30b766){_0x204599=_0x204599-0xc9;let _0x1295b7=_0x486db9[_0x204599];return _0x1295b7;},_0x2045(_0x42c639,_0x52a63b);}function _0x486d(){const _0x58e82d=['1454194xDZOTT','708pBdpXZ','importXLSXToUnitId','_injector','501492jLMmrU','exportXLSXBySnapshotAsync','UNIVER_PROJECT','IExchangeService','importDOCXToUnitIdAsync','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','importXLSXToSnapshot','67431CduHwe','defineProperty','@univerjs/core','22zgKjOY','importDOCXToSnapshot','UNIVER_UNKNOWN','UNIVER_DOC','name','5410OJBGvc','UNRECOGNIZED','1865ceSoLE','extend','exportXLSXByUnitIdAsync','34971vbHffh','get','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','exportXLSXBySnapshot','importFileToUnitId','exportXLSXByUnitId','FUniverExchangeClientMixin','9032qmmQMI','UNIVER_SLIDE','549KUuZsN','15609IalcUC'];_0x486d=function(){return _0x58e82d;};return _0x486d();}var UniverType=(_0x5f3cdd=>(_0x5f3cdd[_0x5f3cdd[_0x3b6a4e(0xe5)]=0x0]=_0x3b6a4e(0xe5),_0x5f3cdd[_0x5f3cdd[_0x3b6a4e(0xe6)]=0x1]='UNIVER_DOC',_0x5f3cdd[_0x5f3cdd[_0x3b6a4e(0xde)]=0x2]='UNIVER_SHEET',_0x5f3cdd[_0x5f3cdd[_0x3b6a4e(0xd0)]=0x3]=_0x3b6a4e(0xd0),_0x5f3cdd[_0x5f3cdd[_0x3b6a4e(0xd9)]=0x4]=_0x3b6a4e(0xd9),_0x5f3cdd[_0x5f3cdd[_0x3b6a4e(0xe9)]=-0x1]=_0x3b6a4e(0xe9),_0x5f3cdd))(UniverType||{});const _FUniverExchangeClientMixin=class _FUniverExchangeClientMixin extends core['FUniver']{async[_0x3b6a4e(0xd5)](_0x391d2f){const _0x39c853=_0x3b6a4e;return this[_0x39c853(0xca)](_0x391d2f);}async[_0x3b6a4e(0xca)](_0x16b578){const _0x5e1bc3=_0x3b6a4e,_0x1babc4=this[_0x5e1bc3(0xd6)][_0x5e1bc3(0xee)](exchangeClient[_0x5e1bc3(0xda)]);if(!_0x1babc4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1babc4[_0x5e1bc3(0xcc)](_0x16b578,UniverType['UNIVER_SHEET']);}async[_0x3b6a4e(0xdf)](_0x1678e7){return this['importXLSXToSnapshotAsync'](_0x1678e7);}async['importXLSXToSnapshotAsync'](_0x2a50f2){const _0x5ba9a2=_0x3b6a4e,_0x521c9c=this[_0x5ba9a2(0xd6)][_0x5ba9a2(0xee)](exchangeClient[_0x5ba9a2(0xda)]);if(!_0x521c9c)throw new Error(_0x5ba9a2(0xdd));return _0x521c9c['importXLSXToSnapshot'](_0x2a50f2);}async[_0x3b6a4e(0xcd)](_0x19928e){const _0x12e8c2=_0x3b6a4e;return this[_0x12e8c2(0xec)](_0x19928e);}async['exportXLSXByUnitIdAsync'](_0x27ebc2){const _0x5b8435=_0x3b6a4e,_0x5598ab=this[_0x5b8435(0xd6)][_0x5b8435(0xee)](exchangeClient[_0x5b8435(0xda)]);if(!_0x5598ab)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5598ab[_0x5b8435(0xcd)](_0x27ebc2);}async['exportXLSXBySnapshot'](_0x3ae089){const _0x27244f=_0x3b6a4e;return this[_0x27244f(0xd8)](_0x3ae089);}async[_0x3b6a4e(0xd8)](_0x437a41){const _0x4442c5=_0x3b6a4e,_0x26ee12=this['_injector']['get'](exchangeClient[_0x4442c5(0xda)]);if(!_0x26ee12)throw new Error(_0x4442c5(0xdd));return _0x26ee12[_0x4442c5(0xcb)](_0x437a41);}async['importDOCXToUnitId'](_0x61aa00){const _0x195f2a=_0x3b6a4e;return this[_0x195f2a(0xdb)](_0x61aa00);}async[_0x3b6a4e(0xdb)](_0x5b6ffa){const _0x40de2f=_0x3b6a4e,_0x3ca13d=this['_injector'][_0x40de2f(0xee)](exchangeClient[_0x40de2f(0xda)]);if(!_0x3ca13d)throw new Error(_0x40de2f(0xdd));return _0x3ca13d['importFileToUnitId'](_0x5b6ffa,UniverType[_0x40de2f(0xe6)]);}async[_0x3b6a4e(0xe4)](_0xe82a44){return this['importDOCXToSnapshotAsync'](_0xe82a44);}async[_0x3b6a4e(0xc9)](_0xbfa7c9){const _0x22e540=_0x3b6a4e,_0x1f4eeb=this['_injector']['get'](exchangeClient[_0x22e540(0xda)]);if(!_0x1f4eeb)throw new Error(_0x22e540(0xdd));return _0x1f4eeb[_0x22e540(0xe4)](_0xbfa7c9);}};__name(_FUniverExchangeClientMixin,_0x3b6a4e(0xce));let FUniverExchangeClientMixin=_FUniverExchangeClientMixin;core['FUniver'][_0x3b6a4e(0xeb)](FUniverExchangeClientMixin);
|