@univerjs-pro/exchange-client 0.5.5-nightly.202501211606 → 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.
Files changed (38) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +2 -2
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/types/views/UploadNotificationContainer.d.ts +1 -2
  20. package/lib/types/views/link-list/LinkList.d.ts +1 -2
  21. package/lib/types/views/upload-again/UploadAgain.d.ts +1 -2
  22. package/lib/types/views/upload-button/UploadButton.d.ts +1 -1
  23. package/lib/types/views/upload-error/UploadError.d.ts +1 -2
  24. package/lib/types/views/upload-notification/UploadNotification.d.ts +1 -2
  25. package/lib/types/views/upload-success/UploadSuccess.d.ts +1 -2
  26. package/lib/types/views/uploading/Uploading.d.ts +1 -2
  27. package/lib/types/views/uploading/upload-cancel/UploadCancel.d.ts +1 -2
  28. package/lib/types/views/uploading/upload-progress/UploadProgress.d.ts +1 -2
  29. package/lib/umd/facade.js +1 -1
  30. package/lib/umd/index.js +2 -2
  31. package/lib/umd/locale/en-US.js +1 -1
  32. package/lib/umd/locale/fa-IR.js +1 -1
  33. package/lib/umd/locale/fr-FR.js +1 -1
  34. package/lib/umd/locale/ru-RU.js +1 -1
  35. package/lib/umd/locale/vi-VN.js +1 -1
  36. package/lib/umd/locale/zh-CN.js +1 -1
  37. package/lib/umd/locale/zh-TW.js +1 -1
  38. package/package.json +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x4b5153=_0x2508;(function(_0x386f94,_0x5571c2){const _0x5827ae=_0x2508,_0x207ee2=_0x386f94();while(!![]){try{const _0x3ce621=parseInt(_0x5827ae(0x13f))/0x1+-parseInt(_0x5827ae(0x14b))/0x2*(parseInt(_0x5827ae(0x139))/0x3)+parseInt(_0x5827ae(0x151))/0x4*(parseInt(_0x5827ae(0x14d))/0x5)+parseInt(_0x5827ae(0x14f))/0x6+parseInt(_0x5827ae(0x13e))/0x7+-parseInt(_0x5827ae(0x140))/0x8+-parseInt(_0x5827ae(0x146))/0x9;if(_0x3ce621===_0x5571c2)break;else _0x207ee2['push'](_0x207ee2['shift']());}catch(_0xc791ea){_0x207ee2['push'](_0x207ee2['shift']());}}}(_0x26bd,0xdbf8a));const r=require(_0x4b5153(0x152)),i=require(_0x4b5153(0x157));function _0x2508(_0x1d0773,_0x25f761){const _0x26bdba=_0x26bd();return _0x2508=function(_0x2508a6,_0x4d747a){_0x2508a6=_0x2508a6-0x138;let _0x2467c2=_0x26bdba[_0x2508a6];return _0x2467c2;},_0x2508(_0x1d0773,_0x25f761);}var o=(_0x7222bc=>(_0x7222bc[_0x7222bc['UNIVER_UNKNOWN']=0x0]=_0x4b5153(0x154),_0x7222bc[_0x7222bc[_0x4b5153(0x14a)]=0x1]=_0x4b5153(0x14a),_0x7222bc[_0x7222bc[_0x4b5153(0x150)]=0x2]='UNIVER_SHEET',_0x7222bc[_0x7222bc[_0x4b5153(0x155)]=0x3]=_0x4b5153(0x155),_0x7222bc[_0x7222bc['UNIVER_PROJECT']=0x4]=_0x4b5153(0x141),_0x7222bc[_0x7222bc['UNRECOGNIZED']=-0x1]=_0x4b5153(0x142),_0x7222bc))(o||{});class c extends i['FUniver']{async[_0x4b5153(0x14c)](_0x222933){const _0x302f33=_0x4b5153;return this[_0x302f33(0x149)](_0x222933);}async[_0x4b5153(0x149)](_0x4b7d41){const _0x48f61b=_0x4b5153,_0x86e313=this[_0x48f61b(0x147)][_0x48f61b(0x13b)](r[_0x48f61b(0x13c)]);if(!_0x86e313)throw new Error(_0x48f61b(0x144));return _0x86e313[_0x48f61b(0x13a)](_0x4b7d41,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x309f77){const _0x175988=_0x4b5153;return this[_0x175988(0x138)](_0x309f77);}async[_0x4b5153(0x138)](_0x1c2db5){const _0x3d9655=_0x4b5153,_0xce5d7a=this[_0x3d9655(0x147)][_0x3d9655(0x13b)](r[_0x3d9655(0x13c)]);if(!_0xce5d7a)throw new Error(_0x3d9655(0x144));return _0xce5d7a['importXLSXToSnapshot'](_0x1c2db5);}async['exportXLSXByUnitId'](_0x4f1aa1){return this['exportXLSXByUnitIdAsync'](_0x4f1aa1);}async[_0x4b5153(0x145)](_0x5b5d3f){const _0x367044=_0x4b5153,_0x341dae=this[_0x367044(0x147)][_0x367044(0x13b)](r['IExchangeService']);if(!_0x341dae)throw new Error(_0x367044(0x144));return _0x341dae['exportXLSXByUnitId'](_0x5b5d3f);}async[_0x4b5153(0x153)](_0x1ab0db){const _0x416186=_0x4b5153;return this[_0x416186(0x156)](_0x1ab0db);}async[_0x4b5153(0x156)](_0x51ef18){const _0x49e130=_0x4b5153,_0x505bb3=this[_0x49e130(0x147)][_0x49e130(0x13b)](r[_0x49e130(0x13c)]);if(!_0x505bb3)throw new Error(_0x49e130(0x144));return _0x505bb3[_0x49e130(0x153)](_0x51ef18);}async[_0x4b5153(0x143)](_0x3e17e1){const _0x398098=_0x4b5153;return this[_0x398098(0x13d)](_0x3e17e1);}async[_0x4b5153(0x13d)](_0x1fc8ce){const _0x1d9f1b=_0x4b5153,_0x2908e0=this[_0x1d9f1b(0x147)][_0x1d9f1b(0x13b)](r[_0x1d9f1b(0x13c)]);if(!_0x2908e0)throw new Error(_0x1d9f1b(0x144));return _0x2908e0[_0x1d9f1b(0x13a)](_0x1fc8ce,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x46a6a3){const _0x8dfcde=_0x4b5153;return this[_0x8dfcde(0x148)](_0x46a6a3);}async[_0x4b5153(0x148)](_0x37c2f0){const _0x2af88b=_0x4b5153,_0x3213dc=this[_0x2af88b(0x147)][_0x2af88b(0x13b)](r['IExchangeService']);if(!_0x3213dc)throw new Error(_0x2af88b(0x144));return _0x3213dc['importDOCXToSnapshot'](_0x37c2f0);}}function _0x26bd(){const _0x46b1a1=['2390236NeaSpG','@univerjs-pro/exchange-client','exportXLSXBySnapshot','UNIVER_UNKNOWN','UNIVER_SLIDE','exportXLSXBySnapshotAsync','@univerjs/core','importXLSXToSnapshotAsync','9NdqCLC','importFileToUnitId','get','IExchangeService','importDOCXToUnitIdAsync','11455563tNQAzL','547141gDmNaF','7952920ngTSjf','UNIVER_PROJECT','UNRECOGNIZED','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','15823107UojhPz','_injector','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','UNIVER_DOC','59306bHsuyU','importXLSXToUnitId','5IsUhls','extend','5765940vyVPUu','UNIVER_SHEET'];_0x26bd=function(){return _0x46b1a1;};return _0x26bd();}i['FUniver'][_0x4b5153(0x14e)](c);
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);