@univerjs-pro/exchange-client 0.7.0-nightly.202505221607 → 0.7.0-nightly.202505241606

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 (45) 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/facade.js +1 -1
  20. package/lib/index.js +2 -2
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/types/locale/en-US.d.ts +21 -2
  29. package/lib/types/locale/fa-IR.d.ts +2 -2
  30. package/lib/types/locale/fr-FR.d.ts +2 -2
  31. package/lib/types/locale/ru-RU.d.ts +2 -2
  32. package/lib/types/locale/vi-VN.d.ts +2 -2
  33. package/lib/types/locale/zh-CN.d.ts +3 -22
  34. package/lib/types/locale/zh-TW.d.ts +2 -2
  35. package/lib/types/services/utils/snapshot.d.ts +12 -18
  36. package/lib/umd/facade.js +1 -1
  37. package/lib/umd/index.js +2 -2
  38. package/lib/umd/locale/en-US.js +1 -1
  39. package/lib/umd/locale/fa-IR.js +1 -1
  40. package/lib/umd/locale/fr-FR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +7 -7
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5da959=_0x4135;function _0x3d82(){const _0x11da53=['importXLSXToSnapshot','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importFileToUnitId','2305kcnvAh','FUniver','3943632QHZDoc','UNRECOGNIZED','importXLSXToUnitId','2435835UzMTkB','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','16KmGXqV','IExchangeService','exportXLSXBySnapshot','UNIVER_UNKNOWN','3812wwBWyk','UNIVER_DOC','_injector','exportDOCXBySnapshotAsync','importDOCXToSnapshot','37908792OUAbLB','exportDOCXByUnitIdAsync','importDOCXToUnitIdAsync','1957454UDyTdH','1454762zuHeMp','UNIVER_SHEET','UNIVER_SLIDE','exportXLSXByUnitIdAsync','3478993PbAIpj','extend','exportXLSXBySnapshotAsync','UNIVER_PROJECT','get'];_0x3d82=function(){return _0x11da53;};return _0x3d82();}(function(_0x258f9d,_0x39e865){const _0xf4bfe8=_0x4135,_0x616105=_0x258f9d();while(!![]){try{const _0x15167e=-parseInt(_0xf4bfe8(0xe8))/0x1+parseInt(_0xf4bfe8(0xe7))/0x2+-parseInt(_0xf4bfe8(0xd8))/0x3+-parseInt(_0xf4bfe8(0xdf))/0x4*(parseInt(_0xf4bfe8(0xd3))/0x5)+-parseInt(_0xf4bfe8(0xd5))/0x6+parseInt(_0xf4bfe8(0xec))/0x7*(-parseInt(_0xf4bfe8(0xdb))/0x8)+parseInt(_0xf4bfe8(0xe4))/0x9;if(_0x15167e===_0x39e865)break;else _0x616105['push'](_0x616105['shift']());}catch(_0x511ac5){_0x616105['push'](_0x616105['shift']());}}}(_0x3d82,0xcb7e1));const r=require(_0x5da959(0xcf)),o=require('@univerjs/core/facade');var i=(_0x5c1223=>(_0x5c1223[_0x5c1223[_0x5da959(0xde)]=0x0]=_0x5da959(0xde),_0x5c1223[_0x5c1223[_0x5da959(0xe0)]=0x1]=_0x5da959(0xe0),_0x5c1223[_0x5c1223[_0x5da959(0xe9)]=0x2]=_0x5da959(0xe9),_0x5c1223[_0x5c1223[_0x5da959(0xea)]=0x3]=_0x5da959(0xea),_0x5c1223[_0x5c1223['UNIVER_PROJECT']=0x4]=_0x5da959(0xef),_0x5c1223[_0x5c1223[_0x5da959(0xd6)]=-0x1]=_0x5da959(0xd6),_0x5c1223))(i||{});function _0x4135(_0x48ed90,_0x1923b5){const _0x3d82a0=_0x3d82();return _0x4135=function(_0x4135cd,_0x11dbf1){_0x4135cd=_0x4135cd-0xcf;let _0x57501f=_0x3d82a0[_0x4135cd];return _0x57501f;},_0x4135(_0x48ed90,_0x1923b5);}class c extends o[_0x5da959(0xd4)]{async[_0x5da959(0xd7)](_0x2cc734){const _0x4e9200=_0x5da959;return this[_0x4e9200(0xd9)](_0x2cc734);}async[_0x5da959(0xd9)](_0x2e9da4){const _0x236334=_0x5da959,_0x2ac6bf=this[_0x236334(0xe1)][_0x236334(0xf0)](r[_0x236334(0xdc)]);if(!_0x2ac6bf)throw new Error(_0x236334(0xd0));return _0x2ac6bf[_0x236334(0xd2)](_0x2e9da4,i[_0x236334(0xe9)]);}async[_0x5da959(0xf1)](_0x5cf597){return this['importXLSXToSnapshotAsync'](_0x5cf597);}async['importXLSXToSnapshotAsync'](_0x5a2632){const _0x17bb1c=_0x5da959,_0x239dc2=this[_0x17bb1c(0xe1)]['get'](r['IExchangeService']);if(!_0x239dc2)throw new Error(_0x17bb1c(0xd0));return _0x239dc2[_0x17bb1c(0xf1)](_0x5a2632);}async[_0x5da959(0xd1)](_0x48a0ed){const _0x565bff=_0x5da959;return this[_0x565bff(0xeb)](_0x48a0ed);}async[_0x5da959(0xeb)](_0x3f5b03){const _0xb4dc3d=_0x5da959,_0x454cd8=this[_0xb4dc3d(0xe1)]['get'](r[_0xb4dc3d(0xdc)]);if(!_0x454cd8)throw new Error(_0xb4dc3d(0xd0));return _0x454cd8[_0xb4dc3d(0xd1)](_0x3f5b03);}async[_0x5da959(0xdd)](_0x1e2f3b){return this['exportXLSXBySnapshotAsync'](_0x1e2f3b);}async[_0x5da959(0xee)](_0x5203ee){const _0x18d7ca=_0x5da959,_0x29b6e2=this['_injector'][_0x18d7ca(0xf0)](r[_0x18d7ca(0xdc)]);if(!_0x29b6e2)throw new Error(_0x18d7ca(0xd0));return _0x29b6e2[_0x18d7ca(0xdd)](_0x5203ee);}async['importDOCXToUnitId'](_0x500f61){const _0x14652e=_0x5da959;return this[_0x14652e(0xe6)](_0x500f61);}async['importDOCXToUnitIdAsync'](_0x76f64d){const _0x53424a=_0x5da959,_0x1ae573=this['_injector'][_0x53424a(0xf0)](r[_0x53424a(0xdc)]);if(!_0x1ae573)throw new Error(_0x53424a(0xd0));return _0x1ae573[_0x53424a(0xd2)](_0x76f64d,i['UNIVER_DOC']);}async[_0x5da959(0xe3)](_0x561664){const _0x5a930e=_0x5da959;return this[_0x5a930e(0xda)](_0x561664);}async[_0x5da959(0xda)](_0x29156e){const _0x82e662=_0x5da959,_0x55a0d5=this[_0x82e662(0xe1)][_0x82e662(0xf0)](r[_0x82e662(0xdc)]);if(!_0x55a0d5)throw new Error(_0x82e662(0xd0));return _0x55a0d5[_0x82e662(0xe3)](_0x29156e);}async[_0x5da959(0xe2)](_0x48d071){const _0x32628c=_0x5da959,_0x2f3af2=this[_0x32628c(0xe1)][_0x32628c(0xf0)](r[_0x32628c(0xdc)]);if(!_0x2f3af2)throw new Error(_0x32628c(0xd0));return _0x2f3af2['exportDOCXBySnapshot'](_0x48d071);}async[_0x5da959(0xe5)](_0x2ce37c){const _0x28deac=_0x5da959,_0x3ac87d=this[_0x28deac(0xe1)][_0x28deac(0xf0)](r[_0x28deac(0xdc)]);if(!_0x3ac87d)throw new Error(_0x28deac(0xd0));return _0x3ac87d['exportDOCXByUnitId'](_0x2ce37c);}}o['FUniver'][_0x5da959(0xed)](c);
1
+ 'use strict';const _0x3d153c=_0xc08d;(function(_0x2c53d8,_0x5f4704){const _0x3c8578=_0xc08d,_0x3b93f3=_0x2c53d8();while(!![]){try{const _0x181ac4=parseInt(_0x3c8578(0x1aa))/0x1+parseInt(_0x3c8578(0x18b))/0x2*(parseInt(_0x3c8578(0x1a7))/0x3)+parseInt(_0x3c8578(0x18f))/0x4+-parseInt(_0x3c8578(0x1a3))/0x5+parseInt(_0x3c8578(0x19f))/0x6*(-parseInt(_0x3c8578(0x1a0))/0x7)+parseInt(_0x3c8578(0x1a5))/0x8+-parseInt(_0x3c8578(0x18d))/0x9*(parseInt(_0x3c8578(0x191))/0xa);if(_0x181ac4===_0x5f4704)break;else _0x3b93f3['push'](_0x3b93f3['shift']());}catch(_0x303cb4){_0x3b93f3['push'](_0x3b93f3['shift']());}}}(_0x84b7,0xc6c26));const r=require(_0x3d153c(0x1ab)),o=require(_0x3d153c(0x18e));var i=(_0x3bbdc6=>(_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x18a)]=0x0]='UNIVER_UNKNOWN',_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x19b)]=0x1]=_0x3d153c(0x19b),_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x193)]=0x2]=_0x3d153c(0x193),_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x199)]=0x3]=_0x3d153c(0x199),_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x194)]=0x4]=_0x3d153c(0x194),_0x3bbdc6[_0x3bbdc6[_0x3d153c(0x192)]=-0x1]='UNRECOGNIZED',_0x3bbdc6))(i||{});function _0xc08d(_0x3d47c2,_0x51eed0){const _0x84b7a3=_0x84b7();return _0xc08d=function(_0xc08d6a,_0xe6353b){_0xc08d6a=_0xc08d6a-0x188;let _0x505b2a=_0x84b7a3[_0xc08d6a];return _0x505b2a;},_0xc08d(_0x3d47c2,_0x51eed0);}function _0x84b7(){const _0x1c0974=['239541XxXvSS','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','exportXLSXBySnapshotAsync','exportDOCXByUnitIdAsync','UNIVER_UNKNOWN','1524336LZLHqE','IExchangeService','117ZZYNfE','@univerjs/core/facade','4835064eefqra','extend','1104410JgBEHP','UNRECOGNIZED','UNIVER_SHEET','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshot','importXLSXToUnitId','importFileToUnitId','UNIVER_SLIDE','exportDOCXByUnitId','UNIVER_DOC','FUniver','_injector','importXLSXToSnapshot','6yfXXSP','1349929PDqvnq','importXLSXToSnapshotAsync','exportXLSXByUnitId','5322090ToTzeg','exportXLSXBySnapshot','4275784aWlnMK','get','6RVzYyS','importDOCXToUnitId','importDOCXToSnapshotAsync'];_0x84b7=function(){return _0x1c0974;};return _0x84b7();}class c extends o[_0x3d153c(0x19c)]{async[_0x3d153c(0x197)](_0x10e6b9){return this['importXLSXToUnitIdAsync'](_0x10e6b9);}async['importXLSXToUnitIdAsync'](_0x19c981){const _0x42513f=_0x3d153c,_0x176c24=this[_0x42513f(0x19d)]['get'](r[_0x42513f(0x18c)]);if(!_0x176c24)throw new Error(_0x42513f(0x195));return _0x176c24[_0x42513f(0x198)](_0x19c981,i[_0x42513f(0x193)]);}async[_0x3d153c(0x19e)](_0x3fd668){const _0x3fdea1=_0x3d153c;return this[_0x3fdea1(0x1a1)](_0x3fd668);}async['importXLSXToSnapshotAsync'](_0x9a3bbd){const _0x3ac8f1=_0x3d153c,_0x921466=this[_0x3ac8f1(0x19d)][_0x3ac8f1(0x1a6)](r[_0x3ac8f1(0x18c)]);if(!_0x921466)throw new Error(_0x3ac8f1(0x195));return _0x921466['importXLSXToSnapshot'](_0x9a3bbd);}async[_0x3d153c(0x1a2)](_0x249840){const _0x2fff6d=_0x3d153c;return this[_0x2fff6d(0x1ac)](_0x249840);}async['exportXLSXByUnitIdAsync'](_0xc19886){const _0xa119a6=_0x3d153c,_0x4c271d=this[_0xa119a6(0x19d)]['get'](r[_0xa119a6(0x18c)]);if(!_0x4c271d)throw new Error(_0xa119a6(0x195));return _0x4c271d[_0xa119a6(0x1a2)](_0xc19886);}async[_0x3d153c(0x1a4)](_0x1ae259){const _0x48a1dd=_0x3d153c;return this[_0x48a1dd(0x188)](_0x1ae259);}async[_0x3d153c(0x188)](_0x37b35f){const _0x5dae34=_0x3d153c,_0x5e2275=this[_0x5dae34(0x19d)]['get'](r[_0x5dae34(0x18c)]);if(!_0x5e2275)throw new Error(_0x5dae34(0x195));return _0x5e2275['exportXLSXBySnapshot'](_0x37b35f);}async[_0x3d153c(0x1a8)](_0x6a6743){return this['importDOCXToUnitIdAsync'](_0x6a6743);}async['importDOCXToUnitIdAsync'](_0x6f8406){const _0x5e977e=_0x3d153c,_0x45a478=this[_0x5e977e(0x19d)][_0x5e977e(0x1a6)](r[_0x5e977e(0x18c)]);if(!_0x45a478)throw new Error(_0x5e977e(0x195));return _0x45a478['importFileToUnitId'](_0x6f8406,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x4900e4){const _0x4b1405=_0x3d153c;return this[_0x4b1405(0x1a9)](_0x4900e4);}async[_0x3d153c(0x1a9)](_0x236330){const _0x27ca20=_0x3d153c,_0x1dfc3f=this[_0x27ca20(0x19d)]['get'](r[_0x27ca20(0x18c)]);if(!_0x1dfc3f)throw new Error(_0x27ca20(0x195));return _0x1dfc3f[_0x27ca20(0x196)](_0x236330);}async['exportDOCXBySnapshotAsync'](_0x4658b7){const _0x3b1c86=_0x3d153c,_0x483fba=this[_0x3b1c86(0x19d)][_0x3b1c86(0x1a6)](r[_0x3b1c86(0x18c)]);if(!_0x483fba)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x483fba['exportDOCXBySnapshot'](_0x4658b7);}async[_0x3d153c(0x189)](_0x137873){const _0x31e17f=_0x3d153c,_0x4fd69c=this[_0x31e17f(0x19d)]['get'](r[_0x31e17f(0x18c)]);if(!_0x4fd69c)throw new Error(_0x31e17f(0x195));return _0x4fd69c[_0x31e17f(0x19a)](_0x137873);}}o[_0x3d153c(0x19c)][_0x3d153c(0x190)](c);