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

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';function _0x4d3f(){const _0xd30b22=['importDOCXToSnapshotAsync','17913AbAdmV','_injector','UNIVER_UNKNOWN','1610997gxcLtd','FUniver','3352CutPnG','extend','UNIVER_PROJECT','2451360iwCmeO','7690986AfcVSS','exportXLSXByUnitIdAsync','IExchangeService','91470JUABeN','@univerjs-pro/exchange-client','UNIVER_SHEET','get','4pXKLoi','@univerjs/core/facade','importXLSXToSnapshot','exportXLSXByUnitId','importXLSXToSnapshotAsync','1670710WACnvl','exportXLSXBySnapshot','importDOCXToUnitId','importFileToUnitId','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','UNIVER_SLIDE','861798AfuGuK','importXLSXToUnitId','importDOCXToSnapshot','exportXLSXBySnapshotAsync'];_0x4d3f=function(){return _0xd30b22;};return _0x4d3f();}const _0x36e534=_0x564a;function _0x564a(_0xa87582,_0x4668f5){const _0x4d3fa6=_0x4d3f();return _0x564a=function(_0x564a18,_0xc41cff){_0x564a18=_0x564a18-0xb9;let _0x3dac6b=_0x4d3fa6[_0x564a18];return _0x3dac6b;},_0x564a(_0xa87582,_0x4668f5);}(function(_0x46864c,_0x37da94){const _0xc6eecf=_0x564a,_0x27c973=_0x46864c();while(!![]){try{const _0x88f28f=parseInt(_0xc6eecf(0xc3))/0x1+-parseInt(_0xc6eecf(0xbb))/0x2+-parseInt(_0xc6eecf(0xcc))/0x3+-parseInt(_0xc6eecf(0xd0))/0x4*(-parseInt(_0xc6eecf(0xd5))/0x5)+-parseInt(_0xc6eecf(0xc8))/0x6+parseInt(_0xc6eecf(0xc0))/0x7*(-parseInt(_0xc6eecf(0xc5))/0x8)+parseInt(_0xc6eecf(0xc9))/0x9;if(_0x88f28f===_0x37da94)break;else _0x27c973['push'](_0x27c973['shift']());}catch(_0x43923e){_0x27c973['push'](_0x27c973['shift']());}}}(_0x4d3f,0xd15b3));const r=require(_0x36e534(0xcd)),i=require(_0x36e534(0xd1));var o=(_0x1b2be6=>(_0x1b2be6[_0x1b2be6[_0x36e534(0xc2)]=0x0]='UNIVER_UNKNOWN',_0x1b2be6[_0x1b2be6[_0x36e534(0xd9)]=0x1]=_0x36e534(0xd9),_0x1b2be6[_0x1b2be6[_0x36e534(0xce)]=0x2]=_0x36e534(0xce),_0x1b2be6[_0x1b2be6[_0x36e534(0xba)]=0x3]='UNIVER_SLIDE',_0x1b2be6[_0x1b2be6[_0x36e534(0xc7)]=0x4]=_0x36e534(0xc7),_0x1b2be6[_0x1b2be6['UNRECOGNIZED']=-0x1]=_0x36e534(0xb9),_0x1b2be6))(o||{});class c extends i[_0x36e534(0xc4)]{async[_0x36e534(0xbc)](_0x506d0e){return this['importXLSXToUnitIdAsync'](_0x506d0e);}async['importXLSXToUnitIdAsync'](_0x5b8dd4){const _0x4f868e=_0x36e534,_0x32ad9f=this[_0x4f868e(0xc1)]['get'](r[_0x4f868e(0xcb)]);if(!_0x32ad9f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x32ad9f['importFileToUnitId'](_0x5b8dd4,o[_0x4f868e(0xce)]);}async[_0x36e534(0xd2)](_0x4ae58f){const _0x10e789=_0x36e534;return this[_0x10e789(0xd4)](_0x4ae58f);}async[_0x36e534(0xd4)](_0xd7ba06){const _0x3fb39a=_0x36e534,_0x41ca08=this[_0x3fb39a(0xc1)]['get'](r[_0x3fb39a(0xcb)]);if(!_0x41ca08)throw new Error(_0x3fb39a(0xda));return _0x41ca08[_0x3fb39a(0xd2)](_0xd7ba06);}async[_0x36e534(0xd3)](_0x34f1d6){const _0x53f219=_0x36e534;return this[_0x53f219(0xca)](_0x34f1d6);}async[_0x36e534(0xca)](_0x508487){const _0x54c5e7=_0x36e534,_0x1142bd=this[_0x54c5e7(0xc1)][_0x54c5e7(0xcf)](r[_0x54c5e7(0xcb)]);if(!_0x1142bd)throw new Error(_0x54c5e7(0xda));return _0x1142bd[_0x54c5e7(0xd3)](_0x508487);}async[_0x36e534(0xd6)](_0x5e3251){const _0x3e819e=_0x36e534;return this[_0x3e819e(0xbe)](_0x5e3251);}async['exportXLSXBySnapshotAsync'](_0x44b3cd){const _0x3ed24a=_0x36e534,_0x57425e=this['_injector'][_0x3ed24a(0xcf)](r[_0x3ed24a(0xcb)]);if(!_0x57425e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57425e['exportXLSXBySnapshot'](_0x44b3cd);}async[_0x36e534(0xd7)](_0x255297){return this['importDOCXToUnitIdAsync'](_0x255297);}async['importDOCXToUnitIdAsync'](_0x21db19){const _0xa8a4a8=_0x36e534,_0x554725=this[_0xa8a4a8(0xc1)][_0xa8a4a8(0xcf)](r['IExchangeService']);if(!_0x554725)throw new Error(_0xa8a4a8(0xda));return _0x554725[_0xa8a4a8(0xd8)](_0x21db19,o['UNIVER_DOC']);}async[_0x36e534(0xbd)](_0x4ab3b1){const _0x2a242a=_0x36e534;return this[_0x2a242a(0xbf)](_0x4ab3b1);}async['importDOCXToSnapshotAsync'](_0x1abc55){const _0x58eda3=_0x36e534,_0xc1c8df=this[_0x58eda3(0xc1)][_0x58eda3(0xcf)](r['IExchangeService']);if(!_0xc1c8df)throw new Error(_0x58eda3(0xda));return _0xc1c8df[_0x58eda3(0xbd)](_0x1abc55);}}i['FUniver'][_0x36e534(0xc6)](c);
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);