@univerjs-pro/exchange-client 0.5.1-nightly.202412071605 → 0.5.1-nightly.202412081606

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 _0x1d3548=_0x2aeb;function _0x43ca(){const _0x457cdd=['The\x20exchange\x20service\x20is\x20not\x20available','4368740pSBhgM','UNIVER_SHEET','exportXLSXByUnitId','4PLjQQg','FUniver','exportXLSXBySnapshot','UNIVER_SLIDE','726742bepGGy','232dqEuXz','6083545UlRXJo','2035XcxKeg','18EhrLCy','1461426adeoUz','importXLSXToSnapshot','_injector','56172IjerCa','2jnzxzV','5668140dxjQUy','importFileToUnitId','UNIVER_PROJECT','UNRECOGNIZED','77308Ysedhk','UNIVER_DOC','get','importDOCXToUnitId','IExchangeService'];_0x43ca=function(){return _0x457cdd;};return _0x43ca();}(function(_0x57aa2e,_0x4dfc77){const _0x1d3756=_0x2aeb,_0x22c495=_0x57aa2e();while(!![]){try{const _0x37c86b=-parseInt(_0x1d3756(0x182))/0x1*(-parseInt(_0x1d3756(0x170))/0x2)+parseInt(_0x1d3756(0x16c))/0x3+parseInt(_0x1d3756(0x17e))/0x4*(-parseInt(_0x1d3756(0x184))/0x5)+parseInt(_0x1d3756(0x171))/0x6+parseInt(_0x1d3756(0x175))/0x7*(-parseInt(_0x1d3756(0x183))/0x8)+-parseInt(_0x1d3756(0x16b))/0x9*(parseInt(_0x1d3756(0x17b))/0xa)+parseInt(_0x1d3756(0x16a))/0xb*(parseInt(_0x1d3756(0x16f))/0xc);if(_0x37c86b===_0x4dfc77)break;else _0x22c495['push'](_0x22c495['shift']());}catch(_0x4e31f8){_0x22c495['push'](_0x22c495['shift']());}}}(_0x43ca,0x95dc2));const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');var i=(_0xb026ae=>(_0xb026ae[_0xb026ae['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0xb026ae[_0xb026ae[_0x1d3548(0x176)]=0x1]=_0x1d3548(0x176),_0xb026ae[_0xb026ae['UNIVER_SHEET']=0x2]=_0x1d3548(0x17c),_0xb026ae[_0xb026ae[_0x1d3548(0x181)]=0x3]='UNIVER_SLIDE',_0xb026ae[_0xb026ae[_0x1d3548(0x173)]=0x4]=_0x1d3548(0x173),_0xb026ae[_0xb026ae[_0x1d3548(0x174)]=-0x1]=_0x1d3548(0x174),_0xb026ae))(i||{});class o extends c[_0x1d3548(0x17f)]{async['importXLSXToUnitId'](_0x14912b){const _0x30d184=_0x1d3548,_0x3da3d3=this['_injector'][_0x30d184(0x177)](n[_0x30d184(0x179)]);if(!_0x3da3d3)throw new Error(_0x30d184(0x17a));return _0x3da3d3[_0x30d184(0x172)](_0x14912b,i[_0x30d184(0x17c)]);}async[_0x1d3548(0x16d)](_0x450624){const _0x2221d0=_0x1d3548,_0x375696=this[_0x2221d0(0x16e)][_0x2221d0(0x177)](n['IExchangeService']);if(!_0x375696)throw new Error(_0x2221d0(0x17a));return _0x375696[_0x2221d0(0x16d)](_0x450624);}async[_0x1d3548(0x17d)](_0x208a0c){const _0x27ed38=_0x1d3548,_0x21d3e2=this[_0x27ed38(0x16e)][_0x27ed38(0x177)](n[_0x27ed38(0x179)]);if(!_0x21d3e2)throw new Error(_0x27ed38(0x17a));return _0x21d3e2[_0x27ed38(0x17d)](_0x208a0c);}async[_0x1d3548(0x180)](_0x12d3c8){const _0x3e63c=_0x1d3548,_0x1d92e9=this[_0x3e63c(0x16e)]['get'](n[_0x3e63c(0x179)]);if(!_0x1d92e9)throw new Error(_0x3e63c(0x17a));return _0x1d92e9['exportXLSXBySnapshot'](_0x12d3c8);}async[_0x1d3548(0x178)](_0x3024ec){const _0x536dbe=_0x1d3548,_0x22ea89=this['_injector']['get'](n[_0x536dbe(0x179)]);if(!_0x22ea89)throw new Error(_0x536dbe(0x17a));return _0x22ea89['importFileToUnitId'](_0x3024ec,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x1e3b75){const _0x1a9d68=_0x1d3548,_0x3e88ed=this[_0x1a9d68(0x16e)][_0x1a9d68(0x177)](n[_0x1a9d68(0x179)]);if(!_0x3e88ed)throw new Error(_0x1a9d68(0x17a));return _0x3e88ed['importDOCXToSnapshot'](_0x1e3b75);}}function _0x2aeb(_0x3d8493,_0x1a08e8){const _0x43ca4b=_0x43ca();return _0x2aeb=function(_0x2aeb67,_0x15bc2a){_0x2aeb67=_0x2aeb67-0x16a;let _0x2a4eff=_0x43ca4b[_0x2aeb67];return _0x2a4eff;},_0x2aeb(_0x3d8493,_0x1a08e8);}c[_0x1d3548(0x17f)]['extend'](o);
1
+ 'use strict';function _0x4b8f(){const _0x1b38d3=['207RufsVf','4912430ZvyvFJ','721uaYIPS','importXLSXToUnitId','FUniver','_injector','importFileToUnitId','importDOCXToUnitId','11304LWuOHy','importDOCXToSnapshot','UNIVER_SLIDE','get','exportXLSXBySnapshot','UNIVER_PROJECT','2067314ZQIOYr','exportXLSXByUnitId','1104224MysaVo','357798fnKYWJ','UNIVER_UNKNOWN','UNIVER_SHEET','@univerjs/core','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','extend','UNIVER_DOC','importXLSXToSnapshot','UNRECOGNIZED','769226wdjgso','4735316CaJIDI','IExchangeService'];_0x4b8f=function(){return _0x1b38d3;};return _0x4b8f();}function _0x1fe8(_0x53f3e3,_0x5c59d7){const _0x4b8f43=_0x4b8f();return _0x1fe8=function(_0x1fe870,_0x2dcdc7){_0x1fe870=_0x1fe870-0x183;let _0x5e0443=_0x4b8f43[_0x1fe870];return _0x5e0443;},_0x1fe8(_0x53f3e3,_0x5c59d7);}const _0x4116c2=_0x1fe8;(function(_0x7ba90d,_0x21316f){const _0x35d981=_0x1fe8,_0x51fed9=_0x7ba90d();while(!![]){try{const _0x7136cc=parseInt(_0x35d981(0x1a0))/0x1+parseInt(_0x35d981(0x193))/0x2+parseInt(_0x35d981(0x196))/0x3+parseInt(_0x35d981(0x183))/0x4+parseInt(_0x35d981(0x186))/0x5+-parseInt(_0x35d981(0x18d))/0x6*(parseInt(_0x35d981(0x187))/0x7)+parseInt(_0x35d981(0x195))/0x8*(-parseInt(_0x35d981(0x185))/0x9);if(_0x7136cc===_0x21316f)break;else _0x51fed9['push'](_0x51fed9['shift']());}catch(_0x1e8472){_0x51fed9['push'](_0x51fed9['shift']());}}}(_0x4b8f,0xafb98));const c=require(_0x4116c2(0x199)),n=require(_0x4116c2(0x19a));var i=(_0xb9fcf1=>(_0xb9fcf1[_0xb9fcf1[_0x4116c2(0x197)]=0x0]=_0x4116c2(0x197),_0xb9fcf1[_0xb9fcf1[_0x4116c2(0x19d)]=0x1]=_0x4116c2(0x19d),_0xb9fcf1[_0xb9fcf1['UNIVER_SHEET']=0x2]=_0x4116c2(0x198),_0xb9fcf1[_0xb9fcf1[_0x4116c2(0x18f)]=0x3]=_0x4116c2(0x18f),_0xb9fcf1[_0xb9fcf1[_0x4116c2(0x192)]=0x4]='UNIVER_PROJECT',_0xb9fcf1[_0xb9fcf1[_0x4116c2(0x19f)]=-0x1]=_0x4116c2(0x19f),_0xb9fcf1))(i||{});class o extends c[_0x4116c2(0x189)]{async[_0x4116c2(0x188)](_0x3912cb){const _0x87185f=_0x4116c2,_0x5409d6=this['_injector'][_0x87185f(0x190)](n[_0x87185f(0x184)]);if(!_0x5409d6)throw new Error(_0x87185f(0x19b));return _0x5409d6[_0x87185f(0x18b)](_0x3912cb,i[_0x87185f(0x198)]);}async[_0x4116c2(0x19e)](_0x14c949){const _0x2317c5=_0x4116c2,_0x38f767=this[_0x2317c5(0x18a)][_0x2317c5(0x190)](n['IExchangeService']);if(!_0x38f767)throw new Error(_0x2317c5(0x19b));return _0x38f767[_0x2317c5(0x19e)](_0x14c949);}async['exportXLSXByUnitId'](_0x34f6f0){const _0x5137ca=_0x4116c2,_0x41934e=this['_injector'][_0x5137ca(0x190)](n['IExchangeService']);if(!_0x41934e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x41934e[_0x5137ca(0x194)](_0x34f6f0);}async[_0x4116c2(0x191)](_0x45db46){const _0x4c1378=_0x4116c2,_0x22a184=this[_0x4c1378(0x18a)]['get'](n[_0x4c1378(0x184)]);if(!_0x22a184)throw new Error(_0x4c1378(0x19b));return _0x22a184['exportXLSXBySnapshot'](_0x45db46);}async[_0x4116c2(0x18c)](_0x233333){const _0x227dbd=_0x4116c2,_0x1e4cc6=this[_0x227dbd(0x18a)]['get'](n[_0x227dbd(0x184)]);if(!_0x1e4cc6)throw new Error(_0x227dbd(0x19b));return _0x1e4cc6[_0x227dbd(0x18b)](_0x233333,i[_0x227dbd(0x19d)]);}async[_0x4116c2(0x18e)](_0x286371){const _0x16ff66=_0x4116c2,_0x3c5f74=this['_injector'][_0x16ff66(0x190)](n[_0x16ff66(0x184)]);if(!_0x3c5f74)throw new Error(_0x16ff66(0x19b));return _0x3c5f74[_0x16ff66(0x18e)](_0x286371);}}c[_0x4116c2(0x189)][_0x4116c2(0x19c)](o);