@univerjs-pro/exchange-client 0.10.10-experimental.20251016-33b0941 → 0.10.10-nightly.202510180256

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/controllers/config.schema.d.ts +5 -0
  38. package/lib/types/services/exchange.service.d.ts +1 -0
  39. package/lib/types/services/request.service.d.ts +2 -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 _0x3ce216=_0x5bcf;(function(_0x1c33c0,_0x48049d){const _0x2ef1c5=_0x5bcf,_0x1edff7=_0x1c33c0();while(!![]){try{const _0x5204a2=-parseInt(_0x2ef1c5(0x1d1))/0x1*(-parseInt(_0x2ef1c5(0x1ce))/0x2)+-parseInt(_0x2ef1c5(0x1b5))/0x3+-parseInt(_0x2ef1c5(0x1c0))/0x4*(parseInt(_0x2ef1c5(0x1bc))/0x5)+parseInt(_0x2ef1c5(0x1bf))/0x6*(parseInt(_0x2ef1c5(0x1da))/0x7)+parseInt(_0x2ef1c5(0x1c9))/0x8+parseInt(_0x2ef1c5(0x1b6))/0x9*(-parseInt(_0x2ef1c5(0x1bb))/0xa)+parseInt(_0x2ef1c5(0x1d0))/0xb;if(_0x5204a2===_0x48049d)break;else _0x1edff7['push'](_0x1edff7['shift']());}catch(_0x1bf974){_0x1edff7['push'](_0x1edff7['shift']());}}}(_0x31d9,0x8014a));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x31d9(){const _0x82eccd=['126371oHPNJB','get','exportDOCXByUnitIdAsync','UNIVER_SHEET','UNIVER_DOC','importFileToUnitId','exportXLSXBySnapshotAsync','importXLSXToUnitId','exportDOCXByUnitId','364nmkNpM','extend','74286HVstQk','18927Fbzsea','exportXLSXByUnitId','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','UNRECOGNIZED','2290qcvMmZ','10USLKwH','UNIVER_SLIDE','importDOCXToUnitIdAsync','104172QwmKWy','1872956IWWsOn','_injector','IExchangeService','exportDOCXBySnapshot','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','importXLSXToUnitIdAsync','UNIVER_PROJECT','exportXLSXByUnitIdAsync','1560936ORtzAo','importDOCXToSnapshot','importXLSXToSnapshotAsync','exportXLSXBySnapshot','importDOCXToUnitId','8hqjIAu','FUniver','4004220biIFih'];_0x31d9=function(){return _0x82eccd;};return _0x31d9();}var i=(_0x2ac80c=>(_0x2ac80c[_0x2ac80c[_0x3ce216(0x1b9)]=0x0]=_0x3ce216(0x1b9),_0x2ac80c[_0x2ac80c['UNIVER_DOC']=0x1]=_0x3ce216(0x1d5),_0x2ac80c[_0x2ac80c[_0x3ce216(0x1d4)]=0x2]=_0x3ce216(0x1d4),_0x2ac80c[_0x2ac80c[_0x3ce216(0x1bd)]=0x3]=_0x3ce216(0x1bd),_0x2ac80c[_0x2ac80c[_0x3ce216(0x1c7)]=0x4]='UNIVER_PROJECT',_0x2ac80c[_0x2ac80c[_0x3ce216(0x1ba)]=-0x1]=_0x3ce216(0x1ba),_0x2ac80c))(i||{});class c extends o['FUniver']{async[_0x3ce216(0x1d8)](_0xe5bdce){const _0x2e715f=_0x3ce216;return this[_0x2e715f(0x1c6)](_0xe5bdce);}async[_0x3ce216(0x1c6)](_0x4aa299){const _0x19eb3a=_0x3ce216,_0x28a26b=this[_0x19eb3a(0x1c1)][_0x19eb3a(0x1d2)](r[_0x19eb3a(0x1c2)]);if(!_0x28a26b)throw new Error(_0x19eb3a(0x1c4));return _0x28a26b['importFileToUnitId'](_0x4aa299,i['UNIVER_SHEET']);}async[_0x3ce216(0x1c5)](_0x246210){return this['importXLSXToSnapshotAsync'](_0x246210);}async[_0x3ce216(0x1cb)](_0x2b476d){const _0x4f8c8a=_0x3ce216,_0x7351a5=this['_injector'][_0x4f8c8a(0x1d2)](r['IExchangeService']);if(!_0x7351a5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x7351a5[_0x4f8c8a(0x1c5)](_0x2b476d);}async[_0x3ce216(0x1b7)](_0x38c90e){return this['exportXLSXByUnitIdAsync'](_0x38c90e);}async[_0x3ce216(0x1c8)](_0x287569){const _0x43b1b6=_0x3ce216,_0x5e3901=this['_injector'][_0x43b1b6(0x1d2)](r['IExchangeService']);if(!_0x5e3901)throw new Error(_0x43b1b6(0x1c4));return _0x5e3901[_0x43b1b6(0x1b7)](_0x287569);}async[_0x3ce216(0x1cc)](_0x2edb60){return this['exportXLSXBySnapshotAsync'](_0x2edb60);}async[_0x3ce216(0x1d7)](_0x4792ac){const _0x1d8836=_0x3ce216,_0x1dc346=this[_0x1d8836(0x1c1)]['get'](r['IExchangeService']);if(!_0x1dc346)throw new Error(_0x1d8836(0x1c4));return _0x1dc346[_0x1d8836(0x1cc)](_0x4792ac);}async[_0x3ce216(0x1cd)](_0x564ab3){const _0x264afd=_0x3ce216;return this[_0x264afd(0x1be)](_0x564ab3);}async['importDOCXToUnitIdAsync'](_0x3bdaae){const _0x1e2e36=_0x3ce216,_0x1b85f7=this[_0x1e2e36(0x1c1)][_0x1e2e36(0x1d2)](r['IExchangeService']);if(!_0x1b85f7)throw new Error(_0x1e2e36(0x1c4));return _0x1b85f7[_0x1e2e36(0x1d6)](_0x3bdaae,i['UNIVER_DOC']);}async[_0x3ce216(0x1ca)](_0x5f164c){const _0x404bd7=_0x3ce216;return this[_0x404bd7(0x1b8)](_0x5f164c);}async[_0x3ce216(0x1b8)](_0x2f47e9){const _0x25deed=_0x3ce216,_0x456d8c=this[_0x25deed(0x1c1)][_0x25deed(0x1d2)](r['IExchangeService']);if(!_0x456d8c)throw new Error(_0x25deed(0x1c4));return _0x456d8c['importDOCXToSnapshot'](_0x2f47e9);}async['exportDOCXBySnapshotAsync'](_0x49c05b){const _0x4152c9=_0x3ce216,_0x999c42=this[_0x4152c9(0x1c1)][_0x4152c9(0x1d2)](r[_0x4152c9(0x1c2)]);if(!_0x999c42)throw new Error(_0x4152c9(0x1c4));return _0x999c42[_0x4152c9(0x1c3)](_0x49c05b);}async[_0x3ce216(0x1d3)](_0xceb970){const _0x3a5555=_0x3ce216,_0x5c0c29=this[_0x3a5555(0x1c1)][_0x3a5555(0x1d2)](r[_0x3a5555(0x1c2)]);if(!_0x5c0c29)throw new Error(_0x3a5555(0x1c4));return _0x5c0c29[_0x3a5555(0x1d9)](_0xceb970);}}function _0x5bcf(_0x5b6fa6,_0x249e4c){const _0x31d9c2=_0x31d9();return _0x5bcf=function(_0x5bcfe3,_0x146663){_0x5bcfe3=_0x5bcfe3-0x1b5;let _0x44065a=_0x31d9c2[_0x5bcfe3];return _0x44065a;},_0x5bcf(_0x5b6fa6,_0x249e4c);}o[_0x3ce216(0x1cf)][_0x3ce216(0x1db)](c);
1
+ 'use strict';const _0xd0f329=_0x2182;function _0x1385(){const _0x5c07a2=['exportXLSXByUnitIdAsync','UNIVER_SLIDE','1144354xuIPli','59848BKCwUz','1910236EYghEh','importXLSXToSnapshotAsync','UNIVER_SHEET','13ODNdYf','UNIVER_UNKNOWN','UNIVER_DOC','importDOCXToSnapshotAsync','13631464JOOtJe','extend','get','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','6huPgjQ','357LWPuPA','exportDOCXBySnapshotAsync','50135LMoHLD','FUniver','UNRECOGNIZED','exportXLSXBySnapshotAsync','18hHPWAm','2nyoqSV','exportXLSXByUnitId','exportDOCXByUnitIdAsync','IExchangeService','importXLSXToUnitIdAsync','exportDOCXByUnitId','importDOCXToUnitId','_injector','importFileToUnitId','importDOCXToSnapshot','importDOCXToUnitIdAsync','importXLSXToUnitId','33QgTtQV','8659810FuWCbZ','7508076gFnxnF','246mLtKGd'];_0x1385=function(){return _0x5c07a2;};return _0x1385();}(function(_0x4fc026,_0x5b05da){const _0x17b13d=_0x2182,_0x20da8a=_0x4fc026();while(!![]){try{const _0x16b10c=parseInt(_0x17b13d(0x142))/0x1*(parseInt(_0x17b13d(0x12c))/0x2)+-parseInt(_0x17b13d(0x13a))/0x3*(-parseInt(_0x17b13d(0x12e))/0x4)+parseInt(_0x17b13d(0x13d))/0x5*(-parseInt(_0x17b13d(0x129))/0x6)+parseInt(_0x17b13d(0x13b))/0x7*(parseInt(_0x17b13d(0x12d))/0x8)+parseInt(_0x17b13d(0x141))/0x9*(parseInt(_0x17b13d(0x127))/0xa)+-parseInt(_0x17b13d(0x126))/0xb*(parseInt(_0x17b13d(0x128))/0xc)+parseInt(_0x17b13d(0x131))/0xd*(-parseInt(_0x17b13d(0x135))/0xe);if(_0x16b10c===_0x5b05da)break;else _0x20da8a['push'](_0x20da8a['shift']());}catch(_0x2398c7){_0x20da8a['push'](_0x20da8a['shift']());}}}(_0x1385,0xe837b));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3ae76c=>(_0x3ae76c[_0x3ae76c[_0xd0f329(0x132)]=0x0]=_0xd0f329(0x132),_0x3ae76c[_0x3ae76c[_0xd0f329(0x133)]=0x1]=_0xd0f329(0x133),_0x3ae76c[_0x3ae76c[_0xd0f329(0x130)]=0x2]=_0xd0f329(0x130),_0x3ae76c[_0x3ae76c[_0xd0f329(0x12b)]=0x3]=_0xd0f329(0x12b),_0x3ae76c[_0x3ae76c['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x3ae76c[_0x3ae76c[_0xd0f329(0x13f)]=-0x1]='UNRECOGNIZED',_0x3ae76c))(i||{});class c extends o['FUniver']{async[_0xd0f329(0x14d)](_0x5d96e3){const _0x4f536c=_0xd0f329;return this[_0x4f536c(0x146)](_0x5d96e3);}async[_0xd0f329(0x146)](_0xb77340){const _0x5233ac=_0xd0f329,_0x8a244=this['_injector'][_0x5233ac(0x137)](r[_0x5233ac(0x145)]);if(!_0x8a244)throw new Error(_0x5233ac(0x138));return _0x8a244[_0x5233ac(0x14a)](_0xb77340,i[_0x5233ac(0x130)]);}async[_0xd0f329(0x139)](_0x568845){const _0x488e4d=_0xd0f329;return this[_0x488e4d(0x12f)](_0x568845);}async['importXLSXToSnapshotAsync'](_0x5b6a5d){const _0x312d6e=_0xd0f329,_0x31b568=this[_0x312d6e(0x149)][_0x312d6e(0x137)](r[_0x312d6e(0x145)]);if(!_0x31b568)throw new Error(_0x312d6e(0x138));return _0x31b568['importXLSXToSnapshot'](_0x5b6a5d);}async[_0xd0f329(0x143)](_0x2b5df9){const _0xbb70f=_0xd0f329;return this[_0xbb70f(0x12a)](_0x2b5df9);}async[_0xd0f329(0x12a)](_0x246dcf){const _0x2a4336=_0xd0f329,_0x21a878=this[_0x2a4336(0x149)]['get'](r[_0x2a4336(0x145)]);if(!_0x21a878)throw new Error(_0x2a4336(0x138));return _0x21a878[_0x2a4336(0x143)](_0x246dcf);}async['exportXLSXBySnapshot'](_0x17e786){const _0xd4d8ff=_0xd0f329;return this[_0xd4d8ff(0x140)](_0x17e786);}async[_0xd0f329(0x140)](_0xb8febd){const _0x44ee9e=_0xd0f329,_0xdea9e4=this[_0x44ee9e(0x149)]['get'](r[_0x44ee9e(0x145)]);if(!_0xdea9e4)throw new Error(_0x44ee9e(0x138));return _0xdea9e4['exportXLSXBySnapshot'](_0xb8febd);}async[_0xd0f329(0x148)](_0x5a9256){const _0xfa90df=_0xd0f329;return this[_0xfa90df(0x14c)](_0x5a9256);}async[_0xd0f329(0x14c)](_0x489727){const _0x5ac3b7=_0xd0f329,_0x1eeb39=this[_0x5ac3b7(0x149)][_0x5ac3b7(0x137)](r[_0x5ac3b7(0x145)]);if(!_0x1eeb39)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1eeb39[_0x5ac3b7(0x14a)](_0x489727,i[_0x5ac3b7(0x133)]);}async[_0xd0f329(0x14b)](_0x342044){return this['importDOCXToSnapshotAsync'](_0x342044);}async[_0xd0f329(0x134)](_0x5e3e0e){const _0x498973=_0xd0f329,_0x2cd84a=this[_0x498973(0x149)][_0x498973(0x137)](r[_0x498973(0x145)]);if(!_0x2cd84a)throw new Error(_0x498973(0x138));return _0x2cd84a[_0x498973(0x14b)](_0x5e3e0e);}async[_0xd0f329(0x13c)](_0x54e2d5){const _0x52f181=_0xd0f329,_0x1e80ad=this[_0x52f181(0x149)]['get'](r[_0x52f181(0x145)]);if(!_0x1e80ad)throw new Error(_0x52f181(0x138));return _0x1e80ad['exportDOCXBySnapshot'](_0x54e2d5);}async[_0xd0f329(0x144)](_0x4ed721){const _0x5c6226=_0xd0f329,_0x2fd0e2=this[_0x5c6226(0x149)][_0x5c6226(0x137)](r['IExchangeService']);if(!_0x2fd0e2)throw new Error(_0x5c6226(0x138));return _0x2fd0e2[_0x5c6226(0x147)](_0x4ed721);}}function _0x2182(_0x3c47bb,_0x1b2091){const _0x138536=_0x1385();return _0x2182=function(_0x21822a,_0x5bc25e){_0x21822a=_0x21822a-0x126;let _0x46f517=_0x138536[_0x21822a];return _0x46f517;},_0x2182(_0x3c47bb,_0x1b2091);}o[_0xd0f329(0x13e)][_0xd0f329(0x136)](c);