@univerjs-pro/exchange-client 0.9.1-nightly.202507051607 → 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 _0x3eb970=_0x4ba8;function _0x11f2(){const _0x411a90=['4605678NUOARV','importDOCXToSnapshotAsync','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','UNIVER_PROJECT','importFileToUnitId','importXLSXToSnapshotAsync','904620QYRmkd','504890prSlWX','get','10xAYoSQ','IExchangeService','324nBSead','importDOCXToUnitId','importXLSXToUnitId','2429502eThZOS','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','339568akwkLw','UNIVER_SLIDE','exportXLSXBySnapshot','UNRECOGNIZED','_injector','exportDOCXByUnitId','exportDOCXByUnitIdAsync','importXLSXToSnapshot','extend','UNIVER_DOC','exportDOCXBySnapshot','importDOCXToUnitIdAsync','673824VPFiNw','exportXLSXByUnitIdAsync','2545868JfoMtB','UNIVER_SHEET'];_0x11f2=function(){return _0x411a90;};return _0x11f2();}(function(_0xa338a1,_0x3ebeb8){const _0x3069e5=_0x4ba8,_0x5d6a5b=_0xa338a1();while(!![]){try{const _0x2d70d6=-parseInt(_0x3069e5(0x158))/0x1+-parseInt(_0x3069e5(0x165))/0x2+-parseInt(_0x3069e5(0x164))/0x3+parseInt(_0x3069e5(0x15a))/0x4+-parseInt(_0x3069e5(0x167))/0x5*(parseInt(_0x3069e5(0x16c))/0x6)+parseInt(_0x3069e5(0x15c))/0x7+-parseInt(_0x3069e5(0x16f))/0x8*(-parseInt(_0x3069e5(0x169))/0x9);if(_0x2d70d6===_0x3ebeb8)break;else _0x5d6a5b['push'](_0x5d6a5b['shift']());}catch(_0x23734b){_0x5d6a5b['push'](_0x5d6a5b['shift']());}}}(_0x11f2,0xbf9c2));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x4ba8(_0x543c23,_0x274308){const _0x11f256=_0x11f2();return _0x4ba8=function(_0x4ba84c,_0x3b2373){_0x4ba84c=_0x4ba84c-0x158;let _0x103510=_0x11f256[_0x4ba84c];return _0x103510;},_0x4ba8(_0x543c23,_0x274308);}var i=(_0x282a69=>(_0x282a69[_0x282a69[_0x3eb970(0x16d)]=0x0]=_0x3eb970(0x16d),_0x282a69[_0x282a69[_0x3eb970(0x178)]=0x1]='UNIVER_DOC',_0x282a69[_0x282a69[_0x3eb970(0x15b)]=0x2]='UNIVER_SHEET',_0x282a69[_0x282a69[_0x3eb970(0x170)]=0x3]=_0x3eb970(0x170),_0x282a69[_0x282a69[_0x3eb970(0x161)]=0x4]='UNIVER_PROJECT',_0x282a69[_0x282a69[_0x3eb970(0x172)]=-0x1]=_0x3eb970(0x172),_0x282a69))(i||{});class c extends o[_0x3eb970(0x160)]{async[_0x3eb970(0x16b)](_0x2d17ab){const _0x278160=_0x3eb970;return this[_0x278160(0x16e)](_0x2d17ab);}async['importXLSXToUnitIdAsync'](_0x50b6a9){const _0x14b515=_0x3eb970,_0x425944=this[_0x14b515(0x173)][_0x14b515(0x166)](r[_0x14b515(0x168)]);if(!_0x425944)throw new Error(_0x14b515(0x15f));return _0x425944[_0x14b515(0x162)](_0x50b6a9,i[_0x14b515(0x15b)]);}async[_0x3eb970(0x176)](_0x45c1a2){const _0x5eb6da=_0x3eb970;return this[_0x5eb6da(0x163)](_0x45c1a2);}async[_0x3eb970(0x163)](_0x2c12d7){const _0x54ebd8=_0x3eb970,_0x28d8fd=this[_0x54ebd8(0x173)][_0x54ebd8(0x166)](r[_0x54ebd8(0x168)]);if(!_0x28d8fd)throw new Error(_0x54ebd8(0x15f));return _0x28d8fd[_0x54ebd8(0x176)](_0x2c12d7);}async['exportXLSXByUnitId'](_0x3086ff){const _0x4d6ca5=_0x3eb970;return this[_0x4d6ca5(0x159)](_0x3086ff);}async[_0x3eb970(0x159)](_0x4b9052){const _0x51e7ca=_0x3eb970,_0x2b912b=this[_0x51e7ca(0x173)][_0x51e7ca(0x166)](r[_0x51e7ca(0x168)]);if(!_0x2b912b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2b912b[_0x51e7ca(0x15e)](_0x4b9052);}async['exportXLSXBySnapshot'](_0x406d5b){return this['exportXLSXBySnapshotAsync'](_0x406d5b);}async['exportXLSXBySnapshotAsync'](_0x43fb87){const _0x579b46=_0x3eb970,_0x2591bc=this[_0x579b46(0x173)]['get'](r[_0x579b46(0x168)]);if(!_0x2591bc)throw new Error(_0x579b46(0x15f));return _0x2591bc[_0x579b46(0x171)](_0x43fb87);}async[_0x3eb970(0x16a)](_0x342fb5){const _0x56790b=_0x3eb970;return this[_0x56790b(0x17a)](_0x342fb5);}async['importDOCXToUnitIdAsync'](_0x4dc9a4){const _0x4a1bcf=_0x3eb970,_0x1906b9=this[_0x4a1bcf(0x173)][_0x4a1bcf(0x166)](r[_0x4a1bcf(0x168)]);if(!_0x1906b9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1906b9[_0x4a1bcf(0x162)](_0x4dc9a4,i[_0x4a1bcf(0x178)]);}async['importDOCXToSnapshot'](_0x43b54e){const _0x5f2d38=_0x3eb970;return this[_0x5f2d38(0x15d)](_0x43b54e);}async[_0x3eb970(0x15d)](_0x39870a){const _0x10dfb8=_0x3eb970,_0x18f1cd=this[_0x10dfb8(0x173)][_0x10dfb8(0x166)](r[_0x10dfb8(0x168)]);if(!_0x18f1cd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18f1cd['importDOCXToSnapshot'](_0x39870a);}async['exportDOCXBySnapshotAsync'](_0x3f9bd2){const _0x2828f5=_0x3eb970,_0x2b85c2=this[_0x2828f5(0x173)]['get'](r[_0x2828f5(0x168)]);if(!_0x2b85c2)throw new Error(_0x2828f5(0x15f));return _0x2b85c2[_0x2828f5(0x179)](_0x3f9bd2);}async[_0x3eb970(0x175)](_0x3c8b8d){const _0x950a8f=_0x3eb970,_0x3289ff=this[_0x950a8f(0x173)]['get'](r[_0x950a8f(0x168)]);if(!_0x3289ff)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3289ff[_0x950a8f(0x174)](_0x3c8b8d);}}o[_0x3eb970(0x160)][_0x3eb970(0x177)](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);