@univerjs-pro/exchange-client 0.10.7-nightly.202509130703 → 0.10.8-nightly.202509200616

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 +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x45d850=_0x448c;(function(_0x27b196,_0x2d17c0){const _0x5be86b=_0x448c,_0x175cd2=_0x27b196();while(!![]){try{const _0x5f251e=-parseInt(_0x5be86b(0x11a))/0x1+parseInt(_0x5be86b(0x125))/0x2+-parseInt(_0x5be86b(0x129))/0x3*(parseInt(_0x5be86b(0x108))/0x4)+parseInt(_0x5be86b(0x124))/0x5+parseInt(_0x5be86b(0x128))/0x6+-parseInt(_0x5be86b(0x11b))/0x7+-parseInt(_0x5be86b(0x126))/0x8*(-parseInt(_0x5be86b(0x10d))/0x9);if(_0x5f251e===_0x2d17c0)break;else _0x175cd2['push'](_0x175cd2['shift']());}catch(_0x41349e){_0x175cd2['push'](_0x175cd2['shift']());}}}(_0x35fc,0xa679e));function _0x448c(_0xe3e2d6,_0x519f0f){const _0x35fc8c=_0x35fc();return _0x448c=function(_0x448c9d,_0x4c9288){_0x448c9d=_0x448c9d-0x107;let _0x4624e9=_0x35fc8c[_0x448c9d];return _0x4624e9;},_0x448c(_0xe3e2d6,_0x519f0f);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x35fc(){const _0x241b4c=['970172SswLFH','8684823vGUAhb','exportDOCXByUnitId','UNIVER_UNKNOWN','extend','exportXLSXBySnapshotAsync','UNIVER_DOC','exportDOCXBySnapshot','importDOCXToSnapshotAsync','get','4122110lXotiT','1768788jsYBFB','1744FzzQKm','importXLSXToSnapshot','2156652wxxBlw','9JaMqCc','exportXLSXByUnitId','importXLSXToUnitId','1279788uJUpzF','UNIVER_PROJECT','exportXLSXBySnapshot','importDOCXToSnapshot','_injector','73665qXHIIB','importXLSXToSnapshotAsync','exportDOCXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','importDOCXToUnitId','FUniver','importXLSXToUnitIdAsync','UNIVER_SLIDE','importDOCXToUnitIdAsync','UNRECOGNIZED','UNIVER_SHEET','IExchangeService'];_0x35fc=function(){return _0x241b4c;};return _0x35fc();}var i=(_0x79e83a=>(_0x79e83a[_0x79e83a[_0x45d850(0x11d)]=0x0]=_0x45d850(0x11d),_0x79e83a[_0x79e83a[_0x45d850(0x120)]=0x1]=_0x45d850(0x120),_0x79e83a[_0x79e83a[_0x45d850(0x118)]=0x2]=_0x45d850(0x118),_0x79e83a[_0x79e83a[_0x45d850(0x115)]=0x3]=_0x45d850(0x115),_0x79e83a[_0x79e83a[_0x45d850(0x109)]=0x4]='UNIVER_PROJECT',_0x79e83a[_0x79e83a[_0x45d850(0x117)]=-0x1]='UNRECOGNIZED',_0x79e83a))(i||{});class c extends o[_0x45d850(0x113)]{async[_0x45d850(0x107)](_0x502b98){const _0x24a536=_0x45d850;return this[_0x24a536(0x114)](_0x502b98);}async[_0x45d850(0x114)](_0x4bfa4e){const _0x2e6137=_0x45d850,_0x4a462d=this[_0x2e6137(0x10c)][_0x2e6137(0x123)](r[_0x2e6137(0x119)]);if(!_0x4a462d)throw new Error(_0x2e6137(0x110));return _0x4a462d[_0x2e6137(0x111)](_0x4bfa4e,i[_0x2e6137(0x118)]);}async[_0x45d850(0x127)](_0x286c80){return this['importXLSXToSnapshotAsync'](_0x286c80);}async[_0x45d850(0x10e)](_0x364465){const _0x4571fc=_0x45d850,_0x37969c=this[_0x4571fc(0x10c)]['get'](r[_0x4571fc(0x119)]);if(!_0x37969c)throw new Error(_0x4571fc(0x110));return _0x37969c[_0x4571fc(0x127)](_0x364465);}async[_0x45d850(0x12a)](_0x2292a2){return this['exportXLSXByUnitIdAsync'](_0x2292a2);}async['exportXLSXByUnitIdAsync'](_0x429cdd){const _0x1e9d9d=_0x45d850,_0xcf6b1f=this[_0x1e9d9d(0x10c)][_0x1e9d9d(0x123)](r[_0x1e9d9d(0x119)]);if(!_0xcf6b1f)throw new Error(_0x1e9d9d(0x110));return _0xcf6b1f[_0x1e9d9d(0x12a)](_0x429cdd);}async[_0x45d850(0x10a)](_0x1e6bc5){const _0x2760b8=_0x45d850;return this[_0x2760b8(0x11f)](_0x1e6bc5);}async[_0x45d850(0x11f)](_0x27dc16){const _0x229067=_0x45d850,_0x285033=this[_0x229067(0x10c)][_0x229067(0x123)](r[_0x229067(0x119)]);if(!_0x285033)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x285033[_0x229067(0x10a)](_0x27dc16);}async[_0x45d850(0x112)](_0x76a6e1){const _0x46fa9a=_0x45d850;return this[_0x46fa9a(0x116)](_0x76a6e1);}async[_0x45d850(0x116)](_0x42558b){const _0x5017a8=_0x45d850,_0x398f2c=this[_0x5017a8(0x10c)][_0x5017a8(0x123)](r['IExchangeService']);if(!_0x398f2c)throw new Error(_0x5017a8(0x110));return _0x398f2c[_0x5017a8(0x111)](_0x42558b,i[_0x5017a8(0x120)]);}async['importDOCXToSnapshot'](_0x51562b){const _0x473839=_0x45d850;return this[_0x473839(0x122)](_0x51562b);}async['importDOCXToSnapshotAsync'](_0x248824){const _0x54586a=_0x45d850,_0x41c513=this['_injector'][_0x54586a(0x123)](r[_0x54586a(0x119)]);if(!_0x41c513)throw new Error(_0x54586a(0x110));return _0x41c513[_0x54586a(0x10b)](_0x248824);}async['exportDOCXBySnapshotAsync'](_0x41fe29){const _0x37905f=_0x45d850,_0x4aa4f4=this[_0x37905f(0x10c)]['get'](r[_0x37905f(0x119)]);if(!_0x4aa4f4)throw new Error(_0x37905f(0x110));return _0x4aa4f4[_0x37905f(0x121)](_0x41fe29);}async[_0x45d850(0x10f)](_0x5c664e){const _0x39985f=_0x45d850,_0x50483a=this['_injector'][_0x39985f(0x123)](r[_0x39985f(0x119)]);if(!_0x50483a)throw new Error(_0x39985f(0x110));return _0x50483a[_0x39985f(0x11c)](_0x5c664e);}}o[_0x45d850(0x113)][_0x45d850(0x11e)](c);
1
+ 'use strict';const _0x55b96d=_0x3227;(function(_0x4be1ee,_0xb759e1){const _0x5c0831=_0x3227,_0x4a88be=_0x4be1ee();while(!![]){try{const _0x7d199d=parseInt(_0x5c0831(0x1cf))/0x1+-parseInt(_0x5c0831(0x1de))/0x2*(-parseInt(_0x5c0831(0x1ce))/0x3)+-parseInt(_0x5c0831(0x1cc))/0x4*(parseInt(_0x5c0831(0x1c9))/0x5)+-parseInt(_0x5c0831(0x1dc))/0x6+-parseInt(_0x5c0831(0x1cb))/0x7*(-parseInt(_0x5c0831(0x1c1))/0x8)+parseInt(_0x5c0831(0x1d3))/0x9*(-parseInt(_0x5c0831(0x1d5))/0xa)+parseInt(_0x5c0831(0x1e4))/0xb;if(_0x7d199d===_0xb759e1)break;else _0x4a88be['push'](_0x4a88be['shift']());}catch(_0x44b416){_0x4a88be['push'](_0x4a88be['shift']());}}}(_0x1f0c,0x538db));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x3227(_0x17824d,_0x11757d){const _0x1f0ce2=_0x1f0c();return _0x3227=function(_0x322753,_0x2e4689){_0x322753=_0x322753-0x1c1;let _0xec00f9=_0x1f0ce2[_0x322753];return _0xec00f9;},_0x3227(_0x17824d,_0x11757d);}function _0x1f0c(){const _0x2bf4dc=['importXLSXToUnitId','125vEHrck','importDOCXToUnitIdAsync','21cEBOTM','81504GvJpTt','exportXLSXByUnitId','3651BTWDlH','653357roVkoH','exportXLSXBySnapshotAsync','importDOCXToSnapshot','extend','9999QWsSrW','FUniver','5990YXwOFz','exportXLSXByUnitIdAsync','importXLSXToSnapshot','get','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','UNIVER_UNKNOWN','3070050GtnoTI','exportDOCXByUnitIdAsync','922xIxhwj','UNIVER_PROJECT','UNIVER_SLIDE','importFileToUnitId','importXLSXToSnapshotAsync','_injector','2148146fzuhoX','1650984fGCfno','UNIVER_DOC','importXLSXToUnitIdAsync','UNRECOGNIZED','exportXLSXBySnapshot','IExchangeService','importDOCXToSnapshotAsync'];_0x1f0c=function(){return _0x2bf4dc;};return _0x1f0c();}var i=(_0xa5855c=>(_0xa5855c[_0xa5855c['UNIVER_UNKNOWN']=0x0]=_0x55b96d(0x1db),_0xa5855c[_0xa5855c[_0x55b96d(0x1c2)]=0x1]=_0x55b96d(0x1c2),_0xa5855c[_0xa5855c[_0x55b96d(0x1da)]=0x2]=_0x55b96d(0x1da),_0xa5855c[_0xa5855c[_0x55b96d(0x1e0)]=0x3]=_0x55b96d(0x1e0),_0xa5855c[_0xa5855c[_0x55b96d(0x1df)]=0x4]='UNIVER_PROJECT',_0xa5855c[_0xa5855c[_0x55b96d(0x1c4)]=-0x1]='UNRECOGNIZED',_0xa5855c))(i||{});class c extends o['FUniver']{async[_0x55b96d(0x1c8)](_0x367ee1){const _0x2b3ae3=_0x55b96d;return this[_0x2b3ae3(0x1c3)](_0x367ee1);}async[_0x55b96d(0x1c3)](_0x5dfc04){const _0x2cb8fb=_0x55b96d,_0x1c08e5=this[_0x2cb8fb(0x1e3)][_0x2cb8fb(0x1d8)](r['IExchangeService']);if(!_0x1c08e5)throw new Error(_0x2cb8fb(0x1d9));return _0x1c08e5['importFileToUnitId'](_0x5dfc04,i[_0x2cb8fb(0x1da)]);}async[_0x55b96d(0x1d7)](_0x53f052){const _0x46d1eb=_0x55b96d;return this[_0x46d1eb(0x1e2)](_0x53f052);}async[_0x55b96d(0x1e2)](_0x594569){const _0x5957ef=_0x55b96d,_0x156ab2=this[_0x5957ef(0x1e3)][_0x5957ef(0x1d8)](r['IExchangeService']);if(!_0x156ab2)throw new Error(_0x5957ef(0x1d9));return _0x156ab2['importXLSXToSnapshot'](_0x594569);}async[_0x55b96d(0x1cd)](_0x5e3976){const _0x366a85=_0x55b96d;return this[_0x366a85(0x1d6)](_0x5e3976);}async[_0x55b96d(0x1d6)](_0x686c74){const _0x4a993b=_0x55b96d,_0xcdff85=this[_0x4a993b(0x1e3)][_0x4a993b(0x1d8)](r[_0x4a993b(0x1c6)]);if(!_0xcdff85)throw new Error(_0x4a993b(0x1d9));return _0xcdff85['exportXLSXByUnitId'](_0x686c74);}async[_0x55b96d(0x1c5)](_0x1553f1){const _0x573358=_0x55b96d;return this[_0x573358(0x1d0)](_0x1553f1);}async[_0x55b96d(0x1d0)](_0x25d691){const _0x59090e=_0x55b96d,_0x2bfcba=this[_0x59090e(0x1e3)][_0x59090e(0x1d8)](r[_0x59090e(0x1c6)]);if(!_0x2bfcba)throw new Error(_0x59090e(0x1d9));return _0x2bfcba[_0x59090e(0x1c5)](_0x25d691);}async['importDOCXToUnitId'](_0x28e96e){const _0x12fb6c=_0x55b96d;return this[_0x12fb6c(0x1ca)](_0x28e96e);}async['importDOCXToUnitIdAsync'](_0x349ae2){const _0x48d831=_0x55b96d,_0x14a00d=this[_0x48d831(0x1e3)]['get'](r[_0x48d831(0x1c6)]);if(!_0x14a00d)throw new Error(_0x48d831(0x1d9));return _0x14a00d[_0x48d831(0x1e1)](_0x349ae2,i['UNIVER_DOC']);}async[_0x55b96d(0x1d1)](_0x507971){return this['importDOCXToSnapshotAsync'](_0x507971);}async[_0x55b96d(0x1c7)](_0x4bdb9a){const _0x453f64=_0x55b96d,_0x1919cd=this[_0x453f64(0x1e3)][_0x453f64(0x1d8)](r[_0x453f64(0x1c6)]);if(!_0x1919cd)throw new Error(_0x453f64(0x1d9));return _0x1919cd['importDOCXToSnapshot'](_0x4bdb9a);}async['exportDOCXBySnapshotAsync'](_0xb4337f){const _0x3d0a3c=_0x55b96d,_0x158aa0=this[_0x3d0a3c(0x1e3)]['get'](r['IExchangeService']);if(!_0x158aa0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x158aa0['exportDOCXBySnapshot'](_0xb4337f);}async[_0x55b96d(0x1dd)](_0x469865){const _0x1508ba=_0x55b96d,_0x50d7eb=this[_0x1508ba(0x1e3)][_0x1508ba(0x1d8)](r[_0x1508ba(0x1c6)]);if(!_0x50d7eb)throw new Error(_0x1508ba(0x1d9));return _0x50d7eb['exportDOCXByUnitId'](_0x469865);}}o[_0x55b96d(0x1d4)][_0x55b96d(0x1d2)](c);