@univerjs-pro/exchange-client 0.9.2-nightly.202507111607 → 0.9.2-nightly.202507121606

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 _0x4f7332=_0x1fa9;(function(_0x27d0db,_0x444bce){const _0x13a2d3=_0x1fa9,_0x383214=_0x27d0db();while(!![]){try{const _0x4a33ea=-parseInt(_0x13a2d3(0x16f))/0x1+-parseInt(_0x13a2d3(0x187))/0x2*(-parseInt(_0x13a2d3(0x166))/0x3)+parseInt(_0x13a2d3(0x176))/0x4+-parseInt(_0x13a2d3(0x168))/0x5*(parseInt(_0x13a2d3(0x173))/0x6)+-parseInt(_0x13a2d3(0x175))/0x7*(-parseInt(_0x13a2d3(0x178))/0x8)+parseInt(_0x13a2d3(0x16c))/0x9*(-parseInt(_0x13a2d3(0x17c))/0xa)+parseInt(_0x13a2d3(0x16a))/0xb;if(_0x4a33ea===_0x444bce)break;else _0x383214['push'](_0x383214['shift']());}catch(_0x790f4a){_0x383214['push'](_0x383214['shift']());}}}(_0x169a,0x1a6bc));function _0x169a(){const _0x32aaed=['The\x20exchange\x20service\x20is\x20not\x20available','25348JLrahd','UNIVER_PROJECT','UNIVER_SHEET','exportXLSXByUnitId','12RvOjNN','importDOCXToUnitId','65HMVlfk','exportDOCXByUnitId','2451328YJgrct','importXLSXToSnapshotAsync','1632087ktQviV','extend','FUniver','105023rcrADC','UNIVER_DOC','UNIVER_SLIDE','importDOCXToSnapshotAsync','600FNCIhq','_injector','285418TgFrPA','163176pYLbaW','exportXLSXBySnapshot','16QNxsNE','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','importDOCXToSnapshot','10LiKgmQ','exportDOCXBySnapshot','importXLSXToSnapshot','get','exportDOCXBySnapshotAsync','IExchangeService','UNIVER_UNKNOWN','UNRECOGNIZED','importXLSXToUnitId','exportXLSXBySnapshotAsync'];_0x169a=function(){return _0x32aaed;};return _0x169a();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x1fa9(_0x35b51f,_0x36fedf){const _0x169a3e=_0x169a();return _0x1fa9=function(_0x1fa977,_0x5df5c7){_0x1fa977=_0x1fa977-0x165;let _0xe069ec=_0x169a3e[_0x1fa977];return _0xe069ec;},_0x1fa9(_0x35b51f,_0x36fedf);}var i=(_0x19482a=>(_0x19482a[_0x19482a[_0x4f7332(0x182)]=0x0]=_0x4f7332(0x182),_0x19482a[_0x19482a[_0x4f7332(0x170)]=0x1]='UNIVER_DOC',_0x19482a[_0x19482a[_0x4f7332(0x189)]=0x2]=_0x4f7332(0x189),_0x19482a[_0x19482a['UNIVER_SLIDE']=0x3]=_0x4f7332(0x171),_0x19482a[_0x19482a['UNIVER_PROJECT']=0x4]=_0x4f7332(0x188),_0x19482a[_0x19482a[_0x4f7332(0x183)]=-0x1]='UNRECOGNIZED',_0x19482a))(i||{});class c extends o['FUniver']{async[_0x4f7332(0x184)](_0x44b4fa){return this['importXLSXToUnitIdAsync'](_0x44b4fa);}async['importXLSXToUnitIdAsync'](_0x12a7b7){const _0x2e87f5=_0x4f7332,_0x58d0b1=this[_0x2e87f5(0x174)]['get'](r[_0x2e87f5(0x181)]);if(!_0x58d0b1)throw new Error(_0x2e87f5(0x186));return _0x58d0b1['importFileToUnitId'](_0x12a7b7,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x26b4cd){const _0x1f9e4c=_0x4f7332;return this[_0x1f9e4c(0x16b)](_0x26b4cd);}async[_0x4f7332(0x16b)](_0x134507){const _0xc24a8a=_0x4f7332,_0x5061d9=this[_0xc24a8a(0x174)][_0xc24a8a(0x17f)](r[_0xc24a8a(0x181)]);if(!_0x5061d9)throw new Error(_0xc24a8a(0x186));return _0x5061d9[_0xc24a8a(0x17e)](_0x134507);}async[_0x4f7332(0x165)](_0x43e30e){return this['exportXLSXByUnitIdAsync'](_0x43e30e);}async[_0x4f7332(0x17a)](_0x51a9f3){const _0x452c9e=_0x4f7332,_0x2299e3=this[_0x452c9e(0x174)]['get'](r[_0x452c9e(0x181)]);if(!_0x2299e3)throw new Error(_0x452c9e(0x186));return _0x2299e3['exportXLSXByUnitId'](_0x51a9f3);}async[_0x4f7332(0x177)](_0x33289a){const _0x4f4749=_0x4f7332;return this[_0x4f4749(0x185)](_0x33289a);}async[_0x4f7332(0x185)](_0x50ff92){const _0x54554a=_0x4f7332,_0x580c1d=this[_0x54554a(0x174)]['get'](r[_0x54554a(0x181)]);if(!_0x580c1d)throw new Error(_0x54554a(0x186));return _0x580c1d[_0x54554a(0x177)](_0x50ff92);}async[_0x4f7332(0x167)](_0x54e2e4){const _0x86a058=_0x4f7332;return this[_0x86a058(0x179)](_0x54e2e4);}async[_0x4f7332(0x179)](_0x42586b){const _0x55f70a=_0x4f7332,_0x2a33c5=this['_injector'][_0x55f70a(0x17f)](r[_0x55f70a(0x181)]);if(!_0x2a33c5)throw new Error(_0x55f70a(0x186));return _0x2a33c5['importFileToUnitId'](_0x42586b,i[_0x55f70a(0x170)]);}async['importDOCXToSnapshot'](_0x38e1a5){const _0x24cb3e=_0x4f7332;return this[_0x24cb3e(0x172)](_0x38e1a5);}async[_0x4f7332(0x172)](_0x14bec2){const _0x2a7f5f=_0x4f7332,_0x43eb2c=this[_0x2a7f5f(0x174)][_0x2a7f5f(0x17f)](r[_0x2a7f5f(0x181)]);if(!_0x43eb2c)throw new Error(_0x2a7f5f(0x186));return _0x43eb2c[_0x2a7f5f(0x17b)](_0x14bec2);}async[_0x4f7332(0x180)](_0x5c7325){const _0x38cc9d=_0x4f7332,_0x12c8cf=this['_injector']['get'](r['IExchangeService']);if(!_0x12c8cf)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x12c8cf[_0x38cc9d(0x17d)](_0x5c7325);}async['exportDOCXByUnitIdAsync'](_0x329e11){const _0x38b2ae=_0x4f7332,_0x300ede=this[_0x38b2ae(0x174)][_0x38b2ae(0x17f)](r[_0x38b2ae(0x181)]);if(!_0x300ede)throw new Error(_0x38b2ae(0x186));return _0x300ede[_0x38b2ae(0x169)](_0x329e11);}}o[_0x4f7332(0x16e)][_0x4f7332(0x16d)](c);
1
+ 'use strict';const _0x13a090=_0xbb64;function _0xbde1(){const _0x2e8bbe=['exportDOCXByUnitIdAsync','exportXLSXByUnitIdAsync','UNIVER_DOC','IExchangeService','importFileToUnitId','2618959dPOzdY','exportDOCXBySnapshot','importDOCXToUnitId','6BEZRAB','get','extend','exportDOCXByUnitId','importXLSXToSnapshot','importXLSXToSnapshotAsync','264129mhJzbX','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','UNIVER_SLIDE','1403216hxzXTk','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','UNIVER_SHEET','_injector','importDOCXToSnapshotAsync','UNIVER_PROJECT','3128364WLWxsU','UNRECOGNIZED','importXLSXToUnitId','importXLSXToUnitIdAsync','exportDOCXBySnapshotAsync','2822692qEEduM','1539210fulZSq','32IdoLOy','importDOCXToSnapshot','8436990HBUcGe','FUniver'];_0xbde1=function(){return _0x2e8bbe;};return _0xbde1();}(function(_0xa813d8,_0x3a6940){const _0x3aca83=_0xbb64,_0x251435=_0xa813d8();while(!![]){try{const _0x22f8c5=parseInt(_0x3aca83(0x1c4))/0x1+parseInt(_0x3aca83(0x1ba))/0x2*(parseInt(_0x3aca83(0x1c0))/0x3)+-parseInt(_0x3aca83(0x1ac))/0x4+-parseInt(_0x3aca83(0x1b0))/0x5+-parseInt(_0x3aca83(0x1ad))/0x6+parseInt(_0x3aca83(0x1b7))/0x7*(parseInt(_0x3aca83(0x1ae))/0x8)+parseInt(_0x3aca83(0x1cc))/0x9;if(_0x22f8c5===_0x3a6940)break;else _0x251435['push'](_0x251435['shift']());}catch(_0x24db2){_0x251435['push'](_0x251435['shift']());}}}(_0xbde1,0xd26bb));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x224524=>(_0x224524[_0x224524[_0x13a090(0x1c7)]=0x0]=_0x13a090(0x1c7),_0x224524[_0x224524[_0x13a090(0x1b4)]=0x1]=_0x13a090(0x1b4),_0x224524[_0x224524['UNIVER_SHEET']=0x2]=_0x13a090(0x1c8),_0x224524[_0x224524[_0x13a090(0x1c3)]=0x3]=_0x13a090(0x1c3),_0x224524[_0x224524['UNIVER_PROJECT']=0x4]=_0x13a090(0x1cb),_0x224524[_0x224524[_0x13a090(0x1cd)]=-0x1]=_0x13a090(0x1cd),_0x224524))(i||{});class c extends o[_0x13a090(0x1b1)]{async[_0x13a090(0x1ce)](_0x2682ea){const _0x5379c7=_0x13a090;return this[_0x5379c7(0x1cf)](_0x2682ea);}async[_0x13a090(0x1cf)](_0x421554){const _0x2edfb4=_0x13a090,_0x21dc35=this['_injector'][_0x2edfb4(0x1bb)](r[_0x2edfb4(0x1b5)]);if(!_0x21dc35)throw new Error(_0x2edfb4(0x1c6));return _0x21dc35[_0x2edfb4(0x1b6)](_0x421554,i[_0x2edfb4(0x1c8)]);}async[_0x13a090(0x1be)](_0x531882){const _0x28fee3=_0x13a090;return this[_0x28fee3(0x1bf)](_0x531882);}async[_0x13a090(0x1bf)](_0x4cd29a){const _0x3753b9=_0x13a090,_0x469345=this['_injector'][_0x3753b9(0x1bb)](r[_0x3753b9(0x1b5)]);if(!_0x469345)throw new Error(_0x3753b9(0x1c6));return _0x469345[_0x3753b9(0x1be)](_0x4cd29a);}async[_0x13a090(0x1c5)](_0x17bc82){const _0x2e81c7=_0x13a090;return this[_0x2e81c7(0x1b3)](_0x17bc82);}async[_0x13a090(0x1b3)](_0x311115){const _0x175c8e=_0x13a090,_0x3d0cb2=this[_0x175c8e(0x1c9)]['get'](r['IExchangeService']);if(!_0x3d0cb2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d0cb2[_0x175c8e(0x1c5)](_0x311115);}async[_0x13a090(0x1c2)](_0x4a01d4){const _0x5b1d93=_0x13a090;return this[_0x5b1d93(0x1c1)](_0x4a01d4);}async['exportXLSXBySnapshotAsync'](_0x271daa){const _0x52d62e=_0x13a090,_0x45c38f=this[_0x52d62e(0x1c9)]['get'](r[_0x52d62e(0x1b5)]);if(!_0x45c38f)throw new Error(_0x52d62e(0x1c6));return _0x45c38f[_0x52d62e(0x1c2)](_0x271daa);}async[_0x13a090(0x1b9)](_0x5649bf){return this['importDOCXToUnitIdAsync'](_0x5649bf);}async['importDOCXToUnitIdAsync'](_0xc92e05){const _0x363e0c=_0x13a090,_0x1172eb=this[_0x363e0c(0x1c9)]['get'](r[_0x363e0c(0x1b5)]);if(!_0x1172eb)throw new Error(_0x363e0c(0x1c6));return _0x1172eb[_0x363e0c(0x1b6)](_0xc92e05,i[_0x363e0c(0x1b4)]);}async[_0x13a090(0x1af)](_0x376ce5){const _0x12fe0d=_0x13a090;return this[_0x12fe0d(0x1ca)](_0x376ce5);}async[_0x13a090(0x1ca)](_0x5ba933){const _0x3328ec=_0x13a090,_0x53e1f9=this[_0x3328ec(0x1c9)]['get'](r['IExchangeService']);if(!_0x53e1f9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x53e1f9[_0x3328ec(0x1af)](_0x5ba933);}async[_0x13a090(0x1d0)](_0x93fadc){const _0x30b208=_0x13a090,_0x39d3e6=this['_injector'][_0x30b208(0x1bb)](r[_0x30b208(0x1b5)]);if(!_0x39d3e6)throw new Error(_0x30b208(0x1c6));return _0x39d3e6[_0x30b208(0x1b8)](_0x93fadc);}async[_0x13a090(0x1b2)](_0x457bd3){const _0x66d456=_0x13a090,_0x36d99e=this[_0x66d456(0x1c9)][_0x66d456(0x1bb)](r[_0x66d456(0x1b5)]);if(!_0x36d99e)throw new Error(_0x66d456(0x1c6));return _0x36d99e[_0x66d456(0x1bd)](_0x457bd3);}}function _0xbb64(_0x234afb,_0x201f02){const _0xbde16e=_0xbde1();return _0xbb64=function(_0xbb64a4,_0x58c473){_0xbb64a4=_0xbb64a4-0x1ac;let _0x4c1ed8=_0xbde16e[_0xbb64a4];return _0x4c1ed8;},_0xbb64(_0x234afb,_0x201f02);}o[_0x13a090(0x1b1)][_0x13a090(0x1bc)](c);