@univerjs-pro/exchange-client 0.6.7-experimental.20250328-3aaa828 → 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';const _0x1677e7=_0x1066;function _0x1066(_0x11ee07,_0x207dd9){const _0x59ab11=_0x59ab();return _0x1066=function(_0x1066bf,_0x37e168){_0x1066bf=_0x1066bf-0x83;let _0x5e0489=_0x59ab11[_0x1066bf];return _0x5e0489;},_0x1066(_0x11ee07,_0x207dd9);}(function(_0x1b7cd1,_0x3e1ac5){const _0x4aa398=_0x1066,_0x47f8a9=_0x1b7cd1();while(!![]){try{const _0x3f6480=-parseInt(_0x4aa398(0xa1))/0x1*(-parseInt(_0x4aa398(0x97))/0x2)+-parseInt(_0x4aa398(0x9b))/0x3+parseInt(_0x4aa398(0x85))/0x4+parseInt(_0x4aa398(0x9e))/0x5*(-parseInt(_0x4aa398(0x92))/0x6)+parseInt(_0x4aa398(0x8e))/0x7+parseInt(_0x4aa398(0x89))/0x8*(-parseInt(_0x4aa398(0x83))/0x9)+parseInt(_0x4aa398(0xa4))/0xa;if(_0x3f6480===_0x3e1ac5)break;else _0x47f8a9['push'](_0x47f8a9['shift']());}catch(_0x136593){_0x47f8a9['push'](_0x47f8a9['shift']());}}}(_0x59ab,0x2dc29));function _0x59ab(){const _0x24e59d=['378pvFHPQ','UNIVER_DOC','1076660PvwvNf','IExchangeService','exportXLSXBySnapshotAsync','importXLSXToSnapshot','46640qEDMwh','@univerjs/core/facade','importXLSXToUnitId','exportXLSXByUnitId','exportXLSXBySnapshot','87829JEpvSC','_injector','UNRECOGNIZED','importFileToUnitId','3402zuuxgb','importDOCXToUnitId','UNIVER_PROJECT','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','4534XCRTmv','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','get','1072659bAOPhN','UNIVER_SLIDE','UNIVER_UNKNOWN','1170myJhzL','extend','importDOCXToSnapshotAsync','109mfTSpp','UNIVER_SHEET','FUniver','3937090SEkWbW','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync'];_0x59ab=function(){return _0x24e59d;};return _0x59ab();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x1677e7(0x8a));var o=(_0x3013ec=>(_0x3013ec[_0x3013ec[_0x1677e7(0x9d)]=0x0]=_0x1677e7(0x9d),_0x3013ec[_0x3013ec[_0x1677e7(0x84)]=0x1]='UNIVER_DOC',_0x3013ec[_0x3013ec['UNIVER_SHEET']=0x2]=_0x1677e7(0xa2),_0x3013ec[_0x3013ec[_0x1677e7(0x9c)]=0x3]=_0x1677e7(0x9c),_0x3013ec[_0x3013ec[_0x1677e7(0x94)]=0x4]='UNIVER_PROJECT',_0x3013ec[_0x3013ec[_0x1677e7(0x90)]=-0x1]=_0x1677e7(0x90),_0x3013ec))(o||{});class c extends i[_0x1677e7(0xa3)]{async[_0x1677e7(0x8b)](_0x23c2ad){const _0x36643d=_0x1677e7;return this[_0x36643d(0xa6)](_0x23c2ad);}async[_0x1677e7(0xa6)](_0x32654b){const _0x212e1e=_0x1677e7,_0x555f4e=this['_injector'][_0x212e1e(0x9a)](r['IExchangeService']);if(!_0x555f4e)throw new Error(_0x212e1e(0x96));return _0x555f4e[_0x212e1e(0x91)](_0x32654b,o[_0x212e1e(0xa2)]);}async['importXLSXToSnapshot'](_0x228b81){const _0x12f198=_0x1677e7;return this[_0x12f198(0x99)](_0x228b81);}async[_0x1677e7(0x99)](_0x3c4773){const _0x37d8ae=_0x1677e7,_0xc644bb=this['_injector'][_0x37d8ae(0x9a)](r[_0x37d8ae(0x86)]);if(!_0xc644bb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xc644bb[_0x37d8ae(0x88)](_0x3c4773);}async[_0x1677e7(0x8c)](_0x52b037){const _0x332457=_0x1677e7;return this[_0x332457(0x98)](_0x52b037);}async[_0x1677e7(0x98)](_0x4f1290){const _0x4c00fe=_0x1677e7,_0x1fe6c6=this[_0x4c00fe(0x8f)][_0x4c00fe(0x9a)](r[_0x4c00fe(0x86)]);if(!_0x1fe6c6)throw new Error(_0x4c00fe(0x96));return _0x1fe6c6[_0x4c00fe(0x8c)](_0x4f1290);}async[_0x1677e7(0x8d)](_0xc2f033){const _0x3c1a7e=_0x1677e7;return this[_0x3c1a7e(0x87)](_0xc2f033);}async[_0x1677e7(0x87)](_0x266b0c){const _0x211440=_0x1677e7,_0x493426=this['_injector']['get'](r['IExchangeService']);if(!_0x493426)throw new Error(_0x211440(0x96));return _0x493426['exportXLSXBySnapshot'](_0x266b0c);}async[_0x1677e7(0x93)](_0xd0e6a6){return this['importDOCXToUnitIdAsync'](_0xd0e6a6);}async[_0x1677e7(0xa5)](_0x1b53f0){const _0x5a5b24=_0x1677e7,_0x56f4e2=this[_0x5a5b24(0x8f)][_0x5a5b24(0x9a)](r['IExchangeService']);if(!_0x56f4e2)throw new Error(_0x5a5b24(0x96));return _0x56f4e2[_0x5a5b24(0x91)](_0x1b53f0,o['UNIVER_DOC']);}async[_0x1677e7(0x95)](_0x1145cc){const _0x3b5325=_0x1677e7;return this[_0x3b5325(0xa0)](_0x1145cc);}async[_0x1677e7(0xa0)](_0x5ef56d){const _0x4da24f=_0x1677e7,_0xa6a83d=this['_injector'][_0x4da24f(0x9a)](r[_0x4da24f(0x86)]);if(!_0xa6a83d)throw new Error(_0x4da24f(0x96));return _0xa6a83d[_0x4da24f(0x95)](_0x5ef56d);}}i['FUniver'][_0x1677e7(0x9f)](c);
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);