@univerjs-pro/exchange-client 0.12.3 → 0.12.4-experimental.20251208-c4b8a44

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 +11 -11
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 _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();}