@univerjs-pro/exchange-client 0.5.5-nightly.202501211606 → 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 _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 _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);