@univerjs-pro/exchange-client 0.6.10 → 0.7.0-beta.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';function _0x16c6(_0x56a648,_0x5003a9){const _0x10404b=_0x1040();return _0x16c6=function(_0x16c649,_0x21b61b){_0x16c649=_0x16c649-0xc6;let _0x5642ca=_0x10404b[_0x16c649];return _0x5642ca;},_0x16c6(_0x56a648,_0x5003a9);}const _0x569d5b=_0x16c6;function _0x1040(){const _0x4df0fc=['UNIVER_SLIDE','exportXLSXByUnitIdAsync','exportXLSXByUnitId','UNIVER_SHEET','extend','FUniver','importFileToUnitId','60538iGFmxQ','146790ZDNThz','41IDeBDU','@univerjs-pro/exchange-client','importXLSXToSnapshotAsync','importDOCXToSnapshot','@univerjs/core/facade','24iLlCfO','The\x20exchange\x20service\x20is\x20not\x20available','2539565bDFoDT','importDOCXToSnapshotAsync','exportXLSXBySnapshot','4476535yKIuwb','6BNjoEH','importDOCXToUnitId','exportXLSXBySnapshotAsync','630JiWfWX','152140EMNfrK','2321976UkYiNE','get','_injector','UNRECOGNIZED','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','29778441rJNJMV','UNIVER_DOC','IExchangeService'];_0x1040=function(){return _0x4df0fc;};return _0x1040();}(function(_0x46b1f5,_0x703494){const _0x4328d6=_0x16c6,_0x40520b=_0x46b1f5();while(!![]){try{const _0x177e86=parseInt(_0x4328d6(0xc8))/0x1*(parseInt(_0x4328d6(0xc6))/0x2)+parseInt(_0x4328d6(0xcd))/0x3*(parseInt(_0x4328d6(0xd7))/0x4)+parseInt(_0x4328d6(0xcf))/0x5*(parseInt(_0x4328d6(0xd3))/0x6)+parseInt(_0x4328d6(0xd2))/0x7+-parseInt(_0x4328d6(0xd8))/0x8+parseInt(_0x4328d6(0xc7))/0x9*(parseInt(_0x4328d6(0xd6))/0xa)+-parseInt(_0x4328d6(0xde))/0xb;if(_0x177e86===_0x703494)break;else _0x40520b['push'](_0x40520b['shift']());}catch(_0x23eee2){_0x40520b['push'](_0x40520b['shift']());}}}(_0x1040,0xb07bf));const r=require(_0x569d5b(0xc9)),i=require(_0x569d5b(0xcc));var o=(_0x317e6e=>(_0x317e6e[_0x317e6e['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x317e6e[_0x317e6e[_0x569d5b(0xdf)]=0x1]=_0x569d5b(0xdf),_0x317e6e[_0x317e6e[_0x569d5b(0xe4)]=0x2]=_0x569d5b(0xe4),_0x317e6e[_0x317e6e[_0x569d5b(0xe1)]=0x3]=_0x569d5b(0xe1),_0x317e6e[_0x317e6e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x317e6e[_0x317e6e[_0x569d5b(0xdb)]=-0x1]=_0x569d5b(0xdb),_0x317e6e))(o||{});class c extends i[_0x569d5b(0xe6)]{async['importXLSXToUnitId'](_0x71d8a6){const _0x2d1057=_0x569d5b;return this[_0x2d1057(0xdc)](_0x71d8a6);}async['importXLSXToUnitIdAsync'](_0x915c64){const _0x50d410=_0x569d5b,_0x468408=this[_0x50d410(0xda)][_0x50d410(0xd9)](r[_0x50d410(0xe0)]);if(!_0x468408)throw new Error(_0x50d410(0xce));return _0x468408[_0x50d410(0xe7)](_0x915c64,o[_0x50d410(0xe4)]);}async['importXLSXToSnapshot'](_0x5455ef){const _0x1abca9=_0x569d5b;return this[_0x1abca9(0xca)](_0x5455ef);}async[_0x569d5b(0xca)](_0x31fded){const _0x2a76bf=_0x569d5b,_0x52372e=this['_injector']['get'](r[_0x2a76bf(0xe0)]);if(!_0x52372e)throw new Error(_0x2a76bf(0xce));return _0x52372e['importXLSXToSnapshot'](_0x31fded);}async[_0x569d5b(0xe3)](_0x156eab){const _0x20d5b1=_0x569d5b;return this[_0x20d5b1(0xe2)](_0x156eab);}async[_0x569d5b(0xe2)](_0x1f1458){const _0x5dd066=_0x569d5b,_0x5fc42e=this[_0x5dd066(0xda)][_0x5dd066(0xd9)](r[_0x5dd066(0xe0)]);if(!_0x5fc42e)throw new Error(_0x5dd066(0xce));return _0x5fc42e[_0x5dd066(0xe3)](_0x1f1458);}async[_0x569d5b(0xd1)](_0x454ec6){const _0x4497eb=_0x569d5b;return this[_0x4497eb(0xd5)](_0x454ec6);}async[_0x569d5b(0xd5)](_0x11f56b){const _0x21ea48=_0x569d5b,_0x2e23f6=this['_injector'][_0x21ea48(0xd9)](r[_0x21ea48(0xe0)]);if(!_0x2e23f6)throw new Error(_0x21ea48(0xce));return _0x2e23f6[_0x21ea48(0xd1)](_0x11f56b);}async[_0x569d5b(0xd4)](_0x4a6790){const _0x18227b=_0x569d5b;return this[_0x18227b(0xdd)](_0x4a6790);}async['importDOCXToUnitIdAsync'](_0x55984c){const _0x51b86f=_0x569d5b,_0x370893=this[_0x51b86f(0xda)][_0x51b86f(0xd9)](r['IExchangeService']);if(!_0x370893)throw new Error(_0x51b86f(0xce));return _0x370893[_0x51b86f(0xe7)](_0x55984c,o[_0x51b86f(0xdf)]);}async[_0x569d5b(0xcb)](_0x526e2f){const _0x107adb=_0x569d5b;return this[_0x107adb(0xd0)](_0x526e2f);}async[_0x569d5b(0xd0)](_0x2bfb1c){const _0x208878=_0x569d5b,_0x393ba9=this[_0x208878(0xda)][_0x208878(0xd9)](r[_0x208878(0xe0)]);if(!_0x393ba9)throw new Error(_0x208878(0xce));return _0x393ba9[_0x208878(0xcb)](_0x2bfb1c);}}i[_0x569d5b(0xe6)][_0x569d5b(0xe5)](c);
1
+ 'use strict';const _0x1b9fc5=_0x13bb;function _0x3ba1(){const _0x223ff2=['7715025iROGDF','1924626DecdgZ','importXLSXToUnitId','7937768mLrDJH','IExchangeService','exportXLSXBySnapshot','importDOCXToUnitId','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','UNIVER_SHEET','UNIVER_PROJECT','357UANDUB','get','importXLSXToUnitIdAsync','368hiSEod','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','@univerjs/core/facade','exportXLSXByUnitIdAsync','24972GXzZrB','importDOCXToSnapshotAsync','extend','_injector','17970jYwfZi','UNIVER_DOC','UNIVER_UNKNOWN','FUniver','135WqcwVt','importDOCXToSnapshot','importFileToUnitId','UNIVER_SLIDE','importXLSXToSnapshotAsync','importXLSXToSnapshot','6476sXzUgS','7740780NuAduo'];_0x3ba1=function(){return _0x223ff2;};return _0x3ba1();}(function(_0xd162b7,_0x4b5868){const _0x2d7e62=_0x13bb,_0xdc6608=_0xd162b7();while(!![]){try{const _0x37d69e=-parseInt(_0x2d7e62(0x9b))/0x1*(-parseInt(_0x2d7e62(0x8b))/0x2)+parseInt(_0x2d7e62(0x8e))/0x3+-parseInt(_0x2d7e62(0xa0))/0x4*(parseInt(_0x2d7e62(0xa8))/0x5)+-parseInt(_0x2d7e62(0xa4))/0x6*(parseInt(_0x2d7e62(0x98))/0x7)+parseInt(_0x2d7e62(0x90))/0x8+-parseInt(_0x2d7e62(0x8d))/0x9+-parseInt(_0x2d7e62(0x8c))/0xa;if(_0x37d69e===_0x4b5868)break;else _0xdc6608['push'](_0xdc6608['shift']());}catch(_0x43e51c){_0xdc6608['push'](_0xdc6608['shift']());}}}(_0x3ba1,0xd5122));const r=require('@univerjs-pro/exchange-client'),i=require(_0x1b9fc5(0x9e));var o=(_0x406b30=>(_0x406b30[_0x406b30[_0x1b9fc5(0xa6)]=0x0]='UNIVER_UNKNOWN',_0x406b30[_0x406b30[_0x1b9fc5(0xa5)]=0x1]=_0x1b9fc5(0xa5),_0x406b30[_0x406b30[_0x1b9fc5(0x96)]=0x2]=_0x1b9fc5(0x96),_0x406b30[_0x406b30[_0x1b9fc5(0x88)]=0x3]=_0x1b9fc5(0x88),_0x406b30[_0x406b30['UNIVER_PROJECT']=0x4]=_0x1b9fc5(0x97),_0x406b30[_0x406b30['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x406b30))(o||{});function _0x13bb(_0x2ebf88,_0xa09570){const _0x3ba188=_0x3ba1();return _0x13bb=function(_0x13bbea,_0x19baeb){_0x13bbea=_0x13bbea-0x87;let _0x2ab31a=_0x3ba188[_0x13bbea];return _0x2ab31a;},_0x13bb(_0x2ebf88,_0xa09570);}class c extends i[_0x1b9fc5(0xa7)]{async[_0x1b9fc5(0x8f)](_0x1a9656){const _0xe8aff9=_0x1b9fc5;return this[_0xe8aff9(0x9a)](_0x1a9656);}async[_0x1b9fc5(0x9a)](_0x413417){const _0x27bfeb=_0x1b9fc5,_0x6629c2=this[_0x27bfeb(0xa3)][_0x27bfeb(0x99)](r[_0x27bfeb(0x91)]);if(!_0x6629c2)throw new Error(_0x27bfeb(0x9c));return _0x6629c2[_0x27bfeb(0x87)](_0x413417,o[_0x27bfeb(0x96)]);}async[_0x1b9fc5(0x8a)](_0x60394){const _0x71ef6c=_0x1b9fc5;return this[_0x71ef6c(0x89)](_0x60394);}async[_0x1b9fc5(0x89)](_0x677032){const _0x4a7489=_0x1b9fc5,_0x40d6e5=this[_0x4a7489(0xa3)][_0x4a7489(0x99)](r[_0x4a7489(0x91)]);if(!_0x40d6e5)throw new Error(_0x4a7489(0x9c));return _0x40d6e5[_0x4a7489(0x8a)](_0x677032);}async[_0x1b9fc5(0x9d)](_0x4bb729){const _0x3d3196=_0x1b9fc5;return this[_0x3d3196(0x9f)](_0x4bb729);}async[_0x1b9fc5(0x9f)](_0x323e91){const _0x7aa725=_0x1b9fc5,_0x51e9d8=this[_0x7aa725(0xa3)][_0x7aa725(0x99)](r[_0x7aa725(0x91)]);if(!_0x51e9d8)throw new Error(_0x7aa725(0x9c));return _0x51e9d8['exportXLSXByUnitId'](_0x323e91);}async[_0x1b9fc5(0x92)](_0x3bbe23){const _0x5eb2e2=_0x1b9fc5;return this[_0x5eb2e2(0x95)](_0x3bbe23);}async[_0x1b9fc5(0x95)](_0x380995){const _0x4590ac=_0x1b9fc5,_0x5d00af=this[_0x4590ac(0xa3)][_0x4590ac(0x99)](r[_0x4590ac(0x91)]);if(!_0x5d00af)throw new Error(_0x4590ac(0x9c));return _0x5d00af[_0x4590ac(0x92)](_0x380995);}async[_0x1b9fc5(0x93)](_0x3d4cc6){return this['importDOCXToUnitIdAsync'](_0x3d4cc6);}async[_0x1b9fc5(0x94)](_0xa9d407){const _0x4945ab=_0x1b9fc5,_0x562987=this[_0x4945ab(0xa3)][_0x4945ab(0x99)](r[_0x4945ab(0x91)]);if(!_0x562987)throw new Error(_0x4945ab(0x9c));return _0x562987[_0x4945ab(0x87)](_0xa9d407,o[_0x4945ab(0xa5)]);}async['importDOCXToSnapshot'](_0x247fe1){return this['importDOCXToSnapshotAsync'](_0x247fe1);}async[_0x1b9fc5(0xa1)](_0x41c317){const _0x366857=_0x1b9fc5,_0x4bc9dd=this['_injector'][_0x366857(0x99)](r[_0x366857(0x91)]);if(!_0x4bc9dd)throw new Error(_0x366857(0x9c));return _0x4bc9dd[_0x366857(0xa9)](_0x41c317);}}i[_0x1b9fc5(0xa7)][_0x1b9fc5(0xa2)](c);