@univerjs-pro/exchange-client 0.5.3-nightly.202501071618 → 0.5.3-nightly.202501090742

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 _0x35c16a=_0x15ed;(function(_0x51afc0,_0x313003){const _0x4e4278=_0x15ed,_0x387730=_0x51afc0();while(!![]){try{const _0x152545=-parseInt(_0x4e4278(0x81))/0x1+parseInt(_0x4e4278(0x78))/0x2+parseInt(_0x4e4278(0x7b))/0x3+-parseInt(_0x4e4278(0x95))/0x4*(parseInt(_0x4e4278(0x88))/0x5)+-parseInt(_0x4e4278(0x83))/0x6+-parseInt(_0x4e4278(0x97))/0x7*(-parseInt(_0x4e4278(0x90))/0x8)+parseInt(_0x4e4278(0x77))/0x9;if(_0x152545===_0x313003)break;else _0x387730['push'](_0x387730['shift']());}catch(_0x1ad0a0){_0x387730['push'](_0x387730['shift']());}}}(_0x339b,0x5a753));const r=require(_0x35c16a(0x92)),i=require(_0x35c16a(0x93));function _0x15ed(_0x47728a,_0x569fed){const _0x339b53=_0x339b();return _0x15ed=function(_0x15edda,_0x185730){_0x15edda=_0x15edda-0x77;let _0x2a8b24=_0x339b53[_0x15edda];return _0x2a8b24;},_0x15ed(_0x47728a,_0x569fed);}var o=(_0x9a28d=>(_0x9a28d[_0x9a28d[_0x35c16a(0x8a)]=0x0]=_0x35c16a(0x8a),_0x9a28d[_0x9a28d[_0x35c16a(0x99)]=0x1]=_0x35c16a(0x99),_0x9a28d[_0x9a28d[_0x35c16a(0x96)]=0x2]=_0x35c16a(0x96),_0x9a28d[_0x9a28d[_0x35c16a(0x7c)]=0x3]=_0x35c16a(0x7c),_0x9a28d[_0x9a28d[_0x35c16a(0x7d)]=0x4]='UNIVER_PROJECT',_0x9a28d[_0x9a28d[_0x35c16a(0x86)]=-0x1]='UNRECOGNIZED',_0x9a28d))(o||{});function _0x339b(){const _0x26ad3d=['UNIVER_UNKNOWN','_injector','importDOCXToUnitId','importDOCXToUnitIdAsync','importXLSXToSnapshot','extend','16xoLziC','importXLSXToUnitId','@univerjs-pro/exchange-client','@univerjs/core','importDOCXToSnapshotAsync','4BIwQRY','UNIVER_SHEET','1610294ZWYwqG','exportXLSXBySnapshotAsync','UNIVER_DOC','exportXLSXBySnapshot','1062279uUyCVb','945988RUYyQt','importXLSXToSnapshotAsync','get','545796tjdUbX','UNIVER_SLIDE','UNIVER_PROJECT','importFileToUnitId','exportXLSXByUnitId','IExchangeService','579095cRtpAt','The\x20exchange\x20service\x20is\x20not\x20available','1625304XMvWpY','FUniver','exportXLSXByUnitIdAsync','UNRECOGNIZED','importDOCXToSnapshot','62735hgpmrT','importXLSXToUnitIdAsync'];_0x339b=function(){return _0x26ad3d;};return _0x339b();}class c extends i[_0x35c16a(0x84)]{async[_0x35c16a(0x91)](_0xf5ee01){const _0x23c1a9=_0x35c16a;return this[_0x23c1a9(0x89)](_0xf5ee01);}async[_0x35c16a(0x89)](_0x627cce){const _0x573ac2=_0x35c16a,_0x9c92e8=this[_0x573ac2(0x8b)][_0x573ac2(0x7a)](r[_0x573ac2(0x80)]);if(!_0x9c92e8)throw new Error(_0x573ac2(0x82));return _0x9c92e8[_0x573ac2(0x7e)](_0x627cce,o[_0x573ac2(0x96)]);}async[_0x35c16a(0x8e)](_0x3f4a04){const _0x1ba3c4=_0x35c16a;return this[_0x1ba3c4(0x79)](_0x3f4a04);}async[_0x35c16a(0x79)](_0x372fd7){const _0x1ba1a4=_0x35c16a,_0x4573cf=this[_0x1ba1a4(0x8b)][_0x1ba1a4(0x7a)](r[_0x1ba1a4(0x80)]);if(!_0x4573cf)throw new Error(_0x1ba1a4(0x82));return _0x4573cf['importXLSXToSnapshot'](_0x372fd7);}async[_0x35c16a(0x7f)](_0x1fb894){const _0x46063f=_0x35c16a;return this[_0x46063f(0x85)](_0x1fb894);}async['exportXLSXByUnitIdAsync'](_0x37e6b5){const _0x3e6fc2=_0x35c16a,_0x5d3a07=this[_0x3e6fc2(0x8b)][_0x3e6fc2(0x7a)](r[_0x3e6fc2(0x80)]);if(!_0x5d3a07)throw new Error(_0x3e6fc2(0x82));return _0x5d3a07[_0x3e6fc2(0x7f)](_0x37e6b5);}async[_0x35c16a(0x9a)](_0x39c0ea){const _0x3a1401=_0x35c16a;return this[_0x3a1401(0x98)](_0x39c0ea);}async[_0x35c16a(0x98)](_0x29c734){const _0x31a505=_0x35c16a,_0x266406=this[_0x31a505(0x8b)][_0x31a505(0x7a)](r['IExchangeService']);if(!_0x266406)throw new Error(_0x31a505(0x82));return _0x266406[_0x31a505(0x9a)](_0x29c734);}async[_0x35c16a(0x8c)](_0x4dc6bf){const _0x329b92=_0x35c16a;return this[_0x329b92(0x8d)](_0x4dc6bf);}async[_0x35c16a(0x8d)](_0x296dad){const _0x227a88=_0x35c16a,_0x5c8cff=this[_0x227a88(0x8b)][_0x227a88(0x7a)](r[_0x227a88(0x80)]);if(!_0x5c8cff)throw new Error(_0x227a88(0x82));return _0x5c8cff[_0x227a88(0x7e)](_0x296dad,o[_0x227a88(0x99)]);}async[_0x35c16a(0x87)](_0x1bf4cb){const _0xb7d1d7=_0x35c16a;return this[_0xb7d1d7(0x94)](_0x1bf4cb);}async['importDOCXToSnapshotAsync'](_0xaea709){const _0x2230e5=_0x35c16a,_0x18f632=this[_0x2230e5(0x8b)][_0x2230e5(0x7a)](r[_0x2230e5(0x80)]);if(!_0x18f632)throw new Error(_0x2230e5(0x82));return _0x18f632[_0x2230e5(0x87)](_0xaea709);}}i[_0x35c16a(0x84)][_0x35c16a(0x8f)](c);
1
+ 'use strict';function _0xc794(){const _0x466f5d=['extend','1395053lddhOm','get','1486304Zgezya','1825610ZaKsdd','FUniver','16BgcqHE','1496pLbxGx','7758PfGOcg','43719fqtCpQ','The\x20exchange\x20service\x20is\x20not\x20available','77249FkePeO','IExchangeService','UNIVER_DOC','14SYsBzs','importDOCXToSnapshot','importDOCXToUnitIdAsync','UNIVER_SHEET','UNIVER_PROJECT','exportXLSXByUnitId','_injector','UNIVER_SLIDE','@univerjs-pro/exchange-client','importXLSXToSnapshot','exportXLSXByUnitIdAsync','4308aGSTfQ','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','7190kspSQz','UNIVER_UNKNOWN','exportXLSXBySnapshot','importXLSXToUnitId','6TcRCme','importDOCXToUnitId','importXLSXToUnitIdAsync','UNRECOGNIZED','1818sANbga'];_0xc794=function(){return _0x466f5d;};return _0xc794();}const _0x27f5a7=_0x4926;(function(_0xacfb21,_0x7f54be){const _0x594d4e=_0x4926,_0x393542=_0xacfb21();while(!![]){try{const _0x24092b=parseInt(_0x594d4e(0x126))/0x1*(-parseInt(_0x594d4e(0x121))/0x2)+parseInt(_0x594d4e(0x11a))/0x3*(parseInt(_0x594d4e(0x122))/0x4)+-parseInt(_0x594d4e(0x11f))/0x5*(parseInt(_0x594d4e(0x116))/0x6)+parseInt(_0x594d4e(0x129))/0x7*(parseInt(_0x594d4e(0x11e))/0x8)+-parseInt(_0x594d4e(0x123))/0x9*(parseInt(_0x594d4e(0x112))/0xa)+parseInt(_0x594d4e(0x11c))/0xb+-parseInt(_0x594d4e(0x134))/0xc*(-parseInt(_0x594d4e(0x124))/0xd);if(_0x24092b===_0x7f54be)break;else _0x393542['push'](_0x393542['shift']());}catch(_0x9a7aad){_0x393542['push'](_0x393542['shift']());}}}(_0xc794,0x506fc));function _0x4926(_0x3a2900,_0x410de3){const _0xc7944c=_0xc794();return _0x4926=function(_0x4926fc,_0x1d823b){_0x4926fc=_0x4926fc-0x111;let _0x3ac1fc=_0xc7944c[_0x4926fc];return _0x3ac1fc;},_0x4926(_0x3a2900,_0x410de3);}const r=require(_0x27f5a7(0x131)),i=require('@univerjs/core');var o=(_0x1ef8dc=>(_0x1ef8dc[_0x1ef8dc[_0x27f5a7(0x113)]=0x0]=_0x27f5a7(0x113),_0x1ef8dc[_0x1ef8dc[_0x27f5a7(0x128)]=0x1]='UNIVER_DOC',_0x1ef8dc[_0x1ef8dc['UNIVER_SHEET']=0x2]=_0x27f5a7(0x12c),_0x1ef8dc[_0x1ef8dc[_0x27f5a7(0x130)]=0x3]=_0x27f5a7(0x130),_0x1ef8dc[_0x1ef8dc[_0x27f5a7(0x12d)]=0x4]='UNIVER_PROJECT',_0x1ef8dc[_0x1ef8dc[_0x27f5a7(0x119)]=-0x1]=_0x27f5a7(0x119),_0x1ef8dc))(o||{});class c extends i[_0x27f5a7(0x120)]{async[_0x27f5a7(0x115)](_0x7ccbda){const _0x549cc5=_0x27f5a7;return this[_0x549cc5(0x118)](_0x7ccbda);}async[_0x27f5a7(0x118)](_0x33bac8){const _0x15959f=_0x27f5a7,_0x2213fe=this['_injector'][_0x15959f(0x11d)](r[_0x15959f(0x127)]);if(!_0x2213fe)throw new Error(_0x15959f(0x125));return _0x2213fe['importFileToUnitId'](_0x33bac8,o['UNIVER_SHEET']);}async[_0x27f5a7(0x132)](_0x4160da){return this['importXLSXToSnapshotAsync'](_0x4160da);}async[_0x27f5a7(0x135)](_0x342e84){const _0x5b34af=_0x27f5a7,_0x395ffe=this[_0x5b34af(0x12f)][_0x5b34af(0x11d)](r[_0x5b34af(0x127)]);if(!_0x395ffe)throw new Error(_0x5b34af(0x125));return _0x395ffe[_0x5b34af(0x132)](_0x342e84);}async[_0x27f5a7(0x12e)](_0x255f6e){const _0x5c5e87=_0x27f5a7;return this[_0x5c5e87(0x133)](_0x255f6e);}async[_0x27f5a7(0x133)](_0x4022f4){const _0x4a56c3=_0x27f5a7,_0x2f51aa=this[_0x4a56c3(0x12f)]['get'](r[_0x4a56c3(0x127)]);if(!_0x2f51aa)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f51aa['exportXLSXByUnitId'](_0x4022f4);}async[_0x27f5a7(0x114)](_0x4f08d2){const _0x154730=_0x27f5a7;return this[_0x154730(0x111)](_0x4f08d2);}async[_0x27f5a7(0x111)](_0x2813d0){const _0x224181=_0x27f5a7,_0x13df0f=this[_0x224181(0x12f)]['get'](r[_0x224181(0x127)]);if(!_0x13df0f)throw new Error(_0x224181(0x125));return _0x13df0f['exportXLSXBySnapshot'](_0x2813d0);}async[_0x27f5a7(0x117)](_0x203555){const _0x121d40=_0x27f5a7;return this[_0x121d40(0x12b)](_0x203555);}async[_0x27f5a7(0x12b)](_0x33be05){const _0x29043f=_0x27f5a7,_0x1c1a6b=this[_0x29043f(0x12f)][_0x29043f(0x11d)](r[_0x29043f(0x127)]);if(!_0x1c1a6b)throw new Error(_0x29043f(0x125));return _0x1c1a6b['importFileToUnitId'](_0x33be05,o[_0x29043f(0x128)]);}async[_0x27f5a7(0x12a)](_0x471041){return this['importDOCXToSnapshotAsync'](_0x471041);}async['importDOCXToSnapshotAsync'](_0x518130){const _0x208051=_0x27f5a7,_0x340987=this[_0x208051(0x12f)][_0x208051(0x11d)](r[_0x208051(0x127)]);if(!_0x340987)throw new Error(_0x208051(0x125));return _0x340987[_0x208051(0x12a)](_0x518130);}}i['FUniver'][_0x27f5a7(0x11b)](c);