@univerjs-pro/exchange-client 0.5.5 → 0.6.0-alpha.0

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 (40) 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/facade/f-univer.d.ts +7 -0
  20. package/lib/types/views/UploadNotificationContainer.d.ts +1 -2
  21. package/lib/types/views/link-list/LinkList.d.ts +1 -2
  22. package/lib/types/views/upload-again/UploadAgain.d.ts +1 -2
  23. package/lib/types/views/upload-button/UploadButton.d.ts +1 -1
  24. package/lib/types/views/upload-error/UploadError.d.ts +1 -2
  25. package/lib/types/views/upload-notification/UploadNotification.d.ts +1 -2
  26. package/lib/types/views/upload-success/UploadSuccess.d.ts +1 -2
  27. package/lib/types/views/uploading/Uploading.d.ts +1 -2
  28. package/lib/types/views/uploading/upload-cancel/UploadCancel.d.ts +1 -2
  29. package/lib/types/views/uploading/upload-progress/UploadProgress.d.ts +1 -2
  30. package/lib/umd/facade.js +1 -1
  31. package/lib/umd/index.js +2 -2
  32. package/lib/umd/locale/en-US.js +1 -1
  33. package/lib/umd/locale/fa-IR.js +1 -1
  34. package/lib/umd/locale/fr-FR.js +1 -1
  35. package/lib/umd/locale/ru-RU.js +1 -1
  36. package/lib/umd/locale/vi-VN.js +1 -1
  37. package/lib/umd/locale/zh-CN.js +1 -1
  38. package/lib/umd/locale/zh-TW.js +1 -1
  39. package/package.json +11 -11
  40. package/lib/types/services/__tests__/snapshot.spec.d.ts +0 -1
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
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);
1
+ 'use strict';const _0x1bec0a=_0x489b;(function(_0x57beed,_0x2e9aa1){const _0x21b836=_0x489b,_0x15336a=_0x57beed();while(!![]){try{const _0x1e8d2b=-parseInt(_0x21b836(0x14e))/0x1+parseInt(_0x21b836(0x153))/0x2*(parseInt(_0x21b836(0x14f))/0x3)+parseInt(_0x21b836(0x161))/0x4*(-parseInt(_0x21b836(0x15a))/0x5)+parseInt(_0x21b836(0x146))/0x6*(-parseInt(_0x21b836(0x14b))/0x7)+parseInt(_0x21b836(0x154))/0x8*(-parseInt(_0x21b836(0x15d))/0x9)+parseInt(_0x21b836(0x157))/0xa+parseInt(_0x21b836(0x15c))/0xb*(parseInt(_0x21b836(0x148))/0xc);if(_0x1e8d2b===_0x2e9aa1)break;else _0x15336a['push'](_0x15336a['shift']());}catch(_0x31d269){_0x15336a['push'](_0x15336a['shift']());}}}(_0x5f27,0xc5153));function _0x489b(_0x2faa6c,_0x19aa3b){const _0x5f27c8=_0x5f27();return _0x489b=function(_0x489bc0,_0x6eeeba){_0x489bc0=_0x489bc0-0x13e;let _0x196933=_0x5f27c8[_0x489bc0];return _0x196933;},_0x489b(_0x2faa6c,_0x19aa3b);}const r=require(_0x1bec0a(0x143)),i=require(_0x1bec0a(0x13e));var o=(_0x1e15a9=>(_0x1e15a9[_0x1e15a9[_0x1bec0a(0x15f)]=0x0]=_0x1bec0a(0x15f),_0x1e15a9[_0x1e15a9[_0x1bec0a(0x150)]=0x1]=_0x1bec0a(0x150),_0x1e15a9[_0x1e15a9[_0x1bec0a(0x159)]=0x2]=_0x1bec0a(0x159),_0x1e15a9[_0x1e15a9[_0x1bec0a(0x156)]=0x3]=_0x1bec0a(0x156),_0x1e15a9[_0x1e15a9[_0x1bec0a(0x141)]=0x4]=_0x1bec0a(0x141),_0x1e15a9[_0x1e15a9[_0x1bec0a(0x13f)]=-0x1]=_0x1bec0a(0x13f),_0x1e15a9))(o||{});class c extends i[_0x1bec0a(0x160)]{async['importXLSXToUnitId'](_0x3d66fd){const _0x2909f0=_0x1bec0a;return this[_0x2909f0(0x144)](_0x3d66fd);}async[_0x1bec0a(0x144)](_0x3420c4){const _0x3720a2=_0x1bec0a,_0x3df5ee=this[_0x3720a2(0x14d)][_0x3720a2(0x15b)](r[_0x3720a2(0x155)]);if(!_0x3df5ee)throw new Error(_0x3720a2(0x152));return _0x3df5ee['importFileToUnitId'](_0x3420c4,o['UNIVER_SHEET']);}async[_0x1bec0a(0x142)](_0x1b14d4){const _0x388630=_0x1bec0a;return this[_0x388630(0x151)](_0x1b14d4);}async['importXLSXToSnapshotAsync'](_0x4f9cd6){const _0x289ed3=_0x1bec0a,_0x351fd5=this[_0x289ed3(0x14d)][_0x289ed3(0x15b)](r[_0x289ed3(0x155)]);if(!_0x351fd5)throw new Error(_0x289ed3(0x152));return _0x351fd5[_0x289ed3(0x142)](_0x4f9cd6);}async['exportXLSXByUnitId'](_0x21e4f5){const _0x26fb17=_0x1bec0a;return this[_0x26fb17(0x149)](_0x21e4f5);}async['exportXLSXByUnitIdAsync'](_0x93bdb){const _0x194dfc=_0x1bec0a,_0x2805e4=this['_injector'][_0x194dfc(0x15b)](r[_0x194dfc(0x155)]);if(!_0x2805e4)throw new Error(_0x194dfc(0x152));return _0x2805e4['exportXLSXByUnitId'](_0x93bdb);}async[_0x1bec0a(0x140)](_0x6d7299){const _0x58a6f3=_0x1bec0a;return this[_0x58a6f3(0x158)](_0x6d7299);}async[_0x1bec0a(0x158)](_0x13f9e0){const _0x8f97da=_0x1bec0a,_0x594b95=this['_injector'][_0x8f97da(0x15b)](r[_0x8f97da(0x155)]);if(!_0x594b95)throw new Error(_0x8f97da(0x152));return _0x594b95[_0x8f97da(0x140)](_0x13f9e0);}async[_0x1bec0a(0x147)](_0x10cdf6){const _0x1142d5=_0x1bec0a;return this[_0x1142d5(0x14c)](_0x10cdf6);}async[_0x1bec0a(0x14c)](_0x3baa28){const _0x4c7566=_0x1bec0a,_0x346c21=this[_0x4c7566(0x14d)][_0x4c7566(0x15b)](r[_0x4c7566(0x155)]);if(!_0x346c21)throw new Error(_0x4c7566(0x152));return _0x346c21[_0x4c7566(0x145)](_0x3baa28,o[_0x4c7566(0x150)]);}async[_0x1bec0a(0x15e)](_0x4e8287){return this['importDOCXToSnapshotAsync'](_0x4e8287);}async[_0x1bec0a(0x14a)](_0x1e2a26){const _0x1a8679=_0x1bec0a,_0x4831ba=this['_injector']['get'](r[_0x1a8679(0x155)]);if(!_0x4831ba)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4831ba[_0x1a8679(0x15e)](_0x1e2a26);}}function _0x5f27(){const _0x3c7b58=['@univerjs-pro/exchange-client','importXLSXToUnitIdAsync','importFileToUnitId','88194KIoaOk','importDOCXToUnitId','108uqJveY','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','147pTCYXi','importDOCXToUnitIdAsync','_injector','1545339ZntLDT','893664UgTQyu','UNIVER_DOC','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','2RhPRJB','4288040oggvLz','IExchangeService','UNIVER_SLIDE','135920viIkvF','exportXLSXBySnapshotAsync','UNIVER_SHEET','25tRbzZr','get','6766661zJHRre','27SEOzFL','importDOCXToSnapshot','UNIVER_UNKNOWN','FUniver','1262844YAyqPQ','@univerjs/core','UNRECOGNIZED','exportXLSXBySnapshot','UNIVER_PROJECT','importXLSXToSnapshot'];_0x5f27=function(){return _0x3c7b58;};return _0x5f27();}i[_0x1bec0a(0x160)]['extend'](c);