@univerjs-pro/exchange-client 0.8.2 → 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 (43) 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 -0
  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 -0
  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 -0
  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/types/locale/ko-KR.d.ts +3 -0
  33. package/lib/umd/facade.js +1 -1
  34. package/lib/umd/index.js +2 -2
  35. package/lib/umd/locale/en-US.js +1 -1
  36. package/lib/umd/locale/fa-IR.js +1 -1
  37. package/lib/umd/locale/fr-FR.js +1 -1
  38. package/lib/umd/locale/ko-KR.js +1 -0
  39. package/lib/umd/locale/ru-RU.js +1 -1
  40. package/lib/umd/locale/vi-VN.js +1 -1
  41. package/lib/umd/locale/zh-CN.js +1 -1
  42. package/lib/umd/locale/zh-TW.js +1 -1
  43. package/package.json +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2c280d=_0x5ac5;(function(_0x4de092,_0x134933){const _0x4e07d1=_0x5ac5,_0x2be5bf=_0x4de092();while(!![]){try{const _0x1c0e99=-parseInt(_0x4e07d1(0x158))/0x1*(-parseInt(_0x4e07d1(0x14d))/0x2)+-parseInt(_0x4e07d1(0x140))/0x3+-parseInt(_0x4e07d1(0x14f))/0x4*(-parseInt(_0x4e07d1(0x13c))/0x5)+-parseInt(_0x4e07d1(0x139))/0x6*(-parseInt(_0x4e07d1(0x13a))/0x7)+parseInt(_0x4e07d1(0x134))/0x8*(parseInt(_0x4e07d1(0x144))/0x9)+parseInt(_0x4e07d1(0x151))/0xa*(-parseInt(_0x4e07d1(0x145))/0xb)+-parseInt(_0x4e07d1(0x14b))/0xc;if(_0x1c0e99===_0x134933)break;else _0x2be5bf['push'](_0x2be5bf['shift']());}catch(_0xae62df){_0x2be5bf['push'](_0x2be5bf['shift']());}}}(_0x4810,0xcbd2d));function _0x5ac5(_0x4d90ea,_0x5726d3){const _0x481041=_0x4810();return _0x5ac5=function(_0x5ac575,_0x3914a8){_0x5ac575=_0x5ac575-0x133;let _0x2fceb7=_0x481041[_0x5ac575];return _0x2fceb7;},_0x5ac5(_0x4d90ea,_0x5726d3);}const r=require(_0x2c280d(0x155)),o=require(_0x2c280d(0x133));var i=(_0x3e12da=>(_0x3e12da[_0x3e12da['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x3e12da[_0x3e12da[_0x2c280d(0x157)]=0x1]=_0x2c280d(0x157),_0x3e12da[_0x3e12da['UNIVER_SHEET']=0x2]=_0x2c280d(0x137),_0x3e12da[_0x3e12da[_0x2c280d(0x13e)]=0x3]=_0x2c280d(0x13e),_0x3e12da[_0x3e12da[_0x2c280d(0x13b)]=0x4]=_0x2c280d(0x13b),_0x3e12da[_0x3e12da[_0x2c280d(0x135)]=-0x1]='UNRECOGNIZED',_0x3e12da))(i||{});class c extends o[_0x2c280d(0x14e)]{async['importXLSXToUnitId'](_0x1a4325){const _0x3ed9ec=_0x2c280d;return this[_0x3ed9ec(0x13d)](_0x1a4325);}async[_0x2c280d(0x13d)](_0x1b48d6){const _0x2132a2=_0x2c280d,_0x4f8bbd=this[_0x2132a2(0x14a)][_0x2132a2(0x138)](r[_0x2132a2(0x141)]);if(!_0x4f8bbd)throw new Error(_0x2132a2(0x146));return _0x4f8bbd['importFileToUnitId'](_0x1b48d6,i[_0x2132a2(0x137)]);}async['importXLSXToSnapshot'](_0x385275){const _0x202ed2=_0x2c280d;return this[_0x202ed2(0x13f)](_0x385275);}async[_0x2c280d(0x13f)](_0x47cc7c){const _0x2a4994=_0x2c280d,_0x3868b4=this[_0x2a4994(0x14a)]['get'](r['IExchangeService']);if(!_0x3868b4)throw new Error(_0x2a4994(0x146));return _0x3868b4['importXLSXToSnapshot'](_0x47cc7c);}async[_0x2c280d(0x153)](_0x13a039){const _0x3f1983=_0x2c280d;return this[_0x3f1983(0x147)](_0x13a039);}async['exportXLSXByUnitIdAsync'](_0x5e09af){const _0x54259a=_0x2c280d,_0x2dea3e=this[_0x54259a(0x14a)]['get'](r[_0x54259a(0x141)]);if(!_0x2dea3e)throw new Error(_0x54259a(0x146));return _0x2dea3e[_0x54259a(0x153)](_0x5e09af);}async[_0x2c280d(0x143)](_0x25034d){const _0x39f83c=_0x2c280d;return this[_0x39f83c(0x149)](_0x25034d);}async[_0x2c280d(0x149)](_0x2546e2){const _0x5e0d37=_0x2c280d,_0x500793=this[_0x5e0d37(0x14a)][_0x5e0d37(0x138)](r['IExchangeService']);if(!_0x500793)throw new Error(_0x5e0d37(0x146));return _0x500793[_0x5e0d37(0x143)](_0x2546e2);}async[_0x2c280d(0x148)](_0x5f30bf){const _0x46cbb9=_0x2c280d;return this[_0x46cbb9(0x136)](_0x5f30bf);}async['importDOCXToUnitIdAsync'](_0x12cb8c){const _0x4ada3f=_0x2c280d,_0x1b917d=this['_injector'][_0x4ada3f(0x138)](r[_0x4ada3f(0x141)]);if(!_0x1b917d)throw new Error(_0x4ada3f(0x146));return _0x1b917d[_0x4ada3f(0x156)](_0x12cb8c,i[_0x4ada3f(0x157)]);}async['importDOCXToSnapshot'](_0x3a1b78){const _0x1dad5e=_0x2c280d;return this[_0x1dad5e(0x142)](_0x3a1b78);}async[_0x2c280d(0x142)](_0x4812a3){const _0x31eb64=_0x2c280d,_0x22172c=this['_injector'][_0x31eb64(0x138)](r[_0x31eb64(0x141)]);if(!_0x22172c)throw new Error(_0x31eb64(0x146));return _0x22172c['importDOCXToSnapshot'](_0x4812a3);}async[_0x2c280d(0x14c)](_0x324c02){const _0x3178e5=_0x2c280d,_0x310375=this[_0x3178e5(0x14a)][_0x3178e5(0x138)](r[_0x3178e5(0x141)]);if(!_0x310375)throw new Error(_0x3178e5(0x146));return _0x310375[_0x3178e5(0x152)](_0x324c02);}async['exportDOCXByUnitIdAsync'](_0x1d1035){const _0x2c2953=_0x2c280d,_0x3a21d3=this[_0x2c2953(0x14a)][_0x2c2953(0x138)](r['IExchangeService']);if(!_0x3a21d3)throw new Error(_0x2c2953(0x146));return _0x3a21d3[_0x2c2953(0x154)](_0x1d1035);}}o[_0x2c280d(0x14e)][_0x2c280d(0x150)](c);function _0x4810(){const _0x42c5c6=['9mkOAnw','11kfJBOn','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','importDOCXToUnitId','exportXLSXBySnapshotAsync','_injector','23682684hBOlDL','exportDOCXBySnapshotAsync','122FtYMqI','FUniver','1204JIZTjK','extend','13126830CHOIaN','exportDOCXBySnapshot','exportXLSXByUnitId','exportDOCXByUnitId','@univerjs-pro/exchange-client','importFileToUnitId','UNIVER_DOC','18364amkLCk','@univerjs/core/facade','7010360chAuSw','UNRECOGNIZED','importDOCXToUnitIdAsync','UNIVER_SHEET','get','724272gxgslG','91HCiLbw','UNIVER_PROJECT','24755ZsbUBw','importXLSXToUnitIdAsync','UNIVER_SLIDE','importXLSXToSnapshotAsync','2804715YAcEbI','IExchangeService','importDOCXToSnapshotAsync','exportXLSXBySnapshot'];_0x4810=function(){return _0x42c5c6;};return _0x4810();}
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);