@univerjs-pro/exchange-client 0.10.3 → 0.10.4-nightly.202508220605

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 (50) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +2 -2
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +2 -2
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/locale/en-US.d.ts +0 -1
  38. package/lib/umd/facade.js +1 -1
  39. package/lib/umd/index.js +2 -2
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x238134=_0x2313;function _0x3415(){const _0x3e9977=['3URzDFR','3898902GImXkc','importDOCXToUnitIdAsync','UNIVER_SHEET','importFileToUnitId','importXLSXToUnitId','FUniver','UNIVER_SLIDE','2395274sSfFIl','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','3229470XJbaQx','_injector','2Ssbuoq','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','exportXLSXByUnitId','UNIVER_DOC','exportDOCXByUnitId','exportDOCXBySnapshot','6421880gWPrEy','IExchangeService','1615115FgkvGO','UNRECOGNIZED','exportXLSXBySnapshot','extend','importXLSXToSnapshotAsync','8kRBIPm','importDOCXToSnapshotAsync','UNIVER_PROJECT','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','get','exportDOCXByUnitIdAsync','722535Tkirqw','3416460rxvUBo'];_0x3415=function(){return _0x3e9977;};return _0x3415();}(function(_0x33f0d3,_0xefb47d){const _0x54ddd2=_0x2313,_0xaa0688=_0x33f0d3();while(!![]){try{const _0xd33dd7=parseInt(_0x54ddd2(0x174))/0x1*(-parseInt(_0x54ddd2(0x15f))/0x2)+parseInt(_0x54ddd2(0x176))/0x3*(parseInt(_0x54ddd2(0x175))/0x4)+parseInt(_0x54ddd2(0x168))/0x5+-parseInt(_0x54ddd2(0x177))/0x6+-parseInt(_0x54ddd2(0x15a))/0x7*(parseInt(_0x54ddd2(0x16d))/0x8)+parseInt(_0x54ddd2(0x15d))/0x9+parseInt(_0x54ddd2(0x166))/0xa;if(_0xd33dd7===_0xefb47d)break;else _0xaa0688['push'](_0xaa0688['shift']());}catch(_0x20a051){_0xaa0688['push'](_0xaa0688['shift']());}}}(_0x3415,0x71306));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x311bbf=>(_0x311bbf[_0x311bbf['UNIVER_UNKNOWN']=0x0]=_0x238134(0x160),_0x311bbf[_0x311bbf[_0x238134(0x163)]=0x1]=_0x238134(0x163),_0x311bbf[_0x311bbf[_0x238134(0x179)]=0x2]=_0x238134(0x179),_0x311bbf[_0x311bbf[_0x238134(0x159)]=0x3]=_0x238134(0x159),_0x311bbf[_0x311bbf[_0x238134(0x16f)]=0x4]=_0x238134(0x16f),_0x311bbf[_0x311bbf[_0x238134(0x169)]=-0x1]=_0x238134(0x169),_0x311bbf))(i||{});function _0x2313(_0x5e1938,_0x24bc36){const _0x34158f=_0x3415();return _0x2313=function(_0x2313b4,_0x1d841b){_0x2313b4=_0x2313b4-0x159;let _0x4f1fd5=_0x34158f[_0x2313b4];return _0x4f1fd5;},_0x2313(_0x5e1938,_0x24bc36);}class c extends o[_0x238134(0x17c)]{async[_0x238134(0x17b)](_0x5d8fd1){const _0xcb445a=_0x238134;return this[_0xcb445a(0x161)](_0x5d8fd1);}async[_0x238134(0x161)](_0x1e2813){const _0x425351=_0x238134,_0x59b7a6=this['_injector'][_0x425351(0x172)](r[_0x425351(0x167)]);if(!_0x59b7a6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x59b7a6[_0x425351(0x17a)](_0x1e2813,i[_0x425351(0x179)]);}async['importXLSXToSnapshot'](_0x120773){const _0xefb9bf=_0x238134;return this[_0xefb9bf(0x16c)](_0x120773);}async['importXLSXToSnapshotAsync'](_0x11b4e2){const _0x2c2024=_0x238134,_0x27a93c=this[_0x2c2024(0x15e)]['get'](r[_0x2c2024(0x167)]);if(!_0x27a93c)throw new Error(_0x2c2024(0x171));return _0x27a93c['importXLSXToSnapshot'](_0x11b4e2);}async[_0x238134(0x162)](_0x3dbd94){const _0x34a2fc=_0x238134;return this[_0x34a2fc(0x15c)](_0x3dbd94);}async['exportXLSXByUnitIdAsync'](_0x3f1c32){const _0x38d000=_0x238134,_0x4b1007=this[_0x38d000(0x15e)]['get'](r[_0x38d000(0x167)]);if(!_0x4b1007)throw new Error(_0x38d000(0x171));return _0x4b1007[_0x38d000(0x162)](_0x3f1c32);}async[_0x238134(0x16a)](_0x42ed5c){const _0x1abb84=_0x238134;return this[_0x1abb84(0x15b)](_0x42ed5c);}async[_0x238134(0x15b)](_0x27863f){const _0x280374=_0x238134,_0xd66639=this[_0x280374(0x15e)][_0x280374(0x172)](r[_0x280374(0x167)]);if(!_0xd66639)throw new Error(_0x280374(0x171));return _0xd66639[_0x280374(0x16a)](_0x27863f);}async['importDOCXToUnitId'](_0x8c1053){const _0x237796=_0x238134;return this[_0x237796(0x178)](_0x8c1053);}async['importDOCXToUnitIdAsync'](_0x37fe61){const _0x38a5c6=_0x238134,_0x16c6a6=this[_0x38a5c6(0x15e)][_0x38a5c6(0x172)](r[_0x38a5c6(0x167)]);if(!_0x16c6a6)throw new Error(_0x38a5c6(0x171));return _0x16c6a6[_0x38a5c6(0x17a)](_0x37fe61,i[_0x38a5c6(0x163)]);}async['importDOCXToSnapshot'](_0x342d53){const _0x9778b8=_0x238134;return this[_0x9778b8(0x16e)](_0x342d53);}async[_0x238134(0x16e)](_0x2299e2){const _0x2b551d=_0x238134,_0x3bf2bd=this['_injector'][_0x2b551d(0x172)](r[_0x2b551d(0x167)]);if(!_0x3bf2bd)throw new Error(_0x2b551d(0x171));return _0x3bf2bd[_0x2b551d(0x170)](_0x2299e2);}async['exportDOCXBySnapshotAsync'](_0x13b034){const _0x2a2170=_0x238134,_0x3669e6=this[_0x2a2170(0x15e)][_0x2a2170(0x172)](r[_0x2a2170(0x167)]);if(!_0x3669e6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3669e6[_0x2a2170(0x165)](_0x13b034);}async[_0x238134(0x173)](_0x2536f4){const _0xeb090c=_0x238134,_0x1f2f9e=this[_0xeb090c(0x15e)][_0xeb090c(0x172)](r[_0xeb090c(0x167)]);if(!_0x1f2f9e)throw new Error(_0xeb090c(0x171));return _0x1f2f9e[_0xeb090c(0x164)](_0x2536f4);}}o[_0x238134(0x17c)][_0x238134(0x16b)](c);
1
+ 'use strict';const _0x2f6e09=_0x3881;(function(_0x3dc916,_0x58ebd6){const _0x245643=_0x3881,_0x22a16f=_0x3dc916();while(!![]){try{const _0x273dd9=-parseInt(_0x245643(0x1dd))/0x1*(-parseInt(_0x245643(0x1c1))/0x2)+-parseInt(_0x245643(0x1cb))/0x3+parseInt(_0x245643(0x1cd))/0x4+parseInt(_0x245643(0x1d7))/0x5*(-parseInt(_0x245643(0x1c6))/0x6)+parseInt(_0x245643(0x1c0))/0x7+parseInt(_0x245643(0x1e0))/0x8*(-parseInt(_0x245643(0x1ce))/0x9)+-parseInt(_0x245643(0x1e2))/0xa*(-parseInt(_0x245643(0x1d0))/0xb);if(_0x273dd9===_0x58ebd6)break;else _0x22a16f['push'](_0x22a16f['shift']());}catch(_0x5c3245){_0x22a16f['push'](_0x22a16f['shift']());}}}(_0x3fec,0x8f2d9));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x3fec(){const _0x41e90e=['exportDOCXBySnapshot','3923648QhEpkR','18tUvGQz','importDOCXToSnapshot','121NNJmWT','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','UNIVER_SHEET','importFileToUnitId','importDOCXToSnapshotAsync','IExchangeService','795tpxqdV','exportXLSXByUnitIdAsync','FUniver','exportDOCXByUnitId','extend','UNIVER_PROJECT','1291qjfJIZ','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','2519560abipfD','_injector','840130iHmylL','UNIVER_SLIDE','exportXLSXBySnapshot','2933308pBPMid','76tSbJZR','exportXLSXByUnitId','importDOCXToUnitIdAsync','exportDOCXBySnapshotAsync','importXLSXToUnitId','774FfDjnW','UNIVER_UNKNOWN','get','UNIVER_DOC','exportDOCXByUnitIdAsync','3408897NppqPb'];_0x3fec=function(){return _0x41e90e;};return _0x3fec();}var i=(_0x50589f=>(_0x50589f[_0x50589f[_0x2f6e09(0x1c7)]=0x0]='UNIVER_UNKNOWN',_0x50589f[_0x50589f[_0x2f6e09(0x1c9)]=0x1]=_0x2f6e09(0x1c9),_0x50589f[_0x50589f[_0x2f6e09(0x1d3)]=0x2]=_0x2f6e09(0x1d3),_0x50589f[_0x50589f[_0x2f6e09(0x1e3)]=0x3]=_0x2f6e09(0x1e3),_0x50589f[_0x50589f['UNIVER_PROJECT']=0x4]=_0x2f6e09(0x1dc),_0x50589f[_0x50589f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x50589f))(i||{});function _0x3881(_0x4d9348,_0x19de5a){const _0x3fec39=_0x3fec();return _0x3881=function(_0x388184,_0x3b2fbf){_0x388184=_0x388184-0x1bf;let _0x34b3d2=_0x3fec39[_0x388184];return _0x34b3d2;},_0x3881(_0x4d9348,_0x19de5a);}class c extends o[_0x2f6e09(0x1d9)]{async[_0x2f6e09(0x1c5)](_0x30359b){const _0x3bd7eb=_0x2f6e09;return this[_0x3bd7eb(0x1de)](_0x30359b);}async[_0x2f6e09(0x1de)](_0x121ac0){const _0x2556c4=_0x2f6e09,_0x5c722d=this[_0x2556c4(0x1e1)][_0x2556c4(0x1c8)](r[_0x2556c4(0x1d6)]);if(!_0x5c722d)throw new Error(_0x2556c4(0x1d1));return _0x5c722d['importFileToUnitId'](_0x121ac0,i[_0x2556c4(0x1d3)]);}async['importXLSXToSnapshot'](_0x43592b){const _0x4f974d=_0x2f6e09;return this[_0x4f974d(0x1d2)](_0x43592b);}async['importXLSXToSnapshotAsync'](_0x448d02){const _0x4418d0=_0x2f6e09,_0x3e601c=this[_0x4418d0(0x1e1)][_0x4418d0(0x1c8)](r[_0x4418d0(0x1d6)]);if(!_0x3e601c)throw new Error(_0x4418d0(0x1d1));return _0x3e601c['importXLSXToSnapshot'](_0x448d02);}async[_0x2f6e09(0x1c2)](_0x266f72){const _0x27e828=_0x2f6e09;return this[_0x27e828(0x1d8)](_0x266f72);}async[_0x2f6e09(0x1d8)](_0x4b941b){const _0x3ecc74=_0x2f6e09,_0x33f8d8=this[_0x3ecc74(0x1e1)]['get'](r['IExchangeService']);if(!_0x33f8d8)throw new Error(_0x3ecc74(0x1d1));return _0x33f8d8[_0x3ecc74(0x1c2)](_0x4b941b);}async[_0x2f6e09(0x1bf)](_0x3c5841){const _0x397c6c=_0x2f6e09;return this[_0x397c6c(0x1df)](_0x3c5841);}async['exportXLSXBySnapshotAsync'](_0x3ad12d){const _0x72a80a=_0x2f6e09,_0x5555b1=this[_0x72a80a(0x1e1)][_0x72a80a(0x1c8)](r[_0x72a80a(0x1d6)]);if(!_0x5555b1)throw new Error(_0x72a80a(0x1d1));return _0x5555b1[_0x72a80a(0x1bf)](_0x3ad12d);}async['importDOCXToUnitId'](_0x2341be){const _0x11ea1c=_0x2f6e09;return this[_0x11ea1c(0x1c3)](_0x2341be);}async[_0x2f6e09(0x1c3)](_0x5017ac){const _0x19d51f=_0x2f6e09,_0x835be3=this[_0x19d51f(0x1e1)][_0x19d51f(0x1c8)](r[_0x19d51f(0x1d6)]);if(!_0x835be3)throw new Error(_0x19d51f(0x1d1));return _0x835be3[_0x19d51f(0x1d4)](_0x5017ac,i[_0x19d51f(0x1c9)]);}async[_0x2f6e09(0x1cf)](_0x190e18){return this['importDOCXToSnapshotAsync'](_0x190e18);}async[_0x2f6e09(0x1d5)](_0x43c457){const _0x215140=_0x2f6e09,_0x2ec878=this[_0x215140(0x1e1)][_0x215140(0x1c8)](r[_0x215140(0x1d6)]);if(!_0x2ec878)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ec878[_0x215140(0x1cf)](_0x43c457);}async[_0x2f6e09(0x1c4)](_0x5e54c1){const _0x295e1f=_0x2f6e09,_0x48f337=this[_0x295e1f(0x1e1)][_0x295e1f(0x1c8)](r[_0x295e1f(0x1d6)]);if(!_0x48f337)throw new Error(_0x295e1f(0x1d1));return _0x48f337[_0x295e1f(0x1cc)](_0x5e54c1);}async[_0x2f6e09(0x1ca)](_0x4c21e4){const _0x1b1362=_0x2f6e09,_0x372f57=this[_0x1b1362(0x1e1)][_0x1b1362(0x1c8)](r[_0x1b1362(0x1d6)]);if(!_0x372f57)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x372f57[_0x1b1362(0x1da)](_0x4c21e4);}}o[_0x2f6e09(0x1d9)][_0x2f6e09(0x1db)](c);