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

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 (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  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/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
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);
1
+ 'use strict';const _0x4a6c56=_0x2830;(function(_0x6a2163,_0x37e02){const _0xc10da1=_0x2830,_0x2a3c10=_0x6a2163();while(!![]){try{const _0x20e8d3=parseInt(_0xc10da1(0xd0))/0x1+parseInt(_0xc10da1(0xb6))/0x2*(parseInt(_0xc10da1(0xb7))/0x3)+-parseInt(_0xc10da1(0xc2))/0x4+parseInt(_0xc10da1(0xcb))/0x5+parseInt(_0xc10da1(0xbb))/0x6+parseInt(_0xc10da1(0xce))/0x7*(parseInt(_0xc10da1(0xbc))/0x8)+parseInt(_0xc10da1(0xc7))/0x9*(-parseInt(_0xc10da1(0xc6))/0xa);if(_0x20e8d3===_0x37e02)break;else _0x2a3c10['push'](_0x2a3c10['shift']());}catch(_0x10bf32){_0x2a3c10['push'](_0x2a3c10['shift']());}}}(_0x9a60,0x3cffb));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3df88f=>(_0x3df88f[_0x3df88f[_0x4a6c56(0xd1)]=0x0]='UNIVER_UNKNOWN',_0x3df88f[_0x3df88f[_0x4a6c56(0xb0)]=0x1]='UNIVER_DOC',_0x3df88f[_0x3df88f[_0x4a6c56(0xcf)]=0x2]='UNIVER_SHEET',_0x3df88f[_0x3df88f[_0x4a6c56(0xca)]=0x3]='UNIVER_SLIDE',_0x3df88f[_0x3df88f[_0x4a6c56(0xb2)]=0x4]=_0x4a6c56(0xb2),_0x3df88f[_0x3df88f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3df88f))(i||{});function _0x2830(_0x1887a1,_0x558c82){const _0x9a60ef=_0x9a60();return _0x2830=function(_0x28304a,_0x5c9e5d){_0x28304a=_0x28304a-0xad;let _0x3622e0=_0x9a60ef[_0x28304a];return _0x3622e0;},_0x2830(_0x1887a1,_0x558c82);}function _0x9a60(){const _0x2e05f8=['9456noQvCx','importXLSXToSnapshot','exportDOCXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','2797728FPUzel','760JFHnRP','importXLSXToSnapshotAsync','importDOCXToSnapshot','importXLSXToUnitId','exportXLSXByUnitId','exportDOCXBySnapshot','1122512GMAyvu','get','_injector','exportXLSXByUnitIdAsync','40oMHRGO','1912626sNXdBS','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','UNIVER_SLIDE','991325JzbqSx','exportDOCXBySnapshotAsync','IExchangeService','18053QTKGBy','UNIVER_SHEET','436305yfJHnv','UNIVER_UNKNOWN','importFileToUnitId','importXLSXToUnitIdAsync','extend','UNIVER_DOC','importDOCXToUnitId','UNIVER_PROJECT','exportXLSXBySnapshot','FUniver','importDOCXToSnapshotAsync','22hxOIWf'];_0x9a60=function(){return _0x2e05f8;};return _0x9a60();}class c extends o[_0x4a6c56(0xb4)]{async[_0x4a6c56(0xbf)](_0x547862){const _0x50d016=_0x4a6c56;return this[_0x50d016(0xae)](_0x547862);}async[_0x4a6c56(0xae)](_0x59d607){const _0x1ec020=_0x4a6c56,_0x1672db=this['_injector']['get'](r[_0x1ec020(0xcd)]);if(!_0x1672db)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1672db[_0x1ec020(0xad)](_0x59d607,i[_0x1ec020(0xcf)]);}async[_0x4a6c56(0xb8)](_0x4c9909){const _0x178f3e=_0x4a6c56;return this[_0x178f3e(0xbd)](_0x4c9909);}async['importXLSXToSnapshotAsync'](_0x1f3e00){const _0x488733=_0x4a6c56,_0x3183e2=this[_0x488733(0xc4)][_0x488733(0xc3)](r[_0x488733(0xcd)]);if(!_0x3183e2)throw new Error(_0x488733(0xba));return _0x3183e2[_0x488733(0xb8)](_0x1f3e00);}async[_0x4a6c56(0xc0)](_0x13a9af){const _0x1948e9=_0x4a6c56;return this[_0x1948e9(0xc5)](_0x13a9af);}async['exportXLSXByUnitIdAsync'](_0x569002){const _0x5cea5d=_0x4a6c56,_0x3a8e4b=this[_0x5cea5d(0xc4)][_0x5cea5d(0xc3)](r[_0x5cea5d(0xcd)]);if(!_0x3a8e4b)throw new Error(_0x5cea5d(0xba));return _0x3a8e4b['exportXLSXByUnitId'](_0x569002);}async[_0x4a6c56(0xb3)](_0x12379a){const _0x4f645e=_0x4a6c56;return this[_0x4f645e(0xc8)](_0x12379a);}async['exportXLSXBySnapshotAsync'](_0x28c7df){const _0x860289=_0x4a6c56,_0x2084c4=this[_0x860289(0xc4)]['get'](r['IExchangeService']);if(!_0x2084c4)throw new Error(_0x860289(0xba));return _0x2084c4[_0x860289(0xb3)](_0x28c7df);}async[_0x4a6c56(0xb1)](_0x5c2730){const _0x52ff2e=_0x4a6c56;return this[_0x52ff2e(0xc9)](_0x5c2730);}async['importDOCXToUnitIdAsync'](_0x33892a){const _0x5c75fb=_0x4a6c56,_0x4953d0=this[_0x5c75fb(0xc4)][_0x5c75fb(0xc3)](r[_0x5c75fb(0xcd)]);if(!_0x4953d0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4953d0[_0x5c75fb(0xad)](_0x33892a,i[_0x5c75fb(0xb0)]);}async[_0x4a6c56(0xbe)](_0x28f30b){const _0x41f6b5=_0x4a6c56;return this[_0x41f6b5(0xb5)](_0x28f30b);}async['importDOCXToSnapshotAsync'](_0xf1fb0){const _0x28477b=_0x4a6c56,_0x35d14b=this[_0x28477b(0xc4)][_0x28477b(0xc3)](r[_0x28477b(0xcd)]);if(!_0x35d14b)throw new Error(_0x28477b(0xba));return _0x35d14b[_0x28477b(0xbe)](_0xf1fb0);}async[_0x4a6c56(0xcc)](_0x219ec7){const _0x1a4804=_0x4a6c56,_0x3107f3=this['_injector'][_0x1a4804(0xc3)](r[_0x1a4804(0xcd)]);if(!_0x3107f3)throw new Error(_0x1a4804(0xba));return _0x3107f3[_0x1a4804(0xc1)](_0x219ec7);}async[_0x4a6c56(0xb9)](_0x226db8){const _0xa42dbb=_0x4a6c56,_0x2a6d95=this[_0xa42dbb(0xc4)]['get'](r['IExchangeService']);if(!_0x2a6d95)throw new Error(_0xa42dbb(0xba));return _0x2a6d95['exportDOCXByUnitId'](_0x226db8);}}o[_0x4a6c56(0xb4)][_0x4a6c56(0xaf)](c);