@univerjs-pro/exchange-client 0.9.0 → 0.9.1-nightly.202507051607

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 (42) 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/ko-KR.js +1 -1
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +2 -2
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -1
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.css +1 -1
  23. package/lib/index.js +2 -2
  24. package/lib/locale/en-US.js +1 -1
  25. package/lib/locale/fa-IR.js +1 -1
  26. package/lib/locale/fr-FR.js +1 -1
  27. package/lib/locale/ko-KR.js +1 -1
  28. package/lib/locale/ru-RU.js +1 -1
  29. package/lib/locale/vi-VN.js +1 -1
  30. package/lib/locale/zh-CN.js +1 -1
  31. package/lib/locale/zh-TW.js +1 -1
  32. package/lib/umd/facade.js +1 -1
  33. package/lib/umd/index.js +2 -2
  34. package/lib/umd/locale/en-US.js +1 -1
  35. package/lib/umd/locale/fa-IR.js +1 -1
  36. package/lib/umd/locale/fr-FR.js +1 -1
  37. package/lib/umd/locale/ko-KR.js +1 -1
  38. package/lib/umd/locale/ru-RU.js +1 -1
  39. package/lib/umd/locale/vi-VN.js +1 -1
  40. package/lib/umd/locale/zh-CN.js +1 -1
  41. package/lib/umd/locale/zh-TW.js +1 -1
  42. package/package.json +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x4a35c1=_0x5f29;(function(_0x1a83fd,_0x417098){const _0x43681d=_0x5f29,_0x51a8de=_0x1a83fd();while(!![]){try{const _0x2508fc=-parseInt(_0x43681d(0x150))/0x1+parseInt(_0x43681d(0x153))/0x2*(-parseInt(_0x43681d(0x167))/0x3)+parseInt(_0x43681d(0x15f))/0x4*(parseInt(_0x43681d(0x156))/0x5)+parseInt(_0x43681d(0x152))/0x6*(-parseInt(_0x43681d(0x14f))/0x7)+-parseInt(_0x43681d(0x149))/0x8*(parseInt(_0x43681d(0x168))/0x9)+-parseInt(_0x43681d(0x164))/0xa*(parseInt(_0x43681d(0x166))/0xb)+parseInt(_0x43681d(0x14d))/0xc;if(_0x2508fc===_0x417098)break;else _0x51a8de['push'](_0x51a8de['shift']());}catch(_0x5d957a){_0x51a8de['push'](_0x51a8de['shift']());}}}(_0x3e64,0xebfe9));function _0x5f29(_0x5cce49,_0x3ed352){const _0x3e6499=_0x3e64();return _0x5f29=function(_0x5f29fa,_0x4aa41e){_0x5f29fa=_0x5f29fa-0x148;let _0x3bf98a=_0x3e6499[_0x5f29fa];return _0x3bf98a;},_0x5f29(_0x5cce49,_0x3ed352);}function _0x3e64(){const _0x3b360e=['_injector','16nYZdwu','get','UNIVER_SHEET','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','10SyJAFB','exportDOCXByUnitId','18742119rLIFIB','588594QZLEbY','4653549cuPtHQ','UNIVER_SLIDE','importDOCXToSnapshot','importXLSXToSnapshotAsync','IExchangeService','importDOCXToUnitId','FUniver','UNIVER_DOC','8UTAmqL','exportXLSXByUnitId','importFileToUnitId','exportXLSXByUnitIdAsync','47014728NzJnzO','The\x20exchange\x20service\x20is\x20not\x20available','6923Mrvylq','1231750fbXNai','exportDOCXByUnitIdAsync','2202xTRDGw','10lgtbfQ','importXLSXToUnitId','importXLSXToUnitIdAsync','2306665guhSBX','exportXLSXBySnapshot','UNIVER_PROJECT','importDOCXToUnitIdAsync','UNRECOGNIZED','importXLSXToSnapshot','exportDOCXBySnapshotAsync','UNIVER_UNKNOWN'];_0x3e64=function(){return _0x3b360e;};return _0x3e64();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x565c5f=>(_0x565c5f[_0x565c5f[_0x4a35c1(0x15d)]=0x0]=_0x4a35c1(0x15d),_0x565c5f[_0x565c5f[_0x4a35c1(0x148)]=0x1]=_0x4a35c1(0x148),_0x565c5f[_0x565c5f['UNIVER_SHEET']=0x2]=_0x4a35c1(0x161),_0x565c5f[_0x565c5f[_0x4a35c1(0x169)]=0x3]=_0x4a35c1(0x169),_0x565c5f[_0x565c5f['UNIVER_PROJECT']=0x4]=_0x4a35c1(0x158),_0x565c5f[_0x565c5f[_0x4a35c1(0x15a)]=-0x1]=_0x4a35c1(0x15a),_0x565c5f))(i||{});class c extends o[_0x4a35c1(0x16e)]{async[_0x4a35c1(0x154)](_0x53a276){const _0x39bdd4=_0x4a35c1;return this[_0x39bdd4(0x155)](_0x53a276);}async[_0x4a35c1(0x155)](_0xd548d){const _0x23d12e=_0x4a35c1,_0x50bfd3=this['_injector']['get'](r[_0x23d12e(0x16c)]);if(!_0x50bfd3)throw new Error(_0x23d12e(0x14e));return _0x50bfd3[_0x23d12e(0x14b)](_0xd548d,i[_0x23d12e(0x161)]);}async[_0x4a35c1(0x15b)](_0x4c544e){const _0x537404=_0x4a35c1;return this[_0x537404(0x16b)](_0x4c544e);}async[_0x4a35c1(0x16b)](_0x316e9c){const _0x174241=_0x4a35c1,_0x58b953=this[_0x174241(0x15e)][_0x174241(0x160)](r['IExchangeService']);if(!_0x58b953)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x58b953[_0x174241(0x15b)](_0x316e9c);}async[_0x4a35c1(0x14a)](_0x39bffe){const _0x4c3017=_0x4a35c1;return this[_0x4c3017(0x14c)](_0x39bffe);}async['exportXLSXByUnitIdAsync'](_0x57a013){const _0x36d712=_0x4a35c1,_0x3dccfd=this[_0x36d712(0x15e)][_0x36d712(0x160)](r['IExchangeService']);if(!_0x3dccfd)throw new Error(_0x36d712(0x14e));return _0x3dccfd['exportXLSXByUnitId'](_0x57a013);}async[_0x4a35c1(0x157)](_0x414976){const _0x21d418=_0x4a35c1;return this[_0x21d418(0x162)](_0x414976);}async[_0x4a35c1(0x162)](_0x4f8eb3){const _0x34eb0b=_0x4a35c1,_0x38e8d1=this[_0x34eb0b(0x15e)][_0x34eb0b(0x160)](r['IExchangeService']);if(!_0x38e8d1)throw new Error(_0x34eb0b(0x14e));return _0x38e8d1['exportXLSXBySnapshot'](_0x4f8eb3);}async[_0x4a35c1(0x16d)](_0xc98c8e){const _0x54e4df=_0x4a35c1;return this[_0x54e4df(0x159)](_0xc98c8e);}async[_0x4a35c1(0x159)](_0x277ac9){const _0x59d6b2=_0x4a35c1,_0x4e835e=this['_injector'][_0x59d6b2(0x160)](r[_0x59d6b2(0x16c)]);if(!_0x4e835e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4e835e[_0x59d6b2(0x14b)](_0x277ac9,i[_0x59d6b2(0x148)]);}async[_0x4a35c1(0x16a)](_0x35b6fc){const _0x3f8963=_0x4a35c1;return this[_0x3f8963(0x163)](_0x35b6fc);}async[_0x4a35c1(0x163)](_0x60a923){const _0x4dfd8b=_0x4a35c1,_0x2aac54=this[_0x4dfd8b(0x15e)][_0x4dfd8b(0x160)](r[_0x4dfd8b(0x16c)]);if(!_0x2aac54)throw new Error(_0x4dfd8b(0x14e));return _0x2aac54['importDOCXToSnapshot'](_0x60a923);}async[_0x4a35c1(0x15c)](_0x6979c6){const _0x30d347=_0x4a35c1,_0x33533c=this[_0x30d347(0x15e)][_0x30d347(0x160)](r['IExchangeService']);if(!_0x33533c)throw new Error(_0x30d347(0x14e));return _0x33533c['exportDOCXBySnapshot'](_0x6979c6);}async[_0x4a35c1(0x151)](_0x28a950){const _0xef3101=_0x4a35c1,_0x70f76e=this['_injector'][_0xef3101(0x160)](r['IExchangeService']);if(!_0x70f76e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x70f76e[_0xef3101(0x165)](_0x28a950);}}o[_0x4a35c1(0x16e)]['extend'](c);
1
+ 'use strict';const _0x3eb970=_0x4ba8;function _0x11f2(){const _0x411a90=['4605678NUOARV','importDOCXToSnapshotAsync','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','UNIVER_PROJECT','importFileToUnitId','importXLSXToSnapshotAsync','904620QYRmkd','504890prSlWX','get','10xAYoSQ','IExchangeService','324nBSead','importDOCXToUnitId','importXLSXToUnitId','2429502eThZOS','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','339568akwkLw','UNIVER_SLIDE','exportXLSXBySnapshot','UNRECOGNIZED','_injector','exportDOCXByUnitId','exportDOCXByUnitIdAsync','importXLSXToSnapshot','extend','UNIVER_DOC','exportDOCXBySnapshot','importDOCXToUnitIdAsync','673824VPFiNw','exportXLSXByUnitIdAsync','2545868JfoMtB','UNIVER_SHEET'];_0x11f2=function(){return _0x411a90;};return _0x11f2();}(function(_0xa338a1,_0x3ebeb8){const _0x3069e5=_0x4ba8,_0x5d6a5b=_0xa338a1();while(!![]){try{const _0x2d70d6=-parseInt(_0x3069e5(0x158))/0x1+-parseInt(_0x3069e5(0x165))/0x2+-parseInt(_0x3069e5(0x164))/0x3+parseInt(_0x3069e5(0x15a))/0x4+-parseInt(_0x3069e5(0x167))/0x5*(parseInt(_0x3069e5(0x16c))/0x6)+parseInt(_0x3069e5(0x15c))/0x7+-parseInt(_0x3069e5(0x16f))/0x8*(-parseInt(_0x3069e5(0x169))/0x9);if(_0x2d70d6===_0x3ebeb8)break;else _0x5d6a5b['push'](_0x5d6a5b['shift']());}catch(_0x23734b){_0x5d6a5b['push'](_0x5d6a5b['shift']());}}}(_0x11f2,0xbf9c2));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x4ba8(_0x543c23,_0x274308){const _0x11f256=_0x11f2();return _0x4ba8=function(_0x4ba84c,_0x3b2373){_0x4ba84c=_0x4ba84c-0x158;let _0x103510=_0x11f256[_0x4ba84c];return _0x103510;},_0x4ba8(_0x543c23,_0x274308);}var i=(_0x282a69=>(_0x282a69[_0x282a69[_0x3eb970(0x16d)]=0x0]=_0x3eb970(0x16d),_0x282a69[_0x282a69[_0x3eb970(0x178)]=0x1]='UNIVER_DOC',_0x282a69[_0x282a69[_0x3eb970(0x15b)]=0x2]='UNIVER_SHEET',_0x282a69[_0x282a69[_0x3eb970(0x170)]=0x3]=_0x3eb970(0x170),_0x282a69[_0x282a69[_0x3eb970(0x161)]=0x4]='UNIVER_PROJECT',_0x282a69[_0x282a69[_0x3eb970(0x172)]=-0x1]=_0x3eb970(0x172),_0x282a69))(i||{});class c extends o[_0x3eb970(0x160)]{async[_0x3eb970(0x16b)](_0x2d17ab){const _0x278160=_0x3eb970;return this[_0x278160(0x16e)](_0x2d17ab);}async['importXLSXToUnitIdAsync'](_0x50b6a9){const _0x14b515=_0x3eb970,_0x425944=this[_0x14b515(0x173)][_0x14b515(0x166)](r[_0x14b515(0x168)]);if(!_0x425944)throw new Error(_0x14b515(0x15f));return _0x425944[_0x14b515(0x162)](_0x50b6a9,i[_0x14b515(0x15b)]);}async[_0x3eb970(0x176)](_0x45c1a2){const _0x5eb6da=_0x3eb970;return this[_0x5eb6da(0x163)](_0x45c1a2);}async[_0x3eb970(0x163)](_0x2c12d7){const _0x54ebd8=_0x3eb970,_0x28d8fd=this[_0x54ebd8(0x173)][_0x54ebd8(0x166)](r[_0x54ebd8(0x168)]);if(!_0x28d8fd)throw new Error(_0x54ebd8(0x15f));return _0x28d8fd[_0x54ebd8(0x176)](_0x2c12d7);}async['exportXLSXByUnitId'](_0x3086ff){const _0x4d6ca5=_0x3eb970;return this[_0x4d6ca5(0x159)](_0x3086ff);}async[_0x3eb970(0x159)](_0x4b9052){const _0x51e7ca=_0x3eb970,_0x2b912b=this[_0x51e7ca(0x173)][_0x51e7ca(0x166)](r[_0x51e7ca(0x168)]);if(!_0x2b912b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2b912b[_0x51e7ca(0x15e)](_0x4b9052);}async['exportXLSXBySnapshot'](_0x406d5b){return this['exportXLSXBySnapshotAsync'](_0x406d5b);}async['exportXLSXBySnapshotAsync'](_0x43fb87){const _0x579b46=_0x3eb970,_0x2591bc=this[_0x579b46(0x173)]['get'](r[_0x579b46(0x168)]);if(!_0x2591bc)throw new Error(_0x579b46(0x15f));return _0x2591bc[_0x579b46(0x171)](_0x43fb87);}async[_0x3eb970(0x16a)](_0x342fb5){const _0x56790b=_0x3eb970;return this[_0x56790b(0x17a)](_0x342fb5);}async['importDOCXToUnitIdAsync'](_0x4dc9a4){const _0x4a1bcf=_0x3eb970,_0x1906b9=this[_0x4a1bcf(0x173)][_0x4a1bcf(0x166)](r[_0x4a1bcf(0x168)]);if(!_0x1906b9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1906b9[_0x4a1bcf(0x162)](_0x4dc9a4,i[_0x4a1bcf(0x178)]);}async['importDOCXToSnapshot'](_0x43b54e){const _0x5f2d38=_0x3eb970;return this[_0x5f2d38(0x15d)](_0x43b54e);}async[_0x3eb970(0x15d)](_0x39870a){const _0x10dfb8=_0x3eb970,_0x18f1cd=this[_0x10dfb8(0x173)][_0x10dfb8(0x166)](r[_0x10dfb8(0x168)]);if(!_0x18f1cd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18f1cd['importDOCXToSnapshot'](_0x39870a);}async['exportDOCXBySnapshotAsync'](_0x3f9bd2){const _0x2828f5=_0x3eb970,_0x2b85c2=this[_0x2828f5(0x173)]['get'](r[_0x2828f5(0x168)]);if(!_0x2b85c2)throw new Error(_0x2828f5(0x15f));return _0x2b85c2[_0x2828f5(0x179)](_0x3f9bd2);}async[_0x3eb970(0x175)](_0x3c8b8d){const _0x950a8f=_0x3eb970,_0x3289ff=this[_0x950a8f(0x173)]['get'](r[_0x950a8f(0x168)]);if(!_0x3289ff)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3289ff[_0x950a8f(0x174)](_0x3c8b8d);}}o[_0x3eb970(0x160)][_0x3eb970(0x177)](c);