@univerjs-pro/exchange-client 0.6.0-nightly.202501311606 → 0.6.0-nightly.202502021605

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 _0xc65a(){const _0x511d8d=['117aScJqc','importDOCXToSnapshotAsync','364074HFufSX','importXLSXToSnapshot','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','get','importXLSXToUnitId','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','importDOCXToUnitIdAsync','importDOCXToUnitId','UNIVER_SLIDE','1136988rNEmEK','extend','7VbJNNS','UNIVER_SHEET','importFileToUnitId','@univerjs-pro/exchange-client','4465440eqCLqh','importXLSXToUnitIdAsync','@univerjs/core','98584eMPTmq','exportXLSXByUnitIdAsync','_injector','exportXLSXByUnitId','UNIVER_PROJECT','UNIVER_DOC','14345VjGjVI','144832braUUj','importDOCXToSnapshot','IExchangeService','912035shJrpG','10yogVjQ','UNRECOGNIZED','exportXLSXBySnapshotAsync'];_0xc65a=function(){return _0x511d8d;};return _0xc65a();}const _0x5c302f=_0x4c34;function _0x4c34(_0x24925a,_0x4006e0){const _0xc65ac4=_0xc65a();return _0x4c34=function(_0x4c34e7,_0x454023){_0x4c34e7=_0x4c34e7-0x81;let _0x270df5=_0xc65ac4[_0x4c34e7];return _0x270df5;},_0x4c34(_0x24925a,_0x4006e0);}(function(_0x3fe4a9,_0x4d828b){const _0x5e51d9=_0x4c34,_0x112e6f=_0x3fe4a9();while(!![]){try{const _0x2c143d=-parseInt(_0x5e51d9(0x97))/0x1*(-parseInt(_0x5e51d9(0x9c))/0x2)+parseInt(_0x5e51d9(0x88))/0x3+parseInt(_0x5e51d9(0x98))/0x4+-parseInt(_0x5e51d9(0x9b))/0x5+-parseInt(_0x5e51d9(0xa1))/0x6*(parseInt(_0x5e51d9(0x8a))/0x7)+-parseInt(_0x5e51d9(0x91))/0x8*(parseInt(_0x5e51d9(0x9f))/0x9)+parseInt(_0x5e51d9(0x8e))/0xa;if(_0x2c143d===_0x4d828b)break;else _0x112e6f['push'](_0x112e6f['shift']());}catch(_0x602072){_0x112e6f['push'](_0x112e6f['shift']());}}}(_0xc65a,0x8170c));const r=require(_0x5c302f(0x8d)),i=require(_0x5c302f(0x90));var o=(_0x407eb2=>(_0x407eb2[_0x407eb2[_0x5c302f(0x83)]=0x0]='UNIVER_UNKNOWN',_0x407eb2[_0x407eb2[_0x5c302f(0x96)]=0x1]=_0x5c302f(0x96),_0x407eb2[_0x407eb2[_0x5c302f(0x8b)]=0x2]='UNIVER_SHEET',_0x407eb2[_0x407eb2[_0x5c302f(0x87)]=0x3]='UNIVER_SLIDE',_0x407eb2[_0x407eb2[_0x5c302f(0x95)]=0x4]=_0x5c302f(0x95),_0x407eb2[_0x407eb2[_0x5c302f(0x9d)]=-0x1]=_0x5c302f(0x9d),_0x407eb2))(o||{});class c extends i[_0x5c302f(0xa3)]{async[_0x5c302f(0x82)](_0x56d14a){return this['importXLSXToUnitIdAsync'](_0x56d14a);}async[_0x5c302f(0x8f)](_0x1684d1){const _0x340367=_0x5c302f,_0xf2f9db=this['_injector']['get'](r[_0x340367(0x9a)]);if(!_0xf2f9db)throw new Error(_0x340367(0xa4));return _0xf2f9db['importFileToUnitId'](_0x1684d1,o[_0x340367(0x8b)]);}async['importXLSXToSnapshot'](_0x51daff){return this['importXLSXToSnapshotAsync'](_0x51daff);}async[_0x5c302f(0x84)](_0x6c2f38){const _0x4b69c8=_0x5c302f,_0xa51373=this['_injector']['get'](r[_0x4b69c8(0x9a)]);if(!_0xa51373)throw new Error(_0x4b69c8(0xa4));return _0xa51373[_0x4b69c8(0xa2)](_0x6c2f38);}async[_0x5c302f(0x94)](_0x3fbab1){const _0x53eded=_0x5c302f;return this[_0x53eded(0x92)](_0x3fbab1);}async['exportXLSXByUnitIdAsync'](_0x19204d){const _0x5815a4=_0x5c302f,_0x3d77f1=this[_0x5815a4(0x93)][_0x5815a4(0x81)](r[_0x5815a4(0x9a)]);if(!_0x3d77f1)throw new Error(_0x5815a4(0xa4));return _0x3d77f1[_0x5815a4(0x94)](_0x19204d);}async[_0x5c302f(0xa5)](_0x31733a){const _0x156f82=_0x5c302f;return this[_0x156f82(0x9e)](_0x31733a);}async[_0x5c302f(0x9e)](_0x508dfa){const _0x50a3b9=_0x5c302f,_0x422fe2=this[_0x50a3b9(0x93)]['get'](r[_0x50a3b9(0x9a)]);if(!_0x422fe2)throw new Error(_0x50a3b9(0xa4));return _0x422fe2[_0x50a3b9(0xa5)](_0x508dfa);}async[_0x5c302f(0x86)](_0x4ae2c6){return this['importDOCXToUnitIdAsync'](_0x4ae2c6);}async[_0x5c302f(0x85)](_0x326452){const _0x17e583=_0x5c302f,_0x25202e=this['_injector']['get'](r['IExchangeService']);if(!_0x25202e)throw new Error(_0x17e583(0xa4));return _0x25202e[_0x17e583(0x8c)](_0x326452,o[_0x17e583(0x96)]);}async['importDOCXToSnapshot'](_0x2baacb){return this['importDOCXToSnapshotAsync'](_0x2baacb);}async[_0x5c302f(0xa0)](_0xc1d5ae){const _0x557036=_0x5c302f,_0x2d5813=this[_0x557036(0x93)][_0x557036(0x81)](r[_0x557036(0x9a)]);if(!_0x2d5813)throw new Error(_0x557036(0xa4));return _0x2d5813[_0x557036(0x99)](_0xc1d5ae);}}i[_0x5c302f(0xa3)][_0x5c302f(0x89)](c);
1
+ 'use strict';const _0x1ff40d=_0x385d;function _0x3a12(){const _0x234ced=['_injector','get','importXLSXToUnitIdAsync','7776znjagI','importXLSXToUnitId','@univerjs-pro/exchange-client','10328464kMiXpV','exportXLSXByUnitIdAsync','2609784EMkCMo','UNIVER_SLIDE','importDOCXToSnapshotAsync','extend','importDOCXToUnitIdAsync','FUniver','6240536CObsPb','200035WnRIte','importXLSXToSnapshotAsync','@univerjs/core','7HmdiCE','40mSdPlz','importXLSXToSnapshot','importDOCXToSnapshot','2ZWuMyC','UNIVER_PROJECT','exportXLSXByUnitId','UNRECOGNIZED','exportXLSXBySnapshot','UNIVER_UNKNOWN','5546740JdkHXA','importFileToUnitId','IExchangeService','exportXLSXBySnapshotAsync','4967181ymoFik','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available'];_0x3a12=function(){return _0x234ced;};return _0x3a12();}(function(_0x18226d,_0x3e32a7){const _0x13b133=_0x385d,_0x21cdc7=_0x18226d();while(!![]){try{const _0x1ef346=-parseInt(_0x13b133(0xd2))/0x1*(-parseInt(_0x13b133(0xd9))/0x2)+parseInt(_0x13b133(0xe3))/0x3+-parseInt(_0x13b133(0xd1))/0x4+-parseInt(_0x13b133(0xdf))/0x5+parseInt(_0x13b133(0xcb))/0x6+-parseInt(_0x13b133(0xd5))/0x7*(-parseInt(_0x13b133(0xec))/0x8)+parseInt(_0x13b133(0xe9))/0x9*(-parseInt(_0x13b133(0xd6))/0xa);if(_0x1ef346===_0x3e32a7)break;else _0x21cdc7['push'](_0x21cdc7['shift']());}catch(_0x4a76a8){_0x21cdc7['push'](_0x21cdc7['shift']());}}}(_0x3a12,0xdde2e));const r=require(_0x1ff40d(0xeb)),i=require(_0x1ff40d(0xd4));var o=(_0x6b9d4=>(_0x6b9d4[_0x6b9d4[_0x1ff40d(0xde)]=0x0]=_0x1ff40d(0xde),_0x6b9d4[_0x6b9d4[_0x1ff40d(0xe4)]=0x1]='UNIVER_DOC',_0x6b9d4[_0x6b9d4['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x6b9d4[_0x6b9d4['UNIVER_SLIDE']=0x3]=_0x1ff40d(0xcc),_0x6b9d4[_0x6b9d4[_0x1ff40d(0xda)]=0x4]=_0x1ff40d(0xda),_0x6b9d4[_0x6b9d4[_0x1ff40d(0xdc)]=-0x1]=_0x1ff40d(0xdc),_0x6b9d4))(o||{});function _0x385d(_0x5cafab,_0x2602b2){const _0x3a12e0=_0x3a12();return _0x385d=function(_0x385dc6,_0x271a03){_0x385dc6=_0x385dc6-0xcb;let _0x33230c=_0x3a12e0[_0x385dc6];return _0x33230c;},_0x385d(_0x5cafab,_0x2602b2);}class c extends i[_0x1ff40d(0xd0)]{async[_0x1ff40d(0xea)](_0x1a6d98){return this['importXLSXToUnitIdAsync'](_0x1a6d98);}async[_0x1ff40d(0xe8)](_0x14f097){const _0x27ade3=_0x1ff40d,_0x432f0d=this[_0x27ade3(0xe6)][_0x27ade3(0xe7)](r[_0x27ade3(0xe1)]);if(!_0x432f0d)throw new Error(_0x27ade3(0xe5));return _0x432f0d[_0x27ade3(0xe0)](_0x14f097,o['UNIVER_SHEET']);}async[_0x1ff40d(0xd7)](_0x4a9a86){const _0x4479e8=_0x1ff40d;return this[_0x4479e8(0xd3)](_0x4a9a86);}async[_0x1ff40d(0xd3)](_0x2e8def){const _0x5361ab=_0x1ff40d,_0x4ef8c9=this[_0x5361ab(0xe6)]['get'](r[_0x5361ab(0xe1)]);if(!_0x4ef8c9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ef8c9[_0x5361ab(0xd7)](_0x2e8def);}async[_0x1ff40d(0xdb)](_0x27b432){return this['exportXLSXByUnitIdAsync'](_0x27b432);}async[_0x1ff40d(0xed)](_0x30e638){const _0x2fc692=_0x1ff40d,_0x30aa7f=this[_0x2fc692(0xe6)][_0x2fc692(0xe7)](r[_0x2fc692(0xe1)]);if(!_0x30aa7f)throw new Error(_0x2fc692(0xe5));return _0x30aa7f[_0x2fc692(0xdb)](_0x30e638);}async['exportXLSXBySnapshot'](_0x2c9f40){const _0x15eb95=_0x1ff40d;return this[_0x15eb95(0xe2)](_0x2c9f40);}async['exportXLSXBySnapshotAsync'](_0x3fc504){const _0x39b642=_0x1ff40d,_0xbf37e1=this[_0x39b642(0xe6)]['get'](r[_0x39b642(0xe1)]);if(!_0xbf37e1)throw new Error(_0x39b642(0xe5));return _0xbf37e1[_0x39b642(0xdd)](_0x3fc504);}async['importDOCXToUnitId'](_0x58859c){const _0x55d29c=_0x1ff40d;return this[_0x55d29c(0xcf)](_0x58859c);}async[_0x1ff40d(0xcf)](_0xcf0b81){const _0x2e8337=_0x1ff40d,_0x3b4052=this[_0x2e8337(0xe6)][_0x2e8337(0xe7)](r[_0x2e8337(0xe1)]);if(!_0x3b4052)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b4052[_0x2e8337(0xe0)](_0xcf0b81,o[_0x2e8337(0xe4)]);}async[_0x1ff40d(0xd8)](_0x4c6848){return this['importDOCXToSnapshotAsync'](_0x4c6848);}async[_0x1ff40d(0xcd)](_0x29821a){const _0x236470=_0x1ff40d,_0x35d537=this[_0x236470(0xe6)][_0x236470(0xe7)](r[_0x236470(0xe1)]);if(!_0x35d537)throw new Error(_0x236470(0xe5));return _0x35d537[_0x236470(0xd8)](_0x29821a);}}i['FUniver'][_0x1ff40d(0xce)](c);