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

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 _0x27f1fe=_0x399e;function _0x399e(_0x35a3a2,_0x4f9dad){const _0x583216=_0x5832();return _0x399e=function(_0x399e65,_0x4f2b70){_0x399e65=_0x399e65-0x71;let _0x4ce53d=_0x583216[_0x399e65];return _0x4ce53d;},_0x399e(_0x35a3a2,_0x4f9dad);}(function(_0x541a43,_0x28fc76){const _0x45f098=_0x399e,_0x5bbf43=_0x541a43();while(!![]){try{const _0xd92a98=parseInt(_0x45f098(0x84))/0x1+parseInt(_0x45f098(0x7f))/0x2+parseInt(_0x45f098(0x83))/0x3+parseInt(_0x45f098(0x71))/0x4*(-parseInt(_0x45f098(0x94))/0x5)+-parseInt(_0x45f098(0x90))/0x6*(parseInt(_0x45f098(0x73))/0x7)+-parseInt(_0x45f098(0x74))/0x8*(-parseInt(_0x45f098(0x82))/0x9)+parseInt(_0x45f098(0x80))/0xa*(parseInt(_0x45f098(0x8a))/0xb);if(_0xd92a98===_0x28fc76)break;else _0x5bbf43['push'](_0x5bbf43['shift']());}catch(_0x484373){_0x5bbf43['push'](_0x5bbf43['shift']());}}}(_0x5832,0xde576));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3fbcc2=>(_0x3fbcc2[_0x3fbcc2[_0x27f1fe(0x91)]=0x0]='UNIVER_UNKNOWN',_0x3fbcc2[_0x3fbcc2['UNIVER_DOC']=0x1]=_0x27f1fe(0x92),_0x3fbcc2[_0x3fbcc2[_0x27f1fe(0x8f)]=0x2]=_0x27f1fe(0x8f),_0x3fbcc2[_0x3fbcc2['UNIVER_SLIDE']=0x3]=_0x27f1fe(0x93),_0x3fbcc2[_0x3fbcc2[_0x27f1fe(0x8c)]=0x4]=_0x27f1fe(0x8c),_0x3fbcc2[_0x3fbcc2['UNRECOGNIZED']=-0x1]=_0x27f1fe(0x75),_0x3fbcc2))(i||{});function _0x5832(){const _0x47b0e4=['importDOCXToSnapshot','exportDOCXByUnitId','12264142hBmRQo','exportXLSXBySnapshotAsync','UNIVER_PROJECT','_injector','exportXLSXBySnapshot','UNIVER_SHEET','143400lUhuIr','UNIVER_UNKNOWN','UNIVER_DOC','UNIVER_SLIDE','40tvVgGA','IExchangeService','854980IOkJTu','importDOCXToSnapshotAsync','427OtxQTR','4947856BatZol','UNRECOGNIZED','get','exportXLSXByUnitId','exportDOCXByUnitIdAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importXLSXToSnapshot','importDOCXToUnitId','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','1948908cmRZsb','10QHJyde','importDOCXToUnitIdAsync','9bdEoaF','1682247QVpyGM','809963hhzeou','importFileToUnitId','exportDOCXBySnapshotAsync','importXLSXToUnitId'];_0x5832=function(){return _0x47b0e4;};return _0x5832();}class c extends o['FUniver']{async[_0x27f1fe(0x87)](_0x46e785){const _0x452ada=_0x27f1fe;return this[_0x452ada(0x7d)](_0x46e785);}async[_0x27f1fe(0x7d)](_0x1930c2){const _0x269a2a=_0x27f1fe,_0x5c02d8=this[_0x269a2a(0x8d)][_0x269a2a(0x76)](r[_0x269a2a(0x95)]);if(!_0x5c02d8)throw new Error(_0x269a2a(0x7e));return _0x5c02d8[_0x269a2a(0x85)](_0x1930c2,i['UNIVER_SHEET']);}async[_0x27f1fe(0x7b)](_0x34f9ef){const _0x329124=_0x27f1fe;return this[_0x329124(0x7a)](_0x34f9ef);}async[_0x27f1fe(0x7a)](_0xc7b41){const _0x293cc2=_0x27f1fe,_0x1557f4=this[_0x293cc2(0x8d)][_0x293cc2(0x76)](r[_0x293cc2(0x95)]);if(!_0x1557f4)throw new Error(_0x293cc2(0x7e));return _0x1557f4[_0x293cc2(0x7b)](_0xc7b41);}async[_0x27f1fe(0x77)](_0x2235bd){const _0x433e89=_0x27f1fe;return this[_0x433e89(0x79)](_0x2235bd);}async[_0x27f1fe(0x79)](_0x2bd3d2){const _0x229e3c=_0x27f1fe,_0x1b0be3=this[_0x229e3c(0x8d)][_0x229e3c(0x76)](r['IExchangeService']);if(!_0x1b0be3)throw new Error(_0x229e3c(0x7e));return _0x1b0be3[_0x229e3c(0x77)](_0x2bd3d2);}async[_0x27f1fe(0x8e)](_0x3d872d){const _0x38327a=_0x27f1fe;return this[_0x38327a(0x8b)](_0x3d872d);}async[_0x27f1fe(0x8b)](_0x521f54){const _0x35c046=_0x27f1fe,_0x5cd342=this[_0x35c046(0x8d)]['get'](r['IExchangeService']);if(!_0x5cd342)throw new Error(_0x35c046(0x7e));return _0x5cd342['exportXLSXBySnapshot'](_0x521f54);}async[_0x27f1fe(0x7c)](_0x5663e5){return this['importDOCXToUnitIdAsync'](_0x5663e5);}async[_0x27f1fe(0x81)](_0x409358){const _0x365953=_0x27f1fe,_0x30a8a8=this[_0x365953(0x8d)][_0x365953(0x76)](r[_0x365953(0x95)]);if(!_0x30a8a8)throw new Error(_0x365953(0x7e));return _0x30a8a8['importFileToUnitId'](_0x409358,i[_0x365953(0x92)]);}async[_0x27f1fe(0x88)](_0x47fa9f){const _0x51653d=_0x27f1fe;return this[_0x51653d(0x72)](_0x47fa9f);}async[_0x27f1fe(0x72)](_0x1bfbfc){const _0x62db76=_0x27f1fe,_0x1ef63b=this[_0x62db76(0x8d)][_0x62db76(0x76)](r[_0x62db76(0x95)]);if(!_0x1ef63b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1ef63b['importDOCXToSnapshot'](_0x1bfbfc);}async[_0x27f1fe(0x86)](_0x56655d){const _0x59fbcd=_0x27f1fe,_0xba856b=this[_0x59fbcd(0x8d)][_0x59fbcd(0x76)](r[_0x59fbcd(0x95)]);if(!_0xba856b)throw new Error(_0x59fbcd(0x7e));return _0xba856b['exportDOCXBySnapshot'](_0x56655d);}async[_0x27f1fe(0x78)](_0x4c64ef){const _0x5d2400=_0x27f1fe,_0x53b751=this['_injector']['get'](r['IExchangeService']);if(!_0x53b751)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x53b751[_0x5d2400(0x89)](_0x4c64ef);}}o['FUniver']['extend'](c);