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

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 _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);
1
+ 'use strict';const _0x5eb04b=_0x2d7f;function _0x2d7f(_0x764cfa,_0x4d9661){const _0x43292e=_0x4329();return _0x2d7f=function(_0x2d7f0d,_0x3a66d2){_0x2d7f0d=_0x2d7f0d-0xc4;let _0x4b4122=_0x43292e[_0x2d7f0d];return _0x4b4122;},_0x2d7f(_0x764cfa,_0x4d9661);}(function(_0x64c2a9,_0x1bbd13){const _0x180789=_0x2d7f,_0x10f6b4=_0x64c2a9();while(!![]){try{const _0x5dca71=parseInt(_0x180789(0xe0))/0x1+-parseInt(_0x180789(0xd1))/0x2+-parseInt(_0x180789(0xc6))/0x3*(-parseInt(_0x180789(0xe5))/0x4)+parseInt(_0x180789(0xc9))/0x5+-parseInt(_0x180789(0xdc))/0x6+parseInt(_0x180789(0xc7))/0x7*(parseInt(_0x180789(0xe3))/0x8)+parseInt(_0x180789(0xe2))/0x9;if(_0x5dca71===_0x1bbd13)break;else _0x10f6b4['push'](_0x10f6b4['shift']());}catch(_0x5f3118){_0x10f6b4['push'](_0x10f6b4['shift']());}}}(_0x4329,0x58e0e));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x586d07=>(_0x586d07[_0x586d07['UNIVER_UNKNOWN']=0x0]=_0x5eb04b(0xc5),_0x586d07[_0x586d07[_0x5eb04b(0xcd)]=0x1]=_0x5eb04b(0xcd),_0x586d07[_0x586d07[_0x5eb04b(0xe4)]=0x2]='UNIVER_SHEET',_0x586d07[_0x586d07[_0x5eb04b(0xd5)]=0x3]=_0x5eb04b(0xd5),_0x586d07[_0x586d07[_0x5eb04b(0xdb)]=0x4]=_0x5eb04b(0xdb),_0x586d07[_0x586d07[_0x5eb04b(0xd0)]=-0x1]='UNRECOGNIZED',_0x586d07))(i||{});function _0x4329(){const _0x3a305c=['UNRECOGNIZED','1367266dhaUNV','IExchangeService','importXLSXToSnapshot','importDOCXToSnapshotAsync','UNIVER_SLIDE','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','importDOCXToSnapshot','importDOCXToUnitIdAsync','exportXLSXBySnapshot','UNIVER_PROJECT','1055688aEbFib','exportXLSXByUnitIdAsync','exportDOCXBySnapshot','exportDOCXByUnitIdAsync','135645yNKCkr','exportXLSXByUnitId','3780945DZzIBK','8BrTKZy','UNIVER_SHEET','204PcKXbh','exportXLSXBySnapshotAsync','extend','_injector','UNIVER_UNKNOWN','6891ZhVKcg','443457bmZAzi','get','2436895LhKepz','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','UNIVER_DOC','exportDOCXByUnitId','FUniver'];_0x4329=function(){return _0x3a305c;};return _0x4329();}class c extends o[_0x5eb04b(0xcf)]{async[_0x5eb04b(0xcc)](_0x486a7d){const _0x550131=_0x5eb04b;return this[_0x550131(0xd7)](_0x486a7d);}async[_0x5eb04b(0xd7)](_0x29d4f6){const _0xa4c8de=_0x5eb04b,_0x5142b5=this['_injector']['get'](r[_0xa4c8de(0xd2)]);if(!_0x5142b5)throw new Error(_0xa4c8de(0xcb));return _0x5142b5[_0xa4c8de(0xca)](_0x29d4f6,i[_0xa4c8de(0xe4)]);}async[_0x5eb04b(0xd3)](_0x463c35){const _0x2bfabd=_0x5eb04b;return this[_0x2bfabd(0xd6)](_0x463c35);}async['importXLSXToSnapshotAsync'](_0x2c37ae){const _0x4795f9=_0x5eb04b,_0x191a99=this['_injector']['get'](r[_0x4795f9(0xd2)]);if(!_0x191a99)throw new Error(_0x4795f9(0xcb));return _0x191a99['importXLSXToSnapshot'](_0x2c37ae);}async[_0x5eb04b(0xe1)](_0x770d23){const _0xde2a7c=_0x5eb04b;return this[_0xde2a7c(0xdd)](_0x770d23);}async['exportXLSXByUnitIdAsync'](_0x3f28be){const _0x349265=_0x5eb04b,_0x5a842f=this[_0x349265(0xc4)]['get'](r[_0x349265(0xd2)]);if(!_0x5a842f)throw new Error(_0x349265(0xcb));return _0x5a842f['exportXLSXByUnitId'](_0x3f28be);}async[_0x5eb04b(0xda)](_0x50f2e9){const _0xff81e5=_0x5eb04b;return this[_0xff81e5(0xe6)](_0x50f2e9);}async[_0x5eb04b(0xe6)](_0x51e430){const _0x1cc270=_0x5eb04b,_0x26de2f=this[_0x1cc270(0xc4)][_0x1cc270(0xc8)](r[_0x1cc270(0xd2)]);if(!_0x26de2f)throw new Error(_0x1cc270(0xcb));return _0x26de2f[_0x1cc270(0xda)](_0x51e430);}async['importDOCXToUnitId'](_0x10b25c){const _0x30a80e=_0x5eb04b;return this[_0x30a80e(0xd9)](_0x10b25c);}async[_0x5eb04b(0xd9)](_0x2692c2){const _0x493a9a=_0x5eb04b,_0x42d0f6=this[_0x493a9a(0xc4)][_0x493a9a(0xc8)](r[_0x493a9a(0xd2)]);if(!_0x42d0f6)throw new Error(_0x493a9a(0xcb));return _0x42d0f6[_0x493a9a(0xca)](_0x2692c2,i[_0x493a9a(0xcd)]);}async[_0x5eb04b(0xd8)](_0x2d7efe){return this['importDOCXToSnapshotAsync'](_0x2d7efe);}async[_0x5eb04b(0xd4)](_0x459c2b){const _0x25e844=_0x5eb04b,_0x4dca00=this[_0x25e844(0xc4)]['get'](r[_0x25e844(0xd2)]);if(!_0x4dca00)throw new Error(_0x25e844(0xcb));return _0x4dca00[_0x25e844(0xd8)](_0x459c2b);}async['exportDOCXBySnapshotAsync'](_0x195e25){const _0x270444=_0x5eb04b,_0x4e5f99=this[_0x270444(0xc4)][_0x270444(0xc8)](r[_0x270444(0xd2)]);if(!_0x4e5f99)throw new Error(_0x270444(0xcb));return _0x4e5f99[_0x270444(0xde)](_0x195e25);}async[_0x5eb04b(0xdf)](_0x40a14d){const _0x5a65a4=_0x5eb04b,_0x184f0f=this[_0x5a65a4(0xc4)][_0x5a65a4(0xc8)](r[_0x5a65a4(0xd2)]);if(!_0x184f0f)throw new Error(_0x5a65a4(0xcb));return _0x184f0f[_0x5a65a4(0xce)](_0x40a14d);}}o[_0x5eb04b(0xcf)][_0x5eb04b(0xe7)](c);