@univerjs-pro/exchange-client 0.5.1-nightly.202412111529 → 0.5.1-nightly.202412120301

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 _0x2be236=_0x3342;(function(_0x57663d,_0x494f5b){const _0x79d3d6=_0x3342,_0x474432=_0x57663d();while(!![]){try{const _0x7296c4=-parseInt(_0x79d3d6(0x1bd))/0x1*(parseInt(_0x79d3d6(0x1b6))/0x2)+-parseInt(_0x79d3d6(0x1b2))/0x3*(parseInt(_0x79d3d6(0x1ac))/0x4)+-parseInt(_0x79d3d6(0x1b9))/0x5*(parseInt(_0x79d3d6(0x1a9))/0x6)+-parseInt(_0x79d3d6(0x1bb))/0x7+-parseInt(_0x79d3d6(0x1bc))/0x8*(-parseInt(_0x79d3d6(0x1b5))/0x9)+parseInt(_0x79d3d6(0x1b1))/0xa*(parseInt(_0x79d3d6(0x1b3))/0xb)+-parseInt(_0x79d3d6(0x1ba))/0xc*(-parseInt(_0x79d3d6(0x1ad))/0xd);if(_0x7296c4===_0x494f5b)break;else _0x474432['push'](_0x474432['shift']());}catch(_0x3086f5){_0x474432['push'](_0x474432['shift']());}}}(_0x46fd,0x1a75c));const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');function _0x46fd(){const _0x40215e=['12jGdvjp','get','FUniver','12OrbZtN','13eOgBWj','importDOCXToSnapshot','UNIVER_PROJECT','importXLSXToSnapshot','43340eSQEQT','4149oorDIW','330xpTpFc','UNIVER_DOC','4887BtfiCG','2876YIuvXv','_injector','exportXLSXByUnitId','161815ypxbpo','3017412VZhKgq','110159QjxQlN','168ACwpUC','139uMXgKn','UNIVER_UNKNOWN','exportXLSXBySnapshot','IExchangeService','importFileToUnitId','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','UNIVER_SLIDE','UNIVER_SHEET','extend'];_0x46fd=function(){return _0x40215e;};return _0x46fd();}var i=(_0x2880f2=>(_0x2880f2[_0x2880f2[_0x2be236(0x1be)]=0x0]=_0x2be236(0x1be),_0x2880f2[_0x2880f2[_0x2be236(0x1b4)]=0x1]='UNIVER_DOC',_0x2880f2[_0x2880f2[_0x2be236(0x1a7)]=0x2]=_0x2be236(0x1a7),_0x2880f2[_0x2880f2['UNIVER_SLIDE']=0x3]=_0x2be236(0x1c5),_0x2880f2[_0x2880f2[_0x2be236(0x1af)]=0x4]='UNIVER_PROJECT',_0x2880f2[_0x2880f2[_0x2be236(0x1c2)]=-0x1]=_0x2be236(0x1c2),_0x2880f2))(i||{});function _0x3342(_0x52d2ed,_0x318746){const _0x46fdfe=_0x46fd();return _0x3342=function(_0x334235,_0x19974b){_0x334235=_0x334235-0x1a7;let _0x326268=_0x46fdfe[_0x334235];return _0x326268;},_0x3342(_0x52d2ed,_0x318746);}class o extends c[_0x2be236(0x1ab)]{async['importXLSXToUnitId'](_0xcaa2ed){const _0x254963=_0x2be236,_0x2a47e1=this[_0x254963(0x1b7)]['get'](n[_0x254963(0x1c0)]);if(!_0x2a47e1)throw new Error(_0x254963(0x1c3));return _0x2a47e1[_0x254963(0x1c1)](_0xcaa2ed,i[_0x254963(0x1a7)]);}async['importXLSXToSnapshot'](_0x55da1e){const _0x458643=_0x2be236,_0x3df2a7=this['_injector'][_0x458643(0x1aa)](n[_0x458643(0x1c0)]);if(!_0x3df2a7)throw new Error(_0x458643(0x1c3));return _0x3df2a7[_0x458643(0x1b0)](_0x55da1e);}async[_0x2be236(0x1b8)](_0x17793a){const _0x12b7cd=_0x2be236,_0x2148e5=this['_injector'][_0x12b7cd(0x1aa)](n[_0x12b7cd(0x1c0)]);if(!_0x2148e5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2148e5[_0x12b7cd(0x1b8)](_0x17793a);}async[_0x2be236(0x1bf)](_0x447805){const _0x18aaa9=_0x2be236,_0x5dd6b8=this['_injector']['get'](n[_0x18aaa9(0x1c0)]);if(!_0x5dd6b8)throw new Error(_0x18aaa9(0x1c3));return _0x5dd6b8[_0x18aaa9(0x1bf)](_0x447805);}async[_0x2be236(0x1c4)](_0x2bf4f9){const _0x280d7c=_0x2be236,_0x548a41=this[_0x280d7c(0x1b7)][_0x280d7c(0x1aa)](n[_0x280d7c(0x1c0)]);if(!_0x548a41)throw new Error(_0x280d7c(0x1c3));return _0x548a41[_0x280d7c(0x1c1)](_0x2bf4f9,i['UNIVER_DOC']);}async[_0x2be236(0x1ae)](_0x23d93b){const _0x230a1b=_0x2be236,_0x431d1c=this[_0x230a1b(0x1b7)][_0x230a1b(0x1aa)](n[_0x230a1b(0x1c0)]);if(!_0x431d1c)throw new Error(_0x230a1b(0x1c3));return _0x431d1c[_0x230a1b(0x1ae)](_0x23d93b);}}c[_0x2be236(0x1ab)][_0x2be236(0x1a8)](o);
1
+ 'use strict';const _0x3f18ba=_0x1509;function _0x4525(){const _0x3e984e=['UNIVER_UNKNOWN','UNIVER_PROJECT','exportXLSXByUnitId','UNIVER_DOC','10bfsBTM','2984LGRuVM','1278jHcLed','80tfFfEr','11165022VNNXgW','100194DtpsgZ','11133488IrTeFp','14616404dtNoYB','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','importDOCXToSnapshot','@univerjs/core','_injector','6153yfzoVt','importXLSXToUnitId','get','importFileToUnitId','UNRECOGNIZED','5013155VvKpGw','@univerjs-pro/exchange-client','FUniver','IExchangeService','importXLSXToSnapshot','UNIVER_SHEET','12DWoWou','13LTdybj','importDOCXToUnitId'];_0x4525=function(){return _0x3e984e;};return _0x4525();}(function(_0x557dab,_0x874ef6){const _0x2f4e90=_0x1509,_0x3fc7b6=_0x557dab();while(!![]){try{const _0x54383=-parseInt(_0x2f4e90(0x201))/0x1*(-parseInt(_0x2f4e90(0x209))/0x2)+parseInt(_0x2f4e90(0x1f5))/0x3*(parseInt(_0x2f4e90(0x208))/0x4)+parseInt(_0x2f4e90(0x20a))/0x5*(-parseInt(_0x2f4e90(0x20c))/0x6)+parseInt(_0x2f4e90(0x1fa))/0x7+parseInt(_0x2f4e90(0x20d))/0x8+parseInt(_0x2f4e90(0x20b))/0x9*(-parseInt(_0x2f4e90(0x207))/0xa)+parseInt(_0x2f4e90(0x1ef))/0xb*(-parseInt(_0x2f4e90(0x200))/0xc);if(_0x54383===_0x874ef6)break;else _0x3fc7b6['push'](_0x3fc7b6['shift']());}catch(_0x545ba8){_0x3fc7b6['push'](_0x3fc7b6['shift']());}}}(_0x4525,0xc5ae2));const c=require(_0x3f18ba(0x1f3)),n=require(_0x3f18ba(0x1fb));function _0x1509(_0x4a09ad,_0x2af23c){const _0x452533=_0x4525();return _0x1509=function(_0x150906,_0x18e4b0){_0x150906=_0x150906-0x1ef;let _0xd5e237=_0x452533[_0x150906];return _0xd5e237;},_0x1509(_0x4a09ad,_0x2af23c);}var i=(_0x581ee2=>(_0x581ee2[_0x581ee2['UNIVER_UNKNOWN']=0x0]=_0x3f18ba(0x203),_0x581ee2[_0x581ee2[_0x3f18ba(0x206)]=0x1]='UNIVER_DOC',_0x581ee2[_0x581ee2[_0x3f18ba(0x1ff)]=0x2]=_0x3f18ba(0x1ff),_0x581ee2[_0x581ee2['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x581ee2[_0x581ee2[_0x3f18ba(0x204)]=0x4]='UNIVER_PROJECT',_0x581ee2[_0x581ee2[_0x3f18ba(0x1f9)]=-0x1]=_0x3f18ba(0x1f9),_0x581ee2))(i||{});class o extends c[_0x3f18ba(0x1fc)]{async[_0x3f18ba(0x1f6)](_0x33fc7e){const _0x564916=_0x3f18ba,_0x2b69cb=this[_0x564916(0x1f4)][_0x564916(0x1f7)](n[_0x564916(0x1fd)]);if(!_0x2b69cb)throw new Error(_0x564916(0x1f0));return _0x2b69cb[_0x564916(0x1f8)](_0x33fc7e,i[_0x564916(0x1ff)]);}async['importXLSXToSnapshot'](_0x2b52e9){const _0x19d61d=_0x3f18ba,_0x3dd1af=this[_0x19d61d(0x1f4)][_0x19d61d(0x1f7)](n['IExchangeService']);if(!_0x3dd1af)throw new Error(_0x19d61d(0x1f0));return _0x3dd1af[_0x19d61d(0x1fe)](_0x2b52e9);}async[_0x3f18ba(0x205)](_0x15685f){const _0x2cc43c=_0x3f18ba,_0x31be53=this[_0x2cc43c(0x1f4)][_0x2cc43c(0x1f7)](n[_0x2cc43c(0x1fd)]);if(!_0x31be53)throw new Error(_0x2cc43c(0x1f0));return _0x31be53[_0x2cc43c(0x205)](_0x15685f);}async['exportXLSXBySnapshot'](_0x181938){const _0x303771=_0x3f18ba,_0x3faff3=this[_0x303771(0x1f4)][_0x303771(0x1f7)](n[_0x303771(0x1fd)]);if(!_0x3faff3)throw new Error(_0x303771(0x1f0));return _0x3faff3[_0x303771(0x1f1)](_0x181938);}async[_0x3f18ba(0x202)](_0x55b33d){const _0x3e9c4c=_0x3f18ba,_0x79e473=this['_injector'][_0x3e9c4c(0x1f7)](n[_0x3e9c4c(0x1fd)]);if(!_0x79e473)throw new Error(_0x3e9c4c(0x1f0));return _0x79e473[_0x3e9c4c(0x1f8)](_0x55b33d,i[_0x3e9c4c(0x206)]);}async[_0x3f18ba(0x1f2)](_0x12158c){const _0x171337=_0x3f18ba,_0x22d1a2=this['_injector'][_0x171337(0x1f7)](n[_0x171337(0x1fd)]);if(!_0x22d1a2)throw new Error(_0x171337(0x1f0));return _0x22d1a2[_0x171337(0x1f2)](_0x12158c);}}c[_0x3f18ba(0x1fc)]['extend'](o);