@univerjs-pro/exchange-client 0.6.2-nightly.202503031606 → 0.6.3

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 _0x421b39=_0x5eef;(function(_0x508aed,_0x352551){const _0x4fb452=_0x5eef,_0x11e2d7=_0x508aed();while(!![]){try{const _0x51a298=parseInt(_0x4fb452(0xd8))/0x1+parseInt(_0x4fb452(0xd6))/0x2*(parseInt(_0x4fb452(0xed))/0x3)+parseInt(_0x4fb452(0xdf))/0x4*(parseInt(_0x4fb452(0xef))/0x5)+parseInt(_0x4fb452(0xf8))/0x6+-parseInt(_0x4fb452(0xf5))/0x7*(-parseInt(_0x4fb452(0xf0))/0x8)+parseInt(_0x4fb452(0xf3))/0x9+-parseInt(_0x4fb452(0xe2))/0xa;if(_0x51a298===_0x352551)break;else _0x11e2d7['push'](_0x11e2d7['shift']());}catch(_0x33cfab){_0x11e2d7['push'](_0x11e2d7['shift']());}}}(_0x556d,0xe372c));function _0x5eef(_0x1b86a6,_0x17b693){const _0x556d3e=_0x556d();return _0x5eef=function(_0x5eef67,_0x349e02){_0x5eef67=_0x5eef67-0xd5;let _0x91893=_0x556d3e[_0x5eef67];return _0x91893;},_0x5eef(_0x1b86a6,_0x17b693);}const r=require(_0x421b39(0xee)),i=require(_0x421b39(0xeb));var o=(_0x36cc3b=>(_0x36cc3b[_0x36cc3b['UNIVER_UNKNOWN']=0x0]=_0x421b39(0xf4),_0x36cc3b[_0x36cc3b[_0x421b39(0xe0)]=0x1]=_0x421b39(0xe0),_0x36cc3b[_0x36cc3b[_0x421b39(0xf6)]=0x2]=_0x421b39(0xf6),_0x36cc3b[_0x36cc3b['UNIVER_SLIDE']=0x3]=_0x421b39(0xdd),_0x36cc3b[_0x36cc3b[_0x421b39(0xdb)]=0x4]=_0x421b39(0xdb),_0x36cc3b[_0x36cc3b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x36cc3b))(o||{});class c extends i[_0x421b39(0xde)]{async[_0x421b39(0xdc)](_0x5d1107){const _0x367dfa=_0x421b39;return this[_0x367dfa(0xf7)](_0x5d1107);}async['importXLSXToUnitIdAsync'](_0x260ac8){const _0x153f93=_0x421b39,_0x403168=this[_0x153f93(0xe6)][_0x153f93(0xf2)](r[_0x153f93(0xe4)]);if(!_0x403168)throw new Error(_0x153f93(0xe8));return _0x403168[_0x153f93(0xe3)](_0x260ac8,o['UNIVER_SHEET']);}async[_0x421b39(0xe9)](_0x4a9ba7){const _0x4c704e=_0x421b39;return this[_0x4c704e(0xd5)](_0x4a9ba7);}async[_0x421b39(0xd5)](_0x4e97bd){const _0x16852e=_0x421b39,_0x300a25=this[_0x16852e(0xe6)][_0x16852e(0xf2)](r[_0x16852e(0xe4)]);if(!_0x300a25)throw new Error(_0x16852e(0xe8));return _0x300a25[_0x16852e(0xe9)](_0x4e97bd);}async[_0x421b39(0xec)](_0x57ac7){const _0x5de9a9=_0x421b39;return this[_0x5de9a9(0xe1)](_0x57ac7);}async[_0x421b39(0xe1)](_0x510400){const _0xb8688a=_0x421b39,_0x36e049=this[_0xb8688a(0xe6)]['get'](r[_0xb8688a(0xe4)]);if(!_0x36e049)throw new Error(_0xb8688a(0xe8));return _0x36e049[_0xb8688a(0xec)](_0x510400);}async[_0x421b39(0xd7)](_0x49e05d){const _0x5a7e3d=_0x421b39;return this[_0x5a7e3d(0xe5)](_0x49e05d);}async['exportXLSXBySnapshotAsync'](_0x2fcdd7){const _0x3c5c26=_0x421b39,_0x1f3583=this[_0x3c5c26(0xe6)]['get'](r[_0x3c5c26(0xe4)]);if(!_0x1f3583)throw new Error(_0x3c5c26(0xe8));return _0x1f3583[_0x3c5c26(0xd7)](_0x2fcdd7);}async[_0x421b39(0xd9)](_0x2cda55){const _0x4271ac=_0x421b39;return this[_0x4271ac(0xe7)](_0x2cda55);}async[_0x421b39(0xe7)](_0x2cfacb){const _0x2d7572=_0x421b39,_0x48ca46=this[_0x2d7572(0xe6)]['get'](r['IExchangeService']);if(!_0x48ca46)throw new Error(_0x2d7572(0xe8));return _0x48ca46['importFileToUnitId'](_0x2cfacb,o['UNIVER_DOC']);}async[_0x421b39(0xea)](_0x37b7b0){const _0x3e97d0=_0x421b39;return this[_0x3e97d0(0xda)](_0x37b7b0);}async[_0x421b39(0xda)](_0x55e836){const _0x5ad85c=_0x421b39,_0x1b089b=this[_0x5ad85c(0xe6)][_0x5ad85c(0xf2)](r[_0x5ad85c(0xe4)]);if(!_0x1b089b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b089b[_0x5ad85c(0xea)](_0x55e836);}}function _0x556d(){const _0x1fab1f=['15990ZFULmt','@univerjs-pro/exchange-client','4455240zdhRHV','1416DjfDwz','extend','get','9540972ncRDii','UNIVER_UNKNOWN','5152BANkdv','UNIVER_SHEET','importXLSXToUnitIdAsync','8584278aFSibt','importXLSXToSnapshotAsync','482onwMYd','exportXLSXBySnapshot','339809sewMFX','importDOCXToUnitId','importDOCXToSnapshotAsync','UNIVER_PROJECT','importXLSXToUnitId','UNIVER_SLIDE','FUniver','8scdfab','UNIVER_DOC','exportXLSXByUnitIdAsync','50959000sgMBNr','importFileToUnitId','IExchangeService','exportXLSXBySnapshotAsync','_injector','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','importDOCXToSnapshot','@univerjs/core/facade','exportXLSXByUnitId'];_0x556d=function(){return _0x1fab1f;};return _0x556d();}i[_0x421b39(0xde)][_0x421b39(0xf1)](c);
1
+ 'use strict';function _0xc0fa(){const _0x5ae8f6=['UNIVER_PROJECT','get','3816925fhJbYz','extend','37697540ZVktAh','importXLSXToSnapshot','exportXLSXBySnapshot','51538bskaBb','importFileToUnitId','UNIVER_DOC','UNIVER_SLIDE','importXLSXToUnitId','12hCYlKV','IExchangeService','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','FUniver','9wZTUfu','exportXLSXByUnitId','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','582816gvmgsk','importDOCXToSnapshotAsync','UNIVER_SHEET','4043481zCReJg','The\x20exchange\x20service\x20is\x20not\x20available','_injector','1555695fPQAWr','UNRECOGNIZED','importDOCXToSnapshot','8kXPvjt','exportXLSXBySnapshotAsync','2629212MJvoFs','@univerjs/core/facade','importXLSXToSnapshotAsync'];_0xc0fa=function(){return _0x5ae8f6;};return _0xc0fa();}const _0x44bd7e=_0x3808;(function(_0x38a734,_0x2dee26){const _0x246ed7=_0x3808,_0x442ad4=_0x38a734();while(!![]){try{const _0x1cf44e=-parseInt(_0x246ed7(0x15a))/0x1*(parseInt(_0x246ed7(0x166))/0x2)+-parseInt(_0x246ed7(0x154))/0x3+-parseInt(_0x246ed7(0x15c))/0x4+parseInt(_0x246ed7(0x157))/0x5+-parseInt(_0x246ed7(0x16b))/0x6*(parseInt(_0x246ed7(0x161))/0x7)+-parseInt(_0x246ed7(0x151))/0x8+parseInt(_0x246ed7(0x14d))/0x9*(parseInt(_0x246ed7(0x163))/0xa);if(_0x1cf44e===_0x2dee26)break;else _0x442ad4['push'](_0x442ad4['shift']());}catch(_0x5b6d10){_0x442ad4['push'](_0x442ad4['shift']());}}}(_0xc0fa,0xac6a1));const r=require('@univerjs-pro/exchange-client'),i=require(_0x44bd7e(0x15d));var o=(_0x17ed0b=>(_0x17ed0b[_0x17ed0b[_0x44bd7e(0x16e)]=0x0]=_0x44bd7e(0x16e),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x168)]=0x1]=_0x44bd7e(0x168),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x153)]=0x2]='UNIVER_SHEET',_0x17ed0b[_0x17ed0b[_0x44bd7e(0x169)]=0x3]=_0x44bd7e(0x169),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x15f)]=0x4]=_0x44bd7e(0x15f),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x158)]=-0x1]=_0x44bd7e(0x158),_0x17ed0b))(o||{});function _0x3808(_0x26f55a,_0x35545d){const _0xc0faff=_0xc0fa();return _0x3808=function(_0x38085d,_0x56fb96){_0x38085d=_0x38085d-0x14c;let _0x2fa35b=_0xc0faff[_0x38085d];return _0x2fa35b;},_0x3808(_0x26f55a,_0x35545d);}class c extends i[_0x44bd7e(0x14c)]{async[_0x44bd7e(0x16a)](_0x4e2ac8){return this['importXLSXToUnitIdAsync'](_0x4e2ac8);}async[_0x44bd7e(0x150)](_0x3ee0f4){const _0x145457=_0x44bd7e,_0x48a151=this[_0x145457(0x156)]['get'](r['IExchangeService']);if(!_0x48a151)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x48a151[_0x145457(0x167)](_0x3ee0f4,o[_0x145457(0x153)]);}async[_0x44bd7e(0x164)](_0x271754){const _0x270a53=_0x44bd7e;return this[_0x270a53(0x15e)](_0x271754);}async['importXLSXToSnapshotAsync'](_0x2dd12b){const _0x3d0667=_0x44bd7e,_0x3b422b=this[_0x3d0667(0x156)]['get'](r['IExchangeService']);if(!_0x3b422b)throw new Error(_0x3d0667(0x155));return _0x3b422b[_0x3d0667(0x164)](_0x2dd12b);}async[_0x44bd7e(0x14e)](_0x472ebc){return this['exportXLSXByUnitIdAsync'](_0x472ebc);}async[_0x44bd7e(0x14f)](_0x56465b){const _0x3fe37e=_0x44bd7e,_0x6bf696=this[_0x3fe37e(0x156)][_0x3fe37e(0x160)](r[_0x3fe37e(0x16c)]);if(!_0x6bf696)throw new Error(_0x3fe37e(0x155));return _0x6bf696['exportXLSXByUnitId'](_0x56465b);}async[_0x44bd7e(0x165)](_0x25a2c5){const _0x3de885=_0x44bd7e;return this[_0x3de885(0x15b)](_0x25a2c5);}async['exportXLSXBySnapshotAsync'](_0x1adebc){const _0x26efe1=_0x44bd7e,_0x571f3d=this[_0x26efe1(0x156)][_0x26efe1(0x160)](r['IExchangeService']);if(!_0x571f3d)throw new Error(_0x26efe1(0x155));return _0x571f3d['exportXLSXBySnapshot'](_0x1adebc);}async['importDOCXToUnitId'](_0x5130b3){return this['importDOCXToUnitIdAsync'](_0x5130b3);}async[_0x44bd7e(0x16d)](_0x24b96a){const _0x29b542=_0x44bd7e,_0xcdec79=this[_0x29b542(0x156)]['get'](r[_0x29b542(0x16c)]);if(!_0xcdec79)throw new Error(_0x29b542(0x155));return _0xcdec79[_0x29b542(0x167)](_0x24b96a,o[_0x29b542(0x168)]);}async['importDOCXToSnapshot'](_0x3c5cf9){return this['importDOCXToSnapshotAsync'](_0x3c5cf9);}async[_0x44bd7e(0x152)](_0x72f5c9){const _0x531881=_0x44bd7e,_0x414f01=this[_0x531881(0x156)][_0x531881(0x160)](r[_0x531881(0x16c)]);if(!_0x414f01)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x414f01[_0x531881(0x159)](_0x72f5c9);}}i[_0x44bd7e(0x14c)][_0x44bd7e(0x162)](c);