@univerjs-pro/exchange-client 0.5.2 → 0.5.3-experimental.20250106-e3b7a39

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 _0xf0cf18=_0x1834;function _0x1834(_0x46aba7,_0x549de8){const _0x408eea=_0x408e();return _0x1834=function(_0x1834fa,_0x3876d6){_0x1834fa=_0x1834fa-0x18c;let _0x13f06d=_0x408eea[_0x1834fa];return _0x13f06d;},_0x1834(_0x46aba7,_0x549de8);}(function(_0x85e822,_0x11abe4){const _0x3e22c3=_0x1834,_0x2bc4e2=_0x85e822();while(!![]){try{const _0x3d3d6c=-parseInt(_0x3e22c3(0x197))/0x1+-parseInt(_0x3e22c3(0x195))/0x2*(parseInt(_0x3e22c3(0x191))/0x3)+-parseInt(_0x3e22c3(0x192))/0x4+-parseInt(_0x3e22c3(0x19e))/0x5+parseInt(_0x3e22c3(0x1a1))/0x6*(-parseInt(_0x3e22c3(0x194))/0x7)+-parseInt(_0x3e22c3(0x1a4))/0x8*(parseInt(_0x3e22c3(0x18f))/0x9)+parseInt(_0x3e22c3(0x1a2))/0xa;if(_0x3d3d6c===_0x11abe4)break;else _0x2bc4e2['push'](_0x2bc4e2['shift']());}catch(_0x2c629f){_0x2bc4e2['push'](_0x2bc4e2['shift']());}}}(_0x408e,0x943ef));function _0x408e(){const _0x205daa=['importDOCXToSnapshot','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','2123635bXEShE','UNIVER_DOC','UNIVER_SLIDE','870HeScfo','35788410CmdQYi','_injector','8wVTbyJ','@univerjs/core','extend','exportXLSXBySnapshot','exportXLSXByUnitId','IExchangeService','importXLSXToUnitId','UNIVER_UNKNOWN','3079872XkSmjh','get','2896281NUfsfd','502628pZzNOE','UNIVER_PROJECT','39557LYUejP','2ZCkQgF','importXLSXToSnapshot','294212BWfQVX','@univerjs-pro/exchange-client','UNIVER_SHEET','FUniver'];_0x408e=function(){return _0x205daa;};return _0x408e();}const c=require(_0xf0cf18(0x1a5)),n=require(_0xf0cf18(0x198));var i=(_0x4feed2=>(_0x4feed2[_0x4feed2[_0xf0cf18(0x18e)]=0x0]=_0xf0cf18(0x18e),_0x4feed2[_0x4feed2['UNIVER_DOC']=0x1]=_0xf0cf18(0x19f),_0x4feed2[_0x4feed2[_0xf0cf18(0x199)]=0x2]=_0xf0cf18(0x199),_0x4feed2[_0x4feed2['UNIVER_SLIDE']=0x3]=_0xf0cf18(0x1a0),_0x4feed2[_0x4feed2[_0xf0cf18(0x193)]=0x4]=_0xf0cf18(0x193),_0x4feed2[_0x4feed2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4feed2))(i||{});class o extends c[_0xf0cf18(0x19a)]{async[_0xf0cf18(0x18d)](_0x734262){const _0x5ca0c3=_0xf0cf18,_0x1ef0d6=this[_0x5ca0c3(0x1a3)][_0x5ca0c3(0x190)](n[_0x5ca0c3(0x18c)]);if(!_0x1ef0d6)throw new Error(_0x5ca0c3(0x19d));return _0x1ef0d6['importFileToUnitId'](_0x734262,i[_0x5ca0c3(0x199)]);}async['importXLSXToSnapshot'](_0xb118b9){const _0x5b3952=_0xf0cf18,_0xaf824d=this[_0x5b3952(0x1a3)][_0x5b3952(0x190)](n[_0x5b3952(0x18c)]);if(!_0xaf824d)throw new Error(_0x5b3952(0x19d));return _0xaf824d[_0x5b3952(0x196)](_0xb118b9);}async[_0xf0cf18(0x1a8)](_0x26c620){const _0x17c18a=_0xf0cf18,_0x2a9b73=this[_0x17c18a(0x1a3)]['get'](n['IExchangeService']);if(!_0x2a9b73)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a9b73[_0x17c18a(0x1a8)](_0x26c620);}async['exportXLSXBySnapshot'](_0x31eec1){const _0x4a7748=_0xf0cf18,_0x413b06=this['_injector'][_0x4a7748(0x190)](n[_0x4a7748(0x18c)]);if(!_0x413b06)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x413b06[_0x4a7748(0x1a7)](_0x31eec1);}async[_0xf0cf18(0x19c)](_0x1e5a51){const _0x124a44=_0xf0cf18,_0x5a92bb=this[_0x124a44(0x1a3)][_0x124a44(0x190)](n['IExchangeService']);if(!_0x5a92bb)throw new Error(_0x124a44(0x19d));return _0x5a92bb['importFileToUnitId'](_0x1e5a51,i[_0x124a44(0x19f)]);}async[_0xf0cf18(0x19b)](_0x14dd08){const _0x2ed537=_0xf0cf18,_0x57d253=this[_0x2ed537(0x1a3)][_0x2ed537(0x190)](n[_0x2ed537(0x18c)]);if(!_0x57d253)throw new Error(_0x2ed537(0x19d));return _0x57d253[_0x2ed537(0x19b)](_0x14dd08);}}c[_0xf0cf18(0x19a)][_0xf0cf18(0x1a6)](o);
1
+ 'use strict';const _0x3864b6=_0x4d6b;(function(_0xff1b48,_0x2ecfab){const _0x1d4cb1=_0x4d6b,_0x4259bb=_0xff1b48();while(!![]){try{const _0x542690=parseInt(_0x1d4cb1(0x167))/0x1*(-parseInt(_0x1d4cb1(0x176))/0x2)+parseInt(_0x1d4cb1(0x162))/0x3+-parseInt(_0x1d4cb1(0x16e))/0x4*(-parseInt(_0x1d4cb1(0x178))/0x5)+parseInt(_0x1d4cb1(0x15b))/0x6*(parseInt(_0x1d4cb1(0x160))/0x7)+parseInt(_0x1d4cb1(0x16f))/0x8*(parseInt(_0x1d4cb1(0x16b))/0x9)+-parseInt(_0x1d4cb1(0x179))/0xa*(-parseInt(_0x1d4cb1(0x170))/0xb)+-parseInt(_0x1d4cb1(0x169))/0xc;if(_0x542690===_0x2ecfab)break;else _0x4259bb['push'](_0x4259bb['shift']());}catch(_0x19cdc7){_0x4259bb['push'](_0x4259bb['shift']());}}}(_0x4034,0xbb937));function _0x4d6b(_0x5186b2,_0x45ab22){const _0x403450=_0x4034();return _0x4d6b=function(_0x4d6b34,_0x4b4ab6){_0x4d6b34=_0x4d6b34-0x15b;let _0x5034e8=_0x403450[_0x4d6b34];return _0x5034e8;},_0x4d6b(_0x5186b2,_0x45ab22);}function _0x4034(){const _0xa3bd78=['importFileToUnitId','importXLSXToSnapshot','4uUSgZo','40kevpRl','5191230zlcwEi','UNRECOGNIZED','FUniver','UNIVER_SLIDE','importDOCXToSnapshot','IExchangeService','1820042vwkPxx','UNIVER_DOC','2964075itrxuM','10uCHoXm','138XKDFwg','importDOCXToUnitId','@univerjs/core','exportXLSXBySnapshot','UNIVER_SHEET','303121RBATaF','The\x20exchange\x20service\x20is\x20not\x20available','1277262WphWWw','exportXLSXByUnitId','_injector','UNIVER_PROJECT','get','1CaSPst','@univerjs-pro/exchange-client','23719512XCPeNF','extend','2103282qABOMM'];_0x4034=function(){return _0xa3bd78;};return _0x4034();}const c=require(_0x3864b6(0x15d)),n=require(_0x3864b6(0x168));var i=(_0x8aef10=>(_0x8aef10[_0x8aef10['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x8aef10[_0x8aef10[_0x3864b6(0x177)]=0x1]='UNIVER_DOC',_0x8aef10[_0x8aef10[_0x3864b6(0x15f)]=0x2]=_0x3864b6(0x15f),_0x8aef10[_0x8aef10[_0x3864b6(0x173)]=0x3]=_0x3864b6(0x173),_0x8aef10[_0x8aef10[_0x3864b6(0x165)]=0x4]=_0x3864b6(0x165),_0x8aef10[_0x8aef10[_0x3864b6(0x171)]=-0x1]=_0x3864b6(0x171),_0x8aef10))(i||{});class o extends c[_0x3864b6(0x172)]{async['importXLSXToUnitId'](_0x1f44fd){const _0x1d0be3=_0x3864b6,_0x22374c=this[_0x1d0be3(0x164)][_0x1d0be3(0x166)](n['IExchangeService']);if(!_0x22374c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x22374c[_0x1d0be3(0x16c)](_0x1f44fd,i['UNIVER_SHEET']);}async[_0x3864b6(0x16d)](_0x5b455d){const _0x476920=_0x3864b6,_0x488065=this[_0x476920(0x164)][_0x476920(0x166)](n[_0x476920(0x175)]);if(!_0x488065)throw new Error(_0x476920(0x161));return _0x488065['importXLSXToSnapshot'](_0x5b455d);}async[_0x3864b6(0x163)](_0x2c6d86){const _0x42e383=_0x3864b6,_0x562b24=this[_0x42e383(0x164)][_0x42e383(0x166)](n[_0x42e383(0x175)]);if(!_0x562b24)throw new Error(_0x42e383(0x161));return _0x562b24[_0x42e383(0x163)](_0x2c6d86);}async['exportXLSXBySnapshot'](_0x523575){const _0x2691f9=_0x3864b6,_0x3f3bf7=this[_0x2691f9(0x164)][_0x2691f9(0x166)](n[_0x2691f9(0x175)]);if(!_0x3f3bf7)throw new Error(_0x2691f9(0x161));return _0x3f3bf7[_0x2691f9(0x15e)](_0x523575);}async[_0x3864b6(0x15c)](_0x536472){const _0x5cf6e2=_0x3864b6,_0x33efc0=this['_injector']['get'](n[_0x5cf6e2(0x175)]);if(!_0x33efc0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x33efc0[_0x5cf6e2(0x16c)](_0x536472,i[_0x5cf6e2(0x177)]);}async[_0x3864b6(0x174)](_0x5d4707){const _0x4aa229=_0x3864b6,_0x12e8a9=this[_0x4aa229(0x164)][_0x4aa229(0x166)](n['IExchangeService']);if(!_0x12e8a9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x12e8a9[_0x4aa229(0x174)](_0x5d4707);}}c[_0x3864b6(0x172)][_0x3864b6(0x16a)](o);