@univerjs-pro/exchange-client 0.9.4 → 0.10.0-nightly.202507310307

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 (49) 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/umd/facade.js +1 -1
  38. package/lib/umd/index.js +2 -2
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x46a332=_0xccd5;(function(_0x40766,_0x243ce2){const _0x5457b8=_0xccd5,_0x4701fe=_0x40766();while(!![]){try{const _0x1666a8=parseInt(_0x5457b8(0x169))/0x1+parseInt(_0x5457b8(0x167))/0x2+parseInt(_0x5457b8(0x161))/0x3*(-parseInt(_0x5457b8(0x176))/0x4)+-parseInt(_0x5457b8(0x164))/0x5+-parseInt(_0x5457b8(0x179))/0x6+parseInt(_0x5457b8(0x15e))/0x7*(-parseInt(_0x5457b8(0x162))/0x8)+parseInt(_0x5457b8(0x16a))/0x9*(parseInt(_0x5457b8(0x17f))/0xa);if(_0x1666a8===_0x243ce2)break;else _0x4701fe['push'](_0x4701fe['shift']());}catch(_0x432ab8){_0x4701fe['push'](_0x4701fe['shift']());}}}(_0x5694,0x310a7));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x5694(){const _0x352ed9=['get','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','126413ukdXLa','UNIVER_UNKNOWN','importFileToUnitId','441djXalN','32ITDCMv','importDOCXToSnapshot','659845YHPfIl','UNIVER_SHEET','exportDOCXBySnapshotAsync','538008xfgjIw','importDOCXToSnapshotAsync','321607tfPqwN','927ZcivGy','exportXLSXBySnapshot','extend','_injector','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','exportDOCXBySnapshot','IExchangeService','UNRECOGNIZED','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','4836WzsIzS','UNIVER_PROJECT','UNIVER_SLIDE','402840EDRfjY','FUniver','exportDOCXByUnitId','importXLSXToSnapshot','importDOCXToUnitId','importXLSXToUnitId','5760yKExGr','exportXLSXByUnitId'];_0x5694=function(){return _0x352ed9;};return _0x5694();}var i=(_0x31b1c0=>(_0x31b1c0[_0x31b1c0[_0x46a332(0x15f)]=0x0]=_0x46a332(0x15f),_0x31b1c0[_0x31b1c0[_0x46a332(0x175)]=0x1]='UNIVER_DOC',_0x31b1c0[_0x31b1c0[_0x46a332(0x165)]=0x2]=_0x46a332(0x165),_0x31b1c0[_0x31b1c0[_0x46a332(0x178)]=0x3]=_0x46a332(0x178),_0x31b1c0[_0x31b1c0[_0x46a332(0x177)]=0x4]=_0x46a332(0x177),_0x31b1c0[_0x31b1c0['UNRECOGNIZED']=-0x1]=_0x46a332(0x172),_0x31b1c0))(i||{});class c extends o['FUniver']{async[_0x46a332(0x17e)](_0xf559a9){const _0x130cc0=_0x46a332;return this[_0x130cc0(0x15c)](_0xf559a9);}async[_0x46a332(0x15c)](_0x9e0a9b){const _0x445606=_0x46a332,_0x45718e=this[_0x445606(0x16d)][_0x445606(0x15b)](r[_0x445606(0x171)]);if(!_0x45718e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45718e[_0x445606(0x160)](_0x9e0a9b,i[_0x445606(0x165)]);}async[_0x46a332(0x17c)](_0x5f2213){const _0x1b21d5=_0x46a332;return this[_0x1b21d5(0x173)](_0x5f2213);}async[_0x46a332(0x173)](_0x44fe25){const _0x299da2=_0x46a332,_0x19f2c7=this[_0x299da2(0x16d)]['get'](r[_0x299da2(0x171)]);if(!_0x19f2c7)throw new Error(_0x299da2(0x174));return _0x19f2c7[_0x299da2(0x17c)](_0x44fe25);}async[_0x46a332(0x15a)](_0xcae8d4){const _0x5ee73c=_0x46a332;return this[_0x5ee73c(0x16f)](_0xcae8d4);}async['exportXLSXByUnitIdAsync'](_0x38649c){const _0x11a6f1=_0x46a332,_0x45e140=this[_0x11a6f1(0x16d)]['get'](r[_0x11a6f1(0x171)]);if(!_0x45e140)throw new Error(_0x11a6f1(0x174));return _0x45e140[_0x11a6f1(0x15a)](_0x38649c);}async[_0x46a332(0x16b)](_0x4f748d){return this['exportXLSXBySnapshotAsync'](_0x4f748d);}async[_0x46a332(0x15d)](_0x30d073){const _0x3e8541=_0x46a332,_0x520b55=this['_injector'][_0x3e8541(0x15b)](r[_0x3e8541(0x171)]);if(!_0x520b55)throw new Error(_0x3e8541(0x174));return _0x520b55[_0x3e8541(0x16b)](_0x30d073);}async[_0x46a332(0x17d)](_0x4b2658){const _0x4bdc18=_0x46a332;return this[_0x4bdc18(0x16e)](_0x4b2658);}async[_0x46a332(0x16e)](_0x4cbd7d){const _0x27ffc7=_0x46a332,_0x4fa9c4=this[_0x27ffc7(0x16d)][_0x27ffc7(0x15b)](r[_0x27ffc7(0x171)]);if(!_0x4fa9c4)throw new Error(_0x27ffc7(0x174));return _0x4fa9c4[_0x27ffc7(0x160)](_0x4cbd7d,i[_0x27ffc7(0x175)]);}async[_0x46a332(0x163)](_0x5eba36){const _0x3e1629=_0x46a332;return this[_0x3e1629(0x168)](_0x5eba36);}async[_0x46a332(0x168)](_0x307882){const _0x57b3c8=_0x46a332,_0x36a398=this[_0x57b3c8(0x16d)]['get'](r[_0x57b3c8(0x171)]);if(!_0x36a398)throw new Error(_0x57b3c8(0x174));return _0x36a398['importDOCXToSnapshot'](_0x307882);}async[_0x46a332(0x166)](_0x520ffe){const _0x1df965=_0x46a332,_0x1b9d7f=this[_0x1df965(0x16d)][_0x1df965(0x15b)](r[_0x1df965(0x171)]);if(!_0x1b9d7f)throw new Error(_0x1df965(0x174));return _0x1b9d7f[_0x1df965(0x170)](_0x520ffe);}async['exportDOCXByUnitIdAsync'](_0x37896b){const _0x5b6c71=_0x46a332,_0x205fef=this[_0x5b6c71(0x16d)][_0x5b6c71(0x15b)](r[_0x5b6c71(0x171)]);if(!_0x205fef)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x205fef[_0x5b6c71(0x17b)](_0x37896b);}}function _0xccd5(_0x288ee8,_0x3df37e){const _0x569420=_0x5694();return _0xccd5=function(_0xccd54c,_0x4118d6){_0xccd54c=_0xccd54c-0x15a;let _0x409ae9=_0x569420[_0xccd54c];return _0x409ae9;},_0xccd5(_0x288ee8,_0x3df37e);}o[_0x46a332(0x17a)][_0x46a332(0x16c)](c);
1
+ 'use strict';const _0x502138=_0x25eb;(function(_0x41f237,_0x51513c){const _0x35edcc=_0x25eb,_0x42e91a=_0x41f237();while(!![]){try{const _0x16f20c=-parseInt(_0x35edcc(0x19f))/0x1*(-parseInt(_0x35edcc(0x1b0))/0x2)+-parseInt(_0x35edcc(0x1a0))/0x3*(-parseInt(_0x35edcc(0x1a7))/0x4)+parseInt(_0x35edcc(0x1ab))/0x5*(parseInt(_0x35edcc(0x19e))/0x6)+-parseInt(_0x35edcc(0x1b5))/0x7*(parseInt(_0x35edcc(0x1a6))/0x8)+-parseInt(_0x35edcc(0x1ba))/0x9+-parseInt(_0x35edcc(0x1b1))/0xa+parseInt(_0x35edcc(0x1c1))/0xb;if(_0x16f20c===_0x51513c)break;else _0x42e91a['push'](_0x42e91a['shift']());}catch(_0x3363e3){_0x42e91a['push'](_0x42e91a['shift']());}}}(_0x26fe,0xa019b));function _0x25eb(_0xb9e10e,_0x2378d4){const _0x26fe46=_0x26fe();return _0x25eb=function(_0x25ebd5,_0x1ffc61){_0x25ebd5=_0x25ebd5-0x19d;let _0x220cca=_0x26fe46[_0x25ebd5];return _0x220cca;},_0x25eb(_0xb9e10e,_0x2378d4);}function _0x26fe(){const _0x520dc8=['importXLSXToSnapshot','UNIVER_UNKNOWN','UNIVER_SLIDE','5kjOUaz','exportDOCXByUnitIdAsync','UNIVER_PROJECT','UNIVER_SHEET','UNRECOGNIZED','409828cLRDhL','9536670vgnKtj','exportXLSXByUnitId','_injector','importXLSXToUnitIdAsync','7BkgKKM','exportDOCXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','UNIVER_DOC','3510630Rdsixh','importDOCXToUnitId','get','importDOCXToSnapshotAsync','importFileToUnitId','FUniver','importXLSXToUnitId','5584040vNvUMZ','importDOCXToUnitIdAsync','1782870TIlwob','5YBiYkK','11061UuAeKc','IExchangeService','exportDOCXBySnapshot','importDOCXToSnapshot','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','8932880bBlIMa','1396iENUXb'];_0x26fe=function(){return _0x520dc8;};return _0x26fe();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x5f2ccc=>(_0x5f2ccc[_0x5f2ccc[_0x502138(0x1a9)]=0x0]=_0x502138(0x1a9),_0x5f2ccc[_0x5f2ccc[_0x502138(0x1b9)]=0x1]=_0x502138(0x1b9),_0x5f2ccc[_0x5f2ccc[_0x502138(0x1ae)]=0x2]='UNIVER_SHEET',_0x5f2ccc[_0x5f2ccc[_0x502138(0x1aa)]=0x3]=_0x502138(0x1aa),_0x5f2ccc[_0x5f2ccc[_0x502138(0x1ad)]=0x4]=_0x502138(0x1ad),_0x5f2ccc[_0x5f2ccc['UNRECOGNIZED']=-0x1]=_0x502138(0x1af),_0x5f2ccc))(i||{});class c extends o[_0x502138(0x1bf)]{async[_0x502138(0x1c0)](_0x42d0b3){const _0x5ef825=_0x502138;return this[_0x5ef825(0x1b4)](_0x42d0b3);}async[_0x502138(0x1b4)](_0x40bc1d){const _0x4bb697=_0x502138,_0x3c3b36=this[_0x4bb697(0x1b3)][_0x4bb697(0x1bc)](r[_0x4bb697(0x1a1)]);if(!_0x3c3b36)throw new Error(_0x4bb697(0x1b7));return _0x3c3b36[_0x4bb697(0x1be)](_0x40bc1d,i['UNIVER_SHEET']);}async[_0x502138(0x1a8)](_0x11d4f9){const _0x36359b=_0x502138;return this[_0x36359b(0x1a5)](_0x11d4f9);}async[_0x502138(0x1a5)](_0x172d56){const _0x4b8921=_0x502138,_0x51068e=this[_0x4b8921(0x1b3)][_0x4b8921(0x1bc)](r[_0x4b8921(0x1a1)]);if(!_0x51068e)throw new Error(_0x4b8921(0x1b7));return _0x51068e[_0x4b8921(0x1a8)](_0x172d56);}async['exportXLSXByUnitId'](_0x56047b){const _0x582ce4=_0x502138;return this[_0x582ce4(0x1a4)](_0x56047b);}async[_0x502138(0x1a4)](_0xa8aaf7){const _0x24349f=_0x502138,_0x2c6ede=this[_0x24349f(0x1b3)][_0x24349f(0x1bc)](r['IExchangeService']);if(!_0x2c6ede)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c6ede[_0x24349f(0x1b2)](_0xa8aaf7);}async[_0x502138(0x1b8)](_0x1be28f){return this['exportXLSXBySnapshotAsync'](_0x1be28f);}async['exportXLSXBySnapshotAsync'](_0x56ea41){const _0x25c248=_0x502138,_0x484100=this[_0x25c248(0x1b3)][_0x25c248(0x1bc)](r['IExchangeService']);if(!_0x484100)throw new Error(_0x25c248(0x1b7));return _0x484100[_0x25c248(0x1b8)](_0x56ea41);}async[_0x502138(0x1bb)](_0x37fc9d){const _0x5a7d41=_0x502138;return this[_0x5a7d41(0x19d)](_0x37fc9d);}async[_0x502138(0x19d)](_0xcf3cf0){const _0x587b90=_0x502138,_0x548e33=this[_0x587b90(0x1b3)][_0x587b90(0x1bc)](r[_0x587b90(0x1a1)]);if(!_0x548e33)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x548e33['importFileToUnitId'](_0xcf3cf0,i[_0x587b90(0x1b9)]);}async[_0x502138(0x1a3)](_0x5d57e9){const _0x3c1544=_0x502138;return this[_0x3c1544(0x1bd)](_0x5d57e9);}async[_0x502138(0x1bd)](_0x32c5a0){const _0x1bfab5=_0x502138,_0x43f2fc=this[_0x1bfab5(0x1b3)][_0x1bfab5(0x1bc)](r[_0x1bfab5(0x1a1)]);if(!_0x43f2fc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x43f2fc[_0x1bfab5(0x1a3)](_0x32c5a0);}async[_0x502138(0x1b6)](_0x3c4eae){const _0x21b30a=_0x502138,_0xf353a2=this[_0x21b30a(0x1b3)][_0x21b30a(0x1bc)](r[_0x21b30a(0x1a1)]);if(!_0xf353a2)throw new Error(_0x21b30a(0x1b7));return _0xf353a2[_0x21b30a(0x1a2)](_0x3c4eae);}async[_0x502138(0x1ac)](_0x581164){const _0x571ee8=_0x502138,_0x209162=this[_0x571ee8(0x1b3)]['get'](r[_0x571ee8(0x1a1)]);if(!_0x209162)throw new Error(_0x571ee8(0x1b7));return _0x209162['exportDOCXByUnitId'](_0x581164);}}o[_0x502138(0x1bf)]['extend'](c);