@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 +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 +8 -8
- package/lib/types/services/__tests__/snapshot.spec.d.ts +0 -1
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
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);
|