@univerjs-pro/exchange-client 0.6.5-nightly.202503131607 → 0.6.6

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 _0x38c5fa=_0x471d;(function(_0x226985,_0x4ea6ff){const _0x269724=_0x471d,_0x47ee60=_0x226985();while(!![]){try{const _0x3ec79f=parseInt(_0x269724(0x127))/0x1*(parseInt(_0x269724(0x12d))/0x2)+parseInt(_0x269724(0x124))/0x3+-parseInt(_0x269724(0x11e))/0x4+parseInt(_0x269724(0x12c))/0x5+-parseInt(_0x269724(0x12a))/0x6*(parseInt(_0x269724(0x133))/0x7)+parseInt(_0x269724(0x138))/0x8+-parseInt(_0x269724(0x129))/0x9;if(_0x3ec79f===_0x4ea6ff)break;else _0x47ee60['push'](_0x47ee60['shift']());}catch(_0x3c7c70){_0x47ee60['push'](_0x47ee60['shift']());}}}(_0x5540,0x1f8ba));function _0x5540(){const _0x420e0f=['extend','importDOCXToUnitIdAsync','549015FjAXcV','UNRECOGNIZED','UNIVER_UNKNOWN','87323NbEBXm','IExchangeService','1427661ekSDUQ','12YYKdqd','@univerjs-pro/exchange-client','168660QVoUQJ','2qduZEe','UNIVER_SHEET','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importDOCXToUnitId','233023qjuKdo','importDOCXToSnapshot','importXLSXToSnapshotAsync','UNIVER_PROJECT','exportXLSXBySnapshot','834360zhFRqV','exportXLSXBySnapshotAsync','FUniver','importXLSXToUnitId','UNIVER_DOC','UNIVER_SLIDE','importFileToUnitId','get','215752DGRCbd','exportXLSXByUnitIdAsync','importXLSXToSnapshot','importXLSXToUnitIdAsync'];_0x5540=function(){return _0x420e0f;};return _0x5540();}const r=require(_0x38c5fa(0x12b)),i=require('@univerjs/core/facade');function _0x471d(_0x5b06dd,_0xea2fd1){const _0x55404f=_0x5540();return _0x471d=function(_0x471dde,_0x4013d7){_0x471dde=_0x471dde-0x117;let _0x3e07f6=_0x55404f[_0x471dde];return _0x3e07f6;},_0x471d(_0x5b06dd,_0xea2fd1);}var o=(_0x439a18=>(_0x439a18[_0x439a18[_0x38c5fa(0x126)]=0x0]=_0x38c5fa(0x126),_0x439a18[_0x439a18[_0x38c5fa(0x11a)]=0x1]=_0x38c5fa(0x11a),_0x439a18[_0x439a18['UNIVER_SHEET']=0x2]=_0x38c5fa(0x12e),_0x439a18[_0x439a18['UNIVER_SLIDE']=0x3]=_0x38c5fa(0x11b),_0x439a18[_0x439a18[_0x38c5fa(0x136)]=0x4]='UNIVER_PROJECT',_0x439a18[_0x439a18[_0x38c5fa(0x125)]=-0x1]='UNRECOGNIZED',_0x439a18))(o||{});class c extends i['FUniver']{async[_0x38c5fa(0x119)](_0x1695e7){const _0x628d06=_0x38c5fa;return this[_0x628d06(0x121)](_0x1695e7);}async[_0x38c5fa(0x121)](_0x3ed3b4){const _0x3e99cc=_0x38c5fa,_0x3caa42=this[_0x3e99cc(0x131)][_0x3e99cc(0x11d)](r[_0x3e99cc(0x128)]);if(!_0x3caa42)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3caa42['importFileToUnitId'](_0x3ed3b4,o['UNIVER_SHEET']);}async[_0x38c5fa(0x120)](_0x1df7b8){const _0x28c933=_0x38c5fa;return this[_0x28c933(0x135)](_0x1df7b8);}async[_0x38c5fa(0x135)](_0x3b86b4){const _0x772d7a=_0x38c5fa,_0x16ad2c=this[_0x772d7a(0x131)][_0x772d7a(0x11d)](r['IExchangeService']);if(!_0x16ad2c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16ad2c['importXLSXToSnapshot'](_0x3b86b4);}async[_0x38c5fa(0x12f)](_0xd8937c){const _0x404f36=_0x38c5fa;return this[_0x404f36(0x11f)](_0xd8937c);}async[_0x38c5fa(0x11f)](_0x561667){const _0x107646=_0x38c5fa,_0x1cb088=this[_0x107646(0x131)][_0x107646(0x11d)](r['IExchangeService']);if(!_0x1cb088)throw new Error(_0x107646(0x130));return _0x1cb088[_0x107646(0x12f)](_0x561667);}async[_0x38c5fa(0x137)](_0x2a67db){return this['exportXLSXBySnapshotAsync'](_0x2a67db);}async[_0x38c5fa(0x117)](_0xffd11f){const _0x2a0168=_0x38c5fa,_0x472fbc=this[_0x2a0168(0x131)][_0x2a0168(0x11d)](r[_0x2a0168(0x128)]);if(!_0x472fbc)throw new Error(_0x2a0168(0x130));return _0x472fbc[_0x2a0168(0x137)](_0xffd11f);}async[_0x38c5fa(0x132)](_0x4b5565){const _0x1a5a24=_0x38c5fa;return this[_0x1a5a24(0x123)](_0x4b5565);}async[_0x38c5fa(0x123)](_0x755cbb){const _0x5bc9b9=_0x38c5fa,_0x258067=this[_0x5bc9b9(0x131)]['get'](r[_0x5bc9b9(0x128)]);if(!_0x258067)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x258067[_0x5bc9b9(0x11c)](_0x755cbb,o['UNIVER_DOC']);}async[_0x38c5fa(0x134)](_0x1e6f78){return this['importDOCXToSnapshotAsync'](_0x1e6f78);}async['importDOCXToSnapshotAsync'](_0x37da30){const _0x5605fd=_0x38c5fa,_0xcf3331=this[_0x5605fd(0x131)][_0x5605fd(0x11d)](r[_0x5605fd(0x128)]);if(!_0xcf3331)throw new Error(_0x5605fd(0x130));return _0xcf3331[_0x5605fd(0x134)](_0x37da30);}}i[_0x38c5fa(0x118)][_0x38c5fa(0x122)](c);
1
+ 'use strict';function _0x489c(){const _0x354996=['importXLSXToUnitIdAsync','30yhiaOm','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','1254456YRsCki','_injector','UNIVER_DOC','UNIVER_SLIDE','get','UNIVER_UNKNOWN','exportXLSXBySnapshot','importXLSXToSnapshot','IExchangeService','exportXLSXBySnapshotAsync','244482pzdpft','importDOCXToSnapshotAsync','extend','5166000GkHatQ','FUniver','importFileToUnitId','166112aOCQOW','UNIVER_SHEET','importDOCXToSnapshot','UNIVER_PROJECT','463197gvebPA','649190fgtwqP','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToUnitIdAsync','725304XEssRn','@univerjs-pro/exchange-client'];_0x489c=function(){return _0x354996;};return _0x489c();}const _0x4ce34b=_0x1fb3;function _0x1fb3(_0x579db4,_0x1d9caf){const _0x489c18=_0x489c();return _0x1fb3=function(_0x1fb369,_0x3ca51e){_0x1fb369=_0x1fb369-0x1b5;let _0x3cb37b=_0x489c18[_0x1fb369];return _0x3cb37b;},_0x1fb3(_0x579db4,_0x1d9caf);}(function(_0x317f3d,_0x5580ea){const _0x5c5ec2=_0x1fb3,_0x22612a=_0x317f3d();while(!![]){try{const _0x3e7e0e=-parseInt(_0x5c5ec2(0x1c4))/0x1+-parseInt(_0x5c5ec2(0x1d3))/0x2+-parseInt(_0x5c5ec2(0x1c8))/0x3+parseInt(_0x5c5ec2(0x1c1))/0x4+parseInt(_0x5c5ec2(0x1c9))/0x5+-parseInt(_0x5c5ec2(0x1d0))/0x6*(-parseInt(_0x5c5ec2(0x1be))/0x7)+parseInt(_0x5c5ec2(0x1cd))/0x8;if(_0x3e7e0e===_0x5580ea)break;else _0x22612a['push'](_0x22612a['shift']());}catch(_0x2617dc){_0x22612a['push'](_0x22612a['shift']());}}}(_0x489c,0xb464c));const r=require(_0x4ce34b(0x1ce)),i=require('@univerjs/core/facade');var o=(_0x39fea6=>(_0x39fea6[_0x39fea6[_0x4ce34b(0x1b9)]=0x0]=_0x4ce34b(0x1b9),_0x39fea6[_0x39fea6[_0x4ce34b(0x1b6)]=0x1]=_0x4ce34b(0x1b6),_0x39fea6[_0x39fea6[_0x4ce34b(0x1c5)]=0x2]='UNIVER_SHEET',_0x39fea6[_0x39fea6[_0x4ce34b(0x1b7)]=0x3]=_0x4ce34b(0x1b7),_0x39fea6[_0x39fea6[_0x4ce34b(0x1c7)]=0x4]=_0x4ce34b(0x1c7),_0x39fea6[_0x39fea6['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x39fea6))(o||{});class c extends i[_0x4ce34b(0x1c2)]{async['importXLSXToUnitId'](_0x113564){const _0x15b44b=_0x4ce34b;return this[_0x15b44b(0x1cf)](_0x113564);}async[_0x4ce34b(0x1cf)](_0x3cc1c8){const _0x3cb6c0=_0x4ce34b,_0xabbb94=this[_0x3cb6c0(0x1b5)][_0x3cb6c0(0x1b8)](r[_0x3cb6c0(0x1bc)]);if(!_0xabbb94)throw new Error(_0x3cb6c0(0x1d1));return _0xabbb94[_0x3cb6c0(0x1c3)](_0x3cc1c8,o[_0x3cb6c0(0x1c5)]);}async[_0x4ce34b(0x1bb)](_0x257b28){const _0x5379e6=_0x4ce34b;return this[_0x5379e6(0x1cb)](_0x257b28);}async[_0x4ce34b(0x1cb)](_0x56e7c0){const _0x319196=_0x4ce34b,_0xd721f7=this[_0x319196(0x1b5)][_0x319196(0x1b8)](r[_0x319196(0x1bc)]);if(!_0xd721f7)throw new Error(_0x319196(0x1d1));return _0xd721f7['importXLSXToSnapshot'](_0x56e7c0);}async[_0x4ce34b(0x1d2)](_0x33296e){const _0x603bb2=_0x4ce34b;return this[_0x603bb2(0x1ca)](_0x33296e);}async['exportXLSXByUnitIdAsync'](_0x4470ab){const _0x1f50c8=_0x4ce34b,_0x22c8e8=this[_0x1f50c8(0x1b5)]['get'](r[_0x1f50c8(0x1bc)]);if(!_0x22c8e8)throw new Error(_0x1f50c8(0x1d1));return _0x22c8e8[_0x1f50c8(0x1d2)](_0x4470ab);}async[_0x4ce34b(0x1ba)](_0x1b42bd){return this['exportXLSXBySnapshotAsync'](_0x1b42bd);}async[_0x4ce34b(0x1bd)](_0x2a0e0d){const _0x18a7b5=_0x4ce34b,_0x11900a=this[_0x18a7b5(0x1b5)][_0x18a7b5(0x1b8)](r[_0x18a7b5(0x1bc)]);if(!_0x11900a)throw new Error(_0x18a7b5(0x1d1));return _0x11900a[_0x18a7b5(0x1ba)](_0x2a0e0d);}async['importDOCXToUnitId'](_0x1fcac7){const _0x46b264=_0x4ce34b;return this[_0x46b264(0x1cc)](_0x1fcac7);}async[_0x4ce34b(0x1cc)](_0x3d829d){const _0x4651ed=_0x4ce34b,_0x237eb7=this[_0x4651ed(0x1b5)][_0x4651ed(0x1b8)](r[_0x4651ed(0x1bc)]);if(!_0x237eb7)throw new Error(_0x4651ed(0x1d1));return _0x237eb7[_0x4651ed(0x1c3)](_0x3d829d,o[_0x4651ed(0x1b6)]);}async[_0x4ce34b(0x1c6)](_0x3c6d59){const _0x12aba7=_0x4ce34b;return this[_0x12aba7(0x1bf)](_0x3c6d59);}async['importDOCXToSnapshotAsync'](_0x24c1c0){const _0x3d9fd5=_0x4ce34b,_0x51803c=this[_0x3d9fd5(0x1b5)][_0x3d9fd5(0x1b8)](r[_0x3d9fd5(0x1bc)]);if(!_0x51803c)throw new Error(_0x3d9fd5(0x1d1));return _0x51803c[_0x3d9fd5(0x1c6)](_0x24c1c0);}}i[_0x4ce34b(0x1c2)][_0x4ce34b(0x1c0)](c);