@univerjs-pro/exchange-client 0.12.4 → 0.13.0-insiders.20251215-64041bb

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 +9 -9
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';const _0x3c94e1=_0x29b9;function _0x29b9(_0x1ce501,_0x2417a7){_0x1ce501=_0x1ce501-0x198;const _0x20c3f0=_0x20c3();let _0x29b97f=_0x20c3f0[_0x1ce501];return _0x29b97f;}(function(_0x1dc320,_0x3e7155){const _0x267ccc=_0x29b9,_0x2bca0c=_0x1dc320();while(!![]){try{const _0x3c8886=parseInt(_0x267ccc(0x1bd))/0x1*(-parseInt(_0x267ccc(0x1ad))/0x2)+parseInt(_0x267ccc(0x1a0))/0x3+parseInt(_0x267ccc(0x19e))/0x4*(parseInt(_0x267ccc(0x1b2))/0x5)+-parseInt(_0x267ccc(0x1a3))/0x6+-parseInt(_0x267ccc(0x1b4))/0x7+parseInt(_0x267ccc(0x1a7))/0x8*(parseInt(_0x267ccc(0x1b5))/0x9)+parseInt(_0x267ccc(0x1aa))/0xa;if(_0x3c8886===_0x3e7155)break;else _0x2bca0c['push'](_0x2bca0c['shift']());}catch(_0x3b3e74){_0x2bca0c['push'](_0x2bca0c['shift']());}}}(_0x20c3,0x59e25));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x4f5520=>(_0x4f5520[_0x4f5520[_0x3c94e1(0x1b7)]=0x0]=_0x3c94e1(0x1b7),_0x4f5520[_0x4f5520[_0x3c94e1(0x1a9)]=0x1]=_0x3c94e1(0x1a9),_0x4f5520[_0x4f5520[_0x3c94e1(0x1ab)]=0x2]='UNIVER_SHEET',_0x4f5520[_0x4f5520[_0x3c94e1(0x199)]=0x3]=_0x3c94e1(0x199),_0x4f5520[_0x4f5520[_0x3c94e1(0x19f)]=0x4]=_0x3c94e1(0x19f),_0x4f5520[_0x4f5520['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4f5520))(i||{});class c extends o[_0x3c94e1(0x1b1)]{async[_0x3c94e1(0x1b0)](_0x429000){const _0x5d43f7=_0x3c94e1;return this[_0x5d43f7(0x1bb)](_0x429000);}async[_0x3c94e1(0x1bb)](_0x59a4f3){const _0x2f33f6=_0x3c94e1,_0x3e439b=this[_0x2f33f6(0x1a5)][_0x2f33f6(0x1a8)](r['IExchangeService']);if(!_0x3e439b)throw new Error(_0x2f33f6(0x1b8));return _0x3e439b[_0x2f33f6(0x1a6)](_0x59a4f3,i['UNIVER_SHEET']);}async[_0x3c94e1(0x1bc)](_0x20df83){const _0x7bbd15=_0x3c94e1;return this[_0x7bbd15(0x19d)](_0x20df83);}async[_0x3c94e1(0x19d)](_0x2487e1){const _0x49b5dd=_0x3c94e1,_0x275698=this[_0x49b5dd(0x1a5)][_0x49b5dd(0x1a8)](r[_0x49b5dd(0x19a)]);if(!_0x275698)throw new Error(_0x49b5dd(0x1b8));return _0x275698['importXLSXToSnapshot'](_0x2487e1);}async['exportXLSXByUnitId'](_0x495c70){return this['exportXLSXByUnitIdAsync'](_0x495c70);}async[_0x3c94e1(0x1af)](_0x10ffb8){const _0x16c9ea=_0x3c94e1,_0x17cb00=this['_injector'][_0x16c9ea(0x1a8)](r['IExchangeService']);if(!_0x17cb00)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x17cb00[_0x16c9ea(0x19c)](_0x10ffb8);}async[_0x3c94e1(0x1ae)](_0x442960){const _0x26cdee=_0x3c94e1;return this[_0x26cdee(0x1b9)](_0x442960);}async['exportXLSXBySnapshotAsync'](_0x3ad084){const _0xc33c49=_0x3c94e1,_0x49649a=this[_0xc33c49(0x1a5)][_0xc33c49(0x1a8)](r[_0xc33c49(0x19a)]);if(!_0x49649a)throw new Error(_0xc33c49(0x1b8));return _0x49649a[_0xc33c49(0x1ae)](_0x3ad084);}async[_0x3c94e1(0x1b3)](_0x50581b){const _0x3c4011=_0x3c94e1;return this[_0x3c4011(0x1ba)](_0x50581b);}async['importDOCXToUnitIdAsync'](_0x4054ec){const _0x12d429=_0x3c94e1,_0xd26d10=this[_0x12d429(0x1a5)]['get'](r[_0x12d429(0x19a)]);if(!_0xd26d10)throw new Error(_0x12d429(0x1b8));return _0xd26d10[_0x12d429(0x1a6)](_0x4054ec,i[_0x12d429(0x1a9)]);}async[_0x3c94e1(0x1ac)](_0x5e6525){const _0x462ec9=_0x3c94e1;return this[_0x462ec9(0x1a4)](_0x5e6525);}async['importDOCXToSnapshotAsync'](_0x540abf){const _0x476be8=_0x3c94e1,_0x2b0d57=this['_injector'][_0x476be8(0x1a8)](r[_0x476be8(0x19a)]);if(!_0x2b0d57)throw new Error(_0x476be8(0x1b8));return _0x2b0d57[_0x476be8(0x1ac)](_0x540abf);}async[_0x3c94e1(0x198)](_0x2b8717){const _0x2a0a70=_0x3c94e1,_0x4b0b78=this[_0x2a0a70(0x1a5)]['get'](r[_0x2a0a70(0x19a)]);if(!_0x4b0b78)throw new Error(_0x2a0a70(0x1b8));return _0x4b0b78[_0x2a0a70(0x1a2)](_0x2b8717);}async[_0x3c94e1(0x1b6)](_0x3a2244){const _0x77ce59=_0x3c94e1,_0x331133=this[_0x77ce59(0x1a5)]['get'](r[_0x77ce59(0x19a)]);if(!_0x331133)throw new Error(_0x77ce59(0x1b8));return _0x331133[_0x77ce59(0x1a1)](_0x3a2244);}}function _0x20c3(){const _0x213fa1=['973158QYtmKE','exportDOCXByUnitId','exportDOCXBySnapshot','2082582rlxRUW','importDOCXToSnapshotAsync','_injector','importFileToUnitId','8ePDuGi','get','UNIVER_DOC','2472550cnicyV','UNIVER_SHEET','importDOCXToSnapshot','2wUjTjP','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','importXLSXToUnitId','FUniver','74095DCgueW','importDOCXToUnitId','1610441YjiENl','2488950QCUXGc','exportDOCXByUnitIdAsync','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','importXLSXToSnapshot','599359VQvFDw','exportDOCXBySnapshotAsync','UNIVER_SLIDE','IExchangeService','extend','exportXLSXByUnitId','importXLSXToSnapshotAsync','188YsKFjQ','UNIVER_PROJECT'];_0x20c3=function(){return _0x213fa1;};return _0x20c3();}o['FUniver'][_0x3c94e1(0x19b)](c);