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

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 _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);
1
+ 'use strict';const _0xb35617=_0x1571;function _0x56b7(){const _0x4f0c8e=['1530768ezskBi','3HTdWvk','1777581WFKvLz','importXLSXToSnapshot','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','2559564DcxXqy','123546MfIWre','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','importDOCXToSnapshot','UNRECOGNIZED','321325TuqGeq','importXLSXToUnitId','UNIVER_PROJECT','exportDOCXByUnitIdAsync','exportDOCXBySnapshotAsync','exportDOCXByUnitId','649722PbUJHf','get','_injector','UNIVER_UNKNOWN','importFileToUnitId','IExchangeService','FUniver','importDOCXToUnitIdAsync','356422FMKTDm','exportXLSXByUnitId','40sGaJqj','importDOCXToUnitId','exportXLSXByUnitIdAsync','extend'];_0x56b7=function(){return _0x4f0c8e;};return _0x56b7();}(function(_0x50e263,_0x29525f){const _0x2b68b2=_0x1571,_0x36a07f=_0x50e263();while(!![]){try{const _0x5b6b64=-parseInt(_0x2b68b2(0x167))/0x1+parseInt(_0x2b68b2(0x15f))/0x2+parseInt(_0x2b68b2(0x16e))/0x3*(-parseInt(_0x2b68b2(0x16d))/0x4)+parseInt(_0x2b68b2(0x159))/0x5+-parseInt(_0x2b68b2(0x153))/0x6+-parseInt(_0x2b68b2(0x152))/0x7+parseInt(_0x2b68b2(0x169))/0x8*(parseInt(_0x2b68b2(0x16f))/0x9);if(_0x5b6b64===_0x29525f)break;else _0x36a07f['push'](_0x36a07f['shift']());}catch(_0x571ebd){_0x36a07f['push'](_0x36a07f['shift']());}}}(_0x56b7,0x3d5b2));function _0x1571(_0x27d675,_0x3480b4){const _0x56b7b9=_0x56b7();return _0x1571=function(_0x1571f3,_0x1cbacd){_0x1571f3=_0x1571f3-0x151;let _0x38852b=_0x56b7b9[_0x1571f3];return _0x38852b;},_0x1571(_0x27d675,_0x3480b4);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x213bb1=>(_0x213bb1[_0x213bb1[_0xb35617(0x162)]=0x0]=_0xb35617(0x162),_0x213bb1[_0x213bb1[_0xb35617(0x171)]=0x1]=_0xb35617(0x171),_0x213bb1[_0x213bb1[_0xb35617(0x151)]=0x2]=_0xb35617(0x151),_0x213bb1[_0x213bb1['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x213bb1[_0x213bb1[_0xb35617(0x15b)]=0x4]='UNIVER_PROJECT',_0x213bb1[_0x213bb1[_0xb35617(0x158)]=-0x1]=_0xb35617(0x158),_0x213bb1))(i||{});class c extends o['FUniver']{async[_0xb35617(0x15a)](_0x5a5d68){const _0x1f3f32=_0xb35617;return this[_0x1f3f32(0x154)](_0x5a5d68);}async[_0xb35617(0x154)](_0x2d910c){const _0x2059c0=_0xb35617,_0x283cbe=this[_0x2059c0(0x161)][_0x2059c0(0x160)](r[_0x2059c0(0x164)]);if(!_0x283cbe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x283cbe[_0x2059c0(0x163)](_0x2d910c,i[_0x2059c0(0x151)]);}async[_0xb35617(0x170)](_0x4da0fe){return this['importXLSXToSnapshotAsync'](_0x4da0fe);}async[_0xb35617(0x156)](_0x542202){const _0x1944c=_0xb35617,_0x51dff6=this['_injector'][_0x1944c(0x160)](r[_0x1944c(0x164)]);if(!_0x51dff6)throw new Error(_0x1944c(0x172));return _0x51dff6['importXLSXToSnapshot'](_0x542202);}async[_0xb35617(0x168)](_0x2c1b9b){const _0x5b2ffd=_0xb35617;return this[_0x5b2ffd(0x16b)](_0x2c1b9b);}async[_0xb35617(0x16b)](_0x498bfa){const _0x1a087b=_0xb35617,_0x1aa0ef=this[_0x1a087b(0x161)]['get'](r['IExchangeService']);if(!_0x1aa0ef)throw new Error(_0x1a087b(0x172));return _0x1aa0ef['exportXLSXByUnitId'](_0x498bfa);}async['exportXLSXBySnapshot'](_0x518fc1){return this['exportXLSXBySnapshotAsync'](_0x518fc1);}async['exportXLSXBySnapshotAsync'](_0x5b312c){const _0x713fc9=_0xb35617,_0x2f254e=this[_0x713fc9(0x161)]['get'](r[_0x713fc9(0x164)]);if(!_0x2f254e)throw new Error(_0x713fc9(0x172));return _0x2f254e['exportXLSXBySnapshot'](_0x5b312c);}async[_0xb35617(0x16a)](_0x51fd30){const _0x9f3190=_0xb35617;return this[_0x9f3190(0x166)](_0x51fd30);}async['importDOCXToUnitIdAsync'](_0x16be5a){const _0x3125e1=_0xb35617,_0x375cfb=this['_injector'][_0x3125e1(0x160)](r[_0x3125e1(0x164)]);if(!_0x375cfb)throw new Error(_0x3125e1(0x172));return _0x375cfb[_0x3125e1(0x163)](_0x16be5a,i['UNIVER_DOC']);}async[_0xb35617(0x157)](_0x5cb7a6){const _0x3d2326=_0xb35617;return this[_0x3d2326(0x155)](_0x5cb7a6);}async[_0xb35617(0x155)](_0x30d875){const _0x12c449=_0xb35617,_0x25e1bb=this[_0x12c449(0x161)][_0x12c449(0x160)](r[_0x12c449(0x164)]);if(!_0x25e1bb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25e1bb[_0x12c449(0x157)](_0x30d875);}async[_0xb35617(0x15d)](_0x3e3a69){const _0x4b1f45=_0xb35617,_0x5c9a14=this['_injector'][_0x4b1f45(0x160)](r[_0x4b1f45(0x164)]);if(!_0x5c9a14)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5c9a14['exportDOCXBySnapshot'](_0x3e3a69);}async[_0xb35617(0x15c)](_0x73d25c){const _0x21a245=_0xb35617,_0x5a737b=this['_injector'][_0x21a245(0x160)](r['IExchangeService']);if(!_0x5a737b)throw new Error(_0x21a245(0x172));return _0x5a737b[_0x21a245(0x15e)](_0x73d25c);}}o[_0xb35617(0x165)][_0xb35617(0x16c)](c);