@univerjs-pro/exchange-client 0.5.4 → 0.5.5-experimental.20250123-34738ff
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/index.d.ts +1 -1
- package/lib/types/services/utils/snapshot.d.ts +7 -1
- package/lib/types/views/UploadNotificationContainer.d.ts +1 -2
- package/lib/types/views/link-list/LinkList.d.ts +1 -2
- package/lib/types/views/upload-again/UploadAgain.d.ts +1 -2
- package/lib/types/views/upload-button/UploadButton.d.ts +1 -1
- package/lib/types/views/upload-error/UploadError.d.ts +1 -2
- package/lib/types/views/upload-notification/UploadNotification.d.ts +1 -2
- package/lib/types/views/upload-success/UploadSuccess.d.ts +1 -2
- package/lib/types/views/uploading/Uploading.d.ts +1 -2
- package/lib/types/views/uploading/upload-cancel/UploadCancel.d.ts +1 -2
- package/lib/types/views/uploading/upload-progress/UploadProgress.d.ts +1 -2
- 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 +11 -11
- 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 _0x2dc3aa=_0x289e;(function(_0x48cc7b,_0x5b4b20){const _0x5a4dee=_0x289e,_0x4b8d56=_0x48cc7b();while(!![]){try{const _0x5ce777=parseInt(_0x5a4dee(0x86))/0x1*(parseInt(_0x5a4dee(0x89))/0x2)+parseInt(_0x5a4dee(0x9a))/0x3+parseInt(_0x5a4dee(0xa3))/0x4*(-parseInt(_0x5a4dee(0x8f))/0x5)+parseInt(_0x5a4dee(0x96))/0x6*(parseInt(_0x5a4dee(0x85))/0x7)+parseInt(_0x5a4dee(0x99))/0x8+parseInt(_0x5a4dee(0x88))/0x9*(parseInt(_0x5a4dee(0xa9))/0xa)+parseInt(_0x5a4dee(0xaa))/0xb*(-parseInt(_0x5a4dee(0xa4))/0xc);if(_0x5ce777===_0x5b4b20)break;else _0x4b8d56['push'](_0x4b8d56['shift']());}catch(_0x34a856){_0x4b8d56['push'](_0x4b8d56['shift']());}}}(_0x41fe,0x7b118));var __defProp=Object[_0x2dc3aa(0xa5)],__name=(_0x513f86,_0x545e9a)=>__defProp(_0x513f86,_0x2dc3aa(0x9b),{'value':_0x545e9a,'configurable':!0x0});const exchangeClient=require('@univerjs-pro/exchange-client'),core=require(_0x2dc3aa(0xa1));var UniverType=(_0x299148=>(_0x299148[_0x299148['UNIVER_UNKNOWN']=0x0]=_0x2dc3aa(0xa7),_0x299148[_0x299148[_0x2dc3aa(0x90)]=0x1]='UNIVER_DOC',_0x299148[_0x299148[_0x2dc3aa(0x94)]=0x2]=_0x2dc3aa(0x94),_0x299148[_0x299148[_0x2dc3aa(0x9c)]=0x3]=_0x2dc3aa(0x9c),_0x299148[_0x299148[_0x2dc3aa(0xa2)]=0x4]='UNIVER_PROJECT',_0x299148[_0x299148[_0x2dc3aa(0x8d)]=-0x1]=_0x2dc3aa(0x8d),_0x299148))(UniverType||{});function _0x289e(_0xd22e39,_0x247801){const _0x41fecd=_0x41fe();return _0x289e=function(_0x289e3c,_0x485f0c){_0x289e3c=_0x289e3c-0x85;let _0x5f3a1c=_0x41fecd[_0x289e3c];return _0x5f3a1c;},_0x289e(_0xd22e39,_0x247801);}const _FUniverExchangeClientMixin=class _FUniverExchangeClientMixin extends core[_0x2dc3aa(0x92)]{async[_0x2dc3aa(0x8a)](_0x41e183){const _0x84ad03=_0x2dc3aa;return this[_0x84ad03(0x8b)](_0x41e183);}async['importXLSXToUnitIdAsync'](_0x4dabdc){const _0x22ab89=_0x2dc3aa,_0x45f910=this[_0x22ab89(0xab)][_0x22ab89(0x9d)](exchangeClient[_0x22ab89(0x9e)]);if(!_0x45f910)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45f910[_0x22ab89(0x97)](_0x4dabdc,UniverType[_0x22ab89(0x94)]);}async[_0x2dc3aa(0x9f)](_0x57120b){const _0x54e4bd=_0x2dc3aa;return this[_0x54e4bd(0x8c)](_0x57120b);}async[_0x2dc3aa(0x8c)](_0x5ccfce){const _0x1e926f=_0x2dc3aa,_0x2809d0=this[_0x1e926f(0xab)]['get'](exchangeClient[_0x1e926f(0x9e)]);if(!_0x2809d0)throw new Error(_0x1e926f(0x93));return _0x2809d0[_0x1e926f(0x9f)](_0x5ccfce);}async[_0x2dc3aa(0xa8)](_0xdb9ed0){return this['exportXLSXByUnitIdAsync'](_0xdb9ed0);}async[_0x2dc3aa(0x98)](_0x39256e){const _0x57db7b=_0x2dc3aa,_0x1f3cbb=this[_0x57db7b(0xab)]['get'](exchangeClient['IExchangeService']);if(!_0x1f3cbb)throw new Error(_0x57db7b(0x93));return _0x1f3cbb['exportXLSXByUnitId'](_0x39256e);}async['exportXLSXBySnapshot'](_0x536846){return this['exportXLSXBySnapshotAsync'](_0x536846);}async['exportXLSXBySnapshotAsync'](_0x44594d){const _0x525ff8=_0x2dc3aa,_0x3cd35d=this[_0x525ff8(0xab)][_0x525ff8(0x9d)](exchangeClient[_0x525ff8(0x9e)]);if(!_0x3cd35d)throw new Error(_0x525ff8(0x93));return _0x3cd35d['exportXLSXBySnapshot'](_0x44594d);}async[_0x2dc3aa(0x95)](_0x19cec3){const _0x1960e4=_0x2dc3aa;return this[_0x1960e4(0x91)](_0x19cec3);}async[_0x2dc3aa(0x91)](_0x122db6){const _0x4c5ca4=_0x2dc3aa,_0xc8b9d=this[_0x4c5ca4(0xab)]['get'](exchangeClient['IExchangeService']);if(!_0xc8b9d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xc8b9d[_0x4c5ca4(0x97)](_0x122db6,UniverType[_0x4c5ca4(0x90)]);}async[_0x2dc3aa(0x87)](_0xd28f2a){return this['importDOCXToSnapshotAsync'](_0xd28f2a);}async[_0x2dc3aa(0x8e)](_0x12ea17){const _0x537c56=_0x2dc3aa,_0x3f1d81=this[_0x537c56(0xab)]['get'](exchangeClient[_0x537c56(0x9e)]);if(!_0x3f1d81)throw new Error(_0x537c56(0x93));return _0x3f1d81['importDOCXToSnapshot'](_0x12ea17);}};__name(_FUniverExchangeClientMixin,_0x2dc3aa(0xa6));let FUniverExchangeClientMixin=_FUniverExchangeClientMixin;core['FUniver'][_0x2dc3aa(0xa0)](FUniverExchangeClientMixin);function _0x41fe(){const _0x88bbc2=['name','UNIVER_SLIDE','get','IExchangeService','importXLSXToSnapshot','extend','@univerjs/core','UNIVER_PROJECT','89696KSpqEE','6241980XigYgd','defineProperty','FUniverExchangeClientMixin','UNIVER_UNKNOWN','exportXLSXByUnitId','12660JCOzxU','33QeSChi','_injector','2813524heXyFu','3IkEFDs','importDOCXToSnapshot','207xBbhow','204gecrJK','importXLSXToUnitId','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','UNRECOGNIZED','importDOCXToSnapshotAsync','55RvaNAh','UNIVER_DOC','importDOCXToUnitIdAsync','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','importDOCXToUnitId','6wqcgXY','importFileToUnitId','exportXLSXByUnitIdAsync','7654776gsLJgC','2769132mUgjWC'];_0x41fe=function(){return _0x88bbc2;};return _0x41fe();}
|