@univerjs-pro/exchange-client 0.12.2 → 0.12.3

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 +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x32a7(){const _0x2410a6=['importDOCXToSnapshot','2433747epwwiE','UNIVER_SLIDE','FUniver','UNIVER_SHEET','1513554YolMHp','importXLSXToUnitIdAsync','39620kMRCmp','3940368QaHXef','get','UNIVER_UNKNOWN','exportXLSXByUnitIdAsync','308Sgeabm','UNIVER_DOC','IExchangeService','exportDOCXBySnapshotAsync','5EZzFZW','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','72vlonoV','UNIVER_PROJECT','exportXLSXBySnapshot','_injector','importXLSXToUnitId','exportDOCXBySnapshot','importDOCXToUnitIdAsync','47948TibZew','8926974ynPGrh','importFileToUnitId','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','5173713CCImsv','importXLSXToSnapshot','8wWAYRK'];_0x32a7=function(){return _0x2410a6;};return _0x32a7();}const _0x1281d8=_0xd04f;(function(_0x61626b,_0x46540e){const _0x1aed2c=_0xd04f,_0x382545=_0x61626b();while(!![]){try{const _0x3b8717=parseInt(_0x1aed2c(0x11a))/0x1*(-parseInt(_0x1aed2c(0x113))/0x2)+parseInt(_0x1aed2c(0x100))/0x3+parseInt(_0x1aed2c(0x107))/0x4+parseInt(_0x1aed2c(0x10f))/0x5*(parseInt(_0x1aed2c(0x11b))/0x6)+parseInt(_0x1aed2c(0x104))/0x7*(-parseInt(_0x1aed2c(0xfe))/0x8)+-parseInt(_0x1aed2c(0xfc))/0x9+parseInt(_0x1aed2c(0x106))/0xa*(parseInt(_0x1aed2c(0x10b))/0xb);if(_0x3b8717===_0x46540e)break;else _0x382545['push'](_0x382545['shift']());}catch(_0x14b14e){_0x382545['push'](_0x382545['shift']());}}}(_0x32a7,0xd654b));function _0xd04f(_0x1aa412,_0x522185){const _0x32a7f4=_0x32a7();return _0xd04f=function(_0xd04f0c,_0x2d6b22){_0xd04f0c=_0xd04f0c-0xfc;let _0x2d9b0a=_0x32a7f4[_0xd04f0c];return _0x2d9b0a;},_0xd04f(_0x1aa412,_0x522185);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x22db4e=>(_0x22db4e[_0x22db4e['UNIVER_UNKNOWN']=0x0]=_0x1281d8(0x109),_0x22db4e[_0x22db4e[_0x1281d8(0x10c)]=0x1]=_0x1281d8(0x10c),_0x22db4e[_0x22db4e[_0x1281d8(0x103)]=0x2]=_0x1281d8(0x103),_0x22db4e[_0x22db4e['UNIVER_SLIDE']=0x3]=_0x1281d8(0x101),_0x22db4e[_0x22db4e['UNIVER_PROJECT']=0x4]=_0x1281d8(0x114),_0x22db4e[_0x22db4e[_0x1281d8(0x112)]=-0x1]=_0x1281d8(0x112),_0x22db4e))(i||{});class c extends o[_0x1281d8(0x102)]{async[_0x1281d8(0x117)](_0x1fe16d){const _0x461f24=_0x1281d8;return this[_0x461f24(0x105)](_0x1fe16d);}async[_0x1281d8(0x105)](_0x3e4b96){const _0x375323=_0x1281d8,_0x190ac2=this['_injector'][_0x375323(0x108)](r[_0x375323(0x10d)]);if(!_0x190ac2)throw new Error(_0x375323(0x111));return _0x190ac2[_0x375323(0x11c)](_0x3e4b96,i[_0x375323(0x103)]);}async[_0x1281d8(0xfd)](_0x4a6efe){return this['importXLSXToSnapshotAsync'](_0x4a6efe);}async[_0x1281d8(0x11e)](_0x329b98){const _0x3ea7a0=_0x1281d8,_0x503a94=this['_injector'][_0x3ea7a0(0x108)](r['IExchangeService']);if(!_0x503a94)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x503a94[_0x3ea7a0(0xfd)](_0x329b98);}async['exportXLSXByUnitId'](_0x17a9cf){const _0x30cb2e=_0x1281d8;return this[_0x30cb2e(0x10a)](_0x17a9cf);}async['exportXLSXByUnitIdAsync'](_0x2b986b){const _0x3f0096=_0x1281d8,_0x3a5eb9=this[_0x3f0096(0x116)]['get'](r['IExchangeService']);if(!_0x3a5eb9)throw new Error(_0x3f0096(0x111));return _0x3a5eb9['exportXLSXByUnitId'](_0x2b986b);}async['exportXLSXBySnapshot'](_0x38b19b){const _0xa663dc=_0x1281d8;return this[_0xa663dc(0x110)](_0x38b19b);}async[_0x1281d8(0x110)](_0x4e932f){const _0x4bf540=_0x1281d8,_0x33417e=this[_0x4bf540(0x116)][_0x4bf540(0x108)](r['IExchangeService']);if(!_0x33417e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x33417e[_0x4bf540(0x115)](_0x4e932f);}async['importDOCXToUnitId'](_0x34b102){const _0x1f903c=_0x1281d8;return this[_0x1f903c(0x119)](_0x34b102);}async[_0x1281d8(0x119)](_0xfd173a){const _0x2042d7=_0x1281d8,_0xd15109=this[_0x2042d7(0x116)][_0x2042d7(0x108)](r[_0x2042d7(0x10d)]);if(!_0xd15109)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xd15109[_0x2042d7(0x11c)](_0xfd173a,i['UNIVER_DOC']);}async[_0x1281d8(0xff)](_0x54c3be){return this['importDOCXToSnapshotAsync'](_0x54c3be);}async[_0x1281d8(0x11d)](_0x153687){const _0x2dc60c=_0x1281d8,_0x429626=this['_injector']['get'](r[_0x2dc60c(0x10d)]);if(!_0x429626)throw new Error(_0x2dc60c(0x111));return _0x429626['importDOCXToSnapshot'](_0x153687);}async[_0x1281d8(0x10e)](_0x5753dc){const _0x220a67=_0x1281d8,_0x17a5b6=this['_injector']['get'](r['IExchangeService']);if(!_0x17a5b6)throw new Error(_0x220a67(0x111));return _0x17a5b6[_0x220a67(0x118)](_0x5753dc);}async['exportDOCXByUnitIdAsync'](_0x555099){const _0x39ba72=_0x1281d8,_0x307bbc=this[_0x39ba72(0x116)][_0x39ba72(0x108)](r[_0x39ba72(0x10d)]);if(!_0x307bbc)throw new Error(_0x39ba72(0x111));return _0x307bbc['exportDOCXByUnitId'](_0x555099);}}o[_0x1281d8(0x102)]['extend'](c);
1
+ 'use strict';const _0x79efc7=_0x4f76;function _0x4f76(_0x4dfef7,_0x2c17f4){const _0x4c6cce=_0x4c6c();return _0x4f76=function(_0x4f7668,_0x24a742){_0x4f7668=_0x4f7668-0x1c3;let _0x10d1d0=_0x4c6cce[_0x4f7668];return _0x10d1d0;},_0x4f76(_0x4dfef7,_0x2c17f4);}(function(_0x275953,_0x4cf8e2){const _0x55e5e5=_0x4f76,_0x4c020b=_0x275953();while(!![]){try{const _0x501d50=parseInt(_0x55e5e5(0x1c6))/0x1*(parseInt(_0x55e5e5(0x1c8))/0x2)+-parseInt(_0x55e5e5(0x1d1))/0x3+-parseInt(_0x55e5e5(0x1e2))/0x4+-parseInt(_0x55e5e5(0x1df))/0x5+-parseInt(_0x55e5e5(0x1d7))/0x6*(-parseInt(_0x55e5e5(0x1d3))/0x7)+parseInt(_0x55e5e5(0x1d8))/0x8+-parseInt(_0x55e5e5(0x1ca))/0x9;if(_0x501d50===_0x4cf8e2)break;else _0x4c020b['push'](_0x4c020b['shift']());}catch(_0x290668){_0x4c020b['push'](_0x4c020b['shift']());}}}(_0x4c6c,0x989c2));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x4bccbd=>(_0x4bccbd[_0x4bccbd[_0x79efc7(0x1cf)]=0x0]=_0x79efc7(0x1cf),_0x4bccbd[_0x4bccbd[_0x79efc7(0x1c5)]=0x1]=_0x79efc7(0x1c5),_0x4bccbd[_0x4bccbd['UNIVER_SHEET']=0x2]=_0x79efc7(0x1dd),_0x4bccbd[_0x4bccbd[_0x79efc7(0x1cc)]=0x3]=_0x79efc7(0x1cc),_0x4bccbd[_0x4bccbd[_0x79efc7(0x1e0)]=0x4]=_0x79efc7(0x1e0),_0x4bccbd[_0x4bccbd[_0x79efc7(0x1e5)]=-0x1]=_0x79efc7(0x1e5),_0x4bccbd))(i||{});function _0x4c6c(){const _0x319f66=['IExchangeService','exportXLSXByUnitId','exportDOCXBySnapshotAsync','6173814KUtTrX','9662352glXfzI','exportXLSXBySnapshotAsync','importDOCXToSnapshot','importDOCXToUnitIdAsync','extend','UNIVER_SHEET','importFileToUnitId','1151155XDlWtF','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','4235048nxbcmL','importDOCXToSnapshotAsync','get','UNRECOGNIZED','FUniver','exportXLSXBySnapshot','UNIVER_DOC','2VkJgeF','exportDOCXBySnapshot','900356LSyYsZ','importXLSXToUnitIdAsync','1709577zlokKg','importXLSXToSnapshot','UNIVER_SLIDE','exportDOCXByUnitIdAsync','exportDOCXByUnitId','UNIVER_UNKNOWN','_injector','3099249qESgGZ','exportXLSXByUnitIdAsync','7hLAwdi'];_0x4c6c=function(){return _0x319f66;};return _0x4c6c();}class c extends o[_0x79efc7(0x1c3)]{async['importXLSXToUnitId'](_0x33c188){const _0x3939da=_0x79efc7;return this[_0x3939da(0x1c9)](_0x33c188);}async[_0x79efc7(0x1c9)](_0x179bf2){const _0x45be90=_0x79efc7,_0x504d92=this['_injector'][_0x45be90(0x1e4)](r[_0x45be90(0x1d4)]);if(!_0x504d92)throw new Error(_0x45be90(0x1e1));return _0x504d92[_0x45be90(0x1de)](_0x179bf2,i[_0x45be90(0x1dd)]);}async[_0x79efc7(0x1cb)](_0x45e6cc){return this['importXLSXToSnapshotAsync'](_0x45e6cc);}async['importXLSXToSnapshotAsync'](_0x4872ce){const _0x4c7f43=_0x79efc7,_0x40a0a4=this['_injector'][_0x4c7f43(0x1e4)](r[_0x4c7f43(0x1d4)]);if(!_0x40a0a4)throw new Error(_0x4c7f43(0x1e1));return _0x40a0a4[_0x4c7f43(0x1cb)](_0x4872ce);}async[_0x79efc7(0x1d5)](_0x6503f0){const _0x248a37=_0x79efc7;return this[_0x248a37(0x1d2)](_0x6503f0);}async['exportXLSXByUnitIdAsync'](_0x2a555c){const _0x13537e=_0x79efc7,_0x3d3eaa=this[_0x13537e(0x1d0)][_0x13537e(0x1e4)](r[_0x13537e(0x1d4)]);if(!_0x3d3eaa)throw new Error(_0x13537e(0x1e1));return _0x3d3eaa['exportXLSXByUnitId'](_0x2a555c);}async[_0x79efc7(0x1c4)](_0x40614a){const _0x436c9a=_0x79efc7;return this[_0x436c9a(0x1d9)](_0x40614a);}async['exportXLSXBySnapshotAsync'](_0x4aaf94){const _0x98a6ee=_0x79efc7,_0x4c011a=this[_0x98a6ee(0x1d0)]['get'](r[_0x98a6ee(0x1d4)]);if(!_0x4c011a)throw new Error(_0x98a6ee(0x1e1));return _0x4c011a['exportXLSXBySnapshot'](_0x4aaf94);}async['importDOCXToUnitId'](_0x3b643c){return this['importDOCXToUnitIdAsync'](_0x3b643c);}async[_0x79efc7(0x1db)](_0xa3a800){const _0x463d4e=_0x79efc7,_0xc64ef7=this[_0x463d4e(0x1d0)]['get'](r[_0x463d4e(0x1d4)]);if(!_0xc64ef7)throw new Error(_0x463d4e(0x1e1));return _0xc64ef7['importFileToUnitId'](_0xa3a800,i[_0x463d4e(0x1c5)]);}async[_0x79efc7(0x1da)](_0xb8d643){return this['importDOCXToSnapshotAsync'](_0xb8d643);}async[_0x79efc7(0x1e3)](_0x1b122b){const _0x26e746=_0x79efc7,_0x1929f8=this[_0x26e746(0x1d0)][_0x26e746(0x1e4)](r[_0x26e746(0x1d4)]);if(!_0x1929f8)throw new Error(_0x26e746(0x1e1));return _0x1929f8[_0x26e746(0x1da)](_0x1b122b);}async[_0x79efc7(0x1d6)](_0x5adfeb){const _0x53bda0=_0x79efc7,_0x33329b=this[_0x53bda0(0x1d0)][_0x53bda0(0x1e4)](r[_0x53bda0(0x1d4)]);if(!_0x33329b)throw new Error(_0x53bda0(0x1e1));return _0x33329b[_0x53bda0(0x1c7)](_0x5adfeb);}async[_0x79efc7(0x1cd)](_0x1ef960){const _0x1de6b3=_0x79efc7,_0x1d9a2d=this[_0x1de6b3(0x1d0)][_0x1de6b3(0x1e4)](r[_0x1de6b3(0x1d4)]);if(!_0x1d9a2d)throw new Error(_0x1de6b3(0x1e1));return _0x1d9a2d[_0x1de6b3(0x1ce)](_0x1ef960);}}o[_0x79efc7(0x1c3)][_0x79efc7(0x1dc)](c);