@univerjs-pro/exchange-client 0.12.4 → 0.13.0-insiders.20251216-1519cb7

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 _0x69f921=_0x3e28;(function(_0x57b09b,_0x2a606b){const _0x22a51d=_0x3e28,_0x308f90=_0x57b09b();while(!![]){try{const _0x1bcf08=-parseInt(_0x22a51d(0x1c5))/0x1+-parseInt(_0x22a51d(0x1dd))/0x2+parseInt(_0x22a51d(0x1c6))/0x3+-parseInt(_0x22a51d(0x1d5))/0x4+parseInt(_0x22a51d(0x1e0))/0x5+parseInt(_0x22a51d(0x1c4))/0x6+parseInt(_0x22a51d(0x1cf))/0x7*(-parseInt(_0x22a51d(0x1c2))/0x8);if(_0x1bcf08===_0x2a606b)break;else _0x308f90['push'](_0x308f90['shift']());}catch(_0x1b2750){_0x308f90['push'](_0x308f90['shift']());}}}(_0x38cb,0xef07b));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x38cb(){const _0x540afb=['7223805WdeoWT','UNRECOGNIZED','244656nHLMbB','importFileToUnitId','10870566yThxzg','401887tSqAgx','5250231gwmjVZ','_injector','importDOCXToUnitIdAsync','exportXLSXBySnapshot','UNIVER_PROJECT','importXLSXToSnapshotAsync','UNIVER_DOC','UNIVER_SHEET','importDOCXToSnapshotAsync','70nJDbwB','exportXLSXByUnitId','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','IExchangeService','7803180jgLpVg','importDOCXToUnitId','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','exportDOCXBySnapshot','exportDOCXBySnapshotAsync','get','UNIVER_UNKNOWN','2738060eEujDb','importDOCXToSnapshot','exportDOCXByUnitIdAsync'];_0x38cb=function(){return _0x540afb;};return _0x38cb();}function _0x3e28(_0x2be4dc,_0x248281){_0x2be4dc=_0x2be4dc-0x1c1;const _0x38cbb3=_0x38cb();let _0x3e2828=_0x38cbb3[_0x2be4dc];return _0x3e2828;}var i=(_0x5070ad=>(_0x5070ad[_0x5070ad[_0x69f921(0x1dc)]=0x0]=_0x69f921(0x1dc),_0x5070ad[_0x5070ad[_0x69f921(0x1cc)]=0x1]=_0x69f921(0x1cc),_0x5070ad[_0x5070ad['UNIVER_SHEET']=0x2]=_0x69f921(0x1cd),_0x5070ad[_0x5070ad[_0x69f921(0x1d3)]=0x3]=_0x69f921(0x1d3),_0x5070ad[_0x5070ad['UNIVER_PROJECT']=0x4]=_0x69f921(0x1ca),_0x5070ad[_0x5070ad[_0x69f921(0x1c1)]=-0x1]=_0x69f921(0x1c1),_0x5070ad))(i||{});class c extends o['FUniver']{async[_0x69f921(0x1d1)](_0x59057e){return this['importXLSXToUnitIdAsync'](_0x59057e);}async['importXLSXToUnitIdAsync'](_0x53c769){const _0x465b28=_0x69f921,_0x4e61ad=this['_injector'][_0x465b28(0x1db)](r[_0x465b28(0x1d4)]);if(!_0x4e61ad)throw new Error(_0x465b28(0x1d2));return _0x4e61ad[_0x465b28(0x1c3)](_0x53c769,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x2226d2){const _0x5df4f3=_0x69f921;return this[_0x5df4f3(0x1cb)](_0x2226d2);}async[_0x69f921(0x1cb)](_0x26dbac){const _0x3c8247=_0x69f921,_0x64d92c=this['_injector'][_0x3c8247(0x1db)](r[_0x3c8247(0x1d4)]);if(!_0x64d92c)throw new Error(_0x3c8247(0x1d2));return _0x64d92c['importXLSXToSnapshot'](_0x26dbac);}async[_0x69f921(0x1d0)](_0x120248){const _0x12c144=_0x69f921;return this[_0x12c144(0x1d8)](_0x120248);}async[_0x69f921(0x1d8)](_0x4559d3){const _0x187f70=_0x69f921,_0xe265f4=this[_0x187f70(0x1c7)][_0x187f70(0x1db)](r['IExchangeService']);if(!_0xe265f4)throw new Error(_0x187f70(0x1d2));return _0xe265f4[_0x187f70(0x1d0)](_0x4559d3);}async['exportXLSXBySnapshot'](_0xee202e){return this['exportXLSXBySnapshotAsync'](_0xee202e);}async[_0x69f921(0x1d7)](_0x37c837){const _0x5e5e55=_0x69f921,_0x34d6b0=this[_0x5e5e55(0x1c7)]['get'](r[_0x5e5e55(0x1d4)]);if(!_0x34d6b0)throw new Error(_0x5e5e55(0x1d2));return _0x34d6b0[_0x5e5e55(0x1c9)](_0x37c837);}async[_0x69f921(0x1d6)](_0x1da891){const _0x4ec3de=_0x69f921;return this[_0x4ec3de(0x1c8)](_0x1da891);}async['importDOCXToUnitIdAsync'](_0x5927ef){const _0x3d7b81=_0x69f921,_0x4b72f8=this[_0x3d7b81(0x1c7)][_0x3d7b81(0x1db)](r[_0x3d7b81(0x1d4)]);if(!_0x4b72f8)throw new Error(_0x3d7b81(0x1d2));return _0x4b72f8['importFileToUnitId'](_0x5927ef,i[_0x3d7b81(0x1cc)]);}async[_0x69f921(0x1de)](_0x513109){const _0x3c0365=_0x69f921;return this[_0x3c0365(0x1ce)](_0x513109);}async[_0x69f921(0x1ce)](_0x57b6a9){const _0x2a1c38=_0x69f921,_0x157a5f=this[_0x2a1c38(0x1c7)][_0x2a1c38(0x1db)](r[_0x2a1c38(0x1d4)]);if(!_0x157a5f)throw new Error(_0x2a1c38(0x1d2));return _0x157a5f['importDOCXToSnapshot'](_0x57b6a9);}async[_0x69f921(0x1da)](_0x2e18a8){const _0x4efd31=_0x69f921,_0x25eef1=this[_0x4efd31(0x1c7)][_0x4efd31(0x1db)](r[_0x4efd31(0x1d4)]);if(!_0x25eef1)throw new Error(_0x4efd31(0x1d2));return _0x25eef1[_0x4efd31(0x1d9)](_0x2e18a8);}async[_0x69f921(0x1df)](_0x2868cd){const _0x28dfae=_0x69f921,_0x249ff8=this[_0x28dfae(0x1c7)]['get'](r[_0x28dfae(0x1d4)]);if(!_0x249ff8)throw new Error(_0x28dfae(0x1d2));return _0x249ff8['exportDOCXByUnitId'](_0x2868cd);}}o['FUniver']['extend'](c);
1
+ 'use strict';function _0x4078(){const _0x4a4647=['UNIVER_SHEET','UNRECOGNIZED','importFileToUnitId','exportXLSXBySnapshotAsync','importXLSXToSnapshot','importXLSXToUnitIdAsync','exportDOCXByUnitIdAsync','UNIVER_UNKNOWN','UNIVER_PROJECT','1056540gRxiTt','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','1344JmmTFl','37624biDumL','15XHdQvP','importDOCXToSnapshotAsync','1365837zFdemH','exportXLSXByUnitId','4segjIJ','IExchangeService','exportXLSXBySnapshot','importXLSXToUnitId','85098qkWlNh','importDOCXToSnapshot','importDOCXToUnitId','981EFIbtw','exportXLSXByUnitIdAsync','346346dGYNJG','160220VlDpww','_injector','UNIVER_DOC','exportDOCXBySnapshotAsync','UNIVER_SLIDE','get','importXLSXToSnapshotAsync','66260TSZlKu','49AYAyfZ'];_0x4078=function(){return _0x4a4647;};return _0x4078();}const _0x104061=_0x5e63;(function(_0x4a31ff,_0x3338f1){const _0x3ddbca=_0x5e63,_0x15075f=_0x4a31ff();while(!![]){try{const _0x3f0506=parseInt(_0x3ddbca(0x117))/0x1*(-parseInt(_0x3ddbca(0x128))/0x2)+-parseInt(_0x3ddbca(0x115))/0x3+-parseInt(_0x3ddbca(0x10e))/0x4+-parseInt(_0x3ddbca(0x113))/0x5*(-parseInt(_0x3ddbca(0x11b))/0x6)+parseInt(_0x3ddbca(0x129))/0x7*(-parseInt(_0x3ddbca(0x112))/0x8)+parseInt(_0x3ddbca(0x11e))/0x9*(-parseInt(_0x3ddbca(0x121))/0xa)+parseInt(_0x3ddbca(0x120))/0xb*(parseInt(_0x3ddbca(0x111))/0xc);if(_0x3f0506===_0x3338f1)break;else _0x15075f['push'](_0x15075f['shift']());}catch(_0x1e6ea6){_0x15075f['push'](_0x15075f['shift']());}}}(_0x4078,0xe4f00));function _0x5e63(_0x1defdd,_0x379a2e){_0x1defdd=_0x1defdd-0x10c;const _0x40784c=_0x4078();let _0x5e6371=_0x40784c[_0x1defdd];return _0x5e6371;}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x40eecb=>(_0x40eecb[_0x40eecb[_0x104061(0x10c)]=0x0]='UNIVER_UNKNOWN',_0x40eecb[_0x40eecb[_0x104061(0x123)]=0x1]=_0x104061(0x123),_0x40eecb[_0x40eecb['UNIVER_SHEET']=0x2]=_0x104061(0x12a),_0x40eecb[_0x40eecb[_0x104061(0x125)]=0x3]=_0x104061(0x125),_0x40eecb[_0x40eecb[_0x104061(0x10d)]=0x4]=_0x104061(0x10d),_0x40eecb[_0x40eecb[_0x104061(0x12b)]=-0x1]=_0x104061(0x12b),_0x40eecb))(i||{});class c extends o['FUniver']{async[_0x104061(0x11a)](_0x20e931){const _0x2f08b7=_0x104061;return this[_0x2f08b7(0x12f)](_0x20e931);}async['importXLSXToUnitIdAsync'](_0x3e3af0){const _0x1e29e3=_0x104061,_0x45bfb8=this[_0x1e29e3(0x122)]['get'](r[_0x1e29e3(0x118)]);if(!_0x45bfb8)throw new Error(_0x1e29e3(0x10f));return _0x45bfb8[_0x1e29e3(0x12c)](_0x3e3af0,i[_0x1e29e3(0x12a)]);}async[_0x104061(0x12e)](_0x25feb5){const _0x2fe5d4=_0x104061;return this[_0x2fe5d4(0x127)](_0x25feb5);}async[_0x104061(0x127)](_0x52545e){const _0x1b1d8a=_0x104061,_0x2c6145=this[_0x1b1d8a(0x122)][_0x1b1d8a(0x126)](r[_0x1b1d8a(0x118)]);if(!_0x2c6145)throw new Error(_0x1b1d8a(0x10f));return _0x2c6145[_0x1b1d8a(0x12e)](_0x52545e);}async[_0x104061(0x116)](_0x2a47f6){const _0xf8e9c2=_0x104061;return this[_0xf8e9c2(0x11f)](_0x2a47f6);}async[_0x104061(0x11f)](_0x8a778d){const _0x3241c3=_0x104061,_0x24d1fc=this['_injector'][_0x3241c3(0x126)](r[_0x3241c3(0x118)]);if(!_0x24d1fc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x24d1fc['exportXLSXByUnitId'](_0x8a778d);}async[_0x104061(0x119)](_0x50dcfc){const _0x6335cd=_0x104061;return this[_0x6335cd(0x12d)](_0x50dcfc);}async['exportXLSXBySnapshotAsync'](_0x1e8c07){const _0x51eab3=_0x104061,_0x447b37=this[_0x51eab3(0x122)][_0x51eab3(0x126)](r[_0x51eab3(0x118)]);if(!_0x447b37)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x447b37['exportXLSXBySnapshot'](_0x1e8c07);}async[_0x104061(0x11d)](_0x2c31c2){const _0x5be8e3=_0x104061;return this[_0x5be8e3(0x110)](_0x2c31c2);}async['importDOCXToUnitIdAsync'](_0x1c5e0f){const _0x2f3af2=_0x104061,_0x87f890=this[_0x2f3af2(0x122)][_0x2f3af2(0x126)](r[_0x2f3af2(0x118)]);if(!_0x87f890)throw new Error(_0x2f3af2(0x10f));return _0x87f890[_0x2f3af2(0x12c)](_0x1c5e0f,i[_0x2f3af2(0x123)]);}async[_0x104061(0x11c)](_0x6e7799){const _0x365832=_0x104061;return this[_0x365832(0x114)](_0x6e7799);}async[_0x104061(0x114)](_0x25a129){const _0x4a64b2=_0x104061,_0x38146d=this[_0x4a64b2(0x122)]['get'](r[_0x4a64b2(0x118)]);if(!_0x38146d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x38146d['importDOCXToSnapshot'](_0x25a129);}async[_0x104061(0x124)](_0x1cabf6){const _0x11301f=_0x104061,_0x4c2d59=this['_injector'][_0x11301f(0x126)](r[_0x11301f(0x118)]);if(!_0x4c2d59)throw new Error(_0x11301f(0x10f));return _0x4c2d59['exportDOCXBySnapshot'](_0x1cabf6);}async[_0x104061(0x130)](_0x1ef0d8){const _0x35e898=_0x104061,_0x2555aa=this['_injector'][_0x35e898(0x126)](r[_0x35e898(0x118)]);if(!_0x2555aa)throw new Error(_0x35e898(0x10f));return _0x2555aa['exportDOCXByUnitId'](_0x1ef0d8);}}o['FUniver']['extend'](c);