@univerjs-pro/exchange-client 0.6.0-nightly.202502041606 → 0.6.0-nightly.202502061605

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 _0x5d96f=_0x4b42;(function(_0x331d07,_0x3c441d){const _0x44dcba=_0x4b42,_0xb0c9f9=_0x331d07();while(!![]){try{const _0x4410d7=parseInt(_0x44dcba(0x123))/0x1*(parseInt(_0x44dcba(0x107))/0x2)+parseInt(_0x44dcba(0x11b))/0x3+parseInt(_0x44dcba(0x10f))/0x4*(-parseInt(_0x44dcba(0x10a))/0x5)+-parseInt(_0x44dcba(0x104))/0x6+parseInt(_0x44dcba(0x10b))/0x7*(parseInt(_0x44dcba(0x10e))/0x8)+parseInt(_0x44dcba(0x118))/0x9*(parseInt(_0x44dcba(0x119))/0xa)+parseInt(_0x44dcba(0x11e))/0xb*(-parseInt(_0x44dcba(0x115))/0xc);if(_0x4410d7===_0x3c441d)break;else _0xb0c9f9['push'](_0xb0c9f9['shift']());}catch(_0x16a287){_0xb0c9f9['push'](_0xb0c9f9['shift']());}}}(_0x2e5e,0x5e2c9));const r=require(_0x5d96f(0x11a)),i=require(_0x5d96f(0x105));function _0x4b42(_0x266077,_0x654d4c){const _0x2e5e3c=_0x2e5e();return _0x4b42=function(_0x4b42ea,_0x3aa5ce){_0x4b42ea=_0x4b42ea-0x100;let _0x452b8b=_0x2e5e3c[_0x4b42ea];return _0x452b8b;},_0x4b42(_0x266077,_0x654d4c);}var o=(_0x4aae38=>(_0x4aae38[_0x4aae38[_0x5d96f(0x124)]=0x0]=_0x5d96f(0x124),_0x4aae38[_0x4aae38['UNIVER_DOC']=0x1]=_0x5d96f(0x113),_0x4aae38[_0x4aae38[_0x5d96f(0x120)]=0x2]='UNIVER_SHEET',_0x4aae38[_0x4aae38[_0x5d96f(0x114)]=0x3]=_0x5d96f(0x114),_0x4aae38[_0x4aae38[_0x5d96f(0x103)]=0x4]=_0x5d96f(0x103),_0x4aae38[_0x4aae38[_0x5d96f(0x11d)]=-0x1]=_0x5d96f(0x11d),_0x4aae38))(o||{});class c extends i[_0x5d96f(0x10d)]{async[_0x5d96f(0x116)](_0x1dd9dc){const _0x3392c7=_0x5d96f;return this[_0x3392c7(0x10c)](_0x1dd9dc);}async[_0x5d96f(0x10c)](_0x58856d){const _0x1740e9=_0x5d96f,_0x515f3a=this[_0x1740e9(0x101)][_0x1740e9(0x125)](r[_0x1740e9(0x112)]);if(!_0x515f3a)throw new Error(_0x1740e9(0x117));return _0x515f3a[_0x1740e9(0x110)](_0x58856d,o[_0x1740e9(0x120)]);}async[_0x5d96f(0x106)](_0x545533){const _0x173f24=_0x5d96f;return this[_0x173f24(0x109)](_0x545533);}async[_0x5d96f(0x109)](_0x4cdaa2){const _0x4db409=_0x5d96f,_0x97f638=this['_injector'][_0x4db409(0x125)](r[_0x4db409(0x112)]);if(!_0x97f638)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x97f638['importXLSXToSnapshot'](_0x4cdaa2);}async[_0x5d96f(0x121)](_0x19c1c1){const _0x1e37c3=_0x5d96f;return this[_0x1e37c3(0x11c)](_0x19c1c1);}async[_0x5d96f(0x11c)](_0x49b37e){const _0x468421=_0x5d96f,_0x75c735=this[_0x468421(0x101)]['get'](r[_0x468421(0x112)]);if(!_0x75c735)throw new Error(_0x468421(0x117));return _0x75c735[_0x468421(0x121)](_0x49b37e);}async[_0x5d96f(0x111)](_0x3a0286){return this['exportXLSXBySnapshotAsync'](_0x3a0286);}async[_0x5d96f(0x108)](_0x2c94da){const _0x27da0f=_0x5d96f,_0x16fb4c=this['_injector']['get'](r[_0x27da0f(0x112)]);if(!_0x16fb4c)throw new Error(_0x27da0f(0x117));return _0x16fb4c[_0x27da0f(0x111)](_0x2c94da);}async['importDOCXToUnitId'](_0x13577c){const _0x102080=_0x5d96f;return this[_0x102080(0x100)](_0x13577c);}async[_0x5d96f(0x100)](_0x3b9068){const _0x3d3d49=_0x5d96f,_0x51eb7b=this[_0x3d3d49(0x101)][_0x3d3d49(0x125)](r[_0x3d3d49(0x112)]);if(!_0x51eb7b)throw new Error(_0x3d3d49(0x117));return _0x51eb7b['importFileToUnitId'](_0x3b9068,o['UNIVER_DOC']);}async[_0x5d96f(0x11f)](_0x5b56fd){const _0x192fd2=_0x5d96f;return this[_0x192fd2(0x102)](_0x5b56fd);}async[_0x5d96f(0x102)](_0x5cd736){const _0x62e49e=_0x5d96f,_0x4a4ca6=this[_0x62e49e(0x101)][_0x62e49e(0x125)](r[_0x62e49e(0x112)]);if(!_0x4a4ca6)throw new Error(_0x62e49e(0x117));return _0x4a4ca6[_0x62e49e(0x11f)](_0x5cd736);}}function _0x2e5e(){const _0xc1f5c9=['importDOCXToSnapshot','UNIVER_SHEET','exportXLSXByUnitId','extend','266eLYLcg','UNIVER_UNKNOWN','get','importDOCXToUnitIdAsync','_injector','importDOCXToSnapshotAsync','UNIVER_PROJECT','3682878YcsWPb','@univerjs/core','importXLSXToSnapshot','4132hPRGUS','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','27385ZjzoHF','1317799YADXME','importXLSXToUnitIdAsync','FUniver','8smVIjq','344cXmLfx','importFileToUnitId','exportXLSXBySnapshot','IExchangeService','UNIVER_DOC','UNIVER_SLIDE','60dYPzDZ','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','54AhPGHm','1269960DddjKk','@univerjs-pro/exchange-client','1947729QRSeiA','exportXLSXByUnitIdAsync','UNRECOGNIZED','1492612lodLqU'];_0x2e5e=function(){return _0xc1f5c9;};return _0x2e5e();}i[_0x5d96f(0x10d)][_0x5d96f(0x122)](c);
1
+ 'use strict';const _0x1def03=_0x5e5e;function _0x5e5e(_0x320c1f,_0x2cd32c){const _0x9a947a=_0x9a94();return _0x5e5e=function(_0x5e5ee1,_0x2b109e){_0x5e5ee1=_0x5e5ee1-0x6b;let _0x2b28e1=_0x9a947a[_0x5e5ee1];return _0x2b28e1;},_0x5e5e(_0x320c1f,_0x2cd32c);}function _0x9a94(){const _0x67125c=['UNIVER_UNKNOWN','_injector','@univerjs/core','113799moJyas','importDOCXToSnapshotAsync','UNIVER_PROJECT','UNIVER_SHEET','UNRECOGNIZED','get','exportXLSXByUnitIdAsync','2Oimzve','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','importXLSXToSnapshot','extend','3345944ozsOkl','263894dAPTyI','1382067QNDEon','UNIVER_SLIDE','importDOCXToUnitIdAsync','importDOCXToSnapshot','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','3955960YfEQwc','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','UNIVER_DOC','FUniver','@univerjs-pro/exchange-client','importXLSXToUnitId','9gyndaS','6acYJhB','3757156PdARNl','importFileToUnitId','10008570ExjGjz'];_0x9a94=function(){return _0x67125c;};return _0x9a94();}(function(_0x4ba4c6,_0x5aec38){const _0x4b07df=_0x5e5e,_0x2e1c30=_0x4ba4c6();while(!![]){try{const _0x3db39e=parseInt(_0x4b07df(0x8b))/0x1*(-parseInt(_0x4b07df(0x85))/0x2)+-parseInt(_0x4b07df(0x8c))/0x3+-parseInt(_0x4b07df(0x78))/0x4+parseInt(_0x4b07df(0x6f))/0x5+parseInt(_0x4b07df(0x77))/0x6*(parseInt(_0x4b07df(0x7e))/0x7)+-parseInt(_0x4b07df(0x8a))/0x8*(-parseInt(_0x4b07df(0x76))/0x9)+parseInt(_0x4b07df(0x7a))/0xa;if(_0x3db39e===_0x5aec38)break;else _0x2e1c30['push'](_0x2e1c30['shift']());}catch(_0x44b2e2){_0x2e1c30['push'](_0x2e1c30['shift']());}}}(_0x9a94,0x895f5));const r=require(_0x1def03(0x74)),i=require(_0x1def03(0x7d));var o=(_0x215074=>(_0x215074[_0x215074['UNIVER_UNKNOWN']=0x0]=_0x1def03(0x7b),_0x215074[_0x215074[_0x1def03(0x72)]=0x1]=_0x1def03(0x72),_0x215074[_0x215074[_0x1def03(0x81)]=0x2]=_0x1def03(0x81),_0x215074[_0x215074['UNIVER_SLIDE']=0x3]=_0x1def03(0x8d),_0x215074[_0x215074[_0x1def03(0x80)]=0x4]=_0x1def03(0x80),_0x215074[_0x215074[_0x1def03(0x82)]=-0x1]=_0x1def03(0x82),_0x215074))(o||{});class c extends i['FUniver']{async[_0x1def03(0x75)](_0x2b9d77){const _0x1eaed9=_0x1def03;return this[_0x1eaed9(0x87)](_0x2b9d77);}async['importXLSXToUnitIdAsync'](_0x471c5e){const _0x5d92bb=_0x1def03,_0x309936=this[_0x5d92bb(0x7c)][_0x5d92bb(0x83)](r[_0x5d92bb(0x71)]);if(!_0x309936)throw new Error(_0x5d92bb(0x70));return _0x309936[_0x5d92bb(0x79)](_0x471c5e,o[_0x5d92bb(0x81)]);}async[_0x1def03(0x88)](_0x171381){const _0x21f90d=_0x1def03;return this[_0x21f90d(0x86)](_0x171381);}async['importXLSXToSnapshotAsync'](_0x5462e9){const _0x25673e=_0x1def03,_0xb44be2=this[_0x25673e(0x7c)]['get'](r['IExchangeService']);if(!_0xb44be2)throw new Error(_0x25673e(0x70));return _0xb44be2['importXLSXToSnapshot'](_0x5462e9);}async['exportXLSXByUnitId'](_0xb3b38e){return this['exportXLSXByUnitIdAsync'](_0xb3b38e);}async[_0x1def03(0x84)](_0x1c212f){const _0x4b5e2a=_0x1def03,_0x51ede0=this['_injector'][_0x4b5e2a(0x83)](r[_0x4b5e2a(0x71)]);if(!_0x51ede0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x51ede0['exportXLSXByUnitId'](_0x1c212f);}async[_0x1def03(0x6e)](_0xd2a524){const _0x481912=_0x1def03;return this[_0x481912(0x6d)](_0xd2a524);}async[_0x1def03(0x6d)](_0x3a719a){const _0x14bbf1=_0x1def03,_0xcc9893=this[_0x14bbf1(0x7c)][_0x14bbf1(0x83)](r[_0x14bbf1(0x71)]);if(!_0xcc9893)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xcc9893[_0x14bbf1(0x6e)](_0x3a719a);}async['importDOCXToUnitId'](_0x321f7d){return this['importDOCXToUnitIdAsync'](_0x321f7d);}async[_0x1def03(0x6b)](_0x2f709){const _0x4006b4=_0x1def03,_0x3caffa=this[_0x4006b4(0x7c)][_0x4006b4(0x83)](r[_0x4006b4(0x71)]);if(!_0x3caffa)throw new Error(_0x4006b4(0x70));return _0x3caffa['importFileToUnitId'](_0x2f709,o[_0x4006b4(0x72)]);}async[_0x1def03(0x6c)](_0x4f138b){return this['importDOCXToSnapshotAsync'](_0x4f138b);}async[_0x1def03(0x7f)](_0x4af417){const _0x4beb3c=_0x1def03,_0x154b96=this[_0x4beb3c(0x7c)][_0x4beb3c(0x83)](r['IExchangeService']);if(!_0x154b96)throw new Error(_0x4beb3c(0x70));return _0x154b96[_0x4beb3c(0x6c)](_0x4af417);}}i[_0x1def03(0x73)][_0x1def03(0x89)](c);