@univerjs-pro/exchange-client 0.9.1-nightly.202507041607 → 0.9.1-nightly.202507061606

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.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x189aad=_0x328e;(function(_0x1f6dff,_0x2d9a6b){const _0x4cd85d=_0x328e,_0x597275=_0x1f6dff();while(!![]){try{const _0x3c52d0=-parseInt(_0x4cd85d(0x200))/0x1*(parseInt(_0x4cd85d(0x1f4))/0x2)+parseInt(_0x4cd85d(0x1e6))/0x3*(-parseInt(_0x4cd85d(0x1ea))/0x4)+parseInt(_0x4cd85d(0x1de))/0x5+-parseInt(_0x4cd85d(0x1e3))/0x6+parseInt(_0x4cd85d(0x1f1))/0x7+-parseInt(_0x4cd85d(0x1e7))/0x8*(-parseInt(_0x4cd85d(0x201))/0x9)+-parseInt(_0x4cd85d(0x1dd))/0xa*(-parseInt(_0x4cd85d(0x1f8))/0xb);if(_0x3c52d0===_0x2d9a6b)break;else _0x597275['push'](_0x597275['shift']());}catch(_0x2741b9){_0x597275['push'](_0x597275['shift']());}}}(_0x2dda,0x723b1));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x25ab8d=>(_0x25ab8d[_0x25ab8d['UNIVER_UNKNOWN']=0x0]=_0x189aad(0x1fa),_0x25ab8d[_0x25ab8d[_0x189aad(0x1ed)]=0x1]=_0x189aad(0x1ed),_0x25ab8d[_0x25ab8d[_0x189aad(0x1ef)]=0x2]='UNIVER_SHEET',_0x25ab8d[_0x25ab8d[_0x189aad(0x1f2)]=0x3]=_0x189aad(0x1f2),_0x25ab8d[_0x25ab8d[_0x189aad(0x1fd)]=0x4]=_0x189aad(0x1fd),_0x25ab8d[_0x25ab8d[_0x189aad(0x1db)]=-0x1]=_0x189aad(0x1db),_0x25ab8d))(i||{});function _0x2dda(){const _0x1c2de7=['importFileToUnitId','450fgCwhY','exportDOCXByUnitId','exportDOCXBySnapshot','exportXLSXBySnapshotAsync','473UtUygC','importDOCXToSnapshot','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','_injector','UNIVER_PROJECT','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','2593xNbCTR','60957gQvKMX','UNRECOGNIZED','importXLSXToSnapshot','103130QvhtgI','3591710rDHLWT','exportDOCXByUnitIdAsync','get','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','3591462ndZXwC','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','496605zpgUjj','376eAQOTj','FUniver','extend','4ynnqUc','IExchangeService','importXLSXToUnitId','UNIVER_DOC','exportXLSXByUnitId','UNIVER_SHEET','exportXLSXBySnapshot','2347058zWHWPZ','UNIVER_SLIDE'];_0x2dda=function(){return _0x1c2de7;};return _0x2dda();}function _0x328e(_0x504cf8,_0x4ed8e4){const _0x2dda75=_0x2dda();return _0x328e=function(_0x328e00,_0x589805){_0x328e00=_0x328e00-0x1db;let _0x4372b8=_0x2dda75[_0x328e00];return _0x4372b8;},_0x328e(_0x504cf8,_0x4ed8e4);}class c extends o[_0x189aad(0x1e8)]{async[_0x189aad(0x1ec)](_0x3ebe42){const _0x4291f6=_0x189aad;return this[_0x4291f6(0x1e2)](_0x3ebe42);}async[_0x189aad(0x1e2)](_0x59a2fd){const _0x4c7549=_0x189aad,_0x4639e3=this[_0x4c7549(0x1fc)]['get'](r[_0x4c7549(0x1eb)]);if(!_0x4639e3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4639e3[_0x4c7549(0x1f3)](_0x59a2fd,i['UNIVER_SHEET']);}async[_0x189aad(0x1dc)](_0x17a493){const _0x5903d2=_0x189aad;return this[_0x5903d2(0x1fb)](_0x17a493);}async[_0x189aad(0x1fb)](_0x57c0ac){const _0x4d7730=_0x189aad,_0xfb7357=this['_injector'][_0x4d7730(0x1e0)](r[_0x4d7730(0x1eb)]);if(!_0xfb7357)throw new Error(_0x4d7730(0x1e4));return _0xfb7357['importXLSXToSnapshot'](_0x57c0ac);}async[_0x189aad(0x1ee)](_0x1fea85){const _0x10633c=_0x189aad;return this[_0x10633c(0x1ff)](_0x1fea85);}async['exportXLSXByUnitIdAsync'](_0x233597){const _0x4a3dd4=_0x189aad,_0x483a42=this[_0x4a3dd4(0x1fc)][_0x4a3dd4(0x1e0)](r[_0x4a3dd4(0x1eb)]);if(!_0x483a42)throw new Error(_0x4a3dd4(0x1e4));return _0x483a42[_0x4a3dd4(0x1ee)](_0x233597);}async[_0x189aad(0x1f0)](_0x35893b){return this['exportXLSXBySnapshotAsync'](_0x35893b);}async[_0x189aad(0x1f7)](_0xf40b80){const _0x236932=_0x189aad,_0x166f53=this[_0x236932(0x1fc)][_0x236932(0x1e0)](r[_0x236932(0x1eb)]);if(!_0x166f53)throw new Error(_0x236932(0x1e4));return _0x166f53[_0x236932(0x1f0)](_0xf40b80);}async[_0x189aad(0x1e5)](_0x4badbe){const _0x5c195a=_0x189aad;return this[_0x5c195a(0x1fe)](_0x4badbe);}async[_0x189aad(0x1fe)](_0x2e6cff){const _0x50e97a=_0x189aad,_0xcb4ee8=this[_0x50e97a(0x1fc)][_0x50e97a(0x1e0)](r[_0x50e97a(0x1eb)]);if(!_0xcb4ee8)throw new Error(_0x50e97a(0x1e4));return _0xcb4ee8[_0x50e97a(0x1f3)](_0x2e6cff,i[_0x50e97a(0x1ed)]);}async[_0x189aad(0x1f9)](_0x38e6a6){const _0x2cdbd8=_0x189aad;return this[_0x2cdbd8(0x1e1)](_0x38e6a6);}async[_0x189aad(0x1e1)](_0x5af7d4){const _0x23bb10=_0x189aad,_0x40e263=this[_0x23bb10(0x1fc)][_0x23bb10(0x1e0)](r[_0x23bb10(0x1eb)]);if(!_0x40e263)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x40e263[_0x23bb10(0x1f9)](_0x5af7d4);}async['exportDOCXBySnapshotAsync'](_0x50f39d){const _0xb24e00=_0x189aad,_0x22b8a6=this['_injector'][_0xb24e00(0x1e0)](r[_0xb24e00(0x1eb)]);if(!_0x22b8a6)throw new Error(_0xb24e00(0x1e4));return _0x22b8a6[_0xb24e00(0x1f6)](_0x50f39d);}async[_0x189aad(0x1df)](_0x5c0e0f){const _0xd4c7bb=_0x189aad,_0x376d83=this['_injector'][_0xd4c7bb(0x1e0)](r[_0xd4c7bb(0x1eb)]);if(!_0x376d83)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x376d83[_0xd4c7bb(0x1f5)](_0x5c0e0f);}}o['FUniver'][_0x189aad(0x1e9)](c);
1
+ 'use strict';const _0x4f3c79=_0x1615;function _0x23de(){const _0x204d63=['IExchangeService','UNIVER_DOC','importFileToUnitId','213320fRBHBy','exportDOCXBySnapshot','FUniver','UNIVER_PROJECT','2674440HGdHCz','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','5014592BlTlaV','8510NUbfVO','10Zkbrdw','exportDOCXBySnapshotAsync','importXLSXToSnapshotAsync','exportDOCXByUnitId','UNIVER_UNKNOWN','exportXLSXByUnitId','exportDOCXByUnitIdAsync','importXLSXToSnapshot','11KuWYLb','1122PlDfIo','UNIVER_SLIDE','1859073ZJWoJb','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','UNRECOGNIZED','5540521wqNKJw','_injector','exportXLSXByUnitIdAsync','8wiuqgc','importDOCXToSnapshot','UNIVER_SHEET','9434250MFsoMZ','get'];_0x23de=function(){return _0x204d63;};return _0x23de();}function _0x1615(_0x50013e,_0x4cc51b){const _0x23de69=_0x23de();return _0x1615=function(_0x16155f,_0x19f3ab){_0x16155f=_0x16155f-0x130;let _0x53b615=_0x23de69[_0x16155f];return _0x53b615;},_0x1615(_0x50013e,_0x4cc51b);}(function(_0x2e8a1a,_0x19a102){const _0x57a85b=_0x1615,_0x44bea4=_0x2e8a1a();while(!![]){try{const _0xe93230=parseInt(_0x57a85b(0x130))/0x1*(parseInt(_0x57a85b(0x139))/0x2)+parseInt(_0x57a85b(0x144))/0x3+-parseInt(_0x57a85b(0x137))/0x4+parseInt(_0x57a85b(0x138))/0x5*(parseInt(_0x57a85b(0x142))/0x6)+-parseInt(_0x57a85b(0x14a))/0x7*(-parseInt(_0x57a85b(0x14d))/0x8)+parseInt(_0x57a85b(0x134))/0x9+parseInt(_0x57a85b(0x150))/0xa*(-parseInt(_0x57a85b(0x141))/0xb);if(_0xe93230===_0x19a102)break;else _0x44bea4['push'](_0x44bea4['shift']());}catch(_0x3e284f){_0x44bea4['push'](_0x44bea4['shift']());}}}(_0x23de,0xdac9b));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x197150=>(_0x197150[_0x197150[_0x4f3c79(0x13d)]=0x0]=_0x4f3c79(0x13d),_0x197150[_0x197150[_0x4f3c79(0x153)]=0x1]='UNIVER_DOC',_0x197150[_0x197150[_0x4f3c79(0x14f)]=0x2]=_0x4f3c79(0x14f),_0x197150[_0x197150[_0x4f3c79(0x143)]=0x3]=_0x4f3c79(0x143),_0x197150[_0x197150[_0x4f3c79(0x133)]=0x4]=_0x4f3c79(0x133),_0x197150[_0x197150[_0x4f3c79(0x149)]=-0x1]=_0x4f3c79(0x149),_0x197150))(i||{});class c extends o['FUniver']{async['importXLSXToUnitId'](_0x334e94){const _0x10fedf=_0x4f3c79;return this[_0x10fedf(0x135)](_0x334e94);}async[_0x4f3c79(0x135)](_0xa52bec){const _0x4801a2=_0x4f3c79,_0xf49ea8=this[_0x4801a2(0x14b)][_0x4801a2(0x151)](r[_0x4801a2(0x152)]);if(!_0xf49ea8)throw new Error(_0x4801a2(0x145));return _0xf49ea8[_0x4801a2(0x154)](_0xa52bec,i[_0x4801a2(0x14f)]);}async[_0x4f3c79(0x140)](_0xd5ac1){return this['importXLSXToSnapshotAsync'](_0xd5ac1);}async[_0x4f3c79(0x13b)](_0x153b93){const _0x20cba9=_0x4f3c79,_0x57021c=this['_injector'][_0x20cba9(0x151)](r[_0x20cba9(0x152)]);if(!_0x57021c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57021c[_0x20cba9(0x140)](_0x153b93);}async[_0x4f3c79(0x13e)](_0x31f074){const _0x24294a=_0x4f3c79;return this[_0x24294a(0x14c)](_0x31f074);}async[_0x4f3c79(0x14c)](_0xd3571d){const _0x4ebe90=_0x4f3c79,_0x4bc835=this[_0x4ebe90(0x14b)][_0x4ebe90(0x151)](r[_0x4ebe90(0x152)]);if(!_0x4bc835)throw new Error(_0x4ebe90(0x145));return _0x4bc835['exportXLSXByUnitId'](_0xd3571d);}async[_0x4f3c79(0x148)](_0x407d75){const _0x104d15=_0x4f3c79;return this[_0x104d15(0x147)](_0x407d75);}async[_0x4f3c79(0x147)](_0x109cdc){const _0xc2ec97=_0x4f3c79,_0x3ad3fc=this[_0xc2ec97(0x14b)][_0xc2ec97(0x151)](r[_0xc2ec97(0x152)]);if(!_0x3ad3fc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ad3fc[_0xc2ec97(0x148)](_0x109cdc);}async[_0x4f3c79(0x146)](_0x3f28b3){const _0xa3083d=_0x4f3c79;return this[_0xa3083d(0x136)](_0x3f28b3);}async[_0x4f3c79(0x136)](_0x1b6562){const _0x2705a1=_0x4f3c79,_0x17f08f=this[_0x2705a1(0x14b)][_0x2705a1(0x151)](r[_0x2705a1(0x152)]);if(!_0x17f08f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x17f08f[_0x2705a1(0x154)](_0x1b6562,i['UNIVER_DOC']);}async[_0x4f3c79(0x14e)](_0x29ee87){return this['importDOCXToSnapshotAsync'](_0x29ee87);}async['importDOCXToSnapshotAsync'](_0x345cb9){const _0x51f5a6=_0x4f3c79,_0x58d43e=this[_0x51f5a6(0x14b)]['get'](r[_0x51f5a6(0x152)]);if(!_0x58d43e)throw new Error(_0x51f5a6(0x145));return _0x58d43e['importDOCXToSnapshot'](_0x345cb9);}async[_0x4f3c79(0x13a)](_0x22ce82){const _0x13fb21=_0x4f3c79,_0x418d39=this['_injector'][_0x13fb21(0x151)](r['IExchangeService']);if(!_0x418d39)throw new Error(_0x13fb21(0x145));return _0x418d39[_0x13fb21(0x131)](_0x22ce82);}async[_0x4f3c79(0x13f)](_0x390a97){const _0x5a7765=_0x4f3c79,_0x549d2e=this['_injector']['get'](r['IExchangeService']);if(!_0x549d2e)throw new Error(_0x5a7765(0x145));return _0x549d2e[_0x5a7765(0x13c)](_0x390a97);}}o[_0x4f3c79(0x132)]['extend'](c);