@univerjs-pro/exchange-client 0.10.1 → 0.10.2-nightly.202508080617

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/index.d.ts +4 -4
  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 +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x422cab=_0x55d4;(function(_0x8a0dbb,_0x381d19){const _0x4398d3=_0x55d4,_0x6fa41=_0x8a0dbb();while(!![]){try{const _0x4acd9b=-parseInt(_0x4398d3(0x8b))/0x1*(-parseInt(_0x4398d3(0x74))/0x2)+parseInt(_0x4398d3(0x76))/0x3+-parseInt(_0x4398d3(0x7c))/0x4+-parseInt(_0x4398d3(0x7b))/0x5+-parseInt(_0x4398d3(0x89))/0x6*(parseInt(_0x4398d3(0x86))/0x7)+parseInt(_0x4398d3(0x73))/0x8*(-parseInt(_0x4398d3(0x8c))/0x9)+parseInt(_0x4398d3(0x8e))/0xa;if(_0x4acd9b===_0x381d19)break;else _0x6fa41['push'](_0x6fa41['shift']());}catch(_0x2b990b){_0x6fa41['push'](_0x6fa41['shift']());}}}(_0x2be0,0xd2d38));function _0x2be0(){const _0x1b5f26=['importFileToUnitId','21819750bjhVSq','IExchangeService','exportXLSXByUnitIdAsync','_injector','UNIVER_SHEET','UNRECOGNIZED','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','UNIVER_PROJECT','importXLSXToSnapshot','13591768DvMdij','19046hdmuuH','importXLSXToUnitIdAsync','4103223xRwHXp','importDOCXToSnapshot','UNIVER_SLIDE','UNIVER_DOC','importDOCXToSnapshotAsync','4190895rtthCx','2878940ymqXeK','importDOCXToUnitId','importXLSXToSnapshotAsync','extend','exportXLSXByUnitId','get','exportDOCXBySnapshotAsync','exportDOCXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','4228PbpFNp','importXLSXToUnitId','UNIVER_UNKNOWN','3696XUtqly','FUniver','99goQOzG','9SQGiZk'];_0x2be0=function(){return _0x1b5f26;};return _0x2be0();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x17cd47=>(_0x17cd47[_0x17cd47[_0x422cab(0x88)]=0x0]=_0x422cab(0x88),_0x17cd47[_0x17cd47[_0x422cab(0x79)]=0x1]=_0x422cab(0x79),_0x17cd47[_0x17cd47[_0x422cab(0x92)]=0x2]=_0x422cab(0x92),_0x17cd47[_0x17cd47[_0x422cab(0x78)]=0x3]='UNIVER_SLIDE',_0x17cd47[_0x17cd47[_0x422cab(0x71)]=0x4]=_0x422cab(0x71),_0x17cd47[_0x17cd47[_0x422cab(0x6e)]=-0x1]=_0x422cab(0x6e),_0x17cd47))(i||{});function _0x55d4(_0x2d42c8,_0x119460){const _0x2be0a4=_0x2be0();return _0x55d4=function(_0x55d40d,_0x521d93){_0x55d40d=_0x55d40d-0x6e;let _0x2a05ac=_0x2be0a4[_0x55d40d];return _0x2a05ac;},_0x55d4(_0x2d42c8,_0x119460);}class c extends o[_0x422cab(0x8a)]{async[_0x422cab(0x87)](_0x48d88e){const _0x2adf0f=_0x422cab;return this[_0x2adf0f(0x75)](_0x48d88e);}async['importXLSXToUnitIdAsync'](_0x4e2b73){const _0x46ad7d=_0x422cab,_0x22def3=this['_injector']['get'](r['IExchangeService']);if(!_0x22def3)throw new Error(_0x46ad7d(0x84));return _0x22def3['importFileToUnitId'](_0x4e2b73,i[_0x46ad7d(0x92)]);}async[_0x422cab(0x72)](_0x558f59){const _0x5edd76=_0x422cab;return this[_0x5edd76(0x7e)](_0x558f59);}async['importXLSXToSnapshotAsync'](_0x41ad3d){const _0x30f64e=_0x422cab,_0x2428f9=this['_injector']['get'](r['IExchangeService']);if(!_0x2428f9)throw new Error(_0x30f64e(0x84));return _0x2428f9[_0x30f64e(0x72)](_0x41ad3d);}async['exportXLSXByUnitId'](_0x354e64){const _0x1b8b13=_0x422cab;return this[_0x1b8b13(0x90)](_0x354e64);}async[_0x422cab(0x90)](_0x3472e1){const _0x23d8cc=_0x422cab,_0x4e3091=this[_0x23d8cc(0x91)]['get'](r['IExchangeService']);if(!_0x4e3091)throw new Error(_0x23d8cc(0x84));return _0x4e3091[_0x23d8cc(0x80)](_0x3472e1);}async[_0x422cab(0x85)](_0x59eb52){const _0x2b71f4=_0x422cab;return this[_0x2b71f4(0x6f)](_0x59eb52);}async[_0x422cab(0x6f)](_0x565a2f){const _0x92312c=_0x422cab,_0x189023=this[_0x92312c(0x91)][_0x92312c(0x81)](r['IExchangeService']);if(!_0x189023)throw new Error(_0x92312c(0x84));return _0x189023[_0x92312c(0x85)](_0x565a2f);}async[_0x422cab(0x7d)](_0x876745){const _0x1cdef2=_0x422cab;return this[_0x1cdef2(0x70)](_0x876745);}async[_0x422cab(0x70)](_0x324681){const _0x2363bc=_0x422cab,_0x3e4d6c=this['_injector'][_0x2363bc(0x81)](r[_0x2363bc(0x8f)]);if(!_0x3e4d6c)throw new Error(_0x2363bc(0x84));return _0x3e4d6c[_0x2363bc(0x8d)](_0x324681,i[_0x2363bc(0x79)]);}async[_0x422cab(0x77)](_0x2ed148){const _0x391f19=_0x422cab;return this[_0x391f19(0x7a)](_0x2ed148);}async['importDOCXToSnapshotAsync'](_0xfe5837){const _0x1e41da=_0x422cab,_0x967215=this[_0x1e41da(0x91)][_0x1e41da(0x81)](r[_0x1e41da(0x8f)]);if(!_0x967215)throw new Error(_0x1e41da(0x84));return _0x967215[_0x1e41da(0x77)](_0xfe5837);}async[_0x422cab(0x82)](_0x2e050d){const _0x23205e=_0x422cab,_0x255ac4=this[_0x23205e(0x91)][_0x23205e(0x81)](r[_0x23205e(0x8f)]);if(!_0x255ac4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x255ac4['exportDOCXBySnapshot'](_0x2e050d);}async[_0x422cab(0x83)](_0x1cea2d){const _0x13bcd5=_0x422cab,_0x56dc9b=this[_0x13bcd5(0x91)][_0x13bcd5(0x81)](r[_0x13bcd5(0x8f)]);if(!_0x56dc9b)throw new Error(_0x13bcd5(0x84));return _0x56dc9b['exportDOCXByUnitId'](_0x1cea2d);}}o[_0x422cab(0x8a)][_0x422cab(0x7f)](c);
1
+ 'use strict';const _0x5ca119=_0x1727;function _0x1727(_0x27d46d,_0x5d9929){const _0x550960=_0x5509();return _0x1727=function(_0x172726,_0x153642){_0x172726=_0x172726-0x135;let _0x13e313=_0x550960[_0x172726];return _0x13e313;},_0x1727(_0x27d46d,_0x5d9929);}(function(_0x5d7ce1,_0xe21711){const _0x3f833b=_0x1727,_0x1fd829=_0x5d7ce1();while(!![]){try{const _0x29fae3=parseInt(_0x3f833b(0x152))/0x1+-parseInt(_0x3f833b(0x13c))/0x2*(-parseInt(_0x3f833b(0x137))/0x3)+parseInt(_0x3f833b(0x14c))/0x4*(-parseInt(_0x3f833b(0x13d))/0x5)+-parseInt(_0x3f833b(0x151))/0x6*(-parseInt(_0x3f833b(0x136))/0x7)+-parseInt(_0x3f833b(0x140))/0x8+parseInt(_0x3f833b(0x150))/0x9*(-parseInt(_0x3f833b(0x15a))/0xa)+-parseInt(_0x3f833b(0x13e))/0xb*(-parseInt(_0x3f833b(0x158))/0xc);if(_0x29fae3===_0xe21711)break;else _0x1fd829['push'](_0x1fd829['shift']());}catch(_0x2d5d32){_0x1fd829['push'](_0x1fd829['shift']());}}}(_0x5509,0x37e4f));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x5bc3de=>(_0x5bc3de[_0x5bc3de[_0x5ca119(0x141)]=0x0]=_0x5ca119(0x141),_0x5bc3de[_0x5bc3de['UNIVER_DOC']=0x1]=_0x5ca119(0x143),_0x5bc3de[_0x5bc3de[_0x5ca119(0x146)]=0x2]=_0x5ca119(0x146),_0x5bc3de[_0x5bc3de[_0x5ca119(0x139)]=0x3]=_0x5ca119(0x139),_0x5bc3de[_0x5bc3de[_0x5ca119(0x156)]=0x4]=_0x5ca119(0x156),_0x5bc3de[_0x5bc3de[_0x5ca119(0x135)]=-0x1]='UNRECOGNIZED',_0x5bc3de))(i||{});class c extends o[_0x5ca119(0x148)]{async[_0x5ca119(0x14a)](_0x473f1c){const _0x406073=_0x5ca119;return this[_0x406073(0x15c)](_0x473f1c);}async['importXLSXToUnitIdAsync'](_0x2f255d){const _0x3a4ece=_0x5ca119,_0x56825f=this[_0x3a4ece(0x14f)][_0x3a4ece(0x159)](r[_0x3a4ece(0x15b)]);if(!_0x56825f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x56825f[_0x3a4ece(0x14d)](_0x2f255d,i[_0x3a4ece(0x146)]);}async[_0x5ca119(0x14b)](_0x19634f){const _0xeb287a=_0x5ca119;return this[_0xeb287a(0x14e)](_0x19634f);}async[_0x5ca119(0x14e)](_0x2874a6){const _0x1080cc=_0x5ca119,_0x24ff94=this['_injector'][_0x1080cc(0x159)](r['IExchangeService']);if(!_0x24ff94)throw new Error(_0x1080cc(0x154));return _0x24ff94[_0x1080cc(0x14b)](_0x2874a6);}async[_0x5ca119(0x142)](_0x323869){const _0x3ad223=_0x5ca119;return this[_0x3ad223(0x147)](_0x323869);}async[_0x5ca119(0x147)](_0x3eeb45){const _0x2f8b7b=_0x5ca119,_0x5b184f=this[_0x2f8b7b(0x14f)]['get'](r[_0x2f8b7b(0x15b)]);if(!_0x5b184f)throw new Error(_0x2f8b7b(0x154));return _0x5b184f[_0x2f8b7b(0x142)](_0x3eeb45);}async[_0x5ca119(0x153)](_0x1e8a3b){return this['exportXLSXBySnapshotAsync'](_0x1e8a3b);}async[_0x5ca119(0x13f)](_0x3b2dd3){const _0x935e8d=_0x5ca119,_0x2f5138=this[_0x935e8d(0x14f)]['get'](r[_0x935e8d(0x15b)]);if(!_0x2f5138)throw new Error(_0x935e8d(0x154));return _0x2f5138[_0x935e8d(0x153)](_0x3b2dd3);}async[_0x5ca119(0x13b)](_0x3a5505){return this['importDOCXToUnitIdAsync'](_0x3a5505);}async[_0x5ca119(0x155)](_0x59a393){const _0x426671=_0x5ca119,_0x1841a5=this[_0x426671(0x14f)]['get'](r[_0x426671(0x15b)]);if(!_0x1841a5)throw new Error(_0x426671(0x154));return _0x1841a5['importFileToUnitId'](_0x59a393,i[_0x426671(0x143)]);}async['importDOCXToSnapshot'](_0x162a1f){const _0x20bf00=_0x5ca119;return this[_0x20bf00(0x157)](_0x162a1f);}async[_0x5ca119(0x157)](_0x39bc9f){const _0x4e8a3a=_0x5ca119,_0x15d429=this[_0x4e8a3a(0x14f)]['get'](r[_0x4e8a3a(0x15b)]);if(!_0x15d429)throw new Error(_0x4e8a3a(0x154));return _0x15d429[_0x4e8a3a(0x13a)](_0x39bc9f);}async['exportDOCXBySnapshotAsync'](_0x463f74){const _0x1e7a24=_0x5ca119,_0x54f048=this[_0x1e7a24(0x14f)][_0x1e7a24(0x159)](r[_0x1e7a24(0x15b)]);if(!_0x54f048)throw new Error(_0x1e7a24(0x154));return _0x54f048[_0x1e7a24(0x145)](_0x463f74);}async[_0x5ca119(0x138)](_0xb29089){const _0x4747ac=_0x5ca119,_0x184704=this[_0x4747ac(0x14f)][_0x4747ac(0x159)](r[_0x4747ac(0x15b)]);if(!_0x184704)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x184704[_0x4747ac(0x149)](_0xb29089);}}o[_0x5ca119(0x148)][_0x5ca119(0x144)](c);function _0x5509(){const _0x1781fc=['importDOCXToSnapshotAsync','41592NfIswH','get','80kRHbCJ','IExchangeService','importXLSXToUnitIdAsync','UNRECOGNIZED','42dokrKG','33FFpVix','exportDOCXByUnitIdAsync','UNIVER_SLIDE','importDOCXToSnapshot','importDOCXToUnitId','65442ZKbmIr','85GgAlZH','1969afoHsF','exportXLSXBySnapshotAsync','2884248qdBDfK','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_DOC','extend','exportDOCXBySnapshot','UNIVER_SHEET','exportXLSXByUnitIdAsync','FUniver','exportDOCXByUnitId','importXLSXToUnitId','importXLSXToSnapshot','101428OlgJwe','importFileToUnitId','importXLSXToSnapshotAsync','_injector','178326MLyFDa','118476qGAnOM','80234psnPST','exportXLSXBySnapshot','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','UNIVER_PROJECT'];_0x5509=function(){return _0x1781fc;};return _0x5509();}