@univerjs-pro/exchange-client 0.5.5-nightly.202501210925 → 0.5.5-nightly.202501220324

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 +7 -7
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xf6462f=_0x5860;(function(_0x492df9,_0x4d226e){const _0x1f328=_0x5860,_0x1dbf4a=_0x492df9();while(!![]){try{const _0x352100=parseInt(_0x1f328(0x1fc))/0x1+-parseInt(_0x1f328(0x1f7))/0x2+parseInt(_0x1f328(0x204))/0x3*(-parseInt(_0x1f328(0x1fd))/0x4)+parseInt(_0x1f328(0x1ec))/0x5+-parseInt(_0x1f328(0x1f0))/0x6*(-parseInt(_0x1f328(0x1e8))/0x7)+parseInt(_0x1f328(0x1f5))/0x8+-parseInt(_0x1f328(0x1fe))/0x9*(parseInt(_0x1f328(0x1f8))/0xa);if(_0x352100===_0x4d226e)break;else _0x1dbf4a['push'](_0x1dbf4a['shift']());}catch(_0x13cff3){_0x1dbf4a['push'](_0x1dbf4a['shift']());}}}(_0x935a,0xe7c16));function _0x935a(){const _0x41d044=['10942056xdepab','The\x20exchange\x20service\x20is\x20not\x20available','657820ybztgg','104180HCtFqV','UNIVER_PROJECT','exportXLSXByUnitId','UNRECOGNIZED','839910vUbExC','452bVYgOk','2817VbTyUt','IExchangeService','UNIVER_SLIDE','importDOCXToSnapshot','get','exportXLSXBySnapshotAsync','1071sfPQER','importDOCXToUnitId','UNIVER_SHEET','@univerjs/core','UNIVER_UNKNOWN','11409923rBvchS','extend','FUniver','exportXLSXBySnapshot','3708495vZZpxr','_injector','importFileToUnitId','UNIVER_DOC','6qQeGlD','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','importXLSXToSnapshotAsync','importXLSXToSnapshot'];_0x935a=function(){return _0x41d044;};return _0x935a();}const r=require('@univerjs-pro/exchange-client'),i=require(_0xf6462f(0x207));var o=(_0x32cd73=>(_0x32cd73[_0x32cd73['UNIVER_UNKNOWN']=0x0]=_0xf6462f(0x1e7),_0x32cd73[_0x32cd73[_0xf6462f(0x1ef)]=0x1]=_0xf6462f(0x1ef),_0x32cd73[_0x32cd73[_0xf6462f(0x206)]=0x2]=_0xf6462f(0x206),_0x32cd73[_0x32cd73[_0xf6462f(0x200)]=0x3]=_0xf6462f(0x200),_0x32cd73[_0x32cd73[_0xf6462f(0x1f9)]=0x4]=_0xf6462f(0x1f9),_0x32cd73[_0x32cd73[_0xf6462f(0x1fb)]=-0x1]=_0xf6462f(0x1fb),_0x32cd73))(o||{});class c extends i[_0xf6462f(0x1ea)]{async['importXLSXToUnitId'](_0x4be4ec){return this['importXLSXToUnitIdAsync'](_0x4be4ec);}async['importXLSXToUnitIdAsync'](_0x177bb7){const _0x2e08fb=_0xf6462f,_0x6032fc=this['_injector'][_0x2e08fb(0x202)](r[_0x2e08fb(0x1ff)]);if(!_0x6032fc)throw new Error(_0x2e08fb(0x1f6));return _0x6032fc[_0x2e08fb(0x1ee)](_0x177bb7,o[_0x2e08fb(0x206)]);}async['importXLSXToSnapshot'](_0x4b075d){const _0x38f0b1=_0xf6462f;return this[_0x38f0b1(0x1f3)](_0x4b075d);}async[_0xf6462f(0x1f3)](_0x475342){const _0x4ff4cc=_0xf6462f,_0x3cad71=this[_0x4ff4cc(0x1ed)][_0x4ff4cc(0x202)](r[_0x4ff4cc(0x1ff)]);if(!_0x3cad71)throw new Error(_0x4ff4cc(0x1f6));return _0x3cad71[_0x4ff4cc(0x1f4)](_0x475342);}async[_0xf6462f(0x1fa)](_0x1c8191){const _0x154853=_0xf6462f;return this[_0x154853(0x1f1)](_0x1c8191);}async[_0xf6462f(0x1f1)](_0xe44627){const _0x4e406c=_0xf6462f,_0x3fe673=this[_0x4e406c(0x1ed)][_0x4e406c(0x202)](r['IExchangeService']);if(!_0x3fe673)throw new Error(_0x4e406c(0x1f6));return _0x3fe673[_0x4e406c(0x1fa)](_0xe44627);}async['exportXLSXBySnapshot'](_0x67ad6d){const _0x357a42=_0xf6462f;return this[_0x357a42(0x203)](_0x67ad6d);}async[_0xf6462f(0x203)](_0x30740f){const _0x150e90=_0xf6462f,_0xd17e49=this[_0x150e90(0x1ed)][_0x150e90(0x202)](r[_0x150e90(0x1ff)]);if(!_0xd17e49)throw new Error(_0x150e90(0x1f6));return _0xd17e49[_0x150e90(0x1eb)](_0x30740f);}async[_0xf6462f(0x205)](_0x4ac083){const _0xea1a1c=_0xf6462f;return this[_0xea1a1c(0x1f2)](_0x4ac083);}async[_0xf6462f(0x1f2)](_0xdb2e03){const _0x512954=_0xf6462f,_0x6797e8=this[_0x512954(0x1ed)][_0x512954(0x202)](r['IExchangeService']);if(!_0x6797e8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6797e8[_0x512954(0x1ee)](_0xdb2e03,o[_0x512954(0x1ef)]);}async['importDOCXToSnapshot'](_0x3f4bbd){return this['importDOCXToSnapshotAsync'](_0x3f4bbd);}async['importDOCXToSnapshotAsync'](_0x51324f){const _0x473ddd=_0xf6462f,_0x2fe422=this[_0x473ddd(0x1ed)]['get'](r[_0x473ddd(0x1ff)]);if(!_0x2fe422)throw new Error(_0x473ddd(0x1f6));return _0x2fe422[_0x473ddd(0x201)](_0x51324f);}}function _0x5860(_0x56975f,_0x3d344e){const _0x935a3f=_0x935a();return _0x5860=function(_0x5860f6,_0x186a5e){_0x5860f6=_0x5860f6-0x1e7;let _0x1ae5f8=_0x935a3f[_0x5860f6];return _0x1ae5f8;},_0x5860(_0x56975f,_0x3d344e);}i[_0xf6462f(0x1ea)][_0xf6462f(0x1e9)](c);
1
+ 'use strict';const _0x5e1d43=_0x3f9d;(function(_0x46b778,_0x48300d){const _0x333d64=_0x3f9d,_0x188195=_0x46b778();while(!![]){try{const _0x411ef1=parseInt(_0x333d64(0xa6))/0x1+-parseInt(_0x333d64(0xb6))/0x2*(parseInt(_0x333d64(0xb1))/0x3)+-parseInt(_0x333d64(0x9a))/0x4+parseInt(_0x333d64(0xa4))/0x5+-parseInt(_0x333d64(0x9c))/0x6+-parseInt(_0x333d64(0xa8))/0x7*(-parseInt(_0x333d64(0x96))/0x8)+parseInt(_0x333d64(0xa1))/0x9;if(_0x411ef1===_0x48300d)break;else _0x188195['push'](_0x188195['shift']());}catch(_0x465ff9){_0x188195['push'](_0x188195['shift']());}}}(_0x3e45,0x7ee98));function _0x3f9d(_0x763bb9,_0xb4f2cb){const _0x3e45c5=_0x3e45();return _0x3f9d=function(_0x3f9d35,_0x3cca66){_0x3f9d35=_0x3f9d35-0x96;let _0x2a04e2=_0x3e45c5[_0x3f9d35];return _0x2a04e2;},_0x3f9d(_0x763bb9,_0xb4f2cb);}function _0x3e45(){const _0x29d98b=['9819063NtedSC','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','1284185HfKNID','exportXLSXBySnapshotAsync','535789rJSznu','importXLSXToUnitId','10717wxKeNE','importFileToUnitId','importDOCXToUnitIdAsync','get','UNIVER_PROJECT','importDOCXToUnitId','importDOCXToSnapshotAsync','_injector','exportXLSXByUnitIdAsync','21lkDECM','defineProperty','IExchangeService','exportXLSXByUnitId','name','219052bcotUO','FUniverExchangeClientMixin','UNIVER_DOC','UNIVER_SHEET','1240qAIBDu','UNIVER_UNKNOWN','exportXLSXBySnapshot','extend','1666480ZzJpMP','UNRECOGNIZED','2506824AkuRLf','importXLSXToSnapshot','UNIVER_SLIDE','importXLSXToSnapshotAsync','FUniver'];_0x3e45=function(){return _0x29d98b;};return _0x3e45();}var __defProp=Object[_0x5e1d43(0xb2)],__name=(_0x546608,_0x11bd05)=>__defProp(_0x546608,_0x5e1d43(0xb5),{'value':_0x11bd05,'configurable':!0x0});const exchangeClient=require('@univerjs-pro/exchange-client'),core=require('@univerjs/core');var UniverType=(_0x230047=>(_0x230047[_0x230047[_0x5e1d43(0x97)]=0x0]=_0x5e1d43(0x97),_0x230047[_0x230047[_0x5e1d43(0xb8)]=0x1]=_0x5e1d43(0xb8),_0x230047[_0x230047[_0x5e1d43(0xb9)]=0x2]='UNIVER_SHEET',_0x230047[_0x230047[_0x5e1d43(0x9e)]=0x3]=_0x5e1d43(0x9e),_0x230047[_0x230047[_0x5e1d43(0xac)]=0x4]=_0x5e1d43(0xac),_0x230047[_0x230047[_0x5e1d43(0x9b)]=-0x1]=_0x5e1d43(0x9b),_0x230047))(UniverType||{});const _FUniverExchangeClientMixin=class _FUniverExchangeClientMixin extends core[_0x5e1d43(0xa0)]{async[_0x5e1d43(0xa7)](_0x443952){const _0x439233=_0x5e1d43;return this[_0x439233(0xa3)](_0x443952);}async['importXLSXToUnitIdAsync'](_0x304e49){const _0xb4d425=_0x5e1d43,_0x28f35e=this['_injector'][_0xb4d425(0xab)](exchangeClient['IExchangeService']);if(!_0x28f35e)throw new Error(_0xb4d425(0xa2));return _0x28f35e[_0xb4d425(0xa9)](_0x304e49,UniverType[_0xb4d425(0xb9)]);}async[_0x5e1d43(0x9d)](_0x17f5b5){const _0x452c23=_0x5e1d43;return this[_0x452c23(0x9f)](_0x17f5b5);}async[_0x5e1d43(0x9f)](_0x4d1c1e){const _0x366865=_0x5e1d43,_0x59c0e1=this['_injector'][_0x366865(0xab)](exchangeClient['IExchangeService']);if(!_0x59c0e1)throw new Error(_0x366865(0xa2));return _0x59c0e1['importXLSXToSnapshot'](_0x4d1c1e);}async[_0x5e1d43(0xb4)](_0x448db0){const _0x21ad46=_0x5e1d43;return this[_0x21ad46(0xb0)](_0x448db0);}async[_0x5e1d43(0xb0)](_0x5ee186){const _0x28af02=_0x5e1d43,_0x286c6d=this['_injector'][_0x28af02(0xab)](exchangeClient[_0x28af02(0xb3)]);if(!_0x286c6d)throw new Error(_0x28af02(0xa2));return _0x286c6d[_0x28af02(0xb4)](_0x5ee186);}async['exportXLSXBySnapshot'](_0x2e2ad1){const _0x389479=_0x5e1d43;return this[_0x389479(0xa5)](_0x2e2ad1);}async[_0x5e1d43(0xa5)](_0xf9be6){const _0x5af990=_0x5e1d43,_0x1284c3=this['_injector'][_0x5af990(0xab)](exchangeClient[_0x5af990(0xb3)]);if(!_0x1284c3)throw new Error(_0x5af990(0xa2));return _0x1284c3[_0x5af990(0x98)](_0xf9be6);}async[_0x5e1d43(0xad)](_0x5c45c4){const _0xd65586=_0x5e1d43;return this[_0xd65586(0xaa)](_0x5c45c4);}async[_0x5e1d43(0xaa)](_0x1caa79){const _0x51f465=_0x5e1d43,_0x427e09=this[_0x51f465(0xaf)][_0x51f465(0xab)](exchangeClient[_0x51f465(0xb3)]);if(!_0x427e09)throw new Error(_0x51f465(0xa2));return _0x427e09['importFileToUnitId'](_0x1caa79,UniverType[_0x51f465(0xb8)]);}async['importDOCXToSnapshot'](_0x1ba4b2){const _0x5bcc9b=_0x5e1d43;return this[_0x5bcc9b(0xae)](_0x1ba4b2);}async[_0x5e1d43(0xae)](_0x34c737){const _0x94e48=_0x5e1d43,_0x409159=this[_0x94e48(0xaf)][_0x94e48(0xab)](exchangeClient[_0x94e48(0xb3)]);if(!_0x409159)throw new Error(_0x94e48(0xa2));return _0x409159['importDOCXToSnapshot'](_0x34c737);}};__name(_FUniverExchangeClientMixin,_0x5e1d43(0xb7));let FUniverExchangeClientMixin=_FUniverExchangeClientMixin;core['FUniver'][_0x5e1d43(0x99)](FUniverExchangeClientMixin);