@univerjs-pro/exchange-client 0.8.3-nightly.202507031607 → 0.9.0

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 _0xf69bf5=_0x2285;(function(_0xcb3352,_0x54f3f3){const _0xea42c4=_0x2285,_0x127a27=_0xcb3352();while(!![]){try{const _0x5459ee=parseInt(_0xea42c4(0xe1))/0x1*(-parseInt(_0xea42c4(0xe6))/0x2)+-parseInt(_0xea42c4(0xea))/0x3+-parseInt(_0xea42c4(0xce))/0x4*(-parseInt(_0xea42c4(0xd5))/0x5)+parseInt(_0xea42c4(0xdb))/0x6*(-parseInt(_0xea42c4(0xe5))/0x7)+parseInt(_0xea42c4(0xcc))/0x8+-parseInt(_0xea42c4(0xd4))/0x9+parseInt(_0xea42c4(0xda))/0xa;if(_0x5459ee===_0x54f3f3)break;else _0x127a27['push'](_0x127a27['shift']());}catch(_0x1d1557){_0x127a27['push'](_0x127a27['shift']());}}}(_0x436e,0xb99ea));function _0x2285(_0x1489d0,_0x2168ca){const _0x436e90=_0x436e();return _0x2285=function(_0x2285ef,_0x49a8c1){_0x2285ef=_0x2285ef-0xcc;let _0xd9cce6=_0x436e90[_0x2285ef];return _0xd9cce6;},_0x2285(_0x1489d0,_0x2168ca);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0xbf2a48=>(_0xbf2a48[_0xbf2a48[_0xf69bf5(0xe4)]=0x0]=_0xf69bf5(0xe4),_0xbf2a48[_0xbf2a48[_0xf69bf5(0xe8)]=0x1]=_0xf69bf5(0xe8),_0xbf2a48[_0xbf2a48[_0xf69bf5(0xd2)]=0x2]=_0xf69bf5(0xd2),_0xbf2a48[_0xbf2a48['UNIVER_SLIDE']=0x3]=_0xf69bf5(0xe7),_0xbf2a48[_0xbf2a48[_0xf69bf5(0xee)]=0x4]=_0xf69bf5(0xee),_0xbf2a48[_0xbf2a48[_0xf69bf5(0xe2)]=-0x1]=_0xf69bf5(0xe2),_0xbf2a48))(i||{});class c extends o['FUniver']{async['importXLSXToUnitId'](_0x5b4d28){const _0x560c64=_0xf69bf5;return this[_0x560c64(0xec)](_0x5b4d28);}async[_0xf69bf5(0xec)](_0x20dc75){const _0xdd1d99=_0xf69bf5,_0x4025fc=this['_injector'][_0xdd1d99(0xe9)](r[_0xdd1d99(0xdd)]);if(!_0x4025fc)throw new Error(_0xdd1d99(0xd6));return _0x4025fc[_0xdd1d99(0xe0)](_0x20dc75,i[_0xdd1d99(0xd2)]);}async['importXLSXToSnapshot'](_0x19b8b6){return this['importXLSXToSnapshotAsync'](_0x19b8b6);}async[_0xf69bf5(0xd3)](_0x468a5a){const _0x3a9763=_0xf69bf5,_0x5f0645=this[_0x3a9763(0xcf)]['get'](r['IExchangeService']);if(!_0x5f0645)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5f0645[_0x3a9763(0xd0)](_0x468a5a);}async[_0xf69bf5(0xd7)](_0x5b7828){const _0x277297=_0xf69bf5;return this[_0x277297(0xed)](_0x5b7828);}async['exportXLSXByUnitIdAsync'](_0x5353aa){const _0x1588db=_0xf69bf5,_0x239db4=this['_injector'][_0x1588db(0xe9)](r[_0x1588db(0xdd)]);if(!_0x239db4)throw new Error(_0x1588db(0xd6));return _0x239db4[_0x1588db(0xd7)](_0x5353aa);}async[_0xf69bf5(0xdc)](_0x334fdc){return this['exportXLSXBySnapshotAsync'](_0x334fdc);}async['exportXLSXBySnapshotAsync'](_0x54c4ee){const _0x282fc8=_0xf69bf5,_0x1a191c=this['_injector'][_0x282fc8(0xe9)](r[_0x282fc8(0xdd)]);if(!_0x1a191c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a191c[_0x282fc8(0xdc)](_0x54c4ee);}async[_0xf69bf5(0xd9)](_0x1ce841){const _0x152a37=_0xf69bf5;return this[_0x152a37(0xcd)](_0x1ce841);}async[_0xf69bf5(0xcd)](_0x1d9b69){const _0x4115df=_0xf69bf5,_0x1e8c5e=this[_0x4115df(0xcf)]['get'](r[_0x4115df(0xdd)]);if(!_0x1e8c5e)throw new Error(_0x4115df(0xd6));return _0x1e8c5e['importFileToUnitId'](_0x1d9b69,i['UNIVER_DOC']);}async[_0xf69bf5(0xeb)](_0x4304c9){const _0x4dec18=_0xf69bf5;return this[_0x4dec18(0xd1)](_0x4304c9);}async[_0xf69bf5(0xd1)](_0x1280c3){const _0xb88eee=_0xf69bf5,_0x207688=this[_0xb88eee(0xcf)][_0xb88eee(0xe9)](r[_0xb88eee(0xdd)]);if(!_0x207688)throw new Error(_0xb88eee(0xd6));return _0x207688[_0xb88eee(0xeb)](_0x1280c3);}async[_0xf69bf5(0xdf)](_0x865102){const _0x5c988b=_0xf69bf5,_0x2a85e4=this[_0x5c988b(0xcf)][_0x5c988b(0xe9)](r[_0x5c988b(0xdd)]);if(!_0x2a85e4)throw new Error(_0x5c988b(0xd6));return _0x2a85e4[_0x5c988b(0xd8)](_0x865102);}async['exportDOCXByUnitIdAsync'](_0x3a61b2){const _0x2100b6=_0xf69bf5,_0x662ce8=this['_injector'][_0x2100b6(0xe9)](r['IExchangeService']);if(!_0x662ce8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x662ce8[_0x2100b6(0xde)](_0x3a61b2);}}o[_0xf69bf5(0xe3)]['extend'](c);function _0x436e(){const _0x3aa104=['exportDOCXBySnapshot','importDOCXToUnitId','32220780GgTKMw','3083622fgUrRg','exportXLSXBySnapshot','IExchangeService','exportDOCXByUnitId','exportDOCXBySnapshotAsync','importFileToUnitId','1460311wXTBHM','UNRECOGNIZED','FUniver','UNIVER_UNKNOWN','7qSZXwe','2ZazOls','UNIVER_SLIDE','UNIVER_DOC','get','1099134bBCtBM','importDOCXToSnapshot','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','UNIVER_PROJECT','9183504eBYJrm','importDOCXToUnitIdAsync','416SaFBbO','_injector','importXLSXToSnapshot','importDOCXToSnapshotAsync','UNIVER_SHEET','importXLSXToSnapshotAsync','13019580aTmrXE','8535noXwXw','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId'];_0x436e=function(){return _0x3aa104;};return _0x436e();}
1
+ 'use strict';const _0x4a35c1=_0x5f29;(function(_0x1a83fd,_0x417098){const _0x43681d=_0x5f29,_0x51a8de=_0x1a83fd();while(!![]){try{const _0x2508fc=-parseInt(_0x43681d(0x150))/0x1+parseInt(_0x43681d(0x153))/0x2*(-parseInt(_0x43681d(0x167))/0x3)+parseInt(_0x43681d(0x15f))/0x4*(parseInt(_0x43681d(0x156))/0x5)+parseInt(_0x43681d(0x152))/0x6*(-parseInt(_0x43681d(0x14f))/0x7)+-parseInt(_0x43681d(0x149))/0x8*(parseInt(_0x43681d(0x168))/0x9)+-parseInt(_0x43681d(0x164))/0xa*(parseInt(_0x43681d(0x166))/0xb)+parseInt(_0x43681d(0x14d))/0xc;if(_0x2508fc===_0x417098)break;else _0x51a8de['push'](_0x51a8de['shift']());}catch(_0x5d957a){_0x51a8de['push'](_0x51a8de['shift']());}}}(_0x3e64,0xebfe9));function _0x5f29(_0x5cce49,_0x3ed352){const _0x3e6499=_0x3e64();return _0x5f29=function(_0x5f29fa,_0x4aa41e){_0x5f29fa=_0x5f29fa-0x148;let _0x3bf98a=_0x3e6499[_0x5f29fa];return _0x3bf98a;},_0x5f29(_0x5cce49,_0x3ed352);}function _0x3e64(){const _0x3b360e=['_injector','16nYZdwu','get','UNIVER_SHEET','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','10SyJAFB','exportDOCXByUnitId','18742119rLIFIB','588594QZLEbY','4653549cuPtHQ','UNIVER_SLIDE','importDOCXToSnapshot','importXLSXToSnapshotAsync','IExchangeService','importDOCXToUnitId','FUniver','UNIVER_DOC','8UTAmqL','exportXLSXByUnitId','importFileToUnitId','exportXLSXByUnitIdAsync','47014728NzJnzO','The\x20exchange\x20service\x20is\x20not\x20available','6923Mrvylq','1231750fbXNai','exportDOCXByUnitIdAsync','2202xTRDGw','10lgtbfQ','importXLSXToUnitId','importXLSXToUnitIdAsync','2306665guhSBX','exportXLSXBySnapshot','UNIVER_PROJECT','importDOCXToUnitIdAsync','UNRECOGNIZED','importXLSXToSnapshot','exportDOCXBySnapshotAsync','UNIVER_UNKNOWN'];_0x3e64=function(){return _0x3b360e;};return _0x3e64();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x565c5f=>(_0x565c5f[_0x565c5f[_0x4a35c1(0x15d)]=0x0]=_0x4a35c1(0x15d),_0x565c5f[_0x565c5f[_0x4a35c1(0x148)]=0x1]=_0x4a35c1(0x148),_0x565c5f[_0x565c5f['UNIVER_SHEET']=0x2]=_0x4a35c1(0x161),_0x565c5f[_0x565c5f[_0x4a35c1(0x169)]=0x3]=_0x4a35c1(0x169),_0x565c5f[_0x565c5f['UNIVER_PROJECT']=0x4]=_0x4a35c1(0x158),_0x565c5f[_0x565c5f[_0x4a35c1(0x15a)]=-0x1]=_0x4a35c1(0x15a),_0x565c5f))(i||{});class c extends o[_0x4a35c1(0x16e)]{async[_0x4a35c1(0x154)](_0x53a276){const _0x39bdd4=_0x4a35c1;return this[_0x39bdd4(0x155)](_0x53a276);}async[_0x4a35c1(0x155)](_0xd548d){const _0x23d12e=_0x4a35c1,_0x50bfd3=this['_injector']['get'](r[_0x23d12e(0x16c)]);if(!_0x50bfd3)throw new Error(_0x23d12e(0x14e));return _0x50bfd3[_0x23d12e(0x14b)](_0xd548d,i[_0x23d12e(0x161)]);}async[_0x4a35c1(0x15b)](_0x4c544e){const _0x537404=_0x4a35c1;return this[_0x537404(0x16b)](_0x4c544e);}async[_0x4a35c1(0x16b)](_0x316e9c){const _0x174241=_0x4a35c1,_0x58b953=this[_0x174241(0x15e)][_0x174241(0x160)](r['IExchangeService']);if(!_0x58b953)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x58b953[_0x174241(0x15b)](_0x316e9c);}async[_0x4a35c1(0x14a)](_0x39bffe){const _0x4c3017=_0x4a35c1;return this[_0x4c3017(0x14c)](_0x39bffe);}async['exportXLSXByUnitIdAsync'](_0x57a013){const _0x36d712=_0x4a35c1,_0x3dccfd=this[_0x36d712(0x15e)][_0x36d712(0x160)](r['IExchangeService']);if(!_0x3dccfd)throw new Error(_0x36d712(0x14e));return _0x3dccfd['exportXLSXByUnitId'](_0x57a013);}async[_0x4a35c1(0x157)](_0x414976){const _0x21d418=_0x4a35c1;return this[_0x21d418(0x162)](_0x414976);}async[_0x4a35c1(0x162)](_0x4f8eb3){const _0x34eb0b=_0x4a35c1,_0x38e8d1=this[_0x34eb0b(0x15e)][_0x34eb0b(0x160)](r['IExchangeService']);if(!_0x38e8d1)throw new Error(_0x34eb0b(0x14e));return _0x38e8d1['exportXLSXBySnapshot'](_0x4f8eb3);}async[_0x4a35c1(0x16d)](_0xc98c8e){const _0x54e4df=_0x4a35c1;return this[_0x54e4df(0x159)](_0xc98c8e);}async[_0x4a35c1(0x159)](_0x277ac9){const _0x59d6b2=_0x4a35c1,_0x4e835e=this['_injector'][_0x59d6b2(0x160)](r[_0x59d6b2(0x16c)]);if(!_0x4e835e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4e835e[_0x59d6b2(0x14b)](_0x277ac9,i[_0x59d6b2(0x148)]);}async[_0x4a35c1(0x16a)](_0x35b6fc){const _0x3f8963=_0x4a35c1;return this[_0x3f8963(0x163)](_0x35b6fc);}async[_0x4a35c1(0x163)](_0x60a923){const _0x4dfd8b=_0x4a35c1,_0x2aac54=this[_0x4dfd8b(0x15e)][_0x4dfd8b(0x160)](r[_0x4dfd8b(0x16c)]);if(!_0x2aac54)throw new Error(_0x4dfd8b(0x14e));return _0x2aac54['importDOCXToSnapshot'](_0x60a923);}async[_0x4a35c1(0x15c)](_0x6979c6){const _0x30d347=_0x4a35c1,_0x33533c=this[_0x30d347(0x15e)][_0x30d347(0x160)](r['IExchangeService']);if(!_0x33533c)throw new Error(_0x30d347(0x14e));return _0x33533c['exportDOCXBySnapshot'](_0x6979c6);}async[_0x4a35c1(0x151)](_0x28a950){const _0xef3101=_0x4a35c1,_0x70f76e=this['_injector'][_0xef3101(0x160)](r['IExchangeService']);if(!_0x70f76e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x70f76e[_0xef3101(0x165)](_0x28a950);}}o[_0x4a35c1(0x16e)]['extend'](c);