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

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 _0x502ff0=_0x2f4a;function _0xeef0(){const _0x4f7ca2=['IExchangeService','get','importFileToUnitId','3087702AVcISi','UNRECOGNIZED','8TJBQpG','UNIVER_PROJECT','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','1099752cgncdv','importDOCXToSnapshot','265244WuARxK','FUniver','20KIDTqV','UNIVER_DOC','@univerjs-pro/exchange-client','_injector','importXLSXToSnapshot','UNIVER_SLIDE','836486RNwOwZ','883692xfEHZP','44641AxVDBb','20JNXoQu','77690pkfwyU','exportXLSXByUnitId'];_0xeef0=function(){return _0x4f7ca2;};return _0xeef0();}(function(_0x2c00ce,_0x19de08){const _0x32185f=_0x2f4a,_0x5cbd92=_0x2c00ce();while(!![]){try{const _0x5b9bbf=parseInt(_0x32185f(0x143))/0x1*(parseInt(_0x32185f(0x13b))/0x2)+parseInt(_0x32185f(0x150))/0x3+-parseInt(_0x32185f(0x139))/0x4*(parseInt(_0x32185f(0x144))/0x5)+parseInt(_0x32185f(0x142))/0x6+-parseInt(_0x32185f(0x141))/0x7+parseInt(_0x32185f(0x14c))/0x8*(-parseInt(_0x32185f(0x14a))/0x9)+parseInt(_0x32185f(0x145))/0xa;if(_0x5b9bbf===_0x19de08)break;else _0x5cbd92['push'](_0x5cbd92['shift']());}catch(_0x396134){_0x5cbd92['push'](_0x5cbd92['shift']());}}}(_0xeef0,0x3aa61));const c=require('@univerjs/core'),n=require(_0x502ff0(0x13d));var i=(_0x57df73=>(_0x57df73[_0x57df73[_0x502ff0(0x14e)]=0x0]=_0x502ff0(0x14e),_0x57df73[_0x57df73['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x57df73[_0x57df73['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x57df73[_0x57df73[_0x502ff0(0x140)]=0x3]='UNIVER_SLIDE',_0x57df73[_0x57df73['UNIVER_PROJECT']=0x4]=_0x502ff0(0x14d),_0x57df73[_0x57df73[_0x502ff0(0x14b)]=-0x1]=_0x502ff0(0x14b),_0x57df73))(i||{});function _0x2f4a(_0x426928,_0x1100f0){const _0xeef070=_0xeef0();return _0x2f4a=function(_0x2f4a2d,_0x1789fd){_0x2f4a2d=_0x2f4a2d-0x139;let _0x1116c9=_0xeef070[_0x2f4a2d];return _0x1116c9;},_0x2f4a(_0x426928,_0x1100f0);}class o extends c[_0x502ff0(0x13a)]{async['importXLSXToUnitId'](_0x2a617c){const _0x9ca532=_0x502ff0,_0x4ee9fa=this[_0x9ca532(0x13e)][_0x9ca532(0x148)](n[_0x9ca532(0x147)]);if(!_0x4ee9fa)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ee9fa[_0x9ca532(0x149)](_0x2a617c,i['UNIVER_SHEET']);}async[_0x502ff0(0x13f)](_0x139cf3){const _0x264f08=_0x502ff0,_0x52fb6c=this[_0x264f08(0x13e)][_0x264f08(0x148)](n['IExchangeService']);if(!_0x52fb6c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52fb6c[_0x264f08(0x13f)](_0x139cf3);}async[_0x502ff0(0x146)](_0x5618ad){const _0x208312=_0x502ff0,_0x12845f=this[_0x208312(0x13e)][_0x208312(0x148)](n[_0x208312(0x147)]);if(!_0x12845f)throw new Error(_0x208312(0x14f));return _0x12845f[_0x208312(0x146)](_0x5618ad);}async['exportXLSXBySnapshot'](_0x5c1fb9){const _0x508072=_0x502ff0,_0x171b6e=this[_0x508072(0x13e)]['get'](n['IExchangeService']);if(!_0x171b6e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x171b6e['exportXLSXBySnapshot'](_0x5c1fb9);}async['importDOCXToUnitId'](_0x352ac5){const _0x5b99ea=_0x502ff0,_0x57c328=this[_0x5b99ea(0x13e)][_0x5b99ea(0x148)](n[_0x5b99ea(0x147)]);if(!_0x57c328)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57c328[_0x5b99ea(0x149)](_0x352ac5,i[_0x5b99ea(0x13c)]);}async[_0x502ff0(0x151)](_0x2447ea){const _0x29cf81=_0x502ff0,_0x5a0aff=this[_0x29cf81(0x13e)][_0x29cf81(0x148)](n[_0x29cf81(0x147)]);if(!_0x5a0aff)throw new Error(_0x29cf81(0x14f));return _0x5a0aff[_0x29cf81(0x151)](_0x2447ea);}}c[_0x502ff0(0x13a)]['extend'](o);