@univerjs-pro/exchange-client 0.12.4-experimental.20251210-8d33c6e → 0.12.4-experimental.20251210-d708bff

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 +7 -7
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1ed7a4=_0x1a50;(function(_0x29ee81,_0x11a21b){const _0x4a2f4b=_0x1a50,_0x396fe3=_0x29ee81();while(!![]){try{const _0x360379=-parseInt(_0x4a2f4b(0x189))/0x1+parseInt(_0x4a2f4b(0x197))/0x2+-parseInt(_0x4a2f4b(0x186))/0x3*(parseInt(_0x4a2f4b(0x1a3))/0x4)+-parseInt(_0x4a2f4b(0x18b))/0x5+parseInt(_0x4a2f4b(0x18c))/0x6+-parseInt(_0x4a2f4b(0x19a))/0x7*(parseInt(_0x4a2f4b(0x1a0))/0x8)+-parseInt(_0x4a2f4b(0x194))/0x9*(-parseInt(_0x4a2f4b(0x18f))/0xa);if(_0x360379===_0x11a21b)break;else _0x396fe3['push'](_0x396fe3['shift']());}catch(_0x5b3f73){_0x396fe3['push'](_0x396fe3['shift']());}}}(_0x498b,0x4ed72));function _0x1a50(_0x3ec17c,_0x29442e){_0x3ec17c=_0x3ec17c-0x181;const _0x498b85=_0x498b();let _0x1a5002=_0x498b85[_0x3ec17c];return _0x1a5002;}function _0x498b(){const _0x263301=['UNRECOGNIZED','504775pcoNUw','2467602iqACGN','extend','UNIVER_PROJECT','10981630HCcrtj','FUniver','importDOCXToSnapshot','exportXLSXByUnitIdAsync','exportDOCXByUnitIdAsync','9hlpmMZ','exportXLSXByUnitId','importXLSXToSnapshotAsync','663050AySmdM','_injector','UNIVER_SLIDE','7famMSX','importFileToUnitId','exportDOCXBySnapshot','exportDOCXByUnitId','importDOCXToUnitId','importXLSXToUnitIdAsync','3591400IZkkdI','IExchangeService','UNIVER_SHEET','28uqGkOp','importXLSXToUnitId','UNIVER_DOC','UNIVER_UNKNOWN','importXLSXToSnapshot','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','get','200805RQxFzy','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','499600PpOBPj'];_0x498b=function(){return _0x263301;};return _0x498b();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x1d8693=>(_0x1d8693[_0x1d8693[_0x1ed7a4(0x181)]=0x0]=_0x1ed7a4(0x181),_0x1d8693[_0x1d8693['UNIVER_DOC']=0x1]=_0x1ed7a4(0x1a5),_0x1d8693[_0x1d8693[_0x1ed7a4(0x1a2)]=0x2]='UNIVER_SHEET',_0x1d8693[_0x1d8693[_0x1ed7a4(0x199)]=0x3]='UNIVER_SLIDE',_0x1d8693[_0x1d8693[_0x1ed7a4(0x18e)]=0x4]='UNIVER_PROJECT',_0x1d8693[_0x1d8693['UNRECOGNIZED']=-0x1]=_0x1ed7a4(0x18a),_0x1d8693))(i||{});class c extends o[_0x1ed7a4(0x190)]{async[_0x1ed7a4(0x1a4)](_0x207073){const _0x3843b7=_0x1ed7a4;return this[_0x3843b7(0x19f)](_0x207073);}async[_0x1ed7a4(0x19f)](_0x233683){const _0x48ef19=_0x1ed7a4,_0x3796dc=this['_injector'][_0x48ef19(0x185)](r[_0x48ef19(0x1a1)]);if(!_0x3796dc)throw new Error(_0x48ef19(0x187));return _0x3796dc[_0x48ef19(0x19b)](_0x233683,i[_0x48ef19(0x1a2)]);}async[_0x1ed7a4(0x182)](_0x3faf32){const _0x395feb=_0x1ed7a4;return this[_0x395feb(0x196)](_0x3faf32);}async[_0x1ed7a4(0x196)](_0x528915){const _0x524990=_0x1ed7a4,_0x554138=this['_injector'][_0x524990(0x185)](r[_0x524990(0x1a1)]);if(!_0x554138)throw new Error(_0x524990(0x187));return _0x554138['importXLSXToSnapshot'](_0x528915);}async[_0x1ed7a4(0x195)](_0x1bbddb){return this['exportXLSXByUnitIdAsync'](_0x1bbddb);}async[_0x1ed7a4(0x192)](_0x3fbdfb){const _0x39cc45=_0x1ed7a4,_0x262f69=this['_injector'][_0x39cc45(0x185)](r[_0x39cc45(0x1a1)]);if(!_0x262f69)throw new Error(_0x39cc45(0x187));return _0x262f69[_0x39cc45(0x195)](_0x3fbdfb);}async[_0x1ed7a4(0x188)](_0x20bebd){const _0xa52a6c=_0x1ed7a4;return this[_0xa52a6c(0x183)](_0x20bebd);}async[_0x1ed7a4(0x183)](_0x1ff175){const _0x5cc4e7=_0x1ed7a4,_0x591767=this[_0x5cc4e7(0x198)][_0x5cc4e7(0x185)](r['IExchangeService']);if(!_0x591767)throw new Error(_0x5cc4e7(0x187));return _0x591767[_0x5cc4e7(0x188)](_0x1ff175);}async[_0x1ed7a4(0x19e)](_0x9e216){return this['importDOCXToUnitIdAsync'](_0x9e216);}async[_0x1ed7a4(0x184)](_0x2059b9){const _0x1611c0=_0x1ed7a4,_0x46006d=this[_0x1611c0(0x198)][_0x1611c0(0x185)](r[_0x1611c0(0x1a1)]);if(!_0x46006d)throw new Error(_0x1611c0(0x187));return _0x46006d[_0x1611c0(0x19b)](_0x2059b9,i[_0x1611c0(0x1a5)]);}async['importDOCXToSnapshot'](_0x346f81){return this['importDOCXToSnapshotAsync'](_0x346f81);}async['importDOCXToSnapshotAsync'](_0x4db457){const _0x1d702a=_0x1ed7a4,_0x4c22e7=this['_injector'][_0x1d702a(0x185)](r[_0x1d702a(0x1a1)]);if(!_0x4c22e7)throw new Error(_0x1d702a(0x187));return _0x4c22e7[_0x1d702a(0x191)](_0x4db457);}async['exportDOCXBySnapshotAsync'](_0x22974a){const _0x1abef1=_0x1ed7a4,_0x3c3154=this['_injector'][_0x1abef1(0x185)](r[_0x1abef1(0x1a1)]);if(!_0x3c3154)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c3154[_0x1abef1(0x19c)](_0x22974a);}async[_0x1ed7a4(0x193)](_0x4afa66){const _0x2e5adf=_0x1ed7a4,_0x123a92=this['_injector'][_0x2e5adf(0x185)](r[_0x2e5adf(0x1a1)]);if(!_0x123a92)throw new Error(_0x2e5adf(0x187));return _0x123a92[_0x2e5adf(0x19d)](_0x4afa66);}}o[_0x1ed7a4(0x190)][_0x1ed7a4(0x18d)](c);
1
+ 'use strict';const _0x2b0ea0=_0x3b11;function _0x3b11(_0x2bb54a,_0x1a4187){_0x2bb54a=_0x2bb54a-0x181;const _0x1e1d75=_0x1e1d();let _0x3b1180=_0x1e1d75[_0x2bb54a];return _0x3b1180;}(function(_0x5b2018,_0x19a278){const _0x163b4b=_0x3b11,_0x5a1a5b=_0x5b2018();while(!![]){try{const _0x4b0cbb=parseInt(_0x163b4b(0x196))/0x1+parseInt(_0x163b4b(0x182))/0x2*(parseInt(_0x163b4b(0x18e))/0x3)+parseInt(_0x163b4b(0x1a2))/0x4+-parseInt(_0x163b4b(0x189))/0x5*(parseInt(_0x163b4b(0x18c))/0x6)+-parseInt(_0x163b4b(0x194))/0x7+parseInt(_0x163b4b(0x193))/0x8*(-parseInt(_0x163b4b(0x195))/0x9)+-parseInt(_0x163b4b(0x184))/0xa;if(_0x4b0cbb===_0x19a278)break;else _0x5a1a5b['push'](_0x5a1a5b['shift']());}catch(_0x136b98){_0x5a1a5b['push'](_0x5a1a5b['shift']());}}}(_0x1e1d,0xb9616));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x56082d=>(_0x56082d[_0x56082d['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x56082d[_0x56082d[_0x2b0ea0(0x18d)]=0x1]=_0x2b0ea0(0x18d),_0x56082d[_0x56082d[_0x2b0ea0(0x19e)]=0x2]=_0x2b0ea0(0x19e),_0x56082d[_0x56082d[_0x2b0ea0(0x19c)]=0x3]='UNIVER_SLIDE',_0x56082d[_0x56082d['UNIVER_PROJECT']=0x4]=_0x2b0ea0(0x190),_0x56082d[_0x56082d[_0x2b0ea0(0x185)]=-0x1]=_0x2b0ea0(0x185),_0x56082d))(i||{});function _0x1e1d(){const _0x5e8ac1=['1641726FHxdwy','1372326CvmnvJ','importFileToUnitId','exportDOCXBySnapshot','get','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','UNIVER_SLIDE','importXLSXToUnitIdAsync','UNIVER_SHEET','importDOCXToSnapshot','importXLSXToSnapshotAsync','exportXLSXByUnitIdAsync','5441748bDIuVq','extend','_injector','exportXLSXBySnapshot','65368XCveJM','FUniver','6062910ehxZpb','UNRECOGNIZED','IExchangeService','importXLSXToUnitId','importXLSXToSnapshot','5mSKjhv','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','1105578AspBSa','UNIVER_DOC','54miVKkG','exportDOCXBySnapshotAsync','UNIVER_PROJECT','importDOCXToUnitIdAsync','exportDOCXByUnitIdAsync','64MxehOz','2183237IsLSyw'];_0x1e1d=function(){return _0x5e8ac1;};return _0x1e1d();}class c extends o['FUniver']{async[_0x2b0ea0(0x187)](_0x37489f){const _0x1d9782=_0x2b0ea0;return this[_0x1d9782(0x19d)](_0x37489f);}async[_0x2b0ea0(0x19d)](_0x20e562){const _0xb634d7=_0x2b0ea0,_0x5a4eaa=this[_0xb634d7(0x1a4)][_0xb634d7(0x199)](r['IExchangeService']);if(!_0x5a4eaa)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5a4eaa['importFileToUnitId'](_0x20e562,i[_0xb634d7(0x19e)]);}async[_0x2b0ea0(0x188)](_0x2a3f01){const _0x529e58=_0x2b0ea0;return this[_0x529e58(0x1a0)](_0x2a3f01);}async[_0x2b0ea0(0x1a0)](_0x4a7ff1){const _0x35da4f=_0x2b0ea0,_0x414a1a=this[_0x35da4f(0x1a4)][_0x35da4f(0x199)](r[_0x35da4f(0x186)]);if(!_0x414a1a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x414a1a[_0x35da4f(0x188)](_0x4a7ff1);}async['exportXLSXByUnitId'](_0x2f4ff1){const _0x432528=_0x2b0ea0;return this[_0x432528(0x1a1)](_0x2f4ff1);}async[_0x2b0ea0(0x1a1)](_0x1d76d8){const _0x1ad979=_0x2b0ea0,_0x4e7457=this[_0x1ad979(0x1a4)]['get'](r[_0x1ad979(0x186)]);if(!_0x4e7457)throw new Error(_0x1ad979(0x19a));return _0x4e7457[_0x1ad979(0x19b)](_0x1d76d8);}async[_0x2b0ea0(0x181)](_0x4f31fe){const _0x3069d7=_0x2b0ea0;return this[_0x3069d7(0x18b)](_0x4f31fe);}async[_0x2b0ea0(0x18b)](_0x21eb75){const _0x1fdbad=_0x2b0ea0,_0x1ca90e=this['_injector'][_0x1fdbad(0x199)](r['IExchangeService']);if(!_0x1ca90e)throw new Error(_0x1fdbad(0x19a));return _0x1ca90e[_0x1fdbad(0x181)](_0x21eb75);}async['importDOCXToUnitId'](_0x17476b){const _0x5ce9d8=_0x2b0ea0;return this[_0x5ce9d8(0x191)](_0x17476b);}async[_0x2b0ea0(0x191)](_0x24c04c){const _0x345b42=_0x2b0ea0,_0x1c2ea6=this['_injector'][_0x345b42(0x199)](r[_0x345b42(0x186)]);if(!_0x1c2ea6)throw new Error(_0x345b42(0x19a));return _0x1c2ea6[_0x345b42(0x197)](_0x24c04c,i[_0x345b42(0x18d)]);}async['importDOCXToSnapshot'](_0x35fdec){const _0x58e119=_0x2b0ea0;return this[_0x58e119(0x18a)](_0x35fdec);}async[_0x2b0ea0(0x18a)](_0x4dee28){const _0x2a8ae8=_0x2b0ea0,_0x5003e3=this[_0x2a8ae8(0x1a4)]['get'](r['IExchangeService']);if(!_0x5003e3)throw new Error(_0x2a8ae8(0x19a));return _0x5003e3[_0x2a8ae8(0x19f)](_0x4dee28);}async[_0x2b0ea0(0x18f)](_0x1c2499){const _0x5cc9b9=_0x2b0ea0,_0x241b3a=this[_0x5cc9b9(0x1a4)]['get'](r[_0x5cc9b9(0x186)]);if(!_0x241b3a)throw new Error(_0x5cc9b9(0x19a));return _0x241b3a[_0x5cc9b9(0x198)](_0x1c2499);}async[_0x2b0ea0(0x192)](_0x149d7a){const _0x40b882=_0x2b0ea0,_0xed1f6d=this[_0x40b882(0x1a4)][_0x40b882(0x199)](r[_0x40b882(0x186)]);if(!_0xed1f6d)throw new Error(_0x40b882(0x19a));return _0xed1f6d['exportDOCXByUnitId'](_0x149d7a);}}o[_0x2b0ea0(0x183)][_0x2b0ea0(0x1a3)](c);