@univerjs-pro/exchange-client 0.8.2-nightly.202506241607 → 0.8.2-nightly.202506251607

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 _0x81eb3d=_0xb92c;(function(_0x5ef12c,_0x4b37ac){const _0x1db68d=_0xb92c,_0x2e2c7f=_0x5ef12c();while(!![]){try{const _0x44fd59=-parseInt(_0x1db68d(0xa2))/0x1*(parseInt(_0x1db68d(0xaf))/0x2)+parseInt(_0x1db68d(0xa9))/0x3*(parseInt(_0x1db68d(0x94))/0x4)+-parseInt(_0x1db68d(0x8f))/0x5+-parseInt(_0x1db68d(0xaa))/0x6+-parseInt(_0x1db68d(0x99))/0x7*(-parseInt(_0x1db68d(0x9c))/0x8)+-parseInt(_0x1db68d(0x93))/0x9*(parseInt(_0x1db68d(0xab))/0xa)+parseInt(_0x1db68d(0x9e))/0xb;if(_0x44fd59===_0x4b37ac)break;else _0x2e2c7f['push'](_0x2e2c7f['shift']());}catch(_0x3bb311){_0x2e2c7f['push'](_0x2e2c7f['shift']());}}}(_0x9374,0xdb844));const r=require(_0x81eb3d(0xa8)),o=require(_0x81eb3d(0x9d));var i=(_0x1034aa=>(_0x1034aa[_0x1034aa[_0x81eb3d(0xa5)]=0x0]='UNIVER_UNKNOWN',_0x1034aa[_0x1034aa['UNIVER_DOC']=0x1]=_0x81eb3d(0x8c),_0x1034aa[_0x1034aa[_0x81eb3d(0x8e)]=0x2]='UNIVER_SHEET',_0x1034aa[_0x1034aa['UNIVER_SLIDE']=0x3]=_0x81eb3d(0xa0),_0x1034aa[_0x1034aa[_0x81eb3d(0xa3)]=0x4]=_0x81eb3d(0xa3),_0x1034aa[_0x1034aa['UNRECOGNIZED']=-0x1]=_0x81eb3d(0xac),_0x1034aa))(i||{});function _0xb92c(_0xeae3b2,_0x41e288){const _0x9374d3=_0x9374();return _0xb92c=function(_0xb92ccf,_0x3eb625){_0xb92ccf=_0xb92ccf-0x8c;let _0x2a7f06=_0x9374d3[_0xb92ccf];return _0x2a7f06;},_0xb92c(_0xeae3b2,_0x41e288);}class c extends o['FUniver']{async[_0x81eb3d(0x91)](_0x4f581b){return this['importXLSXToUnitIdAsync'](_0x4f581b);}async['importXLSXToUnitIdAsync'](_0x25f3f1){const _0x597933=_0x81eb3d,_0x2ae9e2=this[_0x597933(0x9b)][_0x597933(0xad)](r[_0x597933(0x9f)]);if(!_0x2ae9e2)throw new Error(_0x597933(0xb0));return _0x2ae9e2[_0x597933(0xa1)](_0x25f3f1,i['UNIVER_SHEET']);}async[_0x81eb3d(0xa7)](_0x2a1837){const _0x296226=_0x81eb3d;return this[_0x296226(0x92)](_0x2a1837);}async['importXLSXToSnapshotAsync'](_0x5a5be6){const _0x3cf12e=_0x81eb3d,_0x1a1777=this[_0x3cf12e(0x9b)][_0x3cf12e(0xad)](r[_0x3cf12e(0x9f)]);if(!_0x1a1777)throw new Error(_0x3cf12e(0xb0));return _0x1a1777[_0x3cf12e(0xa7)](_0x5a5be6);}async['exportXLSXByUnitId'](_0x267a55){const _0x13d34e=_0x81eb3d;return this[_0x13d34e(0x9a)](_0x267a55);}async[_0x81eb3d(0x9a)](_0x396cef){const _0x3660bf=_0x81eb3d,_0x223e4e=this[_0x3660bf(0x9b)][_0x3660bf(0xad)](r['IExchangeService']);if(!_0x223e4e)throw new Error(_0x3660bf(0xb0));return _0x223e4e[_0x3660bf(0x8d)](_0x396cef);}async['exportXLSXBySnapshot'](_0x577b9d){const _0x172638=_0x81eb3d;return this[_0x172638(0xa6)](_0x577b9d);}async['exportXLSXBySnapshotAsync'](_0x29f9de){const _0xb230e8=_0x81eb3d,_0x2024bb=this[_0xb230e8(0x9b)][_0xb230e8(0xad)](r[_0xb230e8(0x9f)]);if(!_0x2024bb)throw new Error(_0xb230e8(0xb0));return _0x2024bb[_0xb230e8(0x97)](_0x29f9de);}async[_0x81eb3d(0x96)](_0x1ce970){return this['importDOCXToUnitIdAsync'](_0x1ce970);}async['importDOCXToUnitIdAsync'](_0x2ddde3){const _0x104c66=_0x81eb3d,_0x82c39=this[_0x104c66(0x9b)]['get'](r[_0x104c66(0x9f)]);if(!_0x82c39)throw new Error(_0x104c66(0xb0));return _0x82c39[_0x104c66(0xa1)](_0x2ddde3,i['UNIVER_DOC']);}async[_0x81eb3d(0x98)](_0x4aea38){return this['importDOCXToSnapshotAsync'](_0x4aea38);}async[_0x81eb3d(0xa4)](_0x50930a){const _0x30d5d0=_0x81eb3d,_0x5db159=this[_0x30d5d0(0x9b)][_0x30d5d0(0xad)](r[_0x30d5d0(0x9f)]);if(!_0x5db159)throw new Error(_0x30d5d0(0xb0));return _0x5db159[_0x30d5d0(0x98)](_0x50930a);}async['exportDOCXBySnapshotAsync'](_0x3f1f66){const _0x22d520=_0x81eb3d,_0x3c60b0=this[_0x22d520(0x9b)][_0x22d520(0xad)](r[_0x22d520(0x9f)]);if(!_0x3c60b0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c60b0['exportDOCXBySnapshot'](_0x3f1f66);}async[_0x81eb3d(0x90)](_0x1400d4){const _0x482e18=_0x81eb3d,_0x43eabf=this[_0x482e18(0x9b)][_0x482e18(0xad)](r['IExchangeService']);if(!_0x43eabf)throw new Error(_0x482e18(0xb0));return _0x43eabf['exportDOCXByUnitId'](_0x1400d4);}}function _0x9374(){const _0x2043bc=['importXLSXToUnitId','importXLSXToSnapshotAsync','101907BjLaVV','12gtGMab','FUniver','importDOCXToUnitId','exportXLSXBySnapshot','importDOCXToSnapshot','525hIEHOy','exportXLSXByUnitIdAsync','_injector','146992yVCBNw','@univerjs/core/facade','15852716qyfZxy','IExchangeService','UNIVER_SLIDE','importFileToUnitId','1ZHLYaK','UNIVER_PROJECT','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','exportXLSXBySnapshotAsync','importXLSXToSnapshot','@univerjs-pro/exchange-client','1617537QlIZEx','10306692HgppML','220uPXOoV','UNRECOGNIZED','get','extend','2755736BCSgZd','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','exportXLSXByUnitId','UNIVER_SHEET','964235RGlkti','exportDOCXByUnitIdAsync'];_0x9374=function(){return _0x2043bc;};return _0x9374();}o[_0x81eb3d(0x95)][_0x81eb3d(0xae)](c);
1
+ 'use strict';const _0x513db9=_0xfb38;(function(_0x9fdf90,_0x3b4c44){const _0x357499=_0xfb38,_0x43e263=_0x9fdf90();while(!![]){try{const _0x14c10e=parseInt(_0x357499(0xff))/0x1*(parseInt(_0x357499(0xf6))/0x2)+parseInt(_0x357499(0xfb))/0x3+parseInt(_0x357499(0xfc))/0x4+-parseInt(_0x357499(0x101))/0x5*(parseInt(_0x357499(0xef))/0x6)+parseInt(_0x357499(0xe9))/0x7*(parseInt(_0x357499(0xe0))/0x8)+parseInt(_0x357499(0x100))/0x9*(parseInt(_0x357499(0xf1))/0xa)+parseInt(_0x357499(0xed))/0xb*(-parseInt(_0x357499(0xf3))/0xc);if(_0x14c10e===_0x3b4c44)break;else _0x43e263['push'](_0x43e263['shift']());}catch(_0x46d320){_0x43e263['push'](_0x43e263['shift']());}}}(_0x230b,0x9ec74));function _0x230b(){const _0x2169de=['importXLSXToSnapshotAsync','exportXLSXByUnitId','733138xWBHGb','45zsTDCb','154230aeNuKe','UNIVER_UNKNOWN','_injector','exportXLSXBySnapshotAsync','UNIVER_SLIDE','UNIVER_SHEET','UNRECOGNIZED','@univerjs/core/facade','259360MiiGGh','extend','importDOCXToSnapshotAsync','importDOCXToSnapshot','importXLSXToUnitIdAsync','get','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','exportDOCXBySnapshot','14cgMUOJ','exportDOCXByUnitId','FUniver','IExchangeService','11zMXpUK','importXLSXToSnapshot','84SNDFhO','exportXLSXBySnapshot','1928340IaFeVx','importXLSXToUnitId','15273636IXySmn','exportXLSXByUnitIdAsync','exportDOCXBySnapshotAsync','2npBvqY','UNIVER_DOC','UNIVER_PROJECT','exportDOCXByUnitIdAsync','importFileToUnitId','528015xDbLBU','1667400jiVGWM'];_0x230b=function(){return _0x2169de;};return _0x230b();}function _0xfb38(_0x662e72,_0x29c467){const _0x230b83=_0x230b();return _0xfb38=function(_0xfb385,_0x1016d7){_0xfb385=_0xfb385-0xde;let _0x6dc3da=_0x230b83[_0xfb385];return _0x6dc3da;},_0xfb38(_0x662e72,_0x29c467);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x513db9(0xdf));var i=(_0x2d4256=>(_0x2d4256[_0x2d4256[_0x513db9(0x102)]=0x0]='UNIVER_UNKNOWN',_0x2d4256[_0x2d4256['UNIVER_DOC']=0x1]=_0x513db9(0xf7),_0x2d4256[_0x2d4256[_0x513db9(0x106)]=0x2]=_0x513db9(0x106),_0x2d4256[_0x2d4256[_0x513db9(0x105)]=0x3]=_0x513db9(0x105),_0x2d4256[_0x2d4256[_0x513db9(0xf8)]=0x4]=_0x513db9(0xf8),_0x2d4256[_0x2d4256['UNRECOGNIZED']=-0x1]=_0x513db9(0xde),_0x2d4256))(i||{});class c extends o[_0x513db9(0xeb)]{async[_0x513db9(0xf2)](_0x442378){const _0x4d6e8f=_0x513db9;return this[_0x4d6e8f(0xe4)](_0x442378);}async['importXLSXToUnitIdAsync'](_0x81c7a1){const _0x257956=_0x513db9,_0x5e7188=this['_injector']['get'](r[_0x257956(0xec)]);if(!_0x5e7188)throw new Error(_0x257956(0xe6));return _0x5e7188[_0x257956(0xfa)](_0x81c7a1,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x242fb1){const _0x46ba83=_0x513db9;return this[_0x46ba83(0xfd)](_0x242fb1);}async[_0x513db9(0xfd)](_0x1fb6b3){const _0x376238=_0x513db9,_0x1b3799=this[_0x376238(0x103)][_0x376238(0xe5)](r[_0x376238(0xec)]);if(!_0x1b3799)throw new Error(_0x376238(0xe6));return _0x1b3799[_0x376238(0xee)](_0x1fb6b3);}async[_0x513db9(0xfe)](_0x2a9876){const _0x10e8d6=_0x513db9;return this[_0x10e8d6(0xf4)](_0x2a9876);}async['exportXLSXByUnitIdAsync'](_0x5b39e1){const _0x4ff598=_0x513db9,_0x25661d=this[_0x4ff598(0x103)]['get'](r[_0x4ff598(0xec)]);if(!_0x25661d)throw new Error(_0x4ff598(0xe6));return _0x25661d['exportXLSXByUnitId'](_0x5b39e1);}async[_0x513db9(0xf0)](_0x100731){const _0x1fd468=_0x513db9;return this[_0x1fd468(0x104)](_0x100731);}async[_0x513db9(0x104)](_0x3803cb){const _0x22307d=_0x513db9,_0xd13ac2=this[_0x22307d(0x103)][_0x22307d(0xe5)](r[_0x22307d(0xec)]);if(!_0xd13ac2)throw new Error(_0x22307d(0xe6));return _0xd13ac2['exportXLSXBySnapshot'](_0x3803cb);}async['importDOCXToUnitId'](_0x478748){const _0xa297b4=_0x513db9;return this[_0xa297b4(0xe7)](_0x478748);}async[_0x513db9(0xe7)](_0x12c337){const _0x3ff24e=_0x513db9,_0x13095c=this['_injector'][_0x3ff24e(0xe5)](r[_0x3ff24e(0xec)]);if(!_0x13095c)throw new Error(_0x3ff24e(0xe6));return _0x13095c[_0x3ff24e(0xfa)](_0x12c337,i['UNIVER_DOC']);}async[_0x513db9(0xe3)](_0x1a9ac4){const _0x36941f=_0x513db9;return this[_0x36941f(0xe2)](_0x1a9ac4);}async[_0x513db9(0xe2)](_0x673d06){const _0x3e0667=_0x513db9,_0xe83639=this[_0x3e0667(0x103)][_0x3e0667(0xe5)](r[_0x3e0667(0xec)]);if(!_0xe83639)throw new Error(_0x3e0667(0xe6));return _0xe83639[_0x3e0667(0xe3)](_0x673d06);}async[_0x513db9(0xf5)](_0x1d723d){const _0x1c5c26=_0x513db9,_0x3a430a=this[_0x1c5c26(0x103)][_0x1c5c26(0xe5)](r['IExchangeService']);if(!_0x3a430a)throw new Error(_0x1c5c26(0xe6));return _0x3a430a[_0x1c5c26(0xe8)](_0x1d723d);}async[_0x513db9(0xf9)](_0x1ef4b3){const _0x1b78c0=_0x513db9,_0x47594e=this[_0x1b78c0(0x103)]['get'](r[_0x1b78c0(0xec)]);if(!_0x47594e)throw new Error(_0x1b78c0(0xe6));return _0x47594e[_0x1b78c0(0xea)](_0x1ef4b3);}}o['FUniver'][_0x513db9(0xe1)](c);