@univerjs-pro/exchange-client 0.6.6 → 0.6.7-experimental.20250326-6499c07

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';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);
1
+ 'use strict';function _0x5449(_0x302297,_0x58b04d){const _0x335857=_0x3358();return _0x5449=function(_0x544927,_0x5a7342){_0x544927=_0x544927-0x15a;let _0x1634f6=_0x335857[_0x544927];return _0x1634f6;},_0x5449(_0x302297,_0x58b04d);}const _0x42e068=_0x5449;(function(_0x46e594,_0x33974a){const _0xa3764=_0x5449,_0x487591=_0x46e594();while(!![]){try{const _0x251d69=parseInt(_0xa3764(0x16f))/0x1+parseInt(_0xa3764(0x169))/0x2*(parseInt(_0xa3764(0x179))/0x3)+-parseInt(_0xa3764(0x164))/0x4+parseInt(_0xa3764(0x176))/0x5+-parseInt(_0xa3764(0x15c))/0x6+parseInt(_0xa3764(0x168))/0x7*(parseInt(_0xa3764(0x167))/0x8)+-parseInt(_0xa3764(0x165))/0x9*(parseInt(_0xa3764(0x16c))/0xa);if(_0x251d69===_0x33974a)break;else _0x487591['push'](_0x487591['shift']());}catch(_0x83ff04){_0x487591['push'](_0x487591['shift']());}}}(_0x3358,0x3b817));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');var o=(_0x3b5112=>(_0x3b5112[_0x3b5112[_0x42e068(0x15f)]=0x0]=_0x42e068(0x15f),_0x3b5112[_0x3b5112[_0x42e068(0x175)]=0x1]='UNIVER_DOC',_0x3b5112[_0x3b5112[_0x42e068(0x160)]=0x2]=_0x42e068(0x160),_0x3b5112[_0x3b5112[_0x42e068(0x173)]=0x3]=_0x42e068(0x173),_0x3b5112[_0x3b5112['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x3b5112[_0x3b5112['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3b5112))(o||{});class c extends i[_0x42e068(0x15b)]{async[_0x42e068(0x16d)](_0x53be15){const _0x1f6c0b=_0x42e068;return this[_0x1f6c0b(0x15d)](_0x53be15);}async[_0x42e068(0x15d)](_0x2809b5){const _0x32b741=_0x42e068,_0x36e35f=this[_0x32b741(0x162)][_0x32b741(0x177)](r[_0x32b741(0x161)]);if(!_0x36e35f)throw new Error(_0x32b741(0x16a));return _0x36e35f[_0x32b741(0x166)](_0x2809b5,o[_0x32b741(0x160)]);}async[_0x42e068(0x163)](_0x47ae89){const _0x327e7f=_0x42e068;return this[_0x327e7f(0x15a)](_0x47ae89);}async[_0x42e068(0x15a)](_0x3b59f6){const _0x52c939=_0x42e068,_0x274fd2=this[_0x52c939(0x162)][_0x52c939(0x177)](r['IExchangeService']);if(!_0x274fd2)throw new Error(_0x52c939(0x16a));return _0x274fd2[_0x52c939(0x163)](_0x3b59f6);}async[_0x42e068(0x174)](_0x36d097){const _0x2e8f9b=_0x42e068;return this[_0x2e8f9b(0x178)](_0x36d097);}async['exportXLSXByUnitIdAsync'](_0xff3493){const _0x40dd28=_0x42e068,_0x5d6d7b=this[_0x40dd28(0x162)]['get'](r[_0x40dd28(0x161)]);if(!_0x5d6d7b)throw new Error(_0x40dd28(0x16a));return _0x5d6d7b[_0x40dd28(0x174)](_0xff3493);}async['exportXLSXBySnapshot'](_0x3e29d7){const _0x192fc6=_0x42e068;return this[_0x192fc6(0x16e)](_0x3e29d7);}async['exportXLSXBySnapshotAsync'](_0x47fb5e){const _0x56a22c=_0x42e068,_0x18bc9c=this[_0x56a22c(0x162)]['get'](r['IExchangeService']);if(!_0x18bc9c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18bc9c['exportXLSXBySnapshot'](_0x47fb5e);}async[_0x42e068(0x15e)](_0x185ba8){return this['importDOCXToUnitIdAsync'](_0x185ba8);}async[_0x42e068(0x172)](_0xa7b736){const _0x24724b=_0x42e068,_0x35dc11=this[_0x24724b(0x162)][_0x24724b(0x177)](r[_0x24724b(0x161)]);if(!_0x35dc11)throw new Error(_0x24724b(0x16a));return _0x35dc11[_0x24724b(0x166)](_0xa7b736,o[_0x24724b(0x175)]);}async[_0x42e068(0x171)](_0x987cb){return this['importDOCXToSnapshotAsync'](_0x987cb);}async[_0x42e068(0x16b)](_0x1405c1){const _0x4696a5=_0x42e068,_0x33363c=this[_0x4696a5(0x162)][_0x4696a5(0x177)](r[_0x4696a5(0x161)]);if(!_0x33363c)throw new Error(_0x4696a5(0x16a));return _0x33363c[_0x4696a5(0x171)](_0x1405c1);}}i[_0x42e068(0x15b)][_0x42e068(0x170)](c);function _0x3358(){const _0x57b541=['16628WKXbjP','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','3189820uoHEpH','importXLSXToUnitId','exportXLSXBySnapshotAsync','147951bxCgFF','extend','importDOCXToSnapshot','importDOCXToUnitIdAsync','UNIVER_SLIDE','exportXLSXByUnitId','UNIVER_DOC','1147370bJKZJH','get','exportXLSXByUnitIdAsync','39EdRBcT','importXLSXToSnapshotAsync','FUniver','1163844PNNMxx','importXLSXToUnitIdAsync','importDOCXToUnitId','UNIVER_UNKNOWN','UNIVER_SHEET','IExchangeService','_injector','importXLSXToSnapshot','742944DgAHYT','9irUCuc','importFileToUnitId','40lCTORe','639688aLewIc'];_0x3358=function(){return _0x57b541;};return _0x3358();}