@univerjs-pro/exchange-client 0.10.5 → 0.10.6-experimental.20250903-f52e3bf

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 (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -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/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +2 -2
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +2 -2
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +2 -2
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x2a10(){const _0x40b56b=['270358mMksWN','importXLSXToUnitId','IExchangeService','UNIVER_DOC','UNRECOGNIZED','4479818OmFZFi','195tKEOVv','exportXLSXByUnitIdAsync','importXLSXToSnapshot','UNIVER_PROJECT','UNIVER_SHEET','importDOCXToUnitIdAsync','exportXLSXBySnapshot','22SLNPbD','UNIVER_SLIDE','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','get','8565300YZksOg','importXLSXToSnapshotAsync','824859qDksEy','extend','exportDOCXBySnapshotAsync','306846AYgaVL','exportXLSXByUnitId','10036WduvIh','16BwIOBu','710sZoOBb','importFileToUnitId','importDOCXToSnapshot','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','_injector','importXLSXToUnitIdAsync','FUniver','importDOCXToSnapshotAsync','exportDOCXBySnapshot','8396814cVIfTF'];_0x2a10=function(){return _0x40b56b;};return _0x2a10();}const _0x2e6973=_0x37c2;function _0x37c2(_0x5f092b,_0x3cece6){const _0x2a10a5=_0x2a10();return _0x37c2=function(_0x37c27e,_0x4e876d){_0x37c27e=_0x37c27e-0xbb;let _0x2637e0=_0x2a10a5[_0x37c27e];return _0x2637e0;},_0x37c2(_0x5f092b,_0x3cece6);}(function(_0x43d1f0,_0x16a38b){const _0x1f19f9=_0x37c2,_0x5ddf01=_0x43d1f0();while(!![]){try{const _0x109775=-parseInt(_0x1f19f9(0xbb))/0x1+parseInt(_0x1f19f9(0xda))/0x2*(parseInt(_0x1f19f9(0xbe))/0x3)+parseInt(_0x1f19f9(0xc0))/0x4*(-parseInt(_0x1f19f9(0xd3))/0x5)+-parseInt(_0x1f19f9(0xcc))/0x6+parseInt(_0x1f19f9(0xd2))/0x7*(parseInt(_0x1f19f9(0xc1))/0x8)+-parseInt(_0x1f19f9(0xdf))/0x9+parseInt(_0x1f19f9(0xc2))/0xa*(parseInt(_0x1f19f9(0xcd))/0xb);if(_0x109775===_0x16a38b)break;else _0x5ddf01['push'](_0x5ddf01['shift']());}catch(_0x30fdfd){_0x5ddf01['push'](_0x5ddf01['shift']());}}}(_0x2a10,0xd5eb1));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x2691b5=>(_0x2691b5[_0x2691b5[_0x2e6973(0xc6)]=0x0]=_0x2e6973(0xc6),_0x2691b5[_0x2691b5['UNIVER_DOC']=0x1]=_0x2e6973(0xd0),_0x2691b5[_0x2691b5['UNIVER_SHEET']=0x2]=_0x2e6973(0xd7),_0x2691b5[_0x2691b5['UNIVER_SLIDE']=0x3]=_0x2e6973(0xdb),_0x2691b5[_0x2691b5[_0x2e6973(0xd6)]=0x4]='UNIVER_PROJECT',_0x2691b5[_0x2691b5[_0x2e6973(0xd1)]=-0x1]=_0x2e6973(0xd1),_0x2691b5))(i||{});class c extends o[_0x2e6973(0xc9)]{async[_0x2e6973(0xce)](_0x495e07){const _0x16f13f=_0x2e6973;return this[_0x16f13f(0xc8)](_0x495e07);}async['importXLSXToUnitIdAsync'](_0x416bf4){const _0x211588=_0x2e6973,_0x140e12=this[_0x211588(0xc7)]['get'](r[_0x211588(0xcf)]);if(!_0x140e12)throw new Error(_0x211588(0xdd));return _0x140e12[_0x211588(0xc3)](_0x416bf4,i['UNIVER_SHEET']);}async[_0x2e6973(0xd5)](_0x2c1cdc){const _0x46cf2c=_0x2e6973;return this[_0x46cf2c(0xe0)](_0x2c1cdc);}async['importXLSXToSnapshotAsync'](_0x4905a5){const _0x4a3bd2=_0x2e6973,_0x2b2940=this[_0x4a3bd2(0xc7)]['get'](r[_0x4a3bd2(0xcf)]);if(!_0x2b2940)throw new Error(_0x4a3bd2(0xdd));return _0x2b2940['importXLSXToSnapshot'](_0x4905a5);}async[_0x2e6973(0xbf)](_0xee734c){const _0x26bfdc=_0x2e6973;return this[_0x26bfdc(0xd4)](_0xee734c);}async['exportXLSXByUnitIdAsync'](_0x3f83ca){const _0x5db3a6=_0x2e6973,_0x2d11c4=this['_injector'][_0x5db3a6(0xde)](r['IExchangeService']);if(!_0x2d11c4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2d11c4[_0x5db3a6(0xbf)](_0x3f83ca);}async[_0x2e6973(0xd9)](_0x5369a2){const _0x251c84=_0x2e6973;return this[_0x251c84(0xc5)](_0x5369a2);}async[_0x2e6973(0xc5)](_0x12c3e6){const _0x2f6b8b=_0x2e6973,_0x124ac1=this['_injector']['get'](r[_0x2f6b8b(0xcf)]);if(!_0x124ac1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x124ac1['exportXLSXBySnapshot'](_0x12c3e6);}async[_0x2e6973(0xdc)](_0x18e243){return this['importDOCXToUnitIdAsync'](_0x18e243);}async[_0x2e6973(0xd8)](_0x3777fa){const _0x22f0ec=_0x2e6973,_0xee3c6f=this[_0x22f0ec(0xc7)][_0x22f0ec(0xde)](r[_0x22f0ec(0xcf)]);if(!_0xee3c6f)throw new Error(_0x22f0ec(0xdd));return _0xee3c6f['importFileToUnitId'](_0x3777fa,i['UNIVER_DOC']);}async[_0x2e6973(0xc4)](_0x42a69a){return this['importDOCXToSnapshotAsync'](_0x42a69a);}async[_0x2e6973(0xca)](_0x50349d){const _0x41d517=_0x2e6973,_0x189970=this[_0x41d517(0xc7)][_0x41d517(0xde)](r[_0x41d517(0xcf)]);if(!_0x189970)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x189970[_0x41d517(0xc4)](_0x50349d);}async[_0x2e6973(0xbd)](_0x5072d5){const _0xa7f585=_0x2e6973,_0x353cef=this[_0xa7f585(0xc7)][_0xa7f585(0xde)](r[_0xa7f585(0xcf)]);if(!_0x353cef)throw new Error(_0xa7f585(0xdd));return _0x353cef[_0xa7f585(0xcb)](_0x5072d5);}async['exportDOCXByUnitIdAsync'](_0x3b1d9c){const _0x2eb28c=_0x2e6973,_0x1f7e79=this[_0x2eb28c(0xc7)][_0x2eb28c(0xde)](r[_0x2eb28c(0xcf)]);if(!_0x1f7e79)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1f7e79['exportDOCXByUnitId'](_0x3b1d9c);}}o[_0x2e6973(0xc9)][_0x2e6973(0xbc)](c);
1
+ 'use strict';const _0x19ca8e=_0x2369;function _0x2369(_0x376716,_0x393230){const _0x50ef22=_0x50ef();return _0x2369=function(_0x2369d9,_0x313185){_0x2369d9=_0x2369d9-0xd3;let _0x5a84f4=_0x50ef22[_0x2369d9];return _0x5a84f4;},_0x2369(_0x376716,_0x393230);}(function(_0x36a9b8,_0x52b89a){const _0x30b990=_0x2369,_0x2d9807=_0x36a9b8();while(!![]){try{const _0x23b0cb=-parseInt(_0x30b990(0xe8))/0x1+parseInt(_0x30b990(0xf4))/0x2*(-parseInt(_0x30b990(0xf3))/0x3)+-parseInt(_0x30b990(0xda))/0x4*(parseInt(_0x30b990(0xe6))/0x5)+parseInt(_0x30b990(0xe9))/0x6+parseInt(_0x30b990(0xf7))/0x7+-parseInt(_0x30b990(0xf5))/0x8*(-parseInt(_0x30b990(0xe2))/0x9)+parseInt(_0x30b990(0xd5))/0xa;if(_0x23b0cb===_0x52b89a)break;else _0x2d9807['push'](_0x2d9807['shift']());}catch(_0x3ae46f){_0x2d9807['push'](_0x2d9807['shift']());}}}(_0x50ef,0xb9a13));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x1d9f22=>(_0x1d9f22[_0x1d9f22[_0x19ca8e(0xdb)]=0x0]=_0x19ca8e(0xdb),_0x1d9f22[_0x1d9f22[_0x19ca8e(0xd8)]=0x1]=_0x19ca8e(0xd8),_0x1d9f22[_0x1d9f22[_0x19ca8e(0xd3)]=0x2]=_0x19ca8e(0xd3),_0x1d9f22[_0x1d9f22['UNIVER_SLIDE']=0x3]=_0x19ca8e(0xe1),_0x1d9f22[_0x1d9f22['UNIVER_PROJECT']=0x4]=_0x19ca8e(0xf1),_0x1d9f22[_0x1d9f22[_0x19ca8e(0xd6)]=-0x1]=_0x19ca8e(0xd6),_0x1d9f22))(i||{});function _0x50ef(){const _0x42efd8=['UNIVER_SHEET','exportDOCXByUnitId','15922940WfIeEK','UNRECOGNIZED','importXLSXToSnapshotAsync','UNIVER_DOC','importDOCXToSnapshot','8nGBjBd','UNIVER_UNKNOWN','exportXLSXBySnapshotAsync','IExchangeService','importXLSXToSnapshot','importFileToUnitId','importDOCXToSnapshotAsync','UNIVER_SLIDE','36eoaSaw','importXLSXToUnitId','exportDOCXBySnapshotAsync','FUniver','2792485wCjNTM','importDOCXToUnitId','709423MbmWCL','1590120uRTklK','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','get','exportXLSXBySnapshot','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','UNIVER_PROJECT','_injector','78JnDpXx','26994IqJvsJ','640040RpmQUv','exportDOCXBySnapshot','5322408yaYvff'];_0x50ef=function(){return _0x42efd8;};return _0x50ef();}class c extends o[_0x19ca8e(0xe5)]{async[_0x19ca8e(0xe3)](_0x35dbcb){const _0x43ea5f=_0x19ca8e;return this[_0x43ea5f(0xef)](_0x35dbcb);}async[_0x19ca8e(0xef)](_0x20fe64){const _0x1076eb=_0x19ca8e,_0xe2da1a=this[_0x1076eb(0xf2)]['get'](r[_0x1076eb(0xdd)]);if(!_0xe2da1a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xe2da1a[_0x1076eb(0xdf)](_0x20fe64,i['UNIVER_SHEET']);}async[_0x19ca8e(0xde)](_0x589750){const _0x29d466=_0x19ca8e;return this[_0x29d466(0xd7)](_0x589750);}async[_0x19ca8e(0xd7)](_0x144282){const _0x44ee6b=_0x19ca8e,_0x229cb5=this[_0x44ee6b(0xf2)][_0x44ee6b(0xec)](r[_0x44ee6b(0xdd)]);if(!_0x229cb5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x229cb5[_0x44ee6b(0xde)](_0x144282);}async[_0x19ca8e(0xeb)](_0x546d47){const _0x1afd83=_0x19ca8e;return this[_0x1afd83(0xf0)](_0x546d47);}async['exportXLSXByUnitIdAsync'](_0x31b1cf){const _0x31f98b=_0x19ca8e,_0x5e2a44=this[_0x31f98b(0xf2)][_0x31f98b(0xec)](r[_0x31f98b(0xdd)]);if(!_0x5e2a44)throw new Error(_0x31f98b(0xea));return _0x5e2a44['exportXLSXByUnitId'](_0x31b1cf);}async[_0x19ca8e(0xed)](_0x4c085b){const _0x52f6f1=_0x19ca8e;return this[_0x52f6f1(0xdc)](_0x4c085b);}async[_0x19ca8e(0xdc)](_0x32fe47){const _0x40391b=_0x19ca8e,_0x53c56d=this[_0x40391b(0xf2)][_0x40391b(0xec)](r['IExchangeService']);if(!_0x53c56d)throw new Error(_0x40391b(0xea));return _0x53c56d['exportXLSXBySnapshot'](_0x32fe47);}async[_0x19ca8e(0xe7)](_0xc062b8){const _0xfe2b4a=_0x19ca8e;return this[_0xfe2b4a(0xee)](_0xc062b8);}async[_0x19ca8e(0xee)](_0x5abc90){const _0xf55c5b=_0x19ca8e,_0xa356e7=this[_0xf55c5b(0xf2)][_0xf55c5b(0xec)](r[_0xf55c5b(0xdd)]);if(!_0xa356e7)throw new Error(_0xf55c5b(0xea));return _0xa356e7[_0xf55c5b(0xdf)](_0x5abc90,i['UNIVER_DOC']);}async[_0x19ca8e(0xd9)](_0x212822){return this['importDOCXToSnapshotAsync'](_0x212822);}async[_0x19ca8e(0xe0)](_0x58e9ea){const _0x312659=_0x19ca8e,_0x2296d7=this[_0x312659(0xf2)]['get'](r[_0x312659(0xdd)]);if(!_0x2296d7)throw new Error(_0x312659(0xea));return _0x2296d7['importDOCXToSnapshot'](_0x58e9ea);}async[_0x19ca8e(0xe4)](_0x2529e5){const _0x58ea46=_0x19ca8e,_0x3d9d44=this[_0x58ea46(0xf2)][_0x58ea46(0xec)](r['IExchangeService']);if(!_0x3d9d44)throw new Error(_0x58ea46(0xea));return _0x3d9d44[_0x58ea46(0xf6)](_0x2529e5);}async['exportDOCXByUnitIdAsync'](_0x1d6152){const _0x4dae5e=_0x19ca8e,_0x1fa4f9=this[_0x4dae5e(0xf2)]['get'](r['IExchangeService']);if(!_0x1fa4f9)throw new Error(_0x4dae5e(0xea));return _0x1fa4f9[_0x4dae5e(0xd4)](_0x1d6152);}}o[_0x19ca8e(0xe5)]['extend'](c);