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

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 +8 -8
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 _0x5e3adf=_0x42fe;function _0x42fe(_0x5c10c8,_0x301fa2){const _0x343870=_0x3438();return _0x42fe=function(_0x42fe8d,_0x23bbcf){_0x42fe8d=_0x42fe8d-0x66;let _0x5a6613=_0x343870[_0x42fe8d];return _0x5a6613;},_0x42fe(_0x5c10c8,_0x301fa2);}function _0x3438(){const _0x2c381a=['importXLSXToSnapshotAsync','UNIVER_UNKNOWN','extend','importDOCXToUnitIdAsync','792945ZRnTUT','exportXLSXBySnapshotAsync','1004614FUMIGV','UNIVER_SLIDE','UNIVER_SHEET','exportXLSXByUnitIdAsync','@univerjs/core','exportXLSXBySnapshot','5625YIlrYE','UNIVER_DOC','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','856ilEZse','importFileToUnitId','importXLSXToSnapshot','_injector','importDOCXToSnapshot','1721448aYWjic','importDOCXToSnapshotAsync','5175dDtDaW','exportXLSXByUnitId','importDOCXToUnitId','get','FUniver','7ostaMP','UNIVER_PROJECT','26330zWVZaA','3073206AVjoHH','importXLSXToUnitIdAsync','2533295dcjkhl'];_0x3438=function(){return _0x2c381a;};return _0x3438();}(function(_0x30cc15,_0x26a9c1){const _0x50ff0a=_0x42fe,_0x33bf92=_0x30cc15();while(!![]){try{const _0x51860e=-parseInt(_0x50ff0a(0x7f))/0x1+-parseInt(_0x50ff0a(0x81))/0x2+parseInt(_0x50ff0a(0x87))/0x3*(parseInt(_0x50ff0a(0x69))/0x4)+-parseInt(_0x50ff0a(0x7a))/0x5+parseInt(_0x50ff0a(0x78))/0x6*(parseInt(_0x50ff0a(0x75))/0x7)+-parseInt(_0x50ff0a(0x6e))/0x8+parseInt(_0x50ff0a(0x70))/0x9*(parseInt(_0x50ff0a(0x77))/0xa);if(_0x51860e===_0x26a9c1)break;else _0x33bf92['push'](_0x33bf92['shift']());}catch(_0x525fef){_0x33bf92['push'](_0x33bf92['shift']());}}}(_0x3438,0x642de));const r=require('@univerjs-pro/exchange-client'),i=require(_0x5e3adf(0x85));var o=(_0x339a67=>(_0x339a67[_0x339a67[_0x5e3adf(0x7c)]=0x0]='UNIVER_UNKNOWN',_0x339a67[_0x339a67[_0x5e3adf(0x88)]=0x1]='UNIVER_DOC',_0x339a67[_0x339a67[_0x5e3adf(0x83)]=0x2]='UNIVER_SHEET',_0x339a67[_0x339a67['UNIVER_SLIDE']=0x3]=_0x5e3adf(0x82),_0x339a67[_0x339a67[_0x5e3adf(0x76)]=0x4]='UNIVER_PROJECT',_0x339a67[_0x339a67[_0x5e3adf(0x66)]=-0x1]=_0x5e3adf(0x66),_0x339a67))(o||{});class c extends i[_0x5e3adf(0x74)]{async['importXLSXToUnitId'](_0x3b2c3a){const _0x52a5df=_0x5e3adf;return this[_0x52a5df(0x79)](_0x3b2c3a);}async[_0x5e3adf(0x79)](_0x4a4251){const _0x158eec=_0x5e3adf,_0x172c79=this[_0x158eec(0x6c)][_0x158eec(0x73)](r[_0x158eec(0x68)]);if(!_0x172c79)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x172c79[_0x158eec(0x6a)](_0x4a4251,o['UNIVER_SHEET']);}async[_0x5e3adf(0x6b)](_0x3b84f2){const _0x32e7de=_0x5e3adf;return this[_0x32e7de(0x7b)](_0x3b84f2);}async['importXLSXToSnapshotAsync'](_0x1de92d){const _0xcfd01f=_0x5e3adf,_0x3c1a40=this[_0xcfd01f(0x6c)][_0xcfd01f(0x73)](r[_0xcfd01f(0x68)]);if(!_0x3c1a40)throw new Error(_0xcfd01f(0x67));return _0x3c1a40[_0xcfd01f(0x6b)](_0x1de92d);}async['exportXLSXByUnitId'](_0x5b6698){const _0x681e08=_0x5e3adf;return this[_0x681e08(0x84)](_0x5b6698);}async[_0x5e3adf(0x84)](_0x1de029){const _0x3d3077=_0x5e3adf,_0x2060d6=this[_0x3d3077(0x6c)][_0x3d3077(0x73)](r[_0x3d3077(0x68)]);if(!_0x2060d6)throw new Error(_0x3d3077(0x67));return _0x2060d6[_0x3d3077(0x71)](_0x1de029);}async[_0x5e3adf(0x86)](_0x5a7361){const _0x301eb7=_0x5e3adf;return this[_0x301eb7(0x80)](_0x5a7361);}async['exportXLSXBySnapshotAsync'](_0x1be783){const _0x23ee90=_0x5e3adf,_0x24df6a=this[_0x23ee90(0x6c)][_0x23ee90(0x73)](r[_0x23ee90(0x68)]);if(!_0x24df6a)throw new Error(_0x23ee90(0x67));return _0x24df6a['exportXLSXBySnapshot'](_0x1be783);}async[_0x5e3adf(0x72)](_0x62e219){const _0x14027b=_0x5e3adf;return this[_0x14027b(0x7e)](_0x62e219);}async[_0x5e3adf(0x7e)](_0x4bc7fc){const _0x17db67=_0x5e3adf,_0x3ec6ad=this[_0x17db67(0x6c)][_0x17db67(0x73)](r[_0x17db67(0x68)]);if(!_0x3ec6ad)throw new Error(_0x17db67(0x67));return _0x3ec6ad[_0x17db67(0x6a)](_0x4bc7fc,o[_0x17db67(0x88)]);}async[_0x5e3adf(0x6d)](_0x5ad80a){return this['importDOCXToSnapshotAsync'](_0x5ad80a);}async[_0x5e3adf(0x6f)](_0x588a70){const _0x4366ce=_0x5e3adf,_0x22dbd8=this['_injector'][_0x4366ce(0x73)](r[_0x4366ce(0x68)]);if(!_0x22dbd8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x22dbd8['importDOCXToSnapshot'](_0x588a70);}}i[_0x5e3adf(0x74)][_0x5e3adf(0x7d)](c);