@univerjs-pro/exchange-client 0.9.2-nightly.202507131606 → 0.9.2-nightly.202507151607

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 (51) 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 -0
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -0
  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 -0
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -0
  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 -0
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -0
  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/ca-ES.d.ts +3 -0
  38. package/lib/types/locale/es-ES.d.ts +3 -0
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +2 -2
  41. package/lib/umd/locale/ca-ES.js +1 -0
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -0
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +7 -7
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5315c9=_0x56a6;(function(_0x216076,_0x285b77){const _0x2be8c9=_0x56a6,_0x46e5ab=_0x216076();while(!![]){try{const _0x2224d6=-parseInt(_0x2be8c9(0x18e))/0x1+parseInt(_0x2be8c9(0x19b))/0x2+-parseInt(_0x2be8c9(0x19d))/0x3*(parseInt(_0x2be8c9(0x1aa))/0x4)+parseInt(_0x2be8c9(0x193))/0x5*(-parseInt(_0x2be8c9(0x1af))/0x6)+parseInt(_0x2be8c9(0x18c))/0x7*(parseInt(_0x2be8c9(0x1a9))/0x8)+parseInt(_0x2be8c9(0x18b))/0x9*(-parseInt(_0x2be8c9(0x1a7))/0xa)+parseInt(_0x2be8c9(0x195))/0xb*(parseInt(_0x2be8c9(0x196))/0xc);if(_0x2224d6===_0x285b77)break;else _0x46e5ab['push'](_0x46e5ab['shift']());}catch(_0x19aad9){_0x46e5ab['push'](_0x46e5ab['shift']());}}}(_0x1f31,0x8a668));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x5a5d97=>(_0x5a5d97[_0x5a5d97[_0x5315c9(0x18a)]=0x0]='UNIVER_UNKNOWN',_0x5a5d97[_0x5a5d97[_0x5315c9(0x197)]=0x1]=_0x5315c9(0x197),_0x5a5d97[_0x5a5d97[_0x5315c9(0x1ab)]=0x2]=_0x5315c9(0x1ab),_0x5a5d97[_0x5a5d97[_0x5315c9(0x1a4)]=0x3]=_0x5315c9(0x1a4),_0x5a5d97[_0x5a5d97[_0x5315c9(0x18f)]=0x4]=_0x5315c9(0x18f),_0x5a5d97[_0x5a5d97[_0x5315c9(0x1a2)]=-0x1]=_0x5315c9(0x1a2),_0x5a5d97))(i||{});function _0x1f31(){const _0x4168b3=['14170XnfvJe','IExchangeService','16eecWfN','36sRLSbl','UNIVER_SHEET','exportDOCXBySnapshot','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','23082JGfPNi','importDOCXToSnapshot','UNIVER_UNKNOWN','4923UDBxla','102781Czszuj','importXLSXToSnapshotAsync','1005937MRJgLx','UNIVER_PROJECT','importXLSXToUnitIdAsync','get','FUniver','1405jWaezr','importXLSXToUnitId','79211Yndabz','6156RRXGPZ','UNIVER_DOC','importDOCXToUnitId','exportDOCXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','1238876tSsgVb','exportDOCXByUnitId','304662QQrBjY','importXLSXToSnapshot','importDOCXToSnapshotAsync','exportDOCXByUnitIdAsync','importFileToUnitId','UNRECOGNIZED','_injector','UNIVER_SLIDE','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync'];_0x1f31=function(){return _0x4168b3;};return _0x1f31();}class c extends o[_0x5315c9(0x192)]{async[_0x5315c9(0x194)](_0x3ffefc){return this['importXLSXToUnitIdAsync'](_0x3ffefc);}async[_0x5315c9(0x190)](_0x2c34b9){const _0x3f6762=_0x5315c9,_0xff28e9=this[_0x3f6762(0x1a3)][_0x3f6762(0x191)](r[_0x3f6762(0x1a8)]);if(!_0xff28e9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xff28e9[_0x3f6762(0x1a1)](_0x2c34b9,i[_0x3f6762(0x1ab)]);}async[_0x5315c9(0x19e)](_0x11b630){const _0x452017=_0x5315c9;return this[_0x452017(0x18d)](_0x11b630);}async[_0x5315c9(0x18d)](_0x5e890a){const _0x330cb0=_0x5315c9,_0x51c962=this[_0x330cb0(0x1a3)][_0x330cb0(0x191)](r[_0x330cb0(0x1a8)]);if(!_0x51c962)throw new Error(_0x330cb0(0x19a));return _0x51c962[_0x330cb0(0x19e)](_0x5e890a);}async['exportXLSXByUnitId'](_0x219f4a){const _0x54004f=_0x5315c9;return this[_0x54004f(0x1ae)](_0x219f4a);}async['exportXLSXByUnitIdAsync'](_0x5e2b){const _0x58e19b=_0x5315c9,_0x5ee1b6=this[_0x58e19b(0x1a3)][_0x58e19b(0x191)](r[_0x58e19b(0x1a8)]);if(!_0x5ee1b6)throw new Error(_0x58e19b(0x19a));return _0x5ee1b6['exportXLSXByUnitId'](_0x5e2b);}async[_0x5315c9(0x1ad)](_0x1af355){const _0x571197=_0x5315c9;return this[_0x571197(0x1a5)](_0x1af355);}async[_0x5315c9(0x1a5)](_0x5efda4){const _0x298adc=_0x5315c9,_0x26dfe5=this['_injector'][_0x298adc(0x191)](r[_0x298adc(0x1a8)]);if(!_0x26dfe5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x26dfe5['exportXLSXBySnapshot'](_0x5efda4);}async[_0x5315c9(0x198)](_0x38e68f){return this['importDOCXToUnitIdAsync'](_0x38e68f);}async[_0x5315c9(0x1a6)](_0x2356df){const _0x39f9fb=_0x5315c9,_0x58abd7=this['_injector'][_0x39f9fb(0x191)](r[_0x39f9fb(0x1a8)]);if(!_0x58abd7)throw new Error(_0x39f9fb(0x19a));return _0x58abd7['importFileToUnitId'](_0x2356df,i[_0x39f9fb(0x197)]);}async[_0x5315c9(0x1b0)](_0x1fea2e){return this['importDOCXToSnapshotAsync'](_0x1fea2e);}async[_0x5315c9(0x19f)](_0x2c0730){const _0xca2dfb=_0x5315c9,_0x38957e=this['_injector'][_0xca2dfb(0x191)](r[_0xca2dfb(0x1a8)]);if(!_0x38957e)throw new Error(_0xca2dfb(0x19a));return _0x38957e[_0xca2dfb(0x1b0)](_0x2c0730);}async[_0x5315c9(0x199)](_0x20817a){const _0x299c56=_0x5315c9,_0x5eff07=this[_0x299c56(0x1a3)][_0x299c56(0x191)](r[_0x299c56(0x1a8)]);if(!_0x5eff07)throw new Error(_0x299c56(0x19a));return _0x5eff07[_0x299c56(0x1ac)](_0x20817a);}async[_0x5315c9(0x1a0)](_0xa53249){const _0x429afc=_0x5315c9,_0x3b7bdf=this[_0x429afc(0x1a3)]['get'](r[_0x429afc(0x1a8)]);if(!_0x3b7bdf)throw new Error(_0x429afc(0x19a));return _0x3b7bdf[_0x429afc(0x19c)](_0xa53249);}}function _0x56a6(_0x286500,_0x396398){const _0x1f310c=_0x1f31();return _0x56a6=function(_0x56a6de,_0x3acfec){_0x56a6de=_0x56a6de-0x18a;let _0x44294c=_0x1f310c[_0x56a6de];return _0x44294c;},_0x56a6(_0x286500,_0x396398);}o['FUniver']['extend'](c);
1
+ 'use strict';const _0xa38626=_0x5501;function _0x1588(){const _0x186931=['UNIVER_DOC','importDOCXToSnapshotAsync','exportDOCXByUnitId','exportXLSXByUnitIdAsync','IExchangeService','importXLSXToUnitId','_injector','exportDOCXByUnitIdAsync','1703325GvZtQz','14699vtdevy','importXLSXToSnapshotAsync','importDOCXToSnapshot','importFileToUnitId','FUniver','get','2750307JasjtE','666582QpJtlS','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','exportDOCXBySnapshot','extend','4239080CtOMXq','exportXLSXByUnitId','44KKHhuC','967164EphiKr','exportXLSXBySnapshot','exportDOCXBySnapshotAsync','importXLSXToUnitIdAsync','UNIVER_SHEET','UNRECOGNIZED','UNIVER_SLIDE','exportXLSXBySnapshotAsync','1382876VSZbHV'];_0x1588=function(){return _0x186931;};return _0x1588();}(function(_0x1527d9,_0xfb9861){const _0xd73847=_0x5501,_0x25a672=_0x1527d9();while(!![]){try{const _0x53a7d3=parseInt(_0xd73847(0x19b))/0x1*(-parseInt(_0xd73847(0x1a9))/0x2)+parseInt(_0xd73847(0x1aa))/0x3+parseInt(_0xd73847(0x191))/0x4+-parseInt(_0xd73847(0x19a))/0x5+parseInt(_0xd73847(0x1a2))/0x6+-parseInt(_0xd73847(0x1a1))/0x7+parseInt(_0xd73847(0x1a7))/0x8;if(_0x53a7d3===_0xfb9861)break;else _0x25a672['push'](_0x25a672['shift']());}catch(_0x347a03){_0x25a672['push'](_0x25a672['shift']());}}}(_0x1588,0x3d8f1));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x163827=>(_0x163827[_0x163827[_0xa38626(0x1a4)]=0x0]='UNIVER_UNKNOWN',_0x163827[_0x163827[_0xa38626(0x192)]=0x1]=_0xa38626(0x192),_0x163827[_0x163827[_0xa38626(0x18d)]=0x2]='UNIVER_SHEET',_0x163827[_0x163827[_0xa38626(0x18f)]=0x3]='UNIVER_SLIDE',_0x163827[_0x163827['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x163827[_0x163827[_0xa38626(0x18e)]=-0x1]='UNRECOGNIZED',_0x163827))(i||{});function _0x5501(_0x9a6c7,_0x334fac){const _0x1588a8=_0x1588();return _0x5501=function(_0x5501f6,_0x4520e8){_0x5501f6=_0x5501f6-0x18b;let _0x139ddc=_0x1588a8[_0x5501f6];return _0x139ddc;},_0x5501(_0x9a6c7,_0x334fac);}class c extends o[_0xa38626(0x19f)]{async[_0xa38626(0x197)](_0x4605f4){const _0x3c3966=_0xa38626;return this[_0x3c3966(0x18c)](_0x4605f4);}async[_0xa38626(0x18c)](_0x329893){const _0x55ea96=_0xa38626,_0x293534=this['_injector'][_0x55ea96(0x1a0)](r[_0x55ea96(0x196)]);if(!_0x293534)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x293534['importFileToUnitId'](_0x329893,i[_0x55ea96(0x18d)]);}async['importXLSXToSnapshot'](_0x4653ea){return this['importXLSXToSnapshotAsync'](_0x4653ea);}async[_0xa38626(0x19c)](_0x19bd80){const _0x110cf4=_0xa38626,_0x3ce8b0=this[_0x110cf4(0x198)][_0x110cf4(0x1a0)](r[_0x110cf4(0x196)]);if(!_0x3ce8b0)throw new Error(_0x110cf4(0x1a3));return _0x3ce8b0['importXLSXToSnapshot'](_0x19bd80);}async[_0xa38626(0x1a8)](_0x1a6c7f){const _0x181692=_0xa38626;return this[_0x181692(0x195)](_0x1a6c7f);}async[_0xa38626(0x195)](_0x51a04a){const _0x1ef2f=_0xa38626,_0x2ecbbe=this['_injector'][_0x1ef2f(0x1a0)](r['IExchangeService']);if(!_0x2ecbbe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ecbbe[_0x1ef2f(0x1a8)](_0x51a04a);}async[_0xa38626(0x1ab)](_0x803703){const _0x546f92=_0xa38626;return this[_0x546f92(0x190)](_0x803703);}async['exportXLSXBySnapshotAsync'](_0x79164b){const _0x3dcd02=_0xa38626,_0x1ba1d4=this[_0x3dcd02(0x198)]['get'](r[_0x3dcd02(0x196)]);if(!_0x1ba1d4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1ba1d4[_0x3dcd02(0x1ab)](_0x79164b);}async['importDOCXToUnitId'](_0xcba1cb){return this['importDOCXToUnitIdAsync'](_0xcba1cb);}async['importDOCXToUnitIdAsync'](_0xf95602){const _0x140401=_0xa38626,_0x2544c6=this[_0x140401(0x198)][_0x140401(0x1a0)](r[_0x140401(0x196)]);if(!_0x2544c6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2544c6[_0x140401(0x19e)](_0xf95602,i['UNIVER_DOC']);}async[_0xa38626(0x19d)](_0x48f97d){const _0x11493a=_0xa38626;return this[_0x11493a(0x193)](_0x48f97d);}async[_0xa38626(0x193)](_0x1b2c41){const _0x5aa981=_0xa38626,_0x10a37b=this[_0x5aa981(0x198)][_0x5aa981(0x1a0)](r[_0x5aa981(0x196)]);if(!_0x10a37b)throw new Error(_0x5aa981(0x1a3));return _0x10a37b[_0x5aa981(0x19d)](_0x1b2c41);}async[_0xa38626(0x18b)](_0x44d627){const _0x4c5164=_0xa38626,_0x5132e6=this[_0x4c5164(0x198)][_0x4c5164(0x1a0)](r['IExchangeService']);if(!_0x5132e6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5132e6[_0x4c5164(0x1a5)](_0x44d627);}async[_0xa38626(0x199)](_0x5433f1){const _0x428da5=_0xa38626,_0x27698c=this['_injector']['get'](r[_0x428da5(0x196)]);if(!_0x27698c)throw new Error(_0x428da5(0x1a3));return _0x27698c[_0x428da5(0x194)](_0x5433f1);}}o[_0xa38626(0x19f)][_0xa38626(0x1a6)](c);