@univerjs-pro/exchange-client 0.5.5-experimental.20250122-3362a4a → 0.5.5-experimental.20250124-fc44c59
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 +9 -9
- package/lib/types/services/__tests__/snapshot.spec.d.ts +0 -1
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
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);
|