@univerjs-pro/exchange-client 0.9.2-nightly.202507141607 → 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 _0x4d5ef0=_0x4a84;(function(_0x5ab0c0,_0x3c3bc8){const _0x44851a=_0x4a84,_0x1d3e5f=_0x5ab0c0();while(!![]){try{const _0x2fe69d=parseInt(_0x44851a(0xa7))/0x1+parseInt(_0x44851a(0xa1))/0x2*(parseInt(_0x44851a(0x9e))/0x3)+-parseInt(_0x44851a(0xa8))/0x4*(-parseInt(_0x44851a(0x9d))/0x5)+parseInt(_0x44851a(0x98))/0x6*(-parseInt(_0x44851a(0x90))/0x7)+-parseInt(_0x44851a(0x94))/0x8*(-parseInt(_0x44851a(0xa9))/0x9)+parseInt(_0x44851a(0x9f))/0xa*(parseInt(_0x44851a(0x89))/0xb)+-parseInt(_0x44851a(0x9c))/0xc*(parseInt(_0x44851a(0x87))/0xd);if(_0x2fe69d===_0x3c3bc8)break;else _0x1d3e5f['push'](_0x1d3e5f['shift']());}catch(_0x5bfd81){_0x1d3e5f['push'](_0x1d3e5f['shift']());}}}(_0x51d0,0x3e7df));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x200443=>(_0x200443[_0x200443[_0x4d5ef0(0xa5)]=0x0]=_0x4d5ef0(0xa5),_0x200443[_0x200443[_0x4d5ef0(0xa4)]=0x1]=_0x4d5ef0(0xa4),_0x200443[_0x200443[_0x4d5ef0(0xa6)]=0x2]='UNIVER_SHEET',_0x200443[_0x200443['UNIVER_SLIDE']=0x3]=_0x4d5ef0(0x93),_0x200443[_0x200443[_0x4d5ef0(0xab)]=0x4]=_0x4d5ef0(0xab),_0x200443[_0x200443[_0x4d5ef0(0x8c)]=-0x1]='UNRECOGNIZED',_0x200443))(i||{});function _0x4a84(_0x1235c2,_0x4dba32){const _0x51d051=_0x51d0();return _0x4a84=function(_0x4a8432,_0x39ef75){_0x4a8432=_0x4a8432-0x86;let _0x25de66=_0x51d051[_0x4a8432];return _0x25de66;},_0x4a84(_0x1235c2,_0x4dba32);}class c extends o[_0x4d5ef0(0x9b)]{async['importXLSXToUnitId'](_0x2da0b1){return this['importXLSXToUnitIdAsync'](_0x2da0b1);}async[_0x4d5ef0(0x8e)](_0x47fd0b){const _0x3951fb=_0x4d5ef0,_0x342bc3=this[_0x3951fb(0x99)]['get'](r[_0x3951fb(0xaa)]);if(!_0x342bc3)throw new Error(_0x3951fb(0x95));return _0x342bc3['importFileToUnitId'](_0x47fd0b,i['UNIVER_SHEET']);}async[_0x4d5ef0(0x92)](_0x3e6cd8){const _0xfece26=_0x4d5ef0;return this[_0xfece26(0xa2)](_0x3e6cd8);}async['importXLSXToSnapshotAsync'](_0x11c7ef){const _0x367e2e=_0x4d5ef0,_0x53150e=this['_injector'][_0x367e2e(0x9a)](r[_0x367e2e(0xaa)]);if(!_0x53150e)throw new Error(_0x367e2e(0x95));return _0x53150e[_0x367e2e(0x92)](_0x11c7ef);}async[_0x4d5ef0(0x88)](_0x2087b2){return this['exportXLSXByUnitIdAsync'](_0x2087b2);}async['exportXLSXByUnitIdAsync'](_0x591dd0){const _0x3f074f=_0x4d5ef0,_0xf175ab=this[_0x3f074f(0x99)][_0x3f074f(0x9a)](r[_0x3f074f(0xaa)]);if(!_0xf175ab)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf175ab[_0x3f074f(0x88)](_0x591dd0);}async[_0x4d5ef0(0xa3)](_0x20350f){const _0x460489=_0x4d5ef0;return this[_0x460489(0x8b)](_0x20350f);}async[_0x4d5ef0(0x8b)](_0x22b6e0){const _0x2fcc91=_0x4d5ef0,_0x5b2cb6=this[_0x2fcc91(0x99)][_0x2fcc91(0x9a)](r[_0x2fcc91(0xaa)]);if(!_0x5b2cb6)throw new Error(_0x2fcc91(0x95));return _0x5b2cb6[_0x2fcc91(0xa3)](_0x22b6e0);}async[_0x4d5ef0(0x97)](_0x1dd26b){const _0x19f296=_0x4d5ef0;return this[_0x19f296(0x8d)](_0x1dd26b);}async['importDOCXToUnitIdAsync'](_0x5729f1){const _0x18abaf=_0x4d5ef0,_0x4dcccf=this[_0x18abaf(0x99)][_0x18abaf(0x9a)](r[_0x18abaf(0xaa)]);if(!_0x4dcccf)throw new Error(_0x18abaf(0x95));return _0x4dcccf[_0x18abaf(0x8f)](_0x5729f1,i[_0x18abaf(0xa4)]);}async[_0x4d5ef0(0xa0)](_0x2c8477){const _0x2b1835=_0x4d5ef0;return this[_0x2b1835(0x86)](_0x2c8477);}async[_0x4d5ef0(0x86)](_0x4b9006){const _0x512197=_0x4d5ef0,_0x1a3197=this[_0x512197(0x99)][_0x512197(0x9a)](r[_0x512197(0xaa)]);if(!_0x1a3197)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a3197[_0x512197(0xa0)](_0x4b9006);}async['exportDOCXBySnapshotAsync'](_0x5acc0a){const _0x4884bb=_0x4d5ef0,_0x4b92ea=this[_0x4884bb(0x99)][_0x4884bb(0x9a)](r[_0x4884bb(0xaa)]);if(!_0x4b92ea)throw new Error(_0x4884bb(0x95));return _0x4b92ea[_0x4884bb(0x96)](_0x5acc0a);}async[_0x4d5ef0(0x8a)](_0x1aa5c9){const _0x5996e0=_0x4d5ef0,_0x2a5109=this[_0x5996e0(0x99)][_0x5996e0(0x9a)](r[_0x5996e0(0xaa)]);if(!_0x2a5109)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a5109[_0x5996e0(0x91)](_0x1aa5c9);}}o['FUniver']['extend'](c);function _0x51d0(){const _0x1b8bef=['get','FUniver','3840opwIvk','98340IUMafD','3NUzRwh','20cjHgzt','importDOCXToSnapshot','596062AUURCA','importXLSXToSnapshotAsync','exportXLSXBySnapshot','UNIVER_DOC','UNIVER_UNKNOWN','UNIVER_SHEET','375279wKNgGs','32PNnKeq','18SIPZjq','IExchangeService','UNIVER_PROJECT','importDOCXToSnapshotAsync','28457EydcYo','exportXLSXByUnitId','92983ZGHMkS','exportDOCXByUnitIdAsync','exportXLSXBySnapshotAsync','UNRECOGNIZED','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','importFileToUnitId','133tIcuKD','exportDOCXByUnitId','importXLSXToSnapshot','UNIVER_SLIDE','560872tALdkt','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXBySnapshot','importDOCXToUnitId','9894GaniWK','_injector'];_0x51d0=function(){return _0x1b8bef;};return _0x51d0();}
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);