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

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';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);
1
+ 'use strict';const _0x2f4549=_0x368a;function _0x368a(_0x4ddff8,_0x3d5c99){const _0x5597d4=_0x5597();return _0x368a=function(_0x368a77,_0x47349c){_0x368a77=_0x368a77-0xb4;let _0x5364cd=_0x5597d4[_0x368a77];return _0x5364cd;},_0x368a(_0x4ddff8,_0x3d5c99);}(function(_0x492fbb,_0x432381){const _0x37cb86=_0x368a,_0x36c6f6=_0x492fbb();while(!![]){try{const _0x5bbf1f=parseInt(_0x37cb86(0xc7))/0x1*(parseInt(_0x37cb86(0xcf))/0x2)+parseInt(_0x37cb86(0xbc))/0x3+parseInt(_0x37cb86(0xc8))/0x4+parseInt(_0x37cb86(0xba))/0x5*(parseInt(_0x37cb86(0xb9))/0x6)+-parseInt(_0x37cb86(0xc6))/0x7+parseInt(_0x37cb86(0xc2))/0x8+-parseInt(_0x37cb86(0xca))/0x9;if(_0x5bbf1f===_0x432381)break;else _0x36c6f6['push'](_0x36c6f6['shift']());}catch(_0x5dd5f3){_0x36c6f6['push'](_0x36c6f6['shift']());}}}(_0x5597,0x3ff3d));const r=require('@univerjs-pro/exchange-client'),i=require(_0x2f4549(0xcd));function _0x5597(){const _0x59ed30=['8860149RKMCar','importXLSXToUnitIdAsync','UNIVER_SLIDE','@univerjs/core','UNIVER_DOC','46IzXkBZ','importXLSXToSnapshotAsync','IExchangeService','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','exportXLSXBySnapshot','extend','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','UNIVER_UNKNOWN','30uHTusZ','429535dUcoXl','exportXLSXByUnitIdAsync','1003587vJwxQM','UNIVER_SHEET','importFileToUnitId','UNIVER_PROJECT','importXLSXToUnitId','get','1104472OoflTD','exportXLSXByUnitId','FUniver','importXLSXToSnapshot','1363838IJgXCD','17790MBEhPG','519804zGLmZN','_injector'];_0x5597=function(){return _0x59ed30;};return _0x5597();}var o=(_0x584fec=>(_0x584fec[_0x584fec[_0x2f4549(0xb8)]=0x0]=_0x2f4549(0xb8),_0x584fec[_0x584fec['UNIVER_DOC']=0x1]=_0x2f4549(0xce),_0x584fec[_0x584fec[_0x2f4549(0xbd)]=0x2]=_0x2f4549(0xbd),_0x584fec[_0x584fec[_0x2f4549(0xcc)]=0x3]=_0x2f4549(0xcc),_0x584fec[_0x584fec[_0x2f4549(0xbf)]=0x4]=_0x2f4549(0xbf),_0x584fec[_0x584fec[_0x2f4549(0xb7)]=-0x1]='UNRECOGNIZED',_0x584fec))(o||{});class c extends i[_0x2f4549(0xc4)]{async[_0x2f4549(0xc0)](_0x53237c){const _0x51f1fd=_0x2f4549;return this[_0x51f1fd(0xcb)](_0x53237c);}async['importXLSXToUnitIdAsync'](_0x511554){const _0x494746=_0x2f4549,_0x44ed89=this['_injector'][_0x494746(0xc1)](r[_0x494746(0xd1)]);if(!_0x44ed89)throw new Error(_0x494746(0xb6));return _0x44ed89[_0x494746(0xbe)](_0x511554,o[_0x494746(0xbd)]);}async[_0x2f4549(0xc5)](_0xd94afa){const _0x2765eb=_0x2f4549;return this[_0x2765eb(0xd0)](_0xd94afa);}async[_0x2f4549(0xd0)](_0x5ac4ac){const _0x266a83=_0x2f4549,_0x576681=this[_0x266a83(0xc9)][_0x266a83(0xc1)](r[_0x266a83(0xd1)]);if(!_0x576681)throw new Error(_0x266a83(0xb6));return _0x576681[_0x266a83(0xc5)](_0x5ac4ac);}async['exportXLSXByUnitId'](_0xdeb5a3){const _0x265404=_0x2f4549;return this[_0x265404(0xbb)](_0xdeb5a3);}async[_0x2f4549(0xbb)](_0x17bdc1){const _0x25688a=_0x2f4549,_0x4a19c5=this[_0x25688a(0xc9)][_0x25688a(0xc1)](r['IExchangeService']);if(!_0x4a19c5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4a19c5[_0x25688a(0xc3)](_0x17bdc1);}async[_0x2f4549(0xd4)](_0xaa9f20){return this['exportXLSXBySnapshotAsync'](_0xaa9f20);}async['exportXLSXBySnapshotAsync'](_0x47078d){const _0x3c69e3=_0x2f4549,_0x14f49f=this[_0x3c69e3(0xc9)][_0x3c69e3(0xc1)](r[_0x3c69e3(0xd1)]);if(!_0x14f49f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x14f49f[_0x3c69e3(0xd4)](_0x47078d);}async['importDOCXToUnitId'](_0x2df633){const _0x236d5e=_0x2f4549;return this[_0x236d5e(0xd3)](_0x2df633);}async[_0x2f4549(0xd3)](_0x4a3c77){const _0x34f98b=_0x2f4549,_0x58c9fc=this[_0x34f98b(0xc9)][_0x34f98b(0xc1)](r[_0x34f98b(0xd1)]);if(!_0x58c9fc)throw new Error(_0x34f98b(0xb6));return _0x58c9fc['importFileToUnitId'](_0x4a3c77,o[_0x34f98b(0xce)]);}async[_0x2f4549(0xb5)](_0x39ce50){const _0x3a5658=_0x2f4549;return this[_0x3a5658(0xd2)](_0x39ce50);}async[_0x2f4549(0xd2)](_0xe456e1){const _0x2433f3=_0x2f4549,_0xd3ca76=this[_0x2433f3(0xc9)][_0x2433f3(0xc1)](r[_0x2433f3(0xd1)]);if(!_0xd3ca76)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xd3ca76[_0x2433f3(0xb5)](_0xe456e1);}}i[_0x2f4549(0xc4)][_0x2f4549(0xb4)](c);