@univerjs-pro/exchange-client 0.5.5 → 0.6.0-experimental.20250125-1d060b9

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 +10 -10
  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 _0xa943e6=_0x4ecc;(function(_0x5197c1,_0x579423){const _0x3f84c0=_0x4ecc,_0x2ded06=_0x5197c1();while(!![]){try{const _0x32f361=parseInt(_0x3f84c0(0x15f))/0x1+-parseInt(_0x3f84c0(0x14b))/0x2*(parseInt(_0x3f84c0(0x154))/0x3)+parseInt(_0x3f84c0(0x160))/0x4+parseInt(_0x3f84c0(0x163))/0x5*(parseInt(_0x3f84c0(0x15b))/0x6)+-parseInt(_0x3f84c0(0x162))/0x7+parseInt(_0x3f84c0(0x14f))/0x8*(-parseInt(_0x3f84c0(0x147))/0x9)+-parseInt(_0x3f84c0(0x157))/0xa*(parseInt(_0x3f84c0(0x158))/0xb);if(_0x32f361===_0x579423)break;else _0x2ded06['push'](_0x2ded06['shift']());}catch(_0x1e721c){_0x2ded06['push'](_0x2ded06['shift']());}}}(_0x463a,0xe8247));const r=require(_0xa943e6(0x159)),i=require(_0xa943e6(0x144));var o=(_0x94fb2e=>(_0x94fb2e[_0x94fb2e[_0xa943e6(0x15c)]=0x0]='UNIVER_UNKNOWN',_0x94fb2e[_0x94fb2e[_0xa943e6(0x151)]=0x1]=_0xa943e6(0x151),_0x94fb2e[_0x94fb2e['UNIVER_SHEET']=0x2]=_0xa943e6(0x142),_0x94fb2e[_0x94fb2e[_0xa943e6(0x143)]=0x3]='UNIVER_SLIDE',_0x94fb2e[_0x94fb2e[_0xa943e6(0x152)]=0x4]=_0xa943e6(0x152),_0x94fb2e[_0x94fb2e['UNRECOGNIZED']=-0x1]=_0xa943e6(0x14d),_0x94fb2e))(o||{});function _0x4ecc(_0x552fee,_0x2b050a){const _0x463a94=_0x463a();return _0x4ecc=function(_0x4ecc17,_0x1f769f){_0x4ecc17=_0x4ecc17-0x141;let _0x5e5234=_0x463a94[_0x4ecc17];return _0x5e5234;},_0x4ecc(_0x552fee,_0x2b050a);}class c extends i[_0xa943e6(0x141)]{async[_0xa943e6(0x150)](_0x4334b1){return this['importXLSXToUnitIdAsync'](_0x4334b1);}async['importXLSXToUnitIdAsync'](_0x39c6ef){const _0x3b1a99=_0xa943e6,_0x2f62a1=this[_0x3b1a99(0x145)][_0x3b1a99(0x155)](r[_0x3b1a99(0x14e)]);if(!_0x2f62a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f62a1[_0x3b1a99(0x148)](_0x39c6ef,o[_0x3b1a99(0x142)]);}async[_0xa943e6(0x15a)](_0x43a3d6){const _0x575296=_0xa943e6;return this[_0x575296(0x146)](_0x43a3d6);}async[_0xa943e6(0x146)](_0x4ae5f6){const _0x5eef02=_0xa943e6,_0xe30090=this['_injector']['get'](r['IExchangeService']);if(!_0xe30090)throw new Error(_0x5eef02(0x14a));return _0xe30090[_0x5eef02(0x15a)](_0x4ae5f6);}async[_0xa943e6(0x15d)](_0x5adc08){const _0x5f14eb=_0xa943e6;return this[_0x5f14eb(0x156)](_0x5adc08);}async[_0xa943e6(0x156)](_0x5bd439){const _0x1c3fca=_0xa943e6,_0x20c6c1=this[_0x1c3fca(0x145)][_0x1c3fca(0x155)](r['IExchangeService']);if(!_0x20c6c1)throw new Error(_0x1c3fca(0x14a));return _0x20c6c1['exportXLSXByUnitId'](_0x5bd439);}async[_0xa943e6(0x14c)](_0x282d10){const _0x10749a=_0xa943e6;return this[_0x10749a(0x15e)](_0x282d10);}async[_0xa943e6(0x15e)](_0x55ee61){const _0x46e24d=_0xa943e6,_0x5ab835=this[_0x46e24d(0x145)][_0x46e24d(0x155)](r[_0x46e24d(0x14e)]);if(!_0x5ab835)throw new Error(_0x46e24d(0x14a));return _0x5ab835[_0x46e24d(0x14c)](_0x55ee61);}async['importDOCXToUnitId'](_0x2a36b8){const _0x2b0449=_0xa943e6;return this[_0x2b0449(0x149)](_0x2a36b8);}async[_0xa943e6(0x149)](_0x2cfefe){const _0x520802=_0xa943e6,_0x3d4e3a=this['_injector'][_0x520802(0x155)](r[_0x520802(0x14e)]);if(!_0x3d4e3a)throw new Error(_0x520802(0x14a));return _0x3d4e3a[_0x520802(0x148)](_0x2cfefe,o[_0x520802(0x151)]);}async[_0xa943e6(0x161)](_0x26a5c8){const _0x280e45=_0xa943e6;return this[_0x280e45(0x153)](_0x26a5c8);}async[_0xa943e6(0x153)](_0x5071ec){const _0x327825=_0xa943e6,_0x5e18d0=this['_injector'][_0x327825(0x155)](r[_0x327825(0x14e)]);if(!_0x5e18d0)throw new Error(_0x327825(0x14a));return _0x5e18d0['importDOCXToSnapshot'](_0x5071ec);}}i[_0xa943e6(0x141)]['extend'](c);function _0x463a(){const _0x137405=['importDOCXToSnapshotAsync','1170783HVFkVC','get','exportXLSXByUnitIdAsync','10sGPAGm','6521009hPhRTv','@univerjs-pro/exchange-client','importXLSXToSnapshot','400446tOQhpo','UNIVER_UNKNOWN','exportXLSXByUnitId','exportXLSXBySnapshotAsync','1878035KZDVal','1945144fDefBa','importDOCXToSnapshot','1320550DWFKlY','15Wpfrza','FUniver','UNIVER_SHEET','UNIVER_SLIDE','@univerjs/core','_injector','importXLSXToSnapshotAsync','1197kwhhLR','importFileToUnitId','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','2SeRUew','exportXLSXBySnapshot','UNRECOGNIZED','IExchangeService','26584djhmwA','importXLSXToUnitId','UNIVER_DOC','UNIVER_PROJECT'];_0x463a=function(){return _0x137405;};return _0x463a();}