@univerjs-pro/exchange-client 0.8.2-nightly.202506211606 → 0.8.2-nightly.202506231607

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 _0x10a21e=_0x5999;(function(_0x5602c1,_0x1bd37d){const _0x45ae36=_0x5999,_0x2cafd6=_0x5602c1();while(!![]){try{const _0x405412=-parseInt(_0x45ae36(0x10f))/0x1+parseInt(_0x45ae36(0x101))/0x2*(parseInt(_0x45ae36(0xf0))/0x3)+parseInt(_0x45ae36(0xf1))/0x4+-parseInt(_0x45ae36(0x109))/0x5*(parseInt(_0x45ae36(0x107))/0x6)+parseInt(_0x45ae36(0xef))/0x7+parseInt(_0x45ae36(0x105))/0x8+parseInt(_0x45ae36(0x106))/0x9;if(_0x405412===_0x1bd37d)break;else _0x2cafd6['push'](_0x2cafd6['shift']());}catch(_0x1584e0){_0x2cafd6['push'](_0x2cafd6['shift']());}}}(_0xfbc3,0x357aa));function _0x5999(_0x5e262e,_0x3509ef){const _0xfbc391=_0xfbc3();return _0x5999=function(_0x5999f8,_0x144488){_0x5999f8=_0x5999f8-0xee;let _0x15a6d4=_0xfbc391[_0x5999f8];return _0x15a6d4;},_0x5999(_0x5e262e,_0x3509ef);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x10a21e(0xfc));var i=(_0x443d7b=>(_0x443d7b[_0x443d7b[_0x10a21e(0x103)]=0x0]=_0x10a21e(0x103),_0x443d7b[_0x443d7b['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x443d7b[_0x443d7b['UNIVER_SHEET']=0x2]=_0x10a21e(0x110),_0x443d7b[_0x443d7b[_0x10a21e(0x112)]=0x3]='UNIVER_SLIDE',_0x443d7b[_0x443d7b[_0x10a21e(0xfa)]=0x4]=_0x10a21e(0xfa),_0x443d7b[_0x443d7b['UNRECOGNIZED']=-0x1]=_0x10a21e(0xf8),_0x443d7b))(i||{});class c extends o[_0x10a21e(0x102)]{async[_0x10a21e(0xfd)](_0x3ce1d3){const _0x2fd637=_0x10a21e;return this[_0x2fd637(0x10b)](_0x3ce1d3);}async[_0x10a21e(0x10b)](_0x5095f4){const _0x40d711=_0x10a21e,_0x25d13f=this[_0x40d711(0x113)][_0x40d711(0xf4)](r[_0x40d711(0xfb)]);if(!_0x25d13f)throw new Error(_0x40d711(0x111));return _0x25d13f[_0x40d711(0x10a)](_0x5095f4,i[_0x40d711(0x110)]);}async['importXLSXToSnapshot'](_0x1f3557){const _0x3dcc90=_0x10a21e;return this[_0x3dcc90(0xf2)](_0x1f3557);}async[_0x10a21e(0xf2)](_0x2c064a){const _0x1fedae=_0x10a21e,_0x7b922c=this['_injector']['get'](r[_0x1fedae(0xfb)]);if(!_0x7b922c)throw new Error(_0x1fedae(0x111));return _0x7b922c[_0x1fedae(0x100)](_0x2c064a);}async[_0x10a21e(0xf9)](_0x1ea3d3){const _0xcb4602=_0x10a21e;return this[_0xcb4602(0xfe)](_0x1ea3d3);}async[_0x10a21e(0xfe)](_0x3d3614){const _0x2fee54=_0x10a21e,_0x5a5229=this['_injector']['get'](r[_0x2fee54(0xfb)]);if(!_0x5a5229)throw new Error(_0x2fee54(0x111));return _0x5a5229[_0x2fee54(0xf9)](_0x3d3614);}async['exportXLSXBySnapshot'](_0x2c4709){return this['exportXLSXBySnapshotAsync'](_0x2c4709);}async[_0x10a21e(0x108)](_0x559cf3){const _0x41e185=_0x10a21e,_0x3ca8d0=this['_injector'][_0x41e185(0xf4)](r['IExchangeService']);if(!_0x3ca8d0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ca8d0[_0x41e185(0xf6)](_0x559cf3);}async[_0x10a21e(0x10e)](_0x458ed0){const _0x2a3025=_0x10a21e;return this[_0x2a3025(0x104)](_0x458ed0);}async[_0x10a21e(0x104)](_0x43384e){const _0x3a3d1d=_0x10a21e,_0xb5f8f4=this[_0x3a3d1d(0x113)]['get'](r[_0x3a3d1d(0xfb)]);if(!_0xb5f8f4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xb5f8f4[_0x3a3d1d(0x10a)](_0x43384e,i[_0x3a3d1d(0x10c)]);}async[_0x10a21e(0xf3)](_0x1aeb5a){const _0x329aa3=_0x10a21e;return this[_0x329aa3(0xee)](_0x1aeb5a);}async[_0x10a21e(0xee)](_0x277b39){const _0x2d9e3d=_0x10a21e,_0x229de1=this[_0x2d9e3d(0x113)]['get'](r[_0x2d9e3d(0xfb)]);if(!_0x229de1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x229de1[_0x2d9e3d(0xf3)](_0x277b39);}async['exportDOCXBySnapshotAsync'](_0x153155){const _0x2c19a8=_0x10a21e,_0x103572=this[_0x2c19a8(0x113)][_0x2c19a8(0xf4)](r['IExchangeService']);if(!_0x103572)throw new Error(_0x2c19a8(0x111));return _0x103572[_0x2c19a8(0x10d)](_0x153155);}async[_0x10a21e(0xf7)](_0x1cfa1a){const _0x1620f1=_0x10a21e,_0x527448=this[_0x1620f1(0x113)][_0x1620f1(0xf4)](r[_0x1620f1(0xfb)]);if(!_0x527448)throw new Error(_0x1620f1(0x111));return _0x527448[_0x1620f1(0xf5)](_0x1cfa1a);}}o[_0x10a21e(0x102)][_0x10a21e(0xff)](c);function _0xfbc3(){const _0x107c51=['UNIVER_PROJECT','IExchangeService','@univerjs/core/facade','importXLSXToUnitId','exportXLSXByUnitIdAsync','extend','importXLSXToSnapshot','46tgHzbe','FUniver','UNIVER_UNKNOWN','importDOCXToUnitIdAsync','19056TKsrLZ','2229633fVQiuo','6WRrGxH','exportXLSXBySnapshotAsync','680590OTYrmG','importFileToUnitId','importXLSXToUnitIdAsync','UNIVER_DOC','exportDOCXBySnapshot','importDOCXToUnitId','403257echXjm','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','_injector','importDOCXToSnapshotAsync','1414973vSSqcW','8823IPXcLQ','954096KEzHhs','importXLSXToSnapshotAsync','importDOCXToSnapshot','get','exportDOCXByUnitId','exportXLSXBySnapshot','exportDOCXByUnitIdAsync','UNRECOGNIZED','exportXLSXByUnitId'];_0xfbc3=function(){return _0x107c51;};return _0xfbc3();}
1
+ 'use strict';const _0x171272=_0x396d;(function(_0x3bb949,_0x13cbe0){const _0x56b46b=_0x396d,_0x45f6e0=_0x3bb949();while(!![]){try{const _0x245657=parseInt(_0x56b46b(0x1e9))/0x1*(parseInt(_0x56b46b(0x20f))/0x2)+parseInt(_0x56b46b(0x1f1))/0x3*(-parseInt(_0x56b46b(0x20e))/0x4)+-parseInt(_0x56b46b(0x1f8))/0x5*(-parseInt(_0x56b46b(0x1f7))/0x6)+parseInt(_0x56b46b(0x1fb))/0x7+parseInt(_0x56b46b(0x205))/0x8+parseInt(_0x56b46b(0x20d))/0x9*(parseInt(_0x56b46b(0x206))/0xa)+-parseInt(_0x56b46b(0x1f5))/0xb;if(_0x245657===_0x13cbe0)break;else _0x45f6e0['push'](_0x45f6e0['shift']());}catch(_0x3a3304){_0x45f6e0['push'](_0x45f6e0['shift']());}}}(_0x1bf3,0xb935c));function _0x396d(_0x3cefa5,_0x5d1eb7){const _0x1bf381=_0x1bf3();return _0x396d=function(_0x396d0e,_0x589114){_0x396d0e=_0x396d0e-0x1e9;let _0x28d16e=_0x1bf381[_0x396d0e];return _0x28d16e;},_0x396d(_0x3cefa5,_0x5d1eb7);}const r=require(_0x171272(0x203)),o=require(_0x171272(0x1f9));function _0x1bf3(){const _0x56900b=['importDOCXToSnapshot','1156617cBFnax','exportDOCXByUnitId','UNIVER_DOC','UNRECOGNIZED','_injector','exportXLSXByUnitIdAsync','exportDOCXBySnapshotAsync','importXLSXToSnapshot','@univerjs-pro/exchange-client','importFileToUnitId','1192864KVRgHx','10cTDpNs','FUniver','exportXLSXByUnitId','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_SHEET','exportDOCXByUnitIdAsync','2209869HSFBRm','60rEFWyM','4JqIUTI','722318lxixcS','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','importDOCXToUnitId','exportXLSXBySnapshot','IExchangeService','get','importXLSXToSnapshotAsync','275817ldJxWX','extend','importXLSXToUnitId','exportXLSXBySnapshotAsync','9898669AuIhzD','importXLSXToUnitIdAsync','81558KPVdUX','380UYSjuq','@univerjs/core/facade'];_0x1bf3=function(){return _0x56900b;};return _0x1bf3();}var i=(_0x921897=>(_0x921897[_0x921897['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x921897[_0x921897[_0x171272(0x1fd)]=0x1]=_0x171272(0x1fd),_0x921897[_0x921897[_0x171272(0x20b)]=0x2]=_0x171272(0x20b),_0x921897[_0x921897['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x921897[_0x921897['UNIVER_PROJECT']=0x4]=_0x171272(0x1eb),_0x921897[_0x921897[_0x171272(0x1fe)]=-0x1]=_0x171272(0x1fe),_0x921897))(i||{});class c extends o[_0x171272(0x207)]{async[_0x171272(0x1f3)](_0x27d510){return this['importXLSXToUnitIdAsync'](_0x27d510);}async[_0x171272(0x1f6)](_0x141f0b){const _0x287b30=_0x171272,_0x5c7c05=this[_0x287b30(0x1ff)]['get'](r[_0x287b30(0x1ee)]);if(!_0x5c7c05)throw new Error(_0x287b30(0x1ea));return _0x5c7c05[_0x287b30(0x204)](_0x141f0b,i[_0x287b30(0x20b)]);}async['importXLSXToSnapshot'](_0x206e65){const _0x56c665=_0x171272;return this[_0x56c665(0x1f0)](_0x206e65);}async[_0x171272(0x1f0)](_0x2b4153){const _0x91e5f4=_0x171272,_0xfd5bc=this[_0x91e5f4(0x1ff)]['get'](r[_0x91e5f4(0x1ee)]);if(!_0xfd5bc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xfd5bc[_0x91e5f4(0x202)](_0x2b4153);}async['exportXLSXByUnitId'](_0x287168){const _0x1f23c1=_0x171272;return this[_0x1f23c1(0x200)](_0x287168);}async[_0x171272(0x200)](_0xac4048){const _0x38ccda=_0x171272,_0x29ff6f=this[_0x38ccda(0x1ff)][_0x38ccda(0x1ef)](r[_0x38ccda(0x1ee)]);if(!_0x29ff6f)throw new Error(_0x38ccda(0x1ea));return _0x29ff6f[_0x38ccda(0x208)](_0xac4048);}async[_0x171272(0x1ed)](_0x2bead2){const _0x268b5f=_0x171272;return this[_0x268b5f(0x1f4)](_0x2bead2);}async['exportXLSXBySnapshotAsync'](_0x26ff5f){const _0x167bfc=_0x171272,_0x2bc29a=this[_0x167bfc(0x1ff)][_0x167bfc(0x1ef)](r['IExchangeService']);if(!_0x2bc29a)throw new Error(_0x167bfc(0x1ea));return _0x2bc29a['exportXLSXBySnapshot'](_0x26ff5f);}async[_0x171272(0x1ec)](_0x5024f1){return this['importDOCXToUnitIdAsync'](_0x5024f1);}async[_0x171272(0x209)](_0x1e9cfa){const _0x5f1bc9=_0x171272,_0x12117d=this[_0x5f1bc9(0x1ff)][_0x5f1bc9(0x1ef)](r[_0x5f1bc9(0x1ee)]);if(!_0x12117d)throw new Error(_0x5f1bc9(0x1ea));return _0x12117d['importFileToUnitId'](_0x1e9cfa,i[_0x5f1bc9(0x1fd)]);}async[_0x171272(0x1fa)](_0x59bdb8){const _0x3a45b3=_0x171272;return this[_0x3a45b3(0x20a)](_0x59bdb8);}async[_0x171272(0x20a)](_0x1ada68){const _0xf08261=_0x171272,_0x259ec9=this[_0xf08261(0x1ff)][_0xf08261(0x1ef)](r['IExchangeService']);if(!_0x259ec9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x259ec9[_0xf08261(0x1fa)](_0x1ada68);}async[_0x171272(0x201)](_0xcb27a6){const _0x46d31c=_0x171272,_0x31f5dc=this['_injector'][_0x46d31c(0x1ef)](r[_0x46d31c(0x1ee)]);if(!_0x31f5dc)throw new Error(_0x46d31c(0x1ea));return _0x31f5dc['exportDOCXBySnapshot'](_0xcb27a6);}async[_0x171272(0x20c)](_0x3c2ce0){const _0x1d962d=_0x171272,_0x4f90b7=this[_0x1d962d(0x1ff)][_0x1d962d(0x1ef)](r[_0x1d962d(0x1ee)]);if(!_0x4f90b7)throw new Error(_0x1d962d(0x1ea));return _0x4f90b7[_0x1d962d(0x1fc)](_0x3c2ce0);}}o[_0x171272(0x207)][_0x171272(0x1f2)](c);