@univerjs-pro/exchange-client 0.11.0 → 0.12.0-nightly.202511220628

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 (54) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -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/ja-JP.js +1 -0
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -2
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -0
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -2
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -0
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/locale/ja-JP.d.ts +3 -0
  41. package/lib/umd/facade.js +1 -1
  42. package/lib/umd/index.js +1 -2
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -0
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xd68113=_0x48d2;(function(_0x3def9f,_0x5246f1){const _0x108b01=_0x48d2,_0x2e5891=_0x3def9f();while(!![]){try{const _0x20a865=-parseInt(_0x108b01(0x11a))/0x1+-parseInt(_0x108b01(0xfa))/0x2+parseInt(_0x108b01(0x115))/0x3*(-parseInt(_0x108b01(0x11b))/0x4)+parseInt(_0x108b01(0x10f))/0x5+parseInt(_0x108b01(0x10e))/0x6+parseInt(_0x108b01(0x111))/0x7+parseInt(_0x108b01(0x100))/0x8*(parseInt(_0x108b01(0x11c))/0x9);if(_0x20a865===_0x5246f1)break;else _0x2e5891['push'](_0x2e5891['shift']());}catch(_0x4fbece){_0x2e5891['push'](_0x2e5891['shift']());}}}(_0x64ca,0xe32e6));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x40f33f=>(_0x40f33f[_0x40f33f[_0xd68113(0x107)]=0x0]=_0xd68113(0x107),_0x40f33f[_0x40f33f['UNIVER_DOC']=0x1]=_0xd68113(0x119),_0x40f33f[_0x40f33f[_0xd68113(0x104)]=0x2]=_0xd68113(0x104),_0x40f33f[_0x40f33f[_0xd68113(0x10c)]=0x3]='UNIVER_SLIDE',_0x40f33f[_0x40f33f[_0xd68113(0x112)]=0x4]='UNIVER_PROJECT',_0x40f33f[_0x40f33f[_0xd68113(0x10d)]=-0x1]=_0xd68113(0x10d),_0x40f33f))(i||{});function _0x64ca(){const _0x1e1ed8=['importFileToUnitId','exportXLSXByUnitId','importXLSXToSnapshotAsync','UNIVER_SLIDE','UNRECOGNIZED','8072022bjFKAP','1159245dhdtut','exportXLSXBySnapshotAsync','7057750UtNzMr','UNIVER_PROJECT','exportDOCXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','30MiIGqx','IExchangeService','exportDOCXByUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_DOC','1397181twHkMx','631964pmQmly','9gKvZrT','FUniver','2856700WTwnLZ','exportDOCXByUnitId','importXLSXToSnapshot','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','importXLSXToUnitId','22004312sUBQqV','importDOCXToUnitId','get','importDOCXToSnapshot','UNIVER_SHEET','importXLSXToUnitIdAsync','extend','UNIVER_UNKNOWN','_injector'];_0x64ca=function(){return _0x1e1ed8;};return _0x64ca();}class c extends o[_0xd68113(0x11d)]{async[_0xd68113(0xff)](_0x254cfc){const _0x4491c7=_0xd68113;return this[_0x4491c7(0x105)](_0x254cfc);}async[_0xd68113(0x105)](_0x33311f){const _0x4f90af=_0xd68113,_0x331015=this[_0x4f90af(0x108)][_0x4f90af(0x102)](r['IExchangeService']);if(!_0x331015)throw new Error(_0x4f90af(0x114));return _0x331015[_0x4f90af(0x109)](_0x33311f,i[_0x4f90af(0x104)]);}async[_0xd68113(0xfc)](_0x208742){const _0x3d49f8=_0xd68113;return this[_0x3d49f8(0x10b)](_0x208742);}async[_0xd68113(0x10b)](_0x364072){const _0x1793d6=_0xd68113,_0x132f96=this[_0x1793d6(0x108)][_0x1793d6(0x102)](r['IExchangeService']);if(!_0x132f96)throw new Error(_0x1793d6(0x114));return _0x132f96[_0x1793d6(0xfc)](_0x364072);}async[_0xd68113(0x10a)](_0x22f665){const _0x4063e8=_0xd68113;return this[_0x4063e8(0xfe)](_0x22f665);}async['exportXLSXByUnitIdAsync'](_0x25e505){const _0x2cba64=_0xd68113,_0x116520=this[_0x2cba64(0x108)][_0x2cba64(0x102)](r[_0x2cba64(0x116)]);if(!_0x116520)throw new Error(_0x2cba64(0x114));return _0x116520[_0x2cba64(0x10a)](_0x25e505);}async[_0xd68113(0xfd)](_0x135b96){return this['exportXLSXBySnapshotAsync'](_0x135b96);}async[_0xd68113(0x110)](_0x5d1cfa){const _0x5a7af1=_0xd68113,_0x172c4e=this[_0x5a7af1(0x108)]['get'](r[_0x5a7af1(0x116)]);if(!_0x172c4e)throw new Error(_0x5a7af1(0x114));return _0x172c4e[_0x5a7af1(0xfd)](_0x5d1cfa);}async[_0xd68113(0x101)](_0x1d7a49){return this['importDOCXToUnitIdAsync'](_0x1d7a49);}async['importDOCXToUnitIdAsync'](_0xb2d34a){const _0x1e39fc=_0xd68113,_0x3ad5a3=this[_0x1e39fc(0x108)]['get'](r[_0x1e39fc(0x116)]);if(!_0x3ad5a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ad5a3['importFileToUnitId'](_0xb2d34a,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x3df47c){const _0xded8a0=_0xd68113;return this[_0xded8a0(0x118)](_0x3df47c);}async['importDOCXToSnapshotAsync'](_0x686233){const _0x5c9cdb=_0xd68113,_0x4b6d3e=this[_0x5c9cdb(0x108)][_0x5c9cdb(0x102)](r[_0x5c9cdb(0x116)]);if(!_0x4b6d3e)throw new Error(_0x5c9cdb(0x114));return _0x4b6d3e[_0x5c9cdb(0x103)](_0x686233);}async[_0xd68113(0x113)](_0x4cc91a){const _0x41704=_0xd68113,_0x33ad74=this[_0x41704(0x108)][_0x41704(0x102)](r['IExchangeService']);if(!_0x33ad74)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x33ad74['exportDOCXBySnapshot'](_0x4cc91a);}async[_0xd68113(0x117)](_0x5ad4bd){const _0x1a06d1=_0xd68113,_0xb90af9=this['_injector'][_0x1a06d1(0x102)](r['IExchangeService']);if(!_0xb90af9)throw new Error(_0x1a06d1(0x114));return _0xb90af9[_0x1a06d1(0xfb)](_0x5ad4bd);}}function _0x48d2(_0x891d60,_0x46e47b){const _0x64cade=_0x64ca();return _0x48d2=function(_0x48d28a,_0xca9a1f){_0x48d28a=_0x48d28a-0xfa;let _0x49974b=_0x64cade[_0x48d28a];return _0x49974b;},_0x48d2(_0x891d60,_0x46e47b);}o[_0xd68113(0x11d)][_0xd68113(0x106)](c);
1
+ 'use strict';function _0x4e8c(){const _0x5cb366=['UNIVER_PROJECT','3126390MVyexA','UNIVER_SLIDE','2JKdkwp','importXLSXToUnitIdAsync','954ueWbor','exportDOCXBySnapshotAsync','importXLSXToUnitId','get','exportXLSXByUnitId','importDOCXToSnapshot','739795TYSnOc','importFileToUnitId','importXLSXToSnapshot','1325959KuZWJM','UNIVER_SHEET','exportXLSXBySnapshotAsync','exportDOCXByUnitIdAsync','importDOCXToSnapshotAsync','296wVTKUk','UNIVER_DOC','importDOCXToUnitId','FUniver','238861KWnPqo','extend','1454276wKzIaT','importDOCXToUnitIdAsync','IExchangeService','66480SXamGG','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','995472WNbhiZ','exportXLSXByUnitIdAsync','_injector','importXLSXToSnapshotAsync'];_0x4e8c=function(){return _0x5cb366;};return _0x4e8c();}function _0x4fde(_0x167c97,_0x12e873){const _0x4e8c0b=_0x4e8c();return _0x4fde=function(_0x4fde5b,_0x400415){_0x4fde5b=_0x4fde5b-0x93;let _0x4f64b7=_0x4e8c0b[_0x4fde5b];return _0x4f64b7;},_0x4fde(_0x167c97,_0x12e873);}const _0x349e2a=_0x4fde;(function(_0xa3232,_0x2b77c6){const _0x1aeaab=_0x4fde,_0x790921=_0xa3232();while(!![]){try{const _0x430bb7=parseInt(_0x1aeaab(0x9c))/0x1*(parseInt(_0x1aeaab(0xb4))/0x2)+parseInt(_0x1aeaab(0xad))/0x3+parseInt(_0x1aeaab(0xa7))/0x4+-parseInt(_0x1aeaab(0x99))/0x5+-parseInt(_0x1aeaab(0xb2))/0x6+-parseInt(_0x1aeaab(0xa5))/0x7*(parseInt(_0x1aeaab(0xa1))/0x8)+-parseInt(_0x1aeaab(0x93))/0x9*(-parseInt(_0x1aeaab(0xaa))/0xa);if(_0x430bb7===_0x2b77c6)break;else _0x790921['push'](_0x790921['shift']());}catch(_0x2b34b9){_0x790921['push'](_0x790921['shift']());}}}(_0x4e8c,0xc1f61));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x4f77f8=>(_0x4f77f8[_0x4f77f8['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x4f77f8[_0x4f77f8[_0x349e2a(0xa2)]=0x1]=_0x349e2a(0xa2),_0x4f77f8[_0x4f77f8[_0x349e2a(0x9d)]=0x2]=_0x349e2a(0x9d),_0x4f77f8[_0x4f77f8[_0x349e2a(0xb3)]=0x3]='UNIVER_SLIDE',_0x4f77f8[_0x4f77f8[_0x349e2a(0xb1)]=0x4]=_0x349e2a(0xb1),_0x4f77f8[_0x4f77f8['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4f77f8))(i||{});class c extends o['FUniver']{async[_0x349e2a(0x95)](_0x474ec2){const _0x31537c=_0x349e2a;return this[_0x31537c(0xb5)](_0x474ec2);}async[_0x349e2a(0xb5)](_0x93daf7){const _0x5b91cc=_0x349e2a,_0x18233f=this['_injector'][_0x5b91cc(0x96)](r['IExchangeService']);if(!_0x18233f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18233f['importFileToUnitId'](_0x93daf7,i[_0x5b91cc(0x9d)]);}async[_0x349e2a(0x9b)](_0x2ab23e){const _0x4220d6=_0x349e2a;return this[_0x4220d6(0xb0)](_0x2ab23e);}async[_0x349e2a(0xb0)](_0x4d8f95){const _0x447ccf=_0x349e2a,_0x15460b=this['_injector'][_0x447ccf(0x96)](r[_0x447ccf(0xa9)]);if(!_0x15460b)throw new Error(_0x447ccf(0xab));return _0x15460b[_0x447ccf(0x9b)](_0x4d8f95);}async['exportXLSXByUnitId'](_0x15469e){const _0x5ccef0=_0x349e2a;return this[_0x5ccef0(0xae)](_0x15469e);}async['exportXLSXByUnitIdAsync'](_0x313290){const _0x457618=_0x349e2a,_0x58165b=this['_injector']['get'](r[_0x457618(0xa9)]);if(!_0x58165b)throw new Error(_0x457618(0xab));return _0x58165b[_0x457618(0x97)](_0x313290);}async[_0x349e2a(0xac)](_0x741342){const _0x2fbe47=_0x349e2a;return this[_0x2fbe47(0x9e)](_0x741342);}async['exportXLSXBySnapshotAsync'](_0x2faa63){const _0x746e83=_0x349e2a,_0x16720d=this[_0x746e83(0xaf)][_0x746e83(0x96)](r[_0x746e83(0xa9)]);if(!_0x16720d)throw new Error(_0x746e83(0xab));return _0x16720d['exportXLSXBySnapshot'](_0x2faa63);}async[_0x349e2a(0xa3)](_0x318503){const _0x305e78=_0x349e2a;return this[_0x305e78(0xa8)](_0x318503);}async[_0x349e2a(0xa8)](_0x5482bd){const _0x2681a8=_0x349e2a,_0x4aab67=this['_injector'][_0x2681a8(0x96)](r[_0x2681a8(0xa9)]);if(!_0x4aab67)throw new Error(_0x2681a8(0xab));return _0x4aab67[_0x2681a8(0x9a)](_0x5482bd,i['UNIVER_DOC']);}async[_0x349e2a(0x98)](_0x3a06e2){const _0x522d90=_0x349e2a;return this[_0x522d90(0xa0)](_0x3a06e2);}async[_0x349e2a(0xa0)](_0x1e6220){const _0x2629a1=_0x349e2a,_0x7fe981=this[_0x2629a1(0xaf)]['get'](r[_0x2629a1(0xa9)]);if(!_0x7fe981)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x7fe981[_0x2629a1(0x98)](_0x1e6220);}async[_0x349e2a(0x94)](_0x3f51ee){const _0x47dbbd=_0x349e2a,_0x6e64ab=this[_0x47dbbd(0xaf)][_0x47dbbd(0x96)](r[_0x47dbbd(0xa9)]);if(!_0x6e64ab)throw new Error(_0x47dbbd(0xab));return _0x6e64ab['exportDOCXBySnapshot'](_0x3f51ee);}async[_0x349e2a(0x9f)](_0x27d10b){const _0x5a7fec=_0x349e2a,_0x40dfb4=this[_0x5a7fec(0xaf)][_0x5a7fec(0x96)](r[_0x5a7fec(0xa9)]);if(!_0x40dfb4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x40dfb4['exportDOCXByUnitId'](_0x27d10b);}}o[_0x349e2a(0xa4)][_0x349e2a(0xa6)](c);