@univerjs-pro/exchange-client 0.6.7-experimental.20250326-6499c07 → 0.6.7-experimental.20250328-21e0bec

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 _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();}
1
+ 'use strict';const _0x3ecc3d=_0x57b5;function _0x57b5(_0x26c430,_0x3895e5){const _0x481e9a=_0x481e();return _0x57b5=function(_0x57b5f6,_0x39b74e){_0x57b5f6=_0x57b5f6-0x148;let _0x3008ec=_0x481e9a[_0x57b5f6];return _0x3008ec;},_0x57b5(_0x26c430,_0x3895e5);}(function(_0x218907,_0x359919){const _0x43f0f1=_0x57b5,_0x3cda4f=_0x218907();while(!![]){try{const _0x34913d=-parseInt(_0x43f0f1(0x149))/0x1*(-parseInt(_0x43f0f1(0x162))/0x2)+parseInt(_0x43f0f1(0x14d))/0x3*(-parseInt(_0x43f0f1(0x153))/0x4)+parseInt(_0x43f0f1(0x14c))/0x5*(parseInt(_0x43f0f1(0x166))/0x6)+-parseInt(_0x43f0f1(0x14e))/0x7+-parseInt(_0x43f0f1(0x150))/0x8+parseInt(_0x43f0f1(0x157))/0x9*(-parseInt(_0x43f0f1(0x163))/0xa)+parseInt(_0x43f0f1(0x156))/0xb;if(_0x34913d===_0x359919)break;else _0x3cda4f['push'](_0x3cda4f['shift']());}catch(_0x511afc){_0x3cda4f['push'](_0x3cda4f['shift']());}}}(_0x481e,0x75b26));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3ecc3d(0x14b));function _0x481e(){const _0x498db7=['UNIVER_SHEET','363002OGOinQ','1429810TRXfIm','extend','importDOCXToSnapshot','98376RpoNzj','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_PROJECT','3MptLPc','FUniver','@univerjs/core/facade','115CCOhNJ','3WNUiWw','1867558AqCrYH','importDOCXToUnitIdAsync','4219872rAyENa','exportXLSXBySnapshot','importFileToUnitId','118676OSxkcD','UNIVER_DOC','importDOCXToSnapshotAsync','12092597WKjHKF','45TlwtYx','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','importXLSXToSnapshot','IExchangeService','UNIVER_SLIDE','get','_injector','exportXLSXByUnitIdAsync'];_0x481e=function(){return _0x498db7;};return _0x481e();}var o=(_0x1fbe27=>(_0x1fbe27[_0x1fbe27['UNIVER_UNKNOWN']=0x0]=_0x3ecc3d(0x167),_0x1fbe27[_0x1fbe27[_0x3ecc3d(0x154)]=0x1]=_0x3ecc3d(0x154),_0x1fbe27[_0x1fbe27[_0x3ecc3d(0x161)]=0x2]=_0x3ecc3d(0x161),_0x1fbe27[_0x1fbe27[_0x3ecc3d(0x15d)]=0x3]=_0x3ecc3d(0x15d),_0x1fbe27[_0x1fbe27['UNIVER_PROJECT']=0x4]=_0x3ecc3d(0x148),_0x1fbe27[_0x1fbe27['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1fbe27))(o||{});class c extends i[_0x3ecc3d(0x14a)]{async['importXLSXToUnitId'](_0x14ed9a){return this['importXLSXToUnitIdAsync'](_0x14ed9a);}async['importXLSXToUnitIdAsync'](_0x2d882f){const _0x4b3826=_0x3ecc3d,_0x1ba4a5=this[_0x4b3826(0x15f)]['get'](r[_0x4b3826(0x15c)]);if(!_0x1ba4a5)throw new Error(_0x4b3826(0x159));return _0x1ba4a5[_0x4b3826(0x152)](_0x2d882f,o['UNIVER_SHEET']);}async[_0x3ecc3d(0x15b)](_0xd73223){const _0x638394=_0x3ecc3d;return this[_0x638394(0x158)](_0xd73223);}async[_0x3ecc3d(0x158)](_0x3159eb){const _0xf71660=_0x3ecc3d,_0x56d24a=this[_0xf71660(0x15f)][_0xf71660(0x15e)](r[_0xf71660(0x15c)]);if(!_0x56d24a)throw new Error(_0xf71660(0x159));return _0x56d24a[_0xf71660(0x15b)](_0x3159eb);}async['exportXLSXByUnitId'](_0x481b1f){const _0x516146=_0x3ecc3d;return this[_0x516146(0x160)](_0x481b1f);}async[_0x3ecc3d(0x160)](_0x4bd424){const _0x19f874=_0x3ecc3d,_0x10b782=this['_injector'][_0x19f874(0x15e)](r[_0x19f874(0x15c)]);if(!_0x10b782)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x10b782[_0x19f874(0x168)](_0x4bd424);}async[_0x3ecc3d(0x151)](_0x4b12fe){return this['exportXLSXBySnapshotAsync'](_0x4b12fe);}async['exportXLSXBySnapshotAsync'](_0x3b317b){const _0x26ccd7=_0x3ecc3d,_0x5e2fb2=this[_0x26ccd7(0x15f)]['get'](r['IExchangeService']);if(!_0x5e2fb2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5e2fb2[_0x26ccd7(0x151)](_0x3b317b);}async[_0x3ecc3d(0x15a)](_0x2e7dc9){const _0x5ac4b3=_0x3ecc3d;return this[_0x5ac4b3(0x14f)](_0x2e7dc9);}async[_0x3ecc3d(0x14f)](_0x374f25){const _0x314bc7=_0x3ecc3d,_0x4343c9=this[_0x314bc7(0x15f)]['get'](r[_0x314bc7(0x15c)]);if(!_0x4343c9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4343c9[_0x314bc7(0x152)](_0x374f25,o[_0x314bc7(0x154)]);}async['importDOCXToSnapshot'](_0x26aa7c){const _0xaaaedd=_0x3ecc3d;return this[_0xaaaedd(0x155)](_0x26aa7c);}async[_0x3ecc3d(0x155)](_0x3172a3){const _0xd4f46d=_0x3ecc3d,_0x3922c0=this['_injector']['get'](r[_0xd4f46d(0x15c)]);if(!_0x3922c0)throw new Error(_0xd4f46d(0x159));return _0x3922c0[_0xd4f46d(0x165)](_0x3172a3);}}i['FUniver'][_0x3ecc3d(0x164)](c);