@univerjs-pro/exchange-client 0.8.2-nightly.202506261607 → 0.8.3-nightly.202506271607

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 (42) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ko-KR.js +1 -1
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +2 -2
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -1
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.js +2 -2
  23. package/lib/locale/en-US.js +1 -1
  24. package/lib/locale/fa-IR.js +1 -1
  25. package/lib/locale/fr-FR.js +1 -1
  26. package/lib/locale/ko-KR.js +1 -1
  27. package/lib/locale/ru-RU.js +1 -1
  28. package/lib/locale/vi-VN.js +1 -1
  29. package/lib/locale/zh-CN.js +1 -1
  30. package/lib/locale/zh-TW.js +1 -1
  31. package/lib/types/index.d.ts +1 -0
  32. package/lib/umd/facade.js +1 -1
  33. package/lib/umd/index.js +2 -2
  34. package/lib/umd/locale/en-US.js +1 -1
  35. package/lib/umd/locale/fa-IR.js +1 -1
  36. package/lib/umd/locale/fr-FR.js +1 -1
  37. package/lib/umd/locale/ko-KR.js +1 -1
  38. package/lib/umd/locale/ru-RU.js +1 -1
  39. package/lib/umd/locale/vi-VN.js +1 -1
  40. package/lib/umd/locale/zh-CN.js +1 -1
  41. package/lib/umd/locale/zh-TW.js +1 -1
  42. package/package.json +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1ddacc=_0x4d84;function _0x3b67(){const _0x5934c0=['IExchangeService','UNRECOGNIZED','importFileToUnitId','FUniver','UNIVER_SLIDE','_injector','importXLSXToUnitId','importXLSXToSnapshot','UNIVER_UNKNOWN','335085Ynfhtq','importDOCXToUnitId','exportDOCXByUnitId','1611496pmQXKB','exportXLSXByUnitId','importXLSXToSnapshotAsync','exportXLSXBySnapshot','14lstMxG','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','importDOCXToUnitIdAsync','375Yfljhq','UNIVER_SHEET','29730kSBacY','2083689OIkxNM','3594644dVfekz','@univerjs-pro/exchange-client','importXLSXToUnitIdAsync','33178730aKXOXb','exportDOCXByUnitIdAsync','importDOCXToSnapshotAsync','4CNzyuO','importDOCXToSnapshot','UNIVER_PROJECT','7252848zBrqWa','get','@univerjs/core/facade','exportXLSXBySnapshotAsync'];_0x3b67=function(){return _0x5934c0;};return _0x3b67();}(function(_0x1ceb47,_0x50ccc3){const _0xe4e87a=_0x4d84,_0x51a366=_0x1ceb47();while(!![]){try{const _0x484a37=parseInt(_0xe4e87a(0x143))/0x1*(parseInt(_0xe4e87a(0x133))/0x2)+parseInt(_0xe4e87a(0x151))/0x3+parseInt(_0xe4e87a(0x152))/0x4+parseInt(_0xe4e87a(0x14e))/0x5*(parseInt(_0xe4e87a(0x150))/0x6)+parseInt(_0xe4e87a(0x14a))/0x7*(parseInt(_0xe4e87a(0x146))/0x8)+parseInt(_0xe4e87a(0x136))/0x9+-parseInt(_0xe4e87a(0x155))/0xa;if(_0x484a37===_0x50ccc3)break;else _0x51a366['push'](_0x51a366['shift']());}catch(_0x2f1212){_0x51a366['push'](_0x51a366['shift']());}}}(_0x3b67,0x80644));const r=require(_0x1ddacc(0x153)),o=require(_0x1ddacc(0x138));var i=(_0x26a18d=>(_0x26a18d[_0x26a18d[_0x1ddacc(0x142)]=0x0]=_0x1ddacc(0x142),_0x26a18d[_0x26a18d[_0x1ddacc(0x14c)]=0x1]=_0x1ddacc(0x14c),_0x26a18d[_0x26a18d['UNIVER_SHEET']=0x2]=_0x1ddacc(0x14f),_0x26a18d[_0x26a18d[_0x1ddacc(0x13e)]=0x3]=_0x1ddacc(0x13e),_0x26a18d[_0x26a18d[_0x1ddacc(0x135)]=0x4]=_0x1ddacc(0x135),_0x26a18d[_0x26a18d[_0x1ddacc(0x13b)]=-0x1]='UNRECOGNIZED',_0x26a18d))(i||{});class c extends o[_0x1ddacc(0x13d)]{async[_0x1ddacc(0x140)](_0x5c1641){const _0x5a4461=_0x1ddacc;return this[_0x5a4461(0x154)](_0x5c1641);}async['importXLSXToUnitIdAsync'](_0x4bd639){const _0xbf84ad=_0x1ddacc,_0x40bf82=this[_0xbf84ad(0x13f)][_0xbf84ad(0x137)](r['IExchangeService']);if(!_0x40bf82)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x40bf82[_0xbf84ad(0x13c)](_0x4bd639,i[_0xbf84ad(0x14f)]);}async[_0x1ddacc(0x141)](_0x2861b3){return this['importXLSXToSnapshotAsync'](_0x2861b3);}async[_0x1ddacc(0x148)](_0x4928ae){const _0x4c15ff=_0x1ddacc,_0x1631c5=this[_0x4c15ff(0x13f)][_0x4c15ff(0x137)](r[_0x4c15ff(0x13a)]);if(!_0x1631c5)throw new Error(_0x4c15ff(0x14b));return _0x1631c5[_0x4c15ff(0x141)](_0x4928ae);}async['exportXLSXByUnitId'](_0x2521e5){return this['exportXLSXByUnitIdAsync'](_0x2521e5);}async['exportXLSXByUnitIdAsync'](_0x3a4466){const _0x244e1b=_0x1ddacc,_0x5eb41b=this[_0x244e1b(0x13f)][_0x244e1b(0x137)](r[_0x244e1b(0x13a)]);if(!_0x5eb41b)throw new Error(_0x244e1b(0x14b));return _0x5eb41b[_0x244e1b(0x147)](_0x3a4466);}async[_0x1ddacc(0x149)](_0x5e4a64){const _0x34c944=_0x1ddacc;return this[_0x34c944(0x139)](_0x5e4a64);}async[_0x1ddacc(0x139)](_0x37bbfb){const _0x421b60=_0x1ddacc,_0x742b8e=this['_injector']['get'](r[_0x421b60(0x13a)]);if(!_0x742b8e)throw new Error(_0x421b60(0x14b));return _0x742b8e[_0x421b60(0x149)](_0x37bbfb);}async[_0x1ddacc(0x144)](_0x101367){const _0x544657=_0x1ddacc;return this[_0x544657(0x14d)](_0x101367);}async[_0x1ddacc(0x14d)](_0x1b1988){const _0x48b003=_0x1ddacc,_0x538d4e=this[_0x48b003(0x13f)][_0x48b003(0x137)](r[_0x48b003(0x13a)]);if(!_0x538d4e)throw new Error(_0x48b003(0x14b));return _0x538d4e['importFileToUnitId'](_0x1b1988,i['UNIVER_DOC']);}async[_0x1ddacc(0x134)](_0x5d468d){const _0x591463=_0x1ddacc;return this[_0x591463(0x157)](_0x5d468d);}async['importDOCXToSnapshotAsync'](_0x5de602){const _0xc99b71=_0x1ddacc,_0xe860af=this[_0xc99b71(0x13f)][_0xc99b71(0x137)](r[_0xc99b71(0x13a)]);if(!_0xe860af)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xe860af['importDOCXToSnapshot'](_0x5de602);}async['exportDOCXBySnapshotAsync'](_0x3e4493){const _0x129c5d=_0x1ddacc,_0x10dc1d=this['_injector'][_0x129c5d(0x137)](r['IExchangeService']);if(!_0x10dc1d)throw new Error(_0x129c5d(0x14b));return _0x10dc1d['exportDOCXBySnapshot'](_0x3e4493);}async[_0x1ddacc(0x156)](_0x5eadd6){const _0x245b78=_0x1ddacc,_0x53512c=this[_0x245b78(0x13f)][_0x245b78(0x137)](r['IExchangeService']);if(!_0x53512c)throw new Error(_0x245b78(0x14b));return _0x53512c[_0x245b78(0x145)](_0x5eadd6);}}function _0x4d84(_0x3bd463,_0x5eb6b1){const _0x3b67b1=_0x3b67();return _0x4d84=function(_0x4d842a,_0x4dc87a){_0x4d842a=_0x4d842a-0x133;let _0x5a4709=_0x3b67b1[_0x4d842a];return _0x5a4709;},_0x4d84(_0x3bd463,_0x5eb6b1);}o[_0x1ddacc(0x13d)]['extend'](c);
1
+ 'use strict';const _0x364e76=_0x25b2;(function(_0x4c9c9c,_0x145d87){const _0x402cbb=_0x25b2,_0x29e4d4=_0x4c9c9c();while(!![]){try{const _0x3bd506=parseInt(_0x402cbb(0x17f))/0x1+parseInt(_0x402cbb(0x176))/0x2*(parseInt(_0x402cbb(0x17b))/0x3)+-parseInt(_0x402cbb(0x177))/0x4+-parseInt(_0x402cbb(0x191))/0x5*(parseInt(_0x402cbb(0x18f))/0x6)+-parseInt(_0x402cbb(0x18c))/0x7*(parseInt(_0x402cbb(0x182))/0x8)+-parseInt(_0x402cbb(0x186))/0x9+parseInt(_0x402cbb(0x192))/0xa;if(_0x3bd506===_0x145d87)break;else _0x29e4d4['push'](_0x29e4d4['shift']());}catch(_0x36a179){_0x29e4d4['push'](_0x29e4d4['shift']());}}}(_0x567d,0xb0460));function _0x25b2(_0x465b84,_0x22b042){const _0x567d71=_0x567d();return _0x25b2=function(_0x25b2ee,_0xb6b581){_0x25b2ee=_0x25b2ee-0x174;let _0x228d89=_0x567d71[_0x25b2ee];return _0x228d89;},_0x25b2(_0x465b84,_0x22b042);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x364e76(0x190));var i=(_0x43cd5c=>(_0x43cd5c[_0x43cd5c[_0x364e76(0x185)]=0x0]=_0x364e76(0x185),_0x43cd5c[_0x43cd5c[_0x364e76(0x199)]=0x1]=_0x364e76(0x199),_0x43cd5c[_0x43cd5c[_0x364e76(0x174)]=0x2]='UNIVER_SHEET',_0x43cd5c[_0x43cd5c[_0x364e76(0x198)]=0x3]=_0x364e76(0x198),_0x43cd5c[_0x43cd5c[_0x364e76(0x17c)]=0x4]='UNIVER_PROJECT',_0x43cd5c[_0x43cd5c['UNRECOGNIZED']=-0x1]=_0x364e76(0x181),_0x43cd5c))(i||{});class c extends o[_0x364e76(0x194)]{async[_0x364e76(0x18d)](_0x3052eb){const _0x505867=_0x364e76;return this[_0x505867(0x180)](_0x3052eb);}async[_0x364e76(0x180)](_0x323379){const _0x4c970c=_0x364e76,_0x5af890=this[_0x4c970c(0x17a)][_0x4c970c(0x193)](r[_0x4c970c(0x188)]);if(!_0x5af890)throw new Error(_0x4c970c(0x197));return _0x5af890[_0x4c970c(0x195)](_0x323379,i['UNIVER_SHEET']);}async[_0x364e76(0x175)](_0x8e4efa){return this['importXLSXToSnapshotAsync'](_0x8e4efa);}async[_0x364e76(0x18b)](_0x1aa942){const _0x49622e=_0x364e76,_0x47017d=this[_0x49622e(0x17a)][_0x49622e(0x193)](r[_0x49622e(0x188)]);if(!_0x47017d)throw new Error(_0x49622e(0x197));return _0x47017d[_0x49622e(0x175)](_0x1aa942);}async[_0x364e76(0x187)](_0x7ca8a1){const _0x48ac04=_0x364e76;return this[_0x48ac04(0x184)](_0x7ca8a1);}async[_0x364e76(0x184)](_0x299821){const _0x5b7bfa=_0x364e76,_0x11c654=this[_0x5b7bfa(0x17a)][_0x5b7bfa(0x193)](r[_0x5b7bfa(0x188)]);if(!_0x11c654)throw new Error(_0x5b7bfa(0x197));return _0x11c654[_0x5b7bfa(0x187)](_0x299821);}async['exportXLSXBySnapshot'](_0x1874dc){const _0xaa9895=_0x364e76;return this[_0xaa9895(0x183)](_0x1874dc);}async[_0x364e76(0x183)](_0x3ded71){const _0x55ad54=_0x364e76,_0x264ab5=this[_0x55ad54(0x17a)]['get'](r[_0x55ad54(0x188)]);if(!_0x264ab5)throw new Error(_0x55ad54(0x197));return _0x264ab5[_0x55ad54(0x189)](_0x3ded71);}async['importDOCXToUnitId'](_0x33219b){const _0x5ed921=_0x364e76;return this[_0x5ed921(0x18e)](_0x33219b);}async[_0x364e76(0x18e)](_0x4dbc7c){const _0xc16dcc=_0x364e76,_0x49c5c3=this[_0xc16dcc(0x17a)]['get'](r['IExchangeService']);if(!_0x49c5c3)throw new Error(_0xc16dcc(0x197));return _0x49c5c3[_0xc16dcc(0x195)](_0x4dbc7c,i[_0xc16dcc(0x199)]);}async['importDOCXToSnapshot'](_0x289a93){const _0x344d46=_0x364e76;return this[_0x344d46(0x18a)](_0x289a93);}async['importDOCXToSnapshotAsync'](_0x3eb701){const _0x1aeb90=_0x364e76,_0x598f77=this['_injector'][_0x1aeb90(0x193)](r[_0x1aeb90(0x188)]);if(!_0x598f77)throw new Error(_0x1aeb90(0x197));return _0x598f77[_0x1aeb90(0x196)](_0x3eb701);}async[_0x364e76(0x179)](_0x451365){const _0x31d913=_0x364e76,_0x21ac89=this[_0x31d913(0x17a)][_0x31d913(0x193)](r[_0x31d913(0x188)]);if(!_0x21ac89)throw new Error(_0x31d913(0x197));return _0x21ac89[_0x31d913(0x178)](_0x451365);}async[_0x364e76(0x17d)](_0x3016ea){const _0x42c401=_0x364e76,_0x4d5f7e=this[_0x42c401(0x17a)][_0x42c401(0x193)](r[_0x42c401(0x188)]);if(!_0x4d5f7e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4d5f7e[_0x42c401(0x17e)](_0x3016ea);}}function _0x567d(){const _0x36e1f6=['importXLSXToUnitIdAsync','UNRECOGNIZED','8dFsAhp','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','UNIVER_UNKNOWN','3056733vJfCIj','exportXLSXByUnitId','IExchangeService','exportXLSXBySnapshot','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','4512837rruGfd','importXLSXToUnitId','importDOCXToUnitIdAsync','6odXrPy','@univerjs/core/facade','1493455ADmvml','1675170DILjNK','get','FUniver','importFileToUnitId','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','UNIVER_DOC','UNIVER_SHEET','importXLSXToSnapshot','10oCaezy','17016EeYNZs','exportDOCXBySnapshot','exportDOCXBySnapshotAsync','_injector','425676TdaJMc','UNIVER_PROJECT','exportDOCXByUnitIdAsync','exportDOCXByUnitId','1132312auaMZS'];_0x567d=function(){return _0x36e1f6;};return _0x567d();}o[_0x364e76(0x194)]['extend'](c);