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

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 +7 -7
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';function _0x5bb2(_0xae1f2b,_0x399be1){const _0x23590a=_0x2359();return _0x5bb2=function(_0x5bb23d,_0x3957dc){_0x5bb23d=_0x5bb23d-0xa1;let _0x19d285=_0x23590a[_0x5bb23d];return _0x19d285;},_0x5bb2(_0xae1f2b,_0x399be1);}const _0x23a9c0=_0x5bb2;(function(_0x58db07,_0x5750f9){const _0x4aef88=_0x5bb2,_0x58820b=_0x58db07();while(!![]){try{const _0x476200=parseInt(_0x4aef88(0xc6))/0x1*(-parseInt(_0x4aef88(0xbf))/0x2)+parseInt(_0x4aef88(0xb3))/0x3*(parseInt(_0x4aef88(0xb1))/0x4)+parseInt(_0x4aef88(0xc2))/0x5+parseInt(_0x4aef88(0xb2))/0x6*(parseInt(_0x4aef88(0xa1))/0x7)+parseInt(_0x4aef88(0xbe))/0x8+parseInt(_0x4aef88(0xb6))/0x9*(parseInt(_0x4aef88(0xc3))/0xa)+-parseInt(_0x4aef88(0xb9))/0xb;if(_0x476200===_0x5750f9)break;else _0x58820b['push'](_0x58820b['shift']());}catch(_0x587116){_0x58820b['push'](_0x58820b['shift']());}}}(_0x2359,0xeb8e8));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x47dc91=>(_0x47dc91[_0x47dc91[_0x23a9c0(0xaf)]=0x0]=_0x23a9c0(0xaf),_0x47dc91[_0x47dc91[_0x23a9c0(0xab)]=0x1]=_0x23a9c0(0xab),_0x47dc91[_0x47dc91[_0x23a9c0(0xba)]=0x2]=_0x23a9c0(0xba),_0x47dc91[_0x47dc91[_0x23a9c0(0xc4)]=0x3]=_0x23a9c0(0xc4),_0x47dc91[_0x47dc91[_0x23a9c0(0xaa)]=0x4]=_0x23a9c0(0xaa),_0x47dc91[_0x47dc91[_0x23a9c0(0xbc)]=-0x1]=_0x23a9c0(0xbc),_0x47dc91))(i||{});class c extends o[_0x23a9c0(0xa5)]{async[_0x23a9c0(0xb0)](_0x1c82a6){const _0x53db1f=_0x23a9c0;return this[_0x53db1f(0xa4)](_0x1c82a6);}async[_0x23a9c0(0xa4)](_0x236dfb){const _0x5c6ca5=_0x23a9c0,_0x1d27fa=this[_0x5c6ca5(0xc1)]['get'](r[_0x5c6ca5(0xb5)]);if(!_0x1d27fa)throw new Error(_0x5c6ca5(0xa2));return _0x1d27fa[_0x5c6ca5(0xb7)](_0x236dfb,i['UNIVER_SHEET']);}async[_0x23a9c0(0xbd)](_0x36943b){const _0x272384=_0x23a9c0;return this[_0x272384(0xae)](_0x36943b);}async[_0x23a9c0(0xae)](_0x2da798){const _0x238e0d=_0x23a9c0,_0x187691=this['_injector']['get'](r['IExchangeService']);if(!_0x187691)throw new Error(_0x238e0d(0xa2));return _0x187691[_0x238e0d(0xbd)](_0x2da798);}async['exportXLSXByUnitId'](_0x579e6f){const _0x5a17ae=_0x23a9c0;return this[_0x5a17ae(0xa8)](_0x579e6f);}async['exportXLSXByUnitIdAsync'](_0x4e79f6){const _0x230736=_0x23a9c0,_0x2c2c01=this[_0x230736(0xc1)][_0x230736(0xad)](r[_0x230736(0xb5)]);if(!_0x2c2c01)throw new Error(_0x230736(0xa2));return _0x2c2c01[_0x230736(0xa3)](_0x4e79f6);}async[_0x23a9c0(0xbb)](_0x43171f){const _0x2d9f97=_0x23a9c0;return this[_0x2d9f97(0xb4)](_0x43171f);}async['exportXLSXBySnapshotAsync'](_0x44abf0){const _0x27b6a4=_0x23a9c0,_0x1372fe=this[_0x27b6a4(0xc1)][_0x27b6a4(0xad)](r[_0x27b6a4(0xb5)]);if(!_0x1372fe)throw new Error(_0x27b6a4(0xa2));return _0x1372fe[_0x27b6a4(0xbb)](_0x44abf0);}async[_0x23a9c0(0xc5)](_0x49d4cc){const _0x39f1a7=_0x23a9c0;return this[_0x39f1a7(0xc0)](_0x49d4cc);}async[_0x23a9c0(0xc0)](_0x1e7f7e){const _0x3cdf60=_0x23a9c0,_0x3ff3ac=this[_0x3cdf60(0xc1)][_0x3cdf60(0xad)](r['IExchangeService']);if(!_0x3ff3ac)throw new Error(_0x3cdf60(0xa2));return _0x3ff3ac[_0x3cdf60(0xb7)](_0x1e7f7e,i[_0x3cdf60(0xab)]);}async['importDOCXToSnapshot'](_0x542334){const _0x3463f5=_0x23a9c0;return this[_0x3463f5(0xb8)](_0x542334);}async[_0x23a9c0(0xb8)](_0x5a7c50){const _0x460bcf=_0x23a9c0,_0x457653=this['_injector'][_0x460bcf(0xad)](r[_0x460bcf(0xb5)]);if(!_0x457653)throw new Error(_0x460bcf(0xa2));return _0x457653['importDOCXToSnapshot'](_0x5a7c50);}async[_0x23a9c0(0xa6)](_0x1680d2){const _0x37cfc5=_0x23a9c0,_0x11f69a=this['_injector'][_0x37cfc5(0xad)](r[_0x37cfc5(0xb5)]);if(!_0x11f69a)throw new Error(_0x37cfc5(0xa2));return _0x11f69a[_0x37cfc5(0xac)](_0x1680d2);}async[_0x23a9c0(0xa7)](_0x4c80ac){const _0x313020=_0x23a9c0,_0x926108=this[_0x313020(0xc1)][_0x313020(0xad)](r[_0x313020(0xb5)]);if(!_0x926108)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x926108[_0x313020(0xa9)](_0x4c80ac);}}o[_0x23a9c0(0xa5)]['extend'](c);function _0x2359(){const _0x56447c=['UNIVER_PROJECT','UNIVER_DOC','exportDOCXBySnapshot','get','importXLSXToSnapshotAsync','UNIVER_UNKNOWN','importXLSXToUnitId','1597600yqOTnL','273516rlAhIA','3YXgyFZ','exportXLSXBySnapshotAsync','IExchangeService','477kgcQjV','importFileToUnitId','importDOCXToSnapshotAsync','15453009MBQouQ','UNIVER_SHEET','exportXLSXBySnapshot','UNRECOGNIZED','importXLSXToSnapshot','10950800UZCani','3170562GhooSE','importDOCXToUnitIdAsync','_injector','5652900rkRyed','1440NaOGBG','UNIVER_SLIDE','importDOCXToUnitId','1AXwWlH','161ncvSaM','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importXLSXToUnitIdAsync','FUniver','exportDOCXBySnapshotAsync','exportDOCXByUnitIdAsync','exportXLSXByUnitIdAsync','exportDOCXByUnitId'];_0x2359=function(){return _0x56447c;};return _0x2359();}