@univerjs-pro/exchange-client 0.5.4-nightly.202501160704 → 0.5.4-nightly.202501161606

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 _0x258d73=_0xb453;(function(_0x5e7153,_0x1835c0){const _0x2f027e=_0xb453,_0x108d27=_0x5e7153();while(!![]){try{const _0x3a49c8=-parseInt(_0x2f027e(0x153))/0x1*(parseInt(_0x2f027e(0x156))/0x2)+-parseInt(_0x2f027e(0x157))/0x3*(parseInt(_0x2f027e(0x161))/0x4)+-parseInt(_0x2f027e(0x165))/0x5+-parseInt(_0x2f027e(0x164))/0x6+-parseInt(_0x2f027e(0x151))/0x7+parseInt(_0x2f027e(0x155))/0x8*(-parseInt(_0x2f027e(0x163))/0x9)+parseInt(_0x2f027e(0x15f))/0xa;if(_0x3a49c8===_0x1835c0)break;else _0x108d27['push'](_0x108d27['shift']());}catch(_0x219cb7){_0x108d27['push'](_0x108d27['shift']());}}}(_0x17e4,0xc83b0));const r=require('@univerjs-pro/exchange-client'),i=require(_0x258d73(0x15c));var o=(_0xc67d0c=>(_0xc67d0c[_0xc67d0c[_0x258d73(0x152)]=0x0]=_0x258d73(0x152),_0xc67d0c[_0xc67d0c['UNIVER_DOC']=0x1]=_0x258d73(0x15d),_0xc67d0c[_0xc67d0c[_0x258d73(0x169)]=0x2]=_0x258d73(0x169),_0xc67d0c[_0xc67d0c[_0x258d73(0x16e)]=0x3]=_0x258d73(0x16e),_0xc67d0c[_0xc67d0c[_0x258d73(0x150)]=0x4]='UNIVER_PROJECT',_0xc67d0c[_0xc67d0c['UNRECOGNIZED']=-0x1]=_0x258d73(0x15a),_0xc67d0c))(o||{});class c extends i[_0x258d73(0x154)]{async[_0x258d73(0x16c)](_0x349b1d){const _0x26312e=_0x258d73;return this[_0x26312e(0x16d)](_0x349b1d);}async['importXLSXToUnitIdAsync'](_0x2746ab){const _0x19004b=_0x258d73,_0x342f36=this[_0x19004b(0x158)][_0x19004b(0x14c)](r[_0x19004b(0x14b)]);if(!_0x342f36)throw new Error(_0x19004b(0x160));return _0x342f36[_0x19004b(0x168)](_0x2746ab,o[_0x19004b(0x169)]);}async[_0x258d73(0x14d)](_0x1afbf1){const _0x25ae21=_0x258d73;return this[_0x25ae21(0x15b)](_0x1afbf1);}async['importXLSXToSnapshotAsync'](_0x4b60c3){const _0x39cf33=_0x258d73,_0x3c9460=this['_injector'][_0x39cf33(0x14c)](r[_0x39cf33(0x14b)]);if(!_0x3c9460)throw new Error(_0x39cf33(0x160));return _0x3c9460[_0x39cf33(0x14d)](_0x4b60c3);}async['exportXLSXByUnitId'](_0x39484c){const _0xbcc128=_0x258d73;return this[_0xbcc128(0x16b)](_0x39484c);}async[_0x258d73(0x16b)](_0x95d5bd){const _0xf14fb2=_0x258d73,_0x519901=this[_0xf14fb2(0x158)][_0xf14fb2(0x14c)](r[_0xf14fb2(0x14b)]);if(!_0x519901)throw new Error(_0xf14fb2(0x160));return _0x519901[_0xf14fb2(0x14e)](_0x95d5bd);}async['exportXLSXBySnapshot'](_0x3b9985){const _0x2e8f31=_0x258d73;return this[_0x2e8f31(0x14f)](_0x3b9985);}async[_0x258d73(0x14f)](_0x1c7f5c){const _0x97817e=_0x258d73,_0x131400=this[_0x97817e(0x158)][_0x97817e(0x14c)](r['IExchangeService']);if(!_0x131400)throw new Error(_0x97817e(0x160));return _0x131400[_0x97817e(0x167)](_0x1c7f5c);}async[_0x258d73(0x16a)](_0x27ea27){const _0x54a2f2=_0x258d73;return this[_0x54a2f2(0x166)](_0x27ea27);}async['importDOCXToUnitIdAsync'](_0x2ad06e){const _0x6eb734=_0x258d73,_0xb6794a=this[_0x6eb734(0x158)][_0x6eb734(0x14c)](r['IExchangeService']);if(!_0xb6794a)throw new Error(_0x6eb734(0x160));return _0xb6794a['importFileToUnitId'](_0x2ad06e,o[_0x6eb734(0x15d)]);}async[_0x258d73(0x162)](_0x49f979){const _0x5dae02=_0x258d73;return this[_0x5dae02(0x15e)](_0x49f979);}async[_0x258d73(0x15e)](_0x534778){const _0x5ddf9b=_0x258d73,_0x318a65=this[_0x5ddf9b(0x158)][_0x5ddf9b(0x14c)](r[_0x5ddf9b(0x14b)]);if(!_0x318a65)throw new Error(_0x5ddf9b(0x160));return _0x318a65[_0x5ddf9b(0x162)](_0x534778);}}i[_0x258d73(0x154)][_0x258d73(0x159)](c);function _0xb453(_0xf28a3b,_0x514b82){const _0x17e4ec=_0x17e4();return _0xb453=function(_0xb45397,_0x1a301d){_0xb45397=_0xb45397-0x14b;let _0xc95517=_0x17e4ec[_0xb45397];return _0xc95517;},_0xb453(_0xf28a3b,_0x514b82);}function _0x17e4(){const _0x250602=['1917032NjHSGW','21jfXkfY','_injector','extend','UNRECOGNIZED','importXLSXToSnapshotAsync','@univerjs/core','UNIVER_DOC','importDOCXToSnapshotAsync','74928940GHrbGU','The\x20exchange\x20service\x20is\x20not\x20available','283496SAQBwA','importDOCXToSnapshot','11278152CtMcAb','7675476QFSrfP','6303360KzcbpO','importDOCXToUnitIdAsync','exportXLSXBySnapshot','importFileToUnitId','UNIVER_SHEET','importDOCXToUnitId','exportXLSXByUnitIdAsync','importXLSXToUnitId','importXLSXToUnitIdAsync','UNIVER_SLIDE','IExchangeService','get','importXLSXToSnapshot','exportXLSXByUnitId','exportXLSXBySnapshotAsync','UNIVER_PROJECT','9975490mVUPav','UNIVER_UNKNOWN','1kIgFpx','FUniver','8glqjnr'];_0x17e4=function(){return _0x250602;};return _0x17e4();}
1
+ 'use strict';const _0x4e0076=_0x4e03;(function(_0x1657a7,_0x271a78){const _0x4985f9=_0x4e03,_0x46303d=_0x1657a7();while(!![]){try{const _0x3dcaa0=parseInt(_0x4985f9(0x118))/0x1+-parseInt(_0x4985f9(0x10b))/0x2*(parseInt(_0x4985f9(0x121))/0x3)+-parseInt(_0x4985f9(0x107))/0x4+parseInt(_0x4985f9(0x11e))/0x5+-parseInt(_0x4985f9(0x11a))/0x6*(parseInt(_0x4985f9(0x125))/0x7)+-parseInt(_0x4985f9(0x124))/0x8*(-parseInt(_0x4985f9(0x10a))/0x9)+-parseInt(_0x4985f9(0x105))/0xa;if(_0x3dcaa0===_0x271a78)break;else _0x46303d['push'](_0x46303d['shift']());}catch(_0x46a04b){_0x46303d['push'](_0x46303d['shift']());}}}(_0x29e1,0xf0f8a));const r=require(_0x4e0076(0x120)),i=require(_0x4e0076(0x123));var o=(_0x54f89a=>(_0x54f89a[_0x54f89a['UNIVER_UNKNOWN']=0x0]=_0x4e0076(0x110),_0x54f89a[_0x54f89a['UNIVER_DOC']=0x1]=_0x4e0076(0x106),_0x54f89a[_0x54f89a[_0x4e0076(0x109)]=0x2]=_0x4e0076(0x109),_0x54f89a[_0x54f89a[_0x4e0076(0x11f)]=0x3]=_0x4e0076(0x11f),_0x54f89a[_0x54f89a[_0x4e0076(0x113)]=0x4]=_0x4e0076(0x113),_0x54f89a[_0x54f89a[_0x4e0076(0x10c)]=-0x1]=_0x4e0076(0x10c),_0x54f89a))(o||{});function _0x29e1(){const _0x35cefc=['UNIVER_DOC','1617800nuUYTL','importDOCXToSnapshot','UNIVER_SHEET','468QZCJCM','8zlMFiO','UNRECOGNIZED','exportXLSXByUnitId','importDOCXToUnitIdAsync','FUniver','UNIVER_UNKNOWN','importFileToUnitId','exportXLSXBySnapshot','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importXLSXToSnapshot','importXLSXToUnitIdAsync','1651095XixwCq','importDOCXToUnitId','201738XrsCGD','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','2209975MWKXvf','UNIVER_SLIDE','@univerjs-pro/exchange-client','482901NDBBVw','extend','@univerjs/core','66904rUZyQx','77AWREDS','importXLSXToUnitId','get','IExchangeService','exportXLSXByUnitIdAsync','1227770yHquAh'];_0x29e1=function(){return _0x35cefc;};return _0x29e1();}function _0x4e03(_0x83ace5,_0x133928){const _0x29e15b=_0x29e1();return _0x4e03=function(_0x4e0334,_0x57e7f7){_0x4e0334=_0x4e0334-0x102;let _0x2dfae5=_0x29e15b[_0x4e0334];return _0x2dfae5;},_0x4e03(_0x83ace5,_0x133928);}class c extends i[_0x4e0076(0x10f)]{async[_0x4e0076(0x126)](_0x7f4184){const _0x54cd33=_0x4e0076;return this[_0x54cd33(0x117)](_0x7f4184);}async[_0x4e0076(0x117)](_0x21ac6b){const _0x30a03b=_0x4e0076,_0x1d1f9e=this[_0x30a03b(0x115)][_0x30a03b(0x102)](r[_0x30a03b(0x103)]);if(!_0x1d1f9e)throw new Error(_0x30a03b(0x114));return _0x1d1f9e[_0x30a03b(0x111)](_0x21ac6b,o[_0x30a03b(0x109)]);}async['importXLSXToSnapshot'](_0xc9a4bd){const _0x175c0f=_0x4e0076;return this[_0x175c0f(0x11b)](_0xc9a4bd);}async[_0x4e0076(0x11b)](_0x2b1e5b){const _0x57f162=_0x4e0076,_0x3236b3=this[_0x57f162(0x115)][_0x57f162(0x102)](r['IExchangeService']);if(!_0x3236b3)throw new Error(_0x57f162(0x114));return _0x3236b3[_0x57f162(0x116)](_0x2b1e5b);}async[_0x4e0076(0x10d)](_0x1316ae){const _0x2560e6=_0x4e0076;return this[_0x2560e6(0x104)](_0x1316ae);}async[_0x4e0076(0x104)](_0x2677e3){const _0x4d3462=_0x4e0076,_0xadab9c=this['_injector'][_0x4d3462(0x102)](r[_0x4d3462(0x103)]);if(!_0xadab9c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xadab9c[_0x4d3462(0x10d)](_0x2677e3);}async[_0x4e0076(0x112)](_0x1be02d){const _0x3f8180=_0x4e0076;return this[_0x3f8180(0x11d)](_0x1be02d);}async['exportXLSXBySnapshotAsync'](_0x33f77e){const _0xd15ae7=_0x4e0076,_0x1fb981=this[_0xd15ae7(0x115)][_0xd15ae7(0x102)](r[_0xd15ae7(0x103)]);if(!_0x1fb981)throw new Error(_0xd15ae7(0x114));return _0x1fb981['exportXLSXBySnapshot'](_0x33f77e);}async[_0x4e0076(0x119)](_0x56c439){return this['importDOCXToUnitIdAsync'](_0x56c439);}async[_0x4e0076(0x10e)](_0xf1d405){const _0x3d4266=_0x4e0076,_0x1ba92f=this[_0x3d4266(0x115)][_0x3d4266(0x102)](r[_0x3d4266(0x103)]);if(!_0x1ba92f)throw new Error(_0x3d4266(0x114));return _0x1ba92f['importFileToUnitId'](_0xf1d405,o['UNIVER_DOC']);}async[_0x4e0076(0x108)](_0x562405){const _0x24083d=_0x4e0076;return this[_0x24083d(0x11c)](_0x562405);}async[_0x4e0076(0x11c)](_0x89d050){const _0x472c5d=_0x4e0076,_0x18ec02=this['_injector'][_0x472c5d(0x102)](r[_0x472c5d(0x103)]);if(!_0x18ec02)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18ec02['importDOCXToSnapshot'](_0x89d050);}}i[_0x4e0076(0x10f)][_0x4e0076(0x122)](c);