@univerjs-pro/exchange-client 0.12.4-experimental.20251208-c4b8a44 → 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 (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 +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xe8b2da=_0x39d5;(function(_0x5d661e,_0x453611){const _0x394471=_0x39d5,_0x1792e4=_0x5d661e();while(!![]){try{const _0x1991a4=parseInt(_0x394471(0x1a0))/0x1+parseInt(_0x394471(0x1ab))/0x2+parseInt(_0x394471(0x1ae))/0x3*(-parseInt(_0x394471(0x1a4))/0x4)+-parseInt(_0x394471(0x1a6))/0x5+parseInt(_0x394471(0x196))/0x6+parseInt(_0x394471(0x1a7))/0x7+-parseInt(_0x394471(0x193))/0x8;if(_0x1991a4===_0x453611)break;else _0x1792e4['push'](_0x1792e4['shift']());}catch(_0x404ea0){_0x1792e4['push'](_0x1792e4['shift']());}}}(_0x4dc2,0x5e12f));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x4b0138=>(_0x4b0138[_0x4b0138['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x4b0138[_0x4b0138['UNIVER_DOC']=0x1]=_0xe8b2da(0x19b),_0x4b0138[_0x4b0138[_0xe8b2da(0x1b1)]=0x2]=_0xe8b2da(0x1b1),_0x4b0138[_0x4b0138[_0xe8b2da(0x1a8)]=0x3]=_0xe8b2da(0x1a8),_0x4b0138[_0x4b0138[_0xe8b2da(0x1b3)]=0x4]=_0xe8b2da(0x1b3),_0x4b0138[_0x4b0138['UNRECOGNIZED']=-0x1]=_0xe8b2da(0x1a1),_0x4b0138))(i||{});function _0x39d5(_0x23d450,_0x1a1a76){_0x23d450=_0x23d450-0x192;const _0x4dc243=_0x4dc2();let _0x39d563=_0x4dc243[_0x23d450];return _0x39d563;}class c extends o[_0xe8b2da(0x194)]{async[_0xe8b2da(0x19f)](_0x3425cd){return this['importXLSXToUnitIdAsync'](_0x3425cd);}async[_0xe8b2da(0x199)](_0x2164c8){const _0x3c6f61=_0xe8b2da,_0x1a3f86=this[_0x3c6f61(0x1b4)][_0x3c6f61(0x19e)](r[_0x3c6f61(0x1b2)]);if(!_0x1a3f86)throw new Error(_0x3c6f61(0x1af));return _0x1a3f86[_0x3c6f61(0x198)](_0x2164c8,i[_0x3c6f61(0x1b1)]);}async[_0xe8b2da(0x19d)](_0x4e35ee){return this['importXLSXToSnapshotAsync'](_0x4e35ee);}async[_0xe8b2da(0x192)](_0x120301){const _0x31d819=_0xe8b2da,_0xce9e3c=this[_0x31d819(0x1b4)]['get'](r[_0x31d819(0x1b2)]);if(!_0xce9e3c)throw new Error(_0x31d819(0x1af));return _0xce9e3c[_0x31d819(0x19d)](_0x120301);}async[_0xe8b2da(0x1aa)](_0x3fdea7){const _0x16aaf4=_0xe8b2da;return this[_0x16aaf4(0x197)](_0x3fdea7);}async[_0xe8b2da(0x197)](_0x1c7e1d){const _0xca0be6=_0xe8b2da,_0x2723d4=this[_0xca0be6(0x1b4)]['get'](r[_0xca0be6(0x1b2)]);if(!_0x2723d4)throw new Error(_0xca0be6(0x1af));return _0x2723d4[_0xca0be6(0x1aa)](_0x1c7e1d);}async[_0xe8b2da(0x1a9)](_0x3dcae9){const _0xada6bf=_0xe8b2da;return this[_0xada6bf(0x1ad)](_0x3dcae9);}async[_0xe8b2da(0x1ad)](_0x9a6cf0){const _0x5d1534=_0xe8b2da,_0x6f5d29=this[_0x5d1534(0x1b4)][_0x5d1534(0x19e)](r[_0x5d1534(0x1b2)]);if(!_0x6f5d29)throw new Error(_0x5d1534(0x1af));return _0x6f5d29[_0x5d1534(0x1a9)](_0x9a6cf0);}async[_0xe8b2da(0x19a)](_0x350864){return this['importDOCXToUnitIdAsync'](_0x350864);}async[_0xe8b2da(0x1ac)](_0x4cacd7){const _0x47ca0b=_0xe8b2da,_0x1d0420=this['_injector'][_0x47ca0b(0x19e)](r[_0x47ca0b(0x1b2)]);if(!_0x1d0420)throw new Error(_0x47ca0b(0x1af));return _0x1d0420[_0x47ca0b(0x198)](_0x4cacd7,i[_0x47ca0b(0x19b)]);}async[_0xe8b2da(0x1b0)](_0x5a2f04){return this['importDOCXToSnapshotAsync'](_0x5a2f04);}async[_0xe8b2da(0x19c)](_0x126ee4){const _0x4ceec7=_0xe8b2da,_0x1485f8=this[_0x4ceec7(0x1b4)][_0x4ceec7(0x19e)](r[_0x4ceec7(0x1b2)]);if(!_0x1485f8)throw new Error(_0x4ceec7(0x1af));return _0x1485f8[_0x4ceec7(0x1b0)](_0x126ee4);}async[_0xe8b2da(0x1a2)](_0x1ac84a){const _0x1cc568=_0xe8b2da,_0x3e4f6c=this[_0x1cc568(0x1b4)][_0x1cc568(0x19e)](r[_0x1cc568(0x1b2)]);if(!_0x3e4f6c)throw new Error(_0x1cc568(0x1af));return _0x3e4f6c['exportDOCXBySnapshot'](_0x1ac84a);}async[_0xe8b2da(0x195)](_0x53d592){const _0x45210d=_0xe8b2da,_0x239739=this[_0x45210d(0x1b4)]['get'](r['IExchangeService']);if(!_0x239739)throw new Error(_0x45210d(0x1af));return _0x239739[_0x45210d(0x1a5)](_0x53d592);}}o['FUniver'][_0xe8b2da(0x1a3)](c);function _0x4dc2(){const _0x23c33d=['exportXLSXByUnitIdAsync','importFileToUnitId','importXLSXToUnitIdAsync','importDOCXToUnitId','UNIVER_DOC','importDOCXToSnapshotAsync','importXLSXToSnapshot','get','importXLSXToUnitId','261735cAjSeW','UNRECOGNIZED','exportDOCXBySnapshotAsync','extend','219412cfnxoS','exportDOCXByUnitId','3506070dKPRsq','4096729YGnMEu','UNIVER_SLIDE','exportXLSXBySnapshot','exportXLSXByUnitId','360088fkJWEg','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','6VMczTG','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshot','UNIVER_SHEET','IExchangeService','UNIVER_PROJECT','_injector','importXLSXToSnapshotAsync','1522648ChdHAt','FUniver','exportDOCXByUnitIdAsync','2157312ineyaQ'];_0x4dc2=function(){return _0x23c33d;};return _0x4dc2();}
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);