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

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 -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/types/services/utils/snapshot.d.ts +1 -1
  41. package/lib/umd/facade.js +1 -1
  42. package/lib/umd/index.js +1 -1
  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 -1
  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 +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
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);
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);