@univerjs-pro/exchange-client 0.5.1-nightly.202412191606 → 0.5.1-nightly.202412211605

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 _0x5ee6b5=_0x24f7;(function(_0x202cd5,_0x494ae3){const _0x4cfc8d=_0x24f7,_0x68745b=_0x202cd5();while(!![]){try{const _0x22436a=parseInt(_0x4cfc8d(0x11e))/0x1*(-parseInt(_0x4cfc8d(0x11f))/0x2)+-parseInt(_0x4cfc8d(0x123))/0x3+parseInt(_0x4cfc8d(0x126))/0x4+-parseInt(_0x4cfc8d(0x124))/0x5+parseInt(_0x4cfc8d(0x125))/0x6+parseInt(_0x4cfc8d(0x129))/0x7*(parseInt(_0x4cfc8d(0x120))/0x8)+-parseInt(_0x4cfc8d(0x11c))/0x9*(parseInt(_0x4cfc8d(0x122))/0xa);if(_0x22436a===_0x494ae3)break;else _0x68745b['push'](_0x68745b['shift']());}catch(_0x351ecc){_0x68745b['push'](_0x68745b['shift']());}}}(_0xe29b,0xbab81));const c=require('@univerjs/core'),n=require(_0x5ee6b5(0x116));var i=(_0x55783b=>(_0x55783b[_0x55783b[_0x5ee6b5(0x112)]=0x0]=_0x5ee6b5(0x112),_0x55783b[_0x55783b[_0x5ee6b5(0x121)]=0x1]=_0x5ee6b5(0x121),_0x55783b[_0x55783b[_0x5ee6b5(0x117)]=0x2]='UNIVER_SHEET',_0x55783b[_0x55783b[_0x5ee6b5(0x11a)]=0x3]=_0x5ee6b5(0x11a),_0x55783b[_0x55783b[_0x5ee6b5(0x128)]=0x4]='UNIVER_PROJECT',_0x55783b[_0x55783b[_0x5ee6b5(0x12b)]=-0x1]=_0x5ee6b5(0x12b),_0x55783b))(i||{});class o extends c[_0x5ee6b5(0x127)]{async[_0x5ee6b5(0x113)](_0x30491a){const _0xa6e95c=_0x5ee6b5,_0x6a1a3=this[_0xa6e95c(0x12a)][_0xa6e95c(0x12c)](n[_0xa6e95c(0x11d)]);if(!_0x6a1a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6a1a3[_0xa6e95c(0x118)](_0x30491a,i[_0xa6e95c(0x117)]);}async[_0x5ee6b5(0x115)](_0x7772c5){const _0x2aadc9=_0x5ee6b5,_0x3656fb=this['_injector'][_0x2aadc9(0x12c)](n[_0x2aadc9(0x11d)]);if(!_0x3656fb)throw new Error(_0x2aadc9(0x114));return _0x3656fb['importXLSXToSnapshot'](_0x7772c5);}async[_0x5ee6b5(0x111)](_0x15c7f6){const _0x4309b0=_0x5ee6b5,_0x5dce32=this['_injector'][_0x4309b0(0x12c)](n[_0x4309b0(0x11d)]);if(!_0x5dce32)throw new Error(_0x4309b0(0x114));return _0x5dce32['exportXLSXByUnitId'](_0x15c7f6);}async[_0x5ee6b5(0x110)](_0x2a597c){const _0x4d3664=_0x5ee6b5,_0xe61e17=this[_0x4d3664(0x12a)][_0x4d3664(0x12c)](n[_0x4d3664(0x11d)]);if(!_0xe61e17)throw new Error(_0x4d3664(0x114));return _0xe61e17[_0x4d3664(0x110)](_0x2a597c);}async[_0x5ee6b5(0x10f)](_0x4c7b0a){const _0x4fb380=_0x5ee6b5,_0xa18c7c=this[_0x4fb380(0x12a)]['get'](n[_0x4fb380(0x11d)]);if(!_0xa18c7c)throw new Error(_0x4fb380(0x114));return _0xa18c7c[_0x4fb380(0x118)](_0x4c7b0a,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x416bae){const _0x10d6d6=_0x5ee6b5,_0x57943e=this[_0x10d6d6(0x12a)][_0x10d6d6(0x12c)](n['IExchangeService']);if(!_0x57943e)throw new Error(_0x10d6d6(0x114));return _0x57943e[_0x10d6d6(0x119)](_0x416bae);}}function _0x24f7(_0xf57db4,_0x26cb9d){const _0xe29b01=_0xe29b();return _0x24f7=function(_0x24f734,_0x2552be){_0x24f734=_0x24f734-0x10f;let _0x2f07f7=_0xe29b01[_0x24f734];return _0x2f07f7;},_0x24f7(_0xf57db4,_0x26cb9d);}c[_0x5ee6b5(0x127)][_0x5ee6b5(0x11b)](o);function _0xe29b(){const _0x4bb657=['UNIVER_DOC','10tAzCfi','959496jVDEGz','711355vmTJWX','3856074kzysKQ','3299016YpkuhA','FUniver','UNIVER_PROJECT','567fNYqwz','_injector','UNRECOGNIZED','get','importDOCXToUnitId','exportXLSXBySnapshot','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','@univerjs-pro/exchange-client','UNIVER_SHEET','importFileToUnitId','importDOCXToSnapshot','UNIVER_SLIDE','extend','5412519yMYMRj','IExchangeService','14iEyqHN','25676sUbWEM','53392xmNZUa'];_0xe29b=function(){return _0x4bb657;};return _0xe29b();}
1
+ 'use strict';const _0x57de42=_0x22b4;(function(_0x2a27da,_0x2c2f41){const _0x6868d0=_0x22b4,_0xcdced8=_0x2a27da();while(!![]){try{const _0x3322d4=parseInt(_0x6868d0(0x17a))/0x1*(parseInt(_0x6868d0(0x189))/0x2)+parseInt(_0x6868d0(0x18d))/0x3*(-parseInt(_0x6868d0(0x191))/0x4)+-parseInt(_0x6868d0(0x17f))/0x5*(-parseInt(_0x6868d0(0x17d))/0x6)+-parseInt(_0x6868d0(0x194))/0x7*(parseInt(_0x6868d0(0x17c))/0x8)+-parseInt(_0x6868d0(0x177))/0x9*(parseInt(_0x6868d0(0x192))/0xa)+-parseInt(_0x6868d0(0x184))/0xb*(parseInt(_0x6868d0(0x181))/0xc)+parseInt(_0x6868d0(0x17e))/0xd;if(_0x3322d4===_0x2c2f41)break;else _0xcdced8['push'](_0xcdced8['shift']());}catch(_0x42a819){_0xcdced8['push'](_0xcdced8['shift']());}}}(_0x2d6d,0x20b24));function _0x2d6d(){const _0x110d3b=['2727996Khtgso','importFileToUnitId','UNIVER_DOC','11yTZFcz','UNRECOGNIZED','UNIVER_SLIDE','UNIVER_SHEET','get','57074YSvzNd','extend','IExchangeService','importXLSXToUnitId','6iALMTv','exportXLSXByUnitId','importDOCXToUnitId','UNIVER_PROJECT','505588HhPSDU','18740NcjOsc','UNIVER_UNKNOWN','7231qoXoFp','_injector','189HaMGGj','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','1AJQjKV','exportXLSXBySnapshot','1992Pbwmhz','6jTvzEb','9648626fFWsnh','699415zyZkEz','FUniver'];_0x2d6d=function(){return _0x110d3b;};return _0x2d6d();}const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');function _0x22b4(_0x18a276,_0x309926){const _0x2d6d41=_0x2d6d();return _0x22b4=function(_0x22b42f,_0x418499){_0x22b42f=_0x22b42f-0x176;let _0x1587c1=_0x2d6d41[_0x22b42f];return _0x1587c1;},_0x22b4(_0x18a276,_0x309926);}var i=(_0x9ced15=>(_0x9ced15[_0x9ced15[_0x57de42(0x193)]=0x0]='UNIVER_UNKNOWN',_0x9ced15[_0x9ced15[_0x57de42(0x183)]=0x1]='UNIVER_DOC',_0x9ced15[_0x9ced15[_0x57de42(0x187)]=0x2]=_0x57de42(0x187),_0x9ced15[_0x9ced15[_0x57de42(0x186)]=0x3]=_0x57de42(0x186),_0x9ced15[_0x9ced15[_0x57de42(0x190)]=0x4]=_0x57de42(0x190),_0x9ced15[_0x9ced15[_0x57de42(0x185)]=-0x1]='UNRECOGNIZED',_0x9ced15))(i||{});class o extends c[_0x57de42(0x180)]{async[_0x57de42(0x18c)](_0x4a7d9a){const _0x2a590f=_0x57de42,_0x24a813=this[_0x2a590f(0x176)][_0x2a590f(0x188)](n[_0x2a590f(0x18b)]);if(!_0x24a813)throw new Error(_0x2a590f(0x179));return _0x24a813['importFileToUnitId'](_0x4a7d9a,i[_0x2a590f(0x187)]);}async[_0x57de42(0x178)](_0x1e1080){const _0x1994da=_0x57de42,_0x25fea8=this[_0x1994da(0x176)]['get'](n[_0x1994da(0x18b)]);if(!_0x25fea8)throw new Error(_0x1994da(0x179));return _0x25fea8[_0x1994da(0x178)](_0x1e1080);}async[_0x57de42(0x18e)](_0x4d7e8f){const _0xdaba95=_0x57de42,_0x194711=this[_0xdaba95(0x176)][_0xdaba95(0x188)](n['IExchangeService']);if(!_0x194711)throw new Error(_0xdaba95(0x179));return _0x194711[_0xdaba95(0x18e)](_0x4d7e8f);}async[_0x57de42(0x17b)](_0x198694){const _0x269d07=_0x57de42,_0x280de8=this[_0x269d07(0x176)]['get'](n[_0x269d07(0x18b)]);if(!_0x280de8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x280de8[_0x269d07(0x17b)](_0x198694);}async[_0x57de42(0x18f)](_0xf56003){const _0x2e9711=_0x57de42,_0x397f33=this[_0x2e9711(0x176)]['get'](n['IExchangeService']);if(!_0x397f33)throw new Error(_0x2e9711(0x179));return _0x397f33[_0x2e9711(0x182)](_0xf56003,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x563425){const _0x3a6cb5=_0x57de42,_0x30afef=this[_0x3a6cb5(0x176)][_0x3a6cb5(0x188)](n[_0x3a6cb5(0x18b)]);if(!_0x30afef)throw new Error(_0x3a6cb5(0x179));return _0x30afef['importDOCXToSnapshot'](_0x563425);}}c[_0x57de42(0x180)][_0x57de42(0x18a)](o);