@univerjs-pro/exchange-client 0.10.8 → 0.10.9-experimental.20250925-61b61a0

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';const _0x3a99a5=_0x1b5a;function _0x3313(){const _0xaa2f9f=['UNIVER_UNKNOWN','721670OsfbRe','exportXLSXBySnapshotAsync','12264JryZSY','importXLSXToSnapshot','27JRSksN','exportXLSXBySnapshot','46362fcRtwR','_injector','get','111968uqKKtP','exportDOCXBySnapshot','exportXLSXByUnitId','extend','exportDOCXByUnitId','657717WfBCom','UNIVER_PROJECT','FUniver','importXLSXToSnapshotAsync','327053feGhCD','UNIVER_DOC','1309600vaGnDM','UNRECOGNIZED','IExchangeService','exportXLSXByUnitIdAsync','importDOCXToSnapshot','40spHfiu','2vJoian','exportDOCXByUnitIdAsync','UNIVER_SHEET','importFileToUnitId','UNIVER_SLIDE','exportDOCXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','748IFewfM','importXLSXToUnitId','378epTNSP'];_0x3313=function(){return _0xaa2f9f;};return _0x3313();}(function(_0x3c51a0,_0x46d7df){const _0x62141e=_0x1b5a,_0x23f685=_0x3c51a0();while(!![]){try{const _0x1a7bf8=parseInt(_0x62141e(0x79))/0x1*(parseInt(_0x62141e(0x81))/0x2)+parseInt(_0x62141e(0x75))/0x3+-parseInt(_0x62141e(0x70))/0x4*(-parseInt(_0x62141e(0x80))/0x5)+-parseInt(_0x62141e(0x93))/0x6*(parseInt(_0x62141e(0x8b))/0x7)+-parseInt(_0x62141e(0x7b))/0x8+-parseInt(_0x62141e(0x91))/0x9*(-parseInt(_0x62141e(0x8d))/0xa)+-parseInt(_0x62141e(0x89))/0xb*(parseInt(_0x62141e(0x8f))/0xc);if(_0x1a7bf8===_0x46d7df)break;else _0x23f685['push'](_0x23f685['shift']());}catch(_0x206351){_0x23f685['push'](_0x23f685['shift']());}}}(_0x3313,0x52193));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x268c0b=>(_0x268c0b[_0x268c0b['UNIVER_UNKNOWN']=0x0]=_0x3a99a5(0x8c),_0x268c0b[_0x268c0b[_0x3a99a5(0x7a)]=0x1]='UNIVER_DOC',_0x268c0b[_0x268c0b[_0x3a99a5(0x83)]=0x2]=_0x3a99a5(0x83),_0x268c0b[_0x268c0b[_0x3a99a5(0x85)]=0x3]=_0x3a99a5(0x85),_0x268c0b[_0x268c0b['UNIVER_PROJECT']=0x4]=_0x3a99a5(0x76),_0x268c0b[_0x268c0b['UNRECOGNIZED']=-0x1]=_0x3a99a5(0x7c),_0x268c0b))(i||{});function _0x1b5a(_0x4f683f,_0xb27bf2){const _0x3313de=_0x3313();return _0x1b5a=function(_0x1b5ae9,_0x2d59b3){_0x1b5ae9=_0x1b5ae9-0x70;let _0x185ac8=_0x3313de[_0x1b5ae9];return _0x185ac8;},_0x1b5a(_0x4f683f,_0xb27bf2);}class c extends o[_0x3a99a5(0x77)]{async[_0x3a99a5(0x8a)](_0x39dfc1){const _0x416d55=_0x3a99a5;return this[_0x416d55(0x88)](_0x39dfc1);}async['importXLSXToUnitIdAsync'](_0x1765f6){const _0x1ef73a=_0x3a99a5,_0x22015a=this[_0x1ef73a(0x94)]['get'](r[_0x1ef73a(0x7d)]);if(!_0x22015a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x22015a['importFileToUnitId'](_0x1765f6,i[_0x1ef73a(0x83)]);}async[_0x3a99a5(0x90)](_0x41e39a){const _0xdc0658=_0x3a99a5;return this[_0xdc0658(0x78)](_0x41e39a);}async['importXLSXToSnapshotAsync'](_0x1b706f){const _0x96c3b5=_0x3a99a5,_0x3a0821=this[_0x96c3b5(0x94)]['get'](r['IExchangeService']);if(!_0x3a0821)throw new Error(_0x96c3b5(0x87));return _0x3a0821[_0x96c3b5(0x90)](_0x1b706f);}async['exportXLSXByUnitId'](_0x4e2df4){const _0x5c1d0c=_0x3a99a5;return this[_0x5c1d0c(0x7e)](_0x4e2df4);}async[_0x3a99a5(0x7e)](_0x507d3d){const _0x3ac4bc=_0x3a99a5,_0x30dd42=this['_injector']['get'](r['IExchangeService']);if(!_0x30dd42)throw new Error(_0x3ac4bc(0x87));return _0x30dd42[_0x3ac4bc(0x72)](_0x507d3d);}async[_0x3a99a5(0x92)](_0x21da32){const _0x30d663=_0x3a99a5;return this[_0x30d663(0x8e)](_0x21da32);}async[_0x3a99a5(0x8e)](_0x8949eb){const _0x444cf1=_0x3a99a5,_0x23c60f=this[_0x444cf1(0x94)]['get'](r[_0x444cf1(0x7d)]);if(!_0x23c60f)throw new Error(_0x444cf1(0x87));return _0x23c60f[_0x444cf1(0x92)](_0x8949eb);}async['importDOCXToUnitId'](_0x3b97ff){return this['importDOCXToUnitIdAsync'](_0x3b97ff);}async['importDOCXToUnitIdAsync'](_0x59f333){const _0x1d08e7=_0x3a99a5,_0x1fc9c7=this[_0x1d08e7(0x94)]['get'](r[_0x1d08e7(0x7d)]);if(!_0x1fc9c7)throw new Error(_0x1d08e7(0x87));return _0x1fc9c7[_0x1d08e7(0x84)](_0x59f333,i[_0x1d08e7(0x7a)]);}async[_0x3a99a5(0x7f)](_0x5d2829){return this['importDOCXToSnapshotAsync'](_0x5d2829);}async['importDOCXToSnapshotAsync'](_0x8ada4f){const _0x2d8a58=_0x3a99a5,_0x26cf1d=this[_0x2d8a58(0x94)][_0x2d8a58(0x95)](r['IExchangeService']);if(!_0x26cf1d)throw new Error(_0x2d8a58(0x87));return _0x26cf1d[_0x2d8a58(0x7f)](_0x8ada4f);}async[_0x3a99a5(0x86)](_0x1dffb4){const _0x367ff7=_0x3a99a5,_0x5d43a8=this['_injector']['get'](r[_0x367ff7(0x7d)]);if(!_0x5d43a8)throw new Error(_0x367ff7(0x87));return _0x5d43a8[_0x367ff7(0x71)](_0x1dffb4);}async[_0x3a99a5(0x82)](_0x58863f){const _0x3441af=_0x3a99a5,_0x4ee54c=this[_0x3441af(0x94)][_0x3441af(0x95)](r['IExchangeService']);if(!_0x4ee54c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ee54c[_0x3441af(0x74)](_0x58863f);}}o[_0x3a99a5(0x77)][_0x3a99a5(0x73)](c);