@univerjs-pro/exchange-client 0.5.5-experimental.20250122-3362a4a → 0.5.5-nightly.202501201606

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 +2 -1
  20. package/lib/types/views/link-list/LinkList.d.ts +2 -1
  21. package/lib/types/views/upload-again/UploadAgain.d.ts +2 -1
  22. package/lib/types/views/upload-button/UploadButton.d.ts +1 -1
  23. package/lib/types/views/upload-error/UploadError.d.ts +2 -1
  24. package/lib/types/views/upload-notification/UploadNotification.d.ts +2 -1
  25. package/lib/types/views/upload-success/UploadSuccess.d.ts +2 -1
  26. package/lib/types/views/uploading/Uploading.d.ts +2 -1
  27. package/lib/types/views/uploading/upload-cancel/UploadCancel.d.ts +2 -1
  28. package/lib/types/views/uploading/upload-progress/UploadProgress.d.ts +2 -1
  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 +7 -7
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x4642(){const _0x44327b=['UNIVER_DOC','defineProperty','5926248byoCya','1120bWyJBv','1445864bBJOIk','extend','UNIVER_SLIDE','1733OxxYTY','importDOCXToSnapshotAsync','IExchangeService','exportXLSXBySnapshotAsync','966800usrUlj','importXLSXToUnitId','FUniver','importXLSXToSnapshotAsync','UNIVER_PROJECT','108IcnslA','get','FUniverExchangeClientMixin','38455geNUyS','importDOCXToSnapshot','importXLSXToUnitIdAsync','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','159928wKxWsQ','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','1354lTesGR','_injector','UNIVER_UNKNOWN','@univerjs-pro/exchange-client','exportXLSXByUnitId','@univerjs/core','51EFbcMG','21758DZuxhk','name','45AHIZzj','UNIVER_SHEET','UNRECOGNIZED'];_0x4642=function(){return _0x44327b;};return _0x4642();}const _0xf4294f=_0xf41c;(function(_0x13d041,_0x29cd8c){const _0x3aa10e=_0xf41c,_0x3a8a13=_0x13d041();while(!![]){try{const _0xd27c0b=-parseInt(_0x3aa10e(0x1cd))/0x1*(-parseInt(_0x3aa10e(0x1ba))/0x2)+parseInt(_0x3aa10e(0x1c0))/0x3*(parseInt(_0x3aa10e(0x1b7))/0x4)+-parseInt(_0x3aa10e(0x1b2))/0x5*(parseInt(_0x3aa10e(0x1af))/0x6)+-parseInt(_0x3aa10e(0x1ca))/0x7+parseInt(_0x3aa10e(0x1d1))/0x8*(-parseInt(_0x3aa10e(0x1c3))/0x9)+parseInt(_0x3aa10e(0x1c9))/0xa*(parseInt(_0x3aa10e(0x1c1))/0xb)+-parseInt(_0x3aa10e(0x1c8))/0xc;if(_0xd27c0b===_0x29cd8c)break;else _0x3a8a13['push'](_0x3a8a13['shift']());}catch(_0x388a63){_0x3a8a13['push'](_0x3a8a13['shift']());}}}(_0x4642,0x9a251));function _0xf41c(_0x40b3c9,_0x31a1a6){const _0x46422b=_0x4642();return _0xf41c=function(_0xf41c9a,_0x41c967){_0xf41c9a=_0xf41c9a-0x1ae;let _0x21946b=_0x46422b[_0xf41c9a];return _0x21946b;},_0xf41c(_0x40b3c9,_0x31a1a6);}var __defProp=Object[_0xf4294f(0x1c7)],__name=(_0x34d72a,_0x5e87a0)=>__defProp(_0x34d72a,_0xf4294f(0x1c2),{'value':_0x5e87a0,'configurable':!0x0});const exchangeClient=require(_0xf4294f(0x1bd)),core=require(_0xf4294f(0x1bf));var UniverType=(_0x2c0401=>(_0x2c0401[_0x2c0401['UNIVER_UNKNOWN']=0x0]=_0xf4294f(0x1bc),_0x2c0401[_0x2c0401[_0xf4294f(0x1c6)]=0x1]='UNIVER_DOC',_0x2c0401[_0x2c0401[_0xf4294f(0x1c4)]=0x2]='UNIVER_SHEET',_0x2c0401[_0x2c0401[_0xf4294f(0x1cc)]=0x3]=_0xf4294f(0x1cc),_0x2c0401[_0x2c0401[_0xf4294f(0x1ae)]=0x4]=_0xf4294f(0x1ae),_0x2c0401[_0x2c0401['UNRECOGNIZED']=-0x1]=_0xf4294f(0x1c5),_0x2c0401))(UniverType||{});const _FUniverExchangeClientMixin=class _FUniverExchangeClientMixin extends core[_0xf4294f(0x1d3)]{async[_0xf4294f(0x1d2)](_0x1172b6){const _0x149c50=_0xf4294f;return this[_0x149c50(0x1b4)](_0x1172b6);}async[_0xf4294f(0x1b4)](_0x24d481){const _0x44cc42=_0xf4294f,_0x40a24b=this[_0x44cc42(0x1bb)][_0x44cc42(0x1b0)](exchangeClient[_0x44cc42(0x1cf)]);if(!_0x40a24b)throw new Error(_0x44cc42(0x1b6));return _0x40a24b[_0x44cc42(0x1b5)](_0x24d481,UniverType[_0x44cc42(0x1c4)]);}async['importXLSXToSnapshot'](_0x500fbd){const _0x1a88cf=_0xf4294f;return this[_0x1a88cf(0x1d4)](_0x500fbd);}async[_0xf4294f(0x1d4)](_0x2b4d99){const _0x27ef53=_0xf4294f,_0x5df7b6=this[_0x27ef53(0x1bb)][_0x27ef53(0x1b0)](exchangeClient['IExchangeService']);if(!_0x5df7b6)throw new Error(_0x27ef53(0x1b6));return _0x5df7b6['importXLSXToSnapshot'](_0x2b4d99);}async[_0xf4294f(0x1be)](_0x1414c3){const _0x2d7bde=_0xf4294f;return this[_0x2d7bde(0x1b8)](_0x1414c3);}async[_0xf4294f(0x1b8)](_0x3ba318){const _0x19afd3=_0xf4294f,_0x23f9de=this[_0x19afd3(0x1bb)][_0x19afd3(0x1b0)](exchangeClient[_0x19afd3(0x1cf)]);if(!_0x23f9de)throw new Error(_0x19afd3(0x1b6));return _0x23f9de[_0x19afd3(0x1be)](_0x3ba318);}async[_0xf4294f(0x1b9)](_0x48e6d6){const _0x8efc35=_0xf4294f;return this[_0x8efc35(0x1d0)](_0x48e6d6);}async[_0xf4294f(0x1d0)](_0x5c6133){const _0x22e4c6=_0xf4294f,_0x528cc5=this[_0x22e4c6(0x1bb)][_0x22e4c6(0x1b0)](exchangeClient['IExchangeService']);if(!_0x528cc5)throw new Error(_0x22e4c6(0x1b6));return _0x528cc5[_0x22e4c6(0x1b9)](_0x5c6133);}async['importDOCXToUnitId'](_0xa53b03){return this['importDOCXToUnitIdAsync'](_0xa53b03);}async['importDOCXToUnitIdAsync'](_0xc3a463){const _0x589ad5=_0xf4294f,_0x4dc972=this['_injector']['get'](exchangeClient['IExchangeService']);if(!_0x4dc972)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4dc972[_0x589ad5(0x1b5)](_0xc3a463,UniverType[_0x589ad5(0x1c6)]);}async[_0xf4294f(0x1b3)](_0x2037a5){const _0x5a2ba3=_0xf4294f;return this[_0x5a2ba3(0x1ce)](_0x2037a5);}async[_0xf4294f(0x1ce)](_0x361724){const _0x30efeb=_0xf4294f,_0x2e37c0=this[_0x30efeb(0x1bb)][_0x30efeb(0x1b0)](exchangeClient[_0x30efeb(0x1cf)]);if(!_0x2e37c0)throw new Error(_0x30efeb(0x1b6));return _0x2e37c0[_0x30efeb(0x1b3)](_0x361724);}};__name(_FUniverExchangeClientMixin,_0xf4294f(0x1b1));let FUniverExchangeClientMixin=_FUniverExchangeClientMixin;core['FUniver'][_0xf4294f(0x1cb)](FUniverExchangeClientMixin);
1
+ 'use strict';const _0x1b5ccc=_0x4840;(function(_0xdcb2a1,_0x39665b){const _0x51fdf5=_0x4840,_0x31b200=_0xdcb2a1();while(!![]){try{const _0x2e82a2=-parseInt(_0x51fdf5(0x1e6))/0x1+parseInt(_0x51fdf5(0x1fd))/0x2+parseInt(_0x51fdf5(0x1ec))/0x3*(parseInt(_0x51fdf5(0x1f4))/0x4)+-parseInt(_0x51fdf5(0x1ff))/0x5+-parseInt(_0x51fdf5(0x1e4))/0x6+parseInt(_0x51fdf5(0x1fb))/0x7*(-parseInt(_0x51fdf5(0x1e1))/0x8)+parseInt(_0x51fdf5(0x1f2))/0x9;if(_0x2e82a2===_0x39665b)break;else _0x31b200['push'](_0x31b200['shift']());}catch(_0x4e9e41){_0x31b200['push'](_0x31b200['shift']());}}}(_0x2a41,0x9d834));const r=require(_0x1b5ccc(0x1f5)),i=require(_0x1b5ccc(0x1fe));var o=(_0x59de04=>(_0x59de04[_0x59de04[_0x1b5ccc(0x1e5)]=0x0]=_0x1b5ccc(0x1e5),_0x59de04[_0x59de04[_0x1b5ccc(0x1f6)]=0x1]=_0x1b5ccc(0x1f6),_0x59de04[_0x59de04[_0x1b5ccc(0x1e9)]=0x2]=_0x1b5ccc(0x1e9),_0x59de04[_0x59de04[_0x1b5ccc(0x1f7)]=0x3]='UNIVER_SLIDE',_0x59de04[_0x59de04[_0x1b5ccc(0x1fa)]=0x4]=_0x1b5ccc(0x1fa),_0x59de04[_0x59de04[_0x1b5ccc(0x1f1)]=-0x1]=_0x1b5ccc(0x1f1),_0x59de04))(o||{});function _0x2a41(){const _0x45e3a4=['importDOCXToSnapshot','IExchangeService','UNRECOGNIZED','13838373kdBipq','exportXLSXBySnapshotAsync','212684YWlLUC','@univerjs-pro/exchange-client','UNIVER_DOC','UNIVER_SLIDE','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','UNIVER_PROJECT','96803UhwFrn','The\x20exchange\x20service\x20is\x20not\x20available','2323224eBKdHu','@univerjs/core','4557155Kgwnuh','exportXLSXBySnapshot','importDOCXToUnitIdAsync','168oNUWcc','FUniver','importFileToUnitId','2913258ixtdqF','UNIVER_UNKNOWN','898364PpOaed','exportXLSXByUnitId','get','UNIVER_SHEET','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','30BkUdLn','extend','_injector'];_0x2a41=function(){return _0x45e3a4;};return _0x2a41();}class c extends i[_0x1b5ccc(0x1e2)]{async['importXLSXToUnitId'](_0x27771f){return this['importXLSXToUnitIdAsync'](_0x27771f);}async[_0x1b5ccc(0x1f8)](_0x2b765f){const _0x452d2b=_0x1b5ccc,_0x2b1aab=this[_0x452d2b(0x1ee)][_0x452d2b(0x1e8)](r[_0x452d2b(0x1f0)]);if(!_0x2b1aab)throw new Error(_0x452d2b(0x1fc));return _0x2b1aab['importFileToUnitId'](_0x2b765f,o[_0x452d2b(0x1e9)]);}async['importXLSXToSnapshot'](_0xe67591){return this['importXLSXToSnapshotAsync'](_0xe67591);}async[_0x1b5ccc(0x1ea)](_0x39550c){const _0x543f8a=_0x1b5ccc,_0xa82f21=this['_injector'][_0x543f8a(0x1e8)](r[_0x543f8a(0x1f0)]);if(!_0xa82f21)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xa82f21['importXLSXToSnapshot'](_0x39550c);}async[_0x1b5ccc(0x1e7)](_0x5f56f1){const _0x3c5035=_0x1b5ccc;return this[_0x3c5035(0x1f9)](_0x5f56f1);}async['exportXLSXByUnitIdAsync'](_0x57ee47){const _0xef3bac=_0x1b5ccc,_0x43c355=this[_0xef3bac(0x1ee)][_0xef3bac(0x1e8)](r[_0xef3bac(0x1f0)]);if(!_0x43c355)throw new Error(_0xef3bac(0x1fc));return _0x43c355[_0xef3bac(0x1e7)](_0x57ee47);}async[_0x1b5ccc(0x200)](_0xa93f46){return this['exportXLSXBySnapshotAsync'](_0xa93f46);}async[_0x1b5ccc(0x1f3)](_0x4de614){const _0x4d8b36=_0x1b5ccc,_0x538d18=this['_injector'][_0x4d8b36(0x1e8)](r[_0x4d8b36(0x1f0)]);if(!_0x538d18)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x538d18['exportXLSXBySnapshot'](_0x4de614);}async['importDOCXToUnitId'](_0x1b817c){const _0x24fc5b=_0x1b5ccc;return this[_0x24fc5b(0x201)](_0x1b817c);}async['importDOCXToUnitIdAsync'](_0x1bf5bb){const _0x3d0a6c=_0x1b5ccc,_0x54896f=this[_0x3d0a6c(0x1ee)][_0x3d0a6c(0x1e8)](r[_0x3d0a6c(0x1f0)]);if(!_0x54896f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x54896f[_0x3d0a6c(0x1e3)](_0x1bf5bb,o[_0x3d0a6c(0x1f6)]);}async[_0x1b5ccc(0x1ef)](_0x35cea9){return this['importDOCXToSnapshotAsync'](_0x35cea9);}async[_0x1b5ccc(0x1eb)](_0xf43be7){const _0x232a35=_0x1b5ccc,_0x3caf38=this[_0x232a35(0x1ee)]['get'](r[_0x232a35(0x1f0)]);if(!_0x3caf38)throw new Error(_0x232a35(0x1fc));return _0x3caf38[_0x232a35(0x1ef)](_0xf43be7);}}function _0x4840(_0x5a4de4,_0x3a3ed4){const _0x2a4172=_0x2a41();return _0x4840=function(_0x484041,_0x4d99a8){_0x484041=_0x484041-0x1e1;let _0x1dc5a4=_0x2a4172[_0x484041];return _0x1dc5a4;},_0x4840(_0x5a4de4,_0x3a3ed4);}i['FUniver'][_0x1b5ccc(0x1ed)](c);