@univerjs-pro/exchange-client 0.10.10-nightly.202510180327 → 0.10.11-nightly.202510220308

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 (52) 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/services/exchange.service.d.ts +3 -0
  38. package/lib/types/services/operate.service.d.ts +1 -1
  39. package/lib/types/services/request.service.d.ts +5 -0
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +2 -2
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/vi-VN.js +1 -1
  50. package/lib/umd/locale/zh-CN.js +1 -1
  51. package/lib/umd/locale/zh-TW.js +1 -1
  52. package/package.json +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3db574=_0x2b34;function _0x4972(){const _0x2ea80b=['get','exportDOCXByUnitIdAsync','1425740EtQdFC','exportXLSXBySnapshot','importXLSXToSnapshot','exportXLSXBySnapshotAsync','478715LXwLEw','UNIVER_DOC','177424dvtNqO','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','importFileToUnitId','20826869aliSuq','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','exportDOCXByUnitId','importDOCXToSnapshot','UNIVER_UNKNOWN','UNIVER_SLIDE','exportDOCXBySnapshot','UNIVER_SHEET','UNRECOGNIZED','importDOCXToSnapshotAsync','_injector','9170346pAQDvX','3860826QsJSXh','exportDOCXBySnapshotAsync','importDOCXToUnitId','importDOCXToUnitIdAsync','2041090ePqSoL','IExchangeService','FUniver'];_0x4972=function(){return _0x2ea80b;};return _0x4972();}function _0x2b34(_0x4e01bd,_0x2aca7d){const _0x4972e0=_0x4972();return _0x2b34=function(_0x2b3411,_0x4ed505){_0x2b3411=_0x2b3411-0x19b;let _0x42c626=_0x4972e0[_0x2b3411];return _0x42c626;},_0x2b34(_0x4e01bd,_0x2aca7d);}(function(_0x5befda,_0xedc263){const _0x4fd9e2=_0x2b34,_0x121760=_0x5befda();while(!![]){try{const _0x67596e=-parseInt(_0x4fd9e2(0x1a8))/0x1+parseInt(_0x4fd9e2(0x19d))/0x2+parseInt(_0x4fd9e2(0x1ba))/0x3+parseInt(_0x4fd9e2(0x1a2))/0x4+-parseInt(_0x4fd9e2(0x1a6))/0x5+parseInt(_0x4fd9e2(0x1b9))/0x6+-parseInt(_0x4fd9e2(0x1ad))/0x7;if(_0x67596e===_0xedc263)break;else _0x121760['push'](_0x121760['shift']());}catch(_0x4dd546){_0x121760['push'](_0x121760['shift']());}}}(_0x4972,0xe6707));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x31884e=>(_0x31884e[_0x31884e[_0x3db574(0x1b2)]=0x0]=_0x3db574(0x1b2),_0x31884e[_0x31884e[_0x3db574(0x1a7)]=0x1]=_0x3db574(0x1a7),_0x31884e[_0x31884e[_0x3db574(0x1b5)]=0x2]=_0x3db574(0x1b5),_0x31884e[_0x31884e['UNIVER_SLIDE']=0x3]=_0x3db574(0x1b3),_0x31884e[_0x31884e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x31884e[_0x31884e[_0x3db574(0x1b6)]=-0x1]=_0x3db574(0x1b6),_0x31884e))(i||{});class c extends o[_0x3db574(0x19f)]{async['importXLSXToUnitId'](_0x4dae8e){const _0x5cacfc=_0x3db574;return this[_0x5cacfc(0x1ae)](_0x4dae8e);}async['importXLSXToUnitIdAsync'](_0x54440){const _0x5ebeaf=_0x3db574,_0x36f092=this[_0x5ebeaf(0x1b8)]['get'](r['IExchangeService']);if(!_0x36f092)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x36f092[_0x5ebeaf(0x1ac)](_0x54440,i[_0x5ebeaf(0x1b5)]);}async[_0x3db574(0x1a4)](_0x14a342){const _0x1bc70e=_0x3db574;return this[_0x1bc70e(0x1af)](_0x14a342);}async['importXLSXToSnapshotAsync'](_0x2936a1){const _0x46a5b0=_0x3db574,_0x57595a=this[_0x46a5b0(0x1b8)][_0x46a5b0(0x1a0)](r[_0x46a5b0(0x19e)]);if(!_0x57595a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57595a[_0x46a5b0(0x1a4)](_0x2936a1);}async[_0x3db574(0x1a9)](_0x42dac1){const _0x5436e3=_0x3db574;return this[_0x5436e3(0x1ab)](_0x42dac1);}async[_0x3db574(0x1ab)](_0xa8eedb){const _0x3dc387=_0x3db574,_0x3e0bee=this[_0x3dc387(0x1b8)][_0x3dc387(0x1a0)](r[_0x3dc387(0x19e)]);if(!_0x3e0bee)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3e0bee[_0x3dc387(0x1a9)](_0xa8eedb);}async[_0x3db574(0x1a3)](_0x50a11e){return this['exportXLSXBySnapshotAsync'](_0x50a11e);}async[_0x3db574(0x1a5)](_0x140c0c){const _0x353ec1=_0x3db574,_0x6526ec=this['_injector']['get'](r[_0x353ec1(0x19e)]);if(!_0x6526ec)throw new Error(_0x353ec1(0x1aa));return _0x6526ec[_0x353ec1(0x1a3)](_0x140c0c);}async[_0x3db574(0x19b)](_0x5318bb){const _0x4a86be=_0x3db574;return this[_0x4a86be(0x19c)](_0x5318bb);}async[_0x3db574(0x19c)](_0x14d4c2){const _0x40c686=_0x3db574,_0x242dd1=this['_injector']['get'](r['IExchangeService']);if(!_0x242dd1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x242dd1[_0x40c686(0x1ac)](_0x14d4c2,i['UNIVER_DOC']);}async[_0x3db574(0x1b1)](_0x2acd8c){const _0x2203b3=_0x3db574;return this[_0x2203b3(0x1b7)](_0x2acd8c);}async[_0x3db574(0x1b7)](_0xf97d83){const _0x56b45c=_0x3db574,_0x15fa21=this[_0x56b45c(0x1b8)][_0x56b45c(0x1a0)](r[_0x56b45c(0x19e)]);if(!_0x15fa21)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15fa21['importDOCXToSnapshot'](_0xf97d83);}async[_0x3db574(0x1bb)](_0x28a303){const _0x1cdd5c=_0x3db574,_0x1ca5f3=this[_0x1cdd5c(0x1b8)]['get'](r[_0x1cdd5c(0x19e)]);if(!_0x1ca5f3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1ca5f3[_0x1cdd5c(0x1b4)](_0x28a303);}async[_0x3db574(0x1a1)](_0x985651){const _0x314848=_0x3db574,_0x310ea7=this['_injector'][_0x314848(0x1a0)](r[_0x314848(0x19e)]);if(!_0x310ea7)throw new Error(_0x314848(0x1aa));return _0x310ea7[_0x314848(0x1b0)](_0x985651);}}o[_0x3db574(0x19f)]['extend'](c);
1
+ 'use strict';const _0x5552ef=_0x4a1e;(function(_0x52c0ea,_0x28e52c){const _0x437377=_0x4a1e,_0x213dce=_0x52c0ea();while(!![]){try{const _0x247d4e=parseInt(_0x437377(0x138))/0x1+parseInt(_0x437377(0x132))/0x2*(-parseInt(_0x437377(0x142))/0x3)+parseInt(_0x437377(0x141))/0x4*(parseInt(_0x437377(0x152))/0x5)+parseInt(_0x437377(0x149))/0x6+parseInt(_0x437377(0x14c))/0x7*(-parseInt(_0x437377(0x136))/0x8)+parseInt(_0x437377(0x131))/0x9*(-parseInt(_0x437377(0x153))/0xa)+-parseInt(_0x437377(0x158))/0xb*(parseInt(_0x437377(0x13a))/0xc);if(_0x247d4e===_0x28e52c)break;else _0x213dce['push'](_0x213dce['shift']());}catch(_0x5de0f1){_0x213dce['push'](_0x213dce['shift']());}}}(_0x17ed,0xd7111));function _0x17ed(){const _0x30d4e7=['exportDOCXByUnitId','620155lHJtFl','10lfdvJW','importDOCXToSnapshotAsync','exportDOCXBySnapshotAsync','importXLSXToUnitId','UNIVER_PROJECT','11cEuetf','1764783gSpmkD','451636QOEKtP','exportXLSXByUnitIdAsync','exportDOCXByUnitIdAsync','UNIVER_SLIDE','152EauOYa','exportXLSXBySnapshot','1177982BQkDcQ','importXLSXToSnapshot','4469448hgtkgB','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','importFileToUnitId','exportXLSXByUnitId','UNIVER_UNKNOWN','_injector','40LAkkKg','21oqRZSl','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXBySnapshot','importXLSXToSnapshotAsync','extend','IExchangeService','get','5490882GGWNgT','FUniver','UNIVER_DOC','111727GfAnzk','UNRECOGNIZED','importDOCXToSnapshot','UNIVER_SHEET','importDOCXToUnitId'];_0x17ed=function(){return _0x30d4e7;};return _0x17ed();}function _0x4a1e(_0x11ba1b,_0x4a2c9e){const _0x17ed32=_0x17ed();return _0x4a1e=function(_0x4a1e45,_0x26aa19){_0x4a1e45=_0x4a1e45-0x131;let _0x4e4449=_0x17ed32[_0x4a1e45];return _0x4e4449;},_0x4a1e(_0x11ba1b,_0x4a2c9e);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3a5035=>(_0x3a5035[_0x3a5035['UNIVER_UNKNOWN']=0x0]=_0x5552ef(0x13f),_0x3a5035[_0x3a5035['UNIVER_DOC']=0x1]=_0x5552ef(0x14b),_0x3a5035[_0x3a5035[_0x5552ef(0x14f)]=0x2]='UNIVER_SHEET',_0x3a5035[_0x3a5035['UNIVER_SLIDE']=0x3]=_0x5552ef(0x135),_0x3a5035[_0x3a5035[_0x5552ef(0x157)]=0x4]=_0x5552ef(0x157),_0x3a5035[_0x3a5035['UNRECOGNIZED']=-0x1]=_0x5552ef(0x14d),_0x3a5035))(i||{});class c extends o[_0x5552ef(0x14a)]{async[_0x5552ef(0x156)](_0x5eac5f){return this['importXLSXToUnitIdAsync'](_0x5eac5f);}async['importXLSXToUnitIdAsync'](_0x3db750){const _0x2a78a5=_0x5552ef,_0x5c2d5d=this[_0x2a78a5(0x140)][_0x2a78a5(0x148)](r[_0x2a78a5(0x147)]);if(!_0x5c2d5d)throw new Error(_0x2a78a5(0x143));return _0x5c2d5d[_0x2a78a5(0x13d)](_0x3db750,i[_0x2a78a5(0x14f)]);}async[_0x5552ef(0x139)](_0xc761b2){return this['importXLSXToSnapshotAsync'](_0xc761b2);}async[_0x5552ef(0x145)](_0x1007d5){const _0x28dcba=_0x5552ef,_0x2aeda0=this['_injector']['get'](r[_0x28dcba(0x147)]);if(!_0x2aeda0)throw new Error(_0x28dcba(0x143));return _0x2aeda0[_0x28dcba(0x139)](_0x1007d5);}async[_0x5552ef(0x13e)](_0x4337af){const _0x59bbc2=_0x5552ef;return this[_0x59bbc2(0x133)](_0x4337af);}async['exportXLSXByUnitIdAsync'](_0x3d1dc6){const _0x4084c4=_0x5552ef,_0x25e86d=this[_0x4084c4(0x140)]['get'](r[_0x4084c4(0x147)]);if(!_0x25e86d)throw new Error(_0x4084c4(0x143));return _0x25e86d[_0x4084c4(0x13e)](_0x3d1dc6);}async[_0x5552ef(0x137)](_0x3811f7){const _0x2b4554=_0x5552ef;return this[_0x2b4554(0x13c)](_0x3811f7);}async[_0x5552ef(0x13c)](_0xd0d050){const _0x3aa2e5=_0x5552ef,_0x4bb7e8=this['_injector'][_0x3aa2e5(0x148)](r['IExchangeService']);if(!_0x4bb7e8)throw new Error(_0x3aa2e5(0x143));return _0x4bb7e8[_0x3aa2e5(0x137)](_0xd0d050);}async[_0x5552ef(0x150)](_0x24cc85){return this['importDOCXToUnitIdAsync'](_0x24cc85);}async[_0x5552ef(0x13b)](_0x370875){const _0x358f43=_0x5552ef,_0x57ae86=this[_0x358f43(0x140)][_0x358f43(0x148)](r['IExchangeService']);if(!_0x57ae86)throw new Error(_0x358f43(0x143));return _0x57ae86[_0x358f43(0x13d)](_0x370875,i[_0x358f43(0x14b)]);}async[_0x5552ef(0x14e)](_0x125649){const _0xe769b5=_0x5552ef;return this[_0xe769b5(0x154)](_0x125649);}async[_0x5552ef(0x154)](_0x3a44e8){const _0x19914c=_0x5552ef,_0x44318a=this['_injector'][_0x19914c(0x148)](r[_0x19914c(0x147)]);if(!_0x44318a)throw new Error(_0x19914c(0x143));return _0x44318a[_0x19914c(0x14e)](_0x3a44e8);}async[_0x5552ef(0x155)](_0x36ca59){const _0x5dd320=_0x5552ef,_0x598e8f=this['_injector'][_0x5dd320(0x148)](r[_0x5dd320(0x147)]);if(!_0x598e8f)throw new Error(_0x5dd320(0x143));return _0x598e8f[_0x5dd320(0x144)](_0x36ca59);}async[_0x5552ef(0x134)](_0x2c074b){const _0x520879=_0x5552ef,_0x55e5c5=this[_0x520879(0x140)][_0x520879(0x148)](r[_0x520879(0x147)]);if(!_0x55e5c5)throw new Error(_0x520879(0x143));return _0x55e5c5[_0x520879(0x151)](_0x2c074b);}}o[_0x5552ef(0x14a)][_0x5552ef(0x146)](c);