@univerjs-pro/exchange-client 0.10.8 → 0.10.9-nightly.202509260614

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 +7 -0
  38. package/lib/types/services/exchange.service.d.ts +1 -0
  39. package/lib/types/services/request.service.d.ts +4 -2
  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 +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x478050=_0x312f;function _0xb304(){const _0x2734bf=['772572KJpmig','14ZsVxuh','IExchangeService','UNIVER_DOC','exportXLSXByUnitId','532449QcauHN','798470kOKfAD','get','UNIVER_SHEET','importXLSXToSnapshot','FUniver','importDOCXToSnapshotAsync','exportXLSXBySnapshot','exportDOCXBySnapshot','UNIVER_SLIDE','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','1500kUdBRs','572931QskTCs','exportDOCXByUnitIdAsync','12183010RnljMz','UNIVER_PROJECT','64sMXcvK','exportXLSXByUnitIdAsync','exportXLSXBySnapshotAsync','importFileToUnitId','1290FWbJKf','importXLSXToUnitId','importXLSXToUnitIdAsync','UNRECOGNIZED','_injector','11BoaYdE','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXBySnapshotAsync','1321770ZDuUnM'];_0xb304=function(){return _0x2734bf;};return _0xb304();}(function(_0x3bb479,_0x4745e1){const _0x4ed1c2=_0x312f,_0x6db0ac=_0x3bb479();while(!![]){try{const _0x25dc46=-parseInt(_0x4ed1c2(0xc0))/0x1+parseInt(_0x4ed1c2(0xc8))/0x2*(-parseInt(_0x4ed1c2(0xbf))/0x3)+-parseInt(_0x4ed1c2(0xae))/0x4+parseInt(_0x4ed1c2(0xb4))/0x5+parseInt(_0x4ed1c2(0xad))/0x6*(-parseInt(_0x4ed1c2(0xaf))/0x7)+-parseInt(_0x4ed1c2(0xc4))/0x8*(-parseInt(_0x4ed1c2(0xb3))/0x9)+-parseInt(_0x4ed1c2(0xc2))/0xa*(-parseInt(_0x4ed1c2(0xcd))/0xb);if(_0x25dc46===_0x4745e1)break;else _0x6db0ac['push'](_0x6db0ac['shift']());}catch(_0xac858e){_0x6db0ac['push'](_0x6db0ac['shift']());}}}(_0xb304,0x4ea47));function _0x312f(_0x2cd44a,_0x121362){const _0xb3043b=_0xb304();return _0x312f=function(_0x312ff,_0x1970f5){_0x312ff=_0x312ff-0xac;let _0x2fb1a4=_0xb3043b[_0x312ff];return _0x2fb1a4;},_0x312f(_0x2cd44a,_0x121362);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x121626=>(_0x121626[_0x121626[_0x478050(0xbd)]=0x0]='UNIVER_UNKNOWN',_0x121626[_0x121626[_0x478050(0xb1)]=0x1]=_0x478050(0xb1),_0x121626[_0x121626[_0x478050(0xb6)]=0x2]=_0x478050(0xb6),_0x121626[_0x121626[_0x478050(0xbc)]=0x3]=_0x478050(0xbc),_0x121626[_0x121626['UNIVER_PROJECT']=0x4]=_0x478050(0xc3),_0x121626[_0x121626[_0x478050(0xcb)]=-0x1]=_0x478050(0xcb),_0x121626))(i||{});class c extends o[_0x478050(0xb8)]{async[_0x478050(0xc9)](_0x544ff3){const _0x24c510=_0x478050;return this[_0x24c510(0xca)](_0x544ff3);}async[_0x478050(0xca)](_0x4ade74){const _0x124031=_0x478050,_0x1ec956=this[_0x124031(0xcc)]['get'](r[_0x124031(0xb0)]);if(!_0x1ec956)throw new Error(_0x124031(0xcf));return _0x1ec956[_0x124031(0xc7)](_0x4ade74,i[_0x124031(0xb6)]);}async[_0x478050(0xb7)](_0x2f1402){const _0x19d2ec=_0x478050;return this[_0x19d2ec(0xbe)](_0x2f1402);}async[_0x478050(0xbe)](_0x325a58){const _0x1c6536=_0x478050,_0x24c419=this[_0x1c6536(0xcc)][_0x1c6536(0xb5)](r[_0x1c6536(0xb0)]);if(!_0x24c419)throw new Error(_0x1c6536(0xcf));return _0x24c419['importXLSXToSnapshot'](_0x325a58);}async[_0x478050(0xb2)](_0x5090e1){return this['exportXLSXByUnitIdAsync'](_0x5090e1);}async[_0x478050(0xc5)](_0x49edbc){const _0x42878f=_0x478050,_0x23e19e=this[_0x42878f(0xcc)][_0x42878f(0xb5)](r[_0x42878f(0xb0)]);if(!_0x23e19e)throw new Error(_0x42878f(0xcf));return _0x23e19e[_0x42878f(0xb2)](_0x49edbc);}async['exportXLSXBySnapshot'](_0x512450){const _0x241706=_0x478050;return this[_0x241706(0xc6)](_0x512450);}async[_0x478050(0xc6)](_0x298ccb){const _0x5d2733=_0x478050,_0x44378e=this['_injector'][_0x5d2733(0xb5)](r['IExchangeService']);if(!_0x44378e)throw new Error(_0x5d2733(0xcf));return _0x44378e[_0x5d2733(0xba)](_0x298ccb);}async['importDOCXToUnitId'](_0x3765ba){return this['importDOCXToUnitIdAsync'](_0x3765ba);}async['importDOCXToUnitIdAsync'](_0x50c56e){const _0x12d20b=_0x478050,_0x20f702=this[_0x12d20b(0xcc)][_0x12d20b(0xb5)](r['IExchangeService']);if(!_0x20f702)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x20f702[_0x12d20b(0xc7)](_0x50c56e,i['UNIVER_DOC']);}async[_0x478050(0xce)](_0x553e82){const _0x48ab84=_0x478050;return this[_0x48ab84(0xb9)](_0x553e82);}async[_0x478050(0xb9)](_0x2cc48c){const _0x4ec1f=_0x478050,_0x9f9f07=this[_0x4ec1f(0xcc)][_0x4ec1f(0xb5)](r[_0x4ec1f(0xb0)]);if(!_0x9f9f07)throw new Error(_0x4ec1f(0xcf));return _0x9f9f07[_0x4ec1f(0xce)](_0x2cc48c);}async[_0x478050(0xac)](_0x5a6218){const _0xfcaaeb=_0x478050,_0x271c78=this[_0xfcaaeb(0xcc)]['get'](r[_0xfcaaeb(0xb0)]);if(!_0x271c78)throw new Error(_0xfcaaeb(0xcf));return _0x271c78[_0xfcaaeb(0xbb)](_0x5a6218);}async[_0x478050(0xc1)](_0x959c0f){const _0x76e82=_0x478050,_0x303813=this[_0x76e82(0xcc)][_0x76e82(0xb5)](r[_0x76e82(0xb0)]);if(!_0x303813)throw new Error(_0x76e82(0xcf));return _0x303813['exportDOCXByUnitId'](_0x959c0f);}}o[_0x478050(0xb8)]['extend'](c);
1
+ 'use strict';function _0x3d94(_0x3e54dc,_0x205661){const _0xe7f0c8=_0xe7f0();return _0x3d94=function(_0x3d9476,_0x12f292){_0x3d9476=_0x3d9476-0x86;let _0x31064a=_0xe7f0c8[_0x3d9476];return _0x31064a;},_0x3d94(_0x3e54dc,_0x205661);}const _0x4bb5bd=_0x3d94;(function(_0x11df91,_0x187838){const _0x555f62=_0x3d94,_0x2f5dc8=_0x11df91();while(!![]){try{const _0x46a590=-parseInt(_0x555f62(0x8b))/0x1+parseInt(_0x555f62(0x94))/0x2+parseInt(_0x555f62(0xa1))/0x3*(-parseInt(_0x555f62(0x97))/0x4)+-parseInt(_0x555f62(0xa5))/0x5*(-parseInt(_0x555f62(0xad))/0x6)+parseInt(_0x555f62(0xa9))/0x7*(parseInt(_0x555f62(0xa2))/0x8)+parseInt(_0x555f62(0x9a))/0x9*(parseInt(_0x555f62(0x8e))/0xa)+-parseInt(_0x555f62(0x86))/0xb;if(_0x46a590===_0x187838)break;else _0x2f5dc8['push'](_0x2f5dc8['shift']());}catch(_0x16d6a0){_0x2f5dc8['push'](_0x2f5dc8['shift']());}}}(_0xe7f0,0x407a3));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x23a693=>(_0x23a693[_0x23a693[_0x4bb5bd(0x95)]=0x0]=_0x4bb5bd(0x95),_0x23a693[_0x23a693['UNIVER_DOC']=0x1]=_0x4bb5bd(0x90),_0x23a693[_0x23a693[_0x4bb5bd(0x96)]=0x2]=_0x4bb5bd(0x96),_0x23a693[_0x23a693[_0x4bb5bd(0x9c)]=0x3]=_0x4bb5bd(0x9c),_0x23a693[_0x23a693[_0x4bb5bd(0x9d)]=0x4]=_0x4bb5bd(0x9d),_0x23a693[_0x23a693[_0x4bb5bd(0x8f)]=-0x1]='UNRECOGNIZED',_0x23a693))(i||{});function _0xe7f0(){const _0x6b0497=['importXLSXToSnapshotAsync','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','60064PKKFKo','exportDOCXByUnitIdAsync','_injector','10nPRfJv','UNRECOGNIZED','UNIVER_DOC','exportXLSXBySnapshot','IExchangeService','get','1014168pwYlPT','UNIVER_UNKNOWN','UNIVER_SHEET','8UvnWoU','importDOCXToSnapshot','importXLSXToUnitIdAsync','1228347tQkama','FUniver','UNIVER_SLIDE','UNIVER_PROJECT','importDOCXToUnitId','importDOCXToUnitIdAsync','exportDOCXByUnitId','218061DoAWtu','40TxGiHQ','exportDOCXBySnapshotAsync','exportXLSXBySnapshotAsync','15805QJVQZe','importFileToUnitId','exportDOCXBySnapshot','importXLSXToUnitId','330253yXKHAb','importXLSXToSnapshot','extend','exportXLSXByUnitIdAsync','414PoSsTG','6908374KyRkHP','importDOCXToSnapshotAsync'];_0xe7f0=function(){return _0x6b0497;};return _0xe7f0();}class c extends o[_0x4bb5bd(0x9b)]{async[_0x4bb5bd(0xa8)](_0x483289){const _0x55dc4a=_0x4bb5bd;return this[_0x55dc4a(0x99)](_0x483289);}async[_0x4bb5bd(0x99)](_0x50c0ec){const _0xb86644=_0x4bb5bd,_0x5ea7a0=this['_injector']['get'](r[_0xb86644(0x92)]);if(!_0x5ea7a0)throw new Error(_0xb86644(0x8a));return _0x5ea7a0[_0xb86644(0xa6)](_0x50c0ec,i[_0xb86644(0x96)]);}async[_0x4bb5bd(0xaa)](_0x3c668f){const _0x51bd63=_0x4bb5bd;return this[_0x51bd63(0x88)](_0x3c668f);}async['importXLSXToSnapshotAsync'](_0x52528e){const _0x4f2616=_0x4bb5bd,_0xdf5c49=this[_0x4f2616(0x8d)]['get'](r['IExchangeService']);if(!_0xdf5c49)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xdf5c49[_0x4f2616(0xaa)](_0x52528e);}async[_0x4bb5bd(0x89)](_0x3a3e14){const _0x2f6a1e=_0x4bb5bd;return this[_0x2f6a1e(0xac)](_0x3a3e14);}async['exportXLSXByUnitIdAsync'](_0x1ab17a){const _0x3d80ed=_0x4bb5bd,_0x52cd75=this[_0x3d80ed(0x8d)][_0x3d80ed(0x93)](r[_0x3d80ed(0x92)]);if(!_0x52cd75)throw new Error(_0x3d80ed(0x8a));return _0x52cd75['exportXLSXByUnitId'](_0x1ab17a);}async[_0x4bb5bd(0x91)](_0x1c871c){return this['exportXLSXBySnapshotAsync'](_0x1c871c);}async[_0x4bb5bd(0xa4)](_0xfa10c5){const _0x57b4a0=_0x4bb5bd,_0x391890=this['_injector'][_0x57b4a0(0x93)](r[_0x57b4a0(0x92)]);if(!_0x391890)throw new Error(_0x57b4a0(0x8a));return _0x391890[_0x57b4a0(0x91)](_0xfa10c5);}async[_0x4bb5bd(0x9e)](_0x177826){const _0x222224=_0x4bb5bd;return this[_0x222224(0x9f)](_0x177826);}async[_0x4bb5bd(0x9f)](_0x12afa9){const _0x20dcb8=_0x4bb5bd,_0x41b45c=this[_0x20dcb8(0x8d)][_0x20dcb8(0x93)](r[_0x20dcb8(0x92)]);if(!_0x41b45c)throw new Error(_0x20dcb8(0x8a));return _0x41b45c[_0x20dcb8(0xa6)](_0x12afa9,i[_0x20dcb8(0x90)]);}async['importDOCXToSnapshot'](_0x437660){return this['importDOCXToSnapshotAsync'](_0x437660);}async[_0x4bb5bd(0x87)](_0x2d6529){const _0x42b216=_0x4bb5bd,_0x10c388=this[_0x42b216(0x8d)][_0x42b216(0x93)](r[_0x42b216(0x92)]);if(!_0x10c388)throw new Error(_0x42b216(0x8a));return _0x10c388[_0x42b216(0x98)](_0x2d6529);}async[_0x4bb5bd(0xa3)](_0x5b40b5){const _0xf175e8=_0x4bb5bd,_0x464a2b=this[_0xf175e8(0x8d)][_0xf175e8(0x93)](r[_0xf175e8(0x92)]);if(!_0x464a2b)throw new Error(_0xf175e8(0x8a));return _0x464a2b[_0xf175e8(0xa7)](_0x5b40b5);}async[_0x4bb5bd(0x8c)](_0x401eca){const _0x13bd61=_0x4bb5bd,_0x136c56=this['_injector']['get'](r['IExchangeService']);if(!_0x136c56)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x136c56[_0x13bd61(0xa0)](_0x401eca);}}o['FUniver'][_0x4bb5bd(0xab)](c);