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

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 _0x40f5cb=_0xd7cb;(function(_0x375ead,_0x562bb5){const _0xf766e6=_0xd7cb,_0x283976=_0x375ead();while(!![]){try{const _0x40e981=parseInt(_0xf766e6(0x107))/0x1+parseInt(_0xf766e6(0xf9))/0x2*(parseInt(_0xf766e6(0x104))/0x3)+-parseInt(_0xf766e6(0xfd))/0x4*(-parseInt(_0xf766e6(0x100))/0x5)+parseInt(_0xf766e6(0xf2))/0x6*(parseInt(_0xf766e6(0x103))/0x7)+parseInt(_0xf766e6(0x101))/0x8+-parseInt(_0xf766e6(0x106))/0x9*(parseInt(_0xf766e6(0xf3))/0xa)+-parseInt(_0xf766e6(0x10a))/0xb*(parseInt(_0xf766e6(0xec))/0xc);if(_0x40e981===_0x562bb5)break;else _0x283976['push'](_0x283976['shift']());}catch(_0x1333ca){_0x283976['push'](_0x283976['shift']());}}}(_0x2daa,0xc7baa));const c=require(_0x40f5cb(0xfb)),n=require(_0x40f5cb(0x10b));var i=(_0xa96239=>(_0xa96239[_0xa96239['UNIVER_UNKNOWN']=0x0]=_0x40f5cb(0xf1),_0xa96239[_0xa96239[_0x40f5cb(0xfa)]=0x1]=_0x40f5cb(0xfa),_0xa96239[_0xa96239[_0x40f5cb(0x102)]=0x2]=_0x40f5cb(0x102),_0xa96239[_0xa96239[_0x40f5cb(0x10c)]=0x3]=_0x40f5cb(0x10c),_0xa96239[_0xa96239['UNIVER_PROJECT']=0x4]=_0x40f5cb(0xf4),_0xa96239[_0xa96239[_0x40f5cb(0xf0)]=-0x1]=_0x40f5cb(0xf0),_0xa96239))(i||{});function _0xd7cb(_0x35368a,_0x2036fd){const _0x2daa44=_0x2daa();return _0xd7cb=function(_0xd7cbe3,_0x397fb6){_0xd7cbe3=_0xd7cbe3-0xec;let _0x2bc415=_0x2daa44[_0xd7cbe3];return _0x2bc415;},_0xd7cb(_0x35368a,_0x2036fd);}class o extends c[_0x40f5cb(0xf8)]{async[_0x40f5cb(0x105)](_0x2e6b22){const _0x4776fa=_0x40f5cb,_0x5bdfa2=this[_0x4776fa(0x108)][_0x4776fa(0xff)](n[_0x4776fa(0xf5)]);if(!_0x5bdfa2)throw new Error(_0x4776fa(0xee));return _0x5bdfa2[_0x4776fa(0xfe)](_0x2e6b22,i[_0x4776fa(0x102)]);}async[_0x40f5cb(0xed)](_0xe2415){const _0x215bf1=_0x40f5cb,_0x464d52=this[_0x215bf1(0x108)][_0x215bf1(0xff)](n[_0x215bf1(0xf5)]);if(!_0x464d52)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x464d52['importXLSXToSnapshot'](_0xe2415);}async[_0x40f5cb(0x109)](_0xe1255){const _0xd54b30=_0x40f5cb,_0x31cf95=this[_0xd54b30(0x108)][_0xd54b30(0xff)](n[_0xd54b30(0xf5)]);if(!_0x31cf95)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x31cf95['exportXLSXByUnitId'](_0xe1255);}async[_0x40f5cb(0xf7)](_0x4a0a9a){const _0x5a1b19=_0x40f5cb,_0x2d7348=this[_0x5a1b19(0x108)]['get'](n[_0x5a1b19(0xf5)]);if(!_0x2d7348)throw new Error(_0x5a1b19(0xee));return _0x2d7348[_0x5a1b19(0xf7)](_0x4a0a9a);}async[_0x40f5cb(0xfc)](_0x1ddf3b){const _0x49192c=_0x40f5cb,_0x573581=this[_0x49192c(0x108)][_0x49192c(0xff)](n['IExchangeService']);if(!_0x573581)throw new Error(_0x49192c(0xee));return _0x573581['importFileToUnitId'](_0x1ddf3b,i[_0x49192c(0xfa)]);}async[_0x40f5cb(0xef)](_0x1d45a4){const _0x2128e6=_0x40f5cb,_0x252da1=this[_0x2128e6(0x108)]['get'](n[_0x2128e6(0xf5)]);if(!_0x252da1)throw new Error(_0x2128e6(0xee));return _0x252da1['importDOCXToSnapshot'](_0x1d45a4);}}c[_0x40f5cb(0xf8)][_0x40f5cb(0xf6)](o);function _0x2daa(){const _0x398120=['315030TocHZW','_injector','exportXLSXByUnitId','11LxwdaI','@univerjs-pro/exchange-client','UNIVER_SLIDE','477240ZgMzzJ','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshot','UNRECOGNIZED','UNIVER_UNKNOWN','6YMJWSq','10aNzjhl','UNIVER_PROJECT','IExchangeService','extend','exportXLSXBySnapshot','FUniver','3802CHsCCE','UNIVER_DOC','@univerjs/core','importDOCXToUnitId','1489648iDRame','importFileToUnitId','get','5hQUjjn','551728fxqpOB','UNIVER_SHEET','6260996YRzQgy','339FSFuEc','importXLSXToUnitId','9070101BNajsI'];_0x2daa=function(){return _0x398120;};return _0x2daa();}
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);