@univerjs-pro/exchange-client 0.5.1-nightly.202412180944 → 0.5.1-nightly.202412181606

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 _0xbc0ef8=_0x3119;(function(_0x1e5e5b,_0x21104c){const _0x3d1c8f=_0x3119,_0xfeea15=_0x1e5e5b();while(!![]){try{const _0x3fa239=-parseInt(_0x3d1c8f(0x96))/0x1+parseInt(_0x3d1c8f(0xa7))/0x2*(parseInt(_0x3d1c8f(0xa2))/0x3)+-parseInt(_0x3d1c8f(0xa4))/0x4*(parseInt(_0x3d1c8f(0xa6))/0x5)+parseInt(_0x3d1c8f(0xa9))/0x6+parseInt(_0x3d1c8f(0xa8))/0x7*(-parseInt(_0x3d1c8f(0x9f))/0x8)+-parseInt(_0x3d1c8f(0x9a))/0x9*(parseInt(_0x3d1c8f(0x90))/0xa)+parseInt(_0x3d1c8f(0xa5))/0xb*(parseInt(_0x3d1c8f(0x98))/0xc);if(_0x3fa239===_0x21104c)break;else _0xfeea15['push'](_0xfeea15['shift']());}catch(_0xd57c17){_0xfeea15['push'](_0xfeea15['shift']());}}}(_0x33df,0xe8310));const c=require(_0xbc0ef8(0xa1)),n=require(_0xbc0ef8(0xa0));var i=(_0x2c928c=>(_0x2c928c[_0x2c928c['UNIVER_UNKNOWN']=0x0]=_0xbc0ef8(0x9d),_0x2c928c[_0x2c928c[_0xbc0ef8(0x8b)]=0x1]='UNIVER_DOC',_0x2c928c[_0x2c928c['UNIVER_SHEET']=0x2]=_0xbc0ef8(0x9e),_0x2c928c[_0x2c928c['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x2c928c[_0x2c928c[_0xbc0ef8(0x94)]=0x4]=_0xbc0ef8(0x94),_0x2c928c[_0x2c928c[_0xbc0ef8(0x92)]=-0x1]=_0xbc0ef8(0x92),_0x2c928c))(i||{});class o extends c[_0xbc0ef8(0xa3)]{async[_0xbc0ef8(0x99)](_0x4aca90){const _0x3dff49=_0xbc0ef8,_0x2f1441=this[_0x3dff49(0x93)][_0x3dff49(0x8e)](n[_0x3dff49(0x95)]);if(!_0x2f1441)throw new Error(_0x3dff49(0x91));return _0x2f1441[_0x3dff49(0x8d)](_0x4aca90,i[_0x3dff49(0x9e)]);}async[_0xbc0ef8(0x97)](_0x1a3447){const _0xfa19ae=_0xbc0ef8,_0xfc8637=this[_0xfa19ae(0x93)][_0xfa19ae(0x8e)](n[_0xfa19ae(0x95)]);if(!_0xfc8637)throw new Error(_0xfa19ae(0x91));return _0xfc8637[_0xfa19ae(0x97)](_0x1a3447);}async[_0xbc0ef8(0x8c)](_0x75dccb){const _0x1e990b=_0xbc0ef8,_0x5e06a4=this['_injector']['get'](n[_0x1e990b(0x95)]);if(!_0x5e06a4)throw new Error(_0x1e990b(0x91));return _0x5e06a4[_0x1e990b(0x8c)](_0x75dccb);}async[_0xbc0ef8(0x9c)](_0x15dca0){const _0x42343e=_0xbc0ef8,_0x296b80=this[_0x42343e(0x93)][_0x42343e(0x8e)](n[_0x42343e(0x95)]);if(!_0x296b80)throw new Error(_0x42343e(0x91));return _0x296b80['exportXLSXBySnapshot'](_0x15dca0);}async[_0xbc0ef8(0x8f)](_0x560a2e){const _0x1ccb5d=_0xbc0ef8,_0x371457=this['_injector'][_0x1ccb5d(0x8e)](n[_0x1ccb5d(0x95)]);if(!_0x371457)throw new Error(_0x1ccb5d(0x91));return _0x371457[_0x1ccb5d(0x8d)](_0x560a2e,i[_0x1ccb5d(0x8b)]);}async[_0xbc0ef8(0x9b)](_0x2ef179){const _0x5a6f3b=_0xbc0ef8,_0x2bd010=this[_0x5a6f3b(0x93)][_0x5a6f3b(0x8e)](n[_0x5a6f3b(0x95)]);if(!_0x2bd010)throw new Error(_0x5a6f3b(0x91));return _0x2bd010[_0x5a6f3b(0x9b)](_0x2ef179);}}function _0x33df(){const _0x26e934=['_injector','UNIVER_PROJECT','IExchangeService','1797625wVdpWW','importXLSXToSnapshot','4470072fKgulI','importXLSXToUnitId','101889WOaZLI','importDOCXToSnapshot','exportXLSXBySnapshot','UNIVER_UNKNOWN','UNIVER_SHEET','24lMwBSe','@univerjs-pro/exchange-client','@univerjs/core','123PoomsZ','FUniver','4520388oIFIJG','143kEuDal','5uXgTmN','5914NYRCCk','2965970ZJWjoI','6958194hGdcKR','UNIVER_DOC','exportXLSXByUnitId','importFileToUnitId','get','importDOCXToUnitId','860TEWHyH','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED'];_0x33df=function(){return _0x26e934;};return _0x33df();}function _0x3119(_0x4adcaa,_0x3d8567){const _0x33dff2=_0x33df();return _0x3119=function(_0x3119d6,_0x5ab1b8){_0x3119d6=_0x3119d6-0x8b;let _0x5743ea=_0x33dff2[_0x3119d6];return _0x5743ea;},_0x3119(_0x4adcaa,_0x3d8567);}c[_0xbc0ef8(0xa3)]['extend'](o);
1
+ 'use strict';function _0x293f(){const _0xb3e90e=['5143448YNYQyz','exportXLSXBySnapshot','6985GOelsc','5MWCEyF','UNIVER_DOC','UNRECOGNIZED','extend','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','UNIVER_PROJECT','UNIVER_SLIDE','importDOCXToUnitId','13039810SJXjCd','importXLSXToUnitId','63FiWEFq','exportXLSXByUnitId','5834736hOlbYl','FUniver','6UPLnZF','159830MtzLfN','5290nTbzzX','importFileToUnitId','_injector','12uZONuM','1425593TFIFTK','importDOCXToSnapshot','UNIVER_UNKNOWN','9ppBPki','986808XGcaEn','importXLSXToSnapshot','UNIVER_SHEET','get'];_0x293f=function(){return _0xb3e90e;};return _0x293f();}function _0x5814(_0x182d90,_0x589703){const _0x293f2b=_0x293f();return _0x5814=function(_0x581436,_0x528f64){_0x581436=_0x581436-0x95;let _0x2923e7=_0x293f2b[_0x581436];return _0x2923e7;},_0x5814(_0x182d90,_0x589703);}const _0xebe36a=_0x5814;(function(_0x57d5d1,_0x465687){const _0x2e31c6=_0x5814,_0x3d6e60=_0x57d5d1();while(!![]){try{const _0x4b527a=-parseInt(_0x2e31c6(0xa2))/0x1+-parseInt(_0x2e31c6(0x99))/0x2*(-parseInt(_0x2e31c6(0xb5))/0x3)+-parseInt(_0x2e31c6(0xa6))/0x4*(parseInt(_0x2e31c6(0xa9))/0x5)+parseInt(_0x2e31c6(0x98))/0x6*(parseInt(_0x2e31c6(0xb3))/0x7)+-parseInt(_0x2e31c6(0x96))/0x8*(parseInt(_0x2e31c6(0xa1))/0x9)+-parseInt(_0x2e31c6(0x9a))/0xa*(-parseInt(_0x2e31c6(0xa8))/0xb)+parseInt(_0x2e31c6(0x9d))/0xc*(parseInt(_0x2e31c6(0x9e))/0xd);if(_0x4b527a===_0x465687)break;else _0x3d6e60['push'](_0x3d6e60['shift']());}catch(_0x4f1776){_0x3d6e60['push'](_0x3d6e60['shift']());}}}(_0x293f,0xf0621));const c=require('@univerjs/core'),n=require(_0xebe36a(0xaf));var i=(_0x4d41e6=>(_0x4d41e6[_0x4d41e6[_0xebe36a(0xa0)]=0x0]=_0xebe36a(0xa0),_0x4d41e6[_0x4d41e6[_0xebe36a(0xaa)]=0x1]=_0xebe36a(0xaa),_0x4d41e6[_0x4d41e6[_0xebe36a(0xa4)]=0x2]=_0xebe36a(0xa4),_0x4d41e6[_0x4d41e6[_0xebe36a(0xb1)]=0x3]='UNIVER_SLIDE',_0x4d41e6[_0x4d41e6[_0xebe36a(0xb0)]=0x4]=_0xebe36a(0xb0),_0x4d41e6[_0x4d41e6[_0xebe36a(0xab)]=-0x1]=_0xebe36a(0xab),_0x4d41e6))(i||{});class o extends c[_0xebe36a(0x97)]{async[_0xebe36a(0xb4)](_0x5dafb2){const _0x3e6ffc=_0xebe36a,_0x2cbcae=this[_0x3e6ffc(0x9c)][_0x3e6ffc(0xa5)](n['IExchangeService']);if(!_0x2cbcae)throw new Error(_0x3e6ffc(0xae));return _0x2cbcae[_0x3e6ffc(0x9b)](_0x5dafb2,i[_0x3e6ffc(0xa4)]);}async[_0xebe36a(0xa3)](_0x1d246d){const _0x401c43=_0xebe36a,_0x1c480a=this['_injector'][_0x401c43(0xa5)](n['IExchangeService']);if(!_0x1c480a)throw new Error(_0x401c43(0xae));return _0x1c480a[_0x401c43(0xa3)](_0x1d246d);}async[_0xebe36a(0x95)](_0x36c8a2){const _0x4f67f8=_0xebe36a,_0x4fcaa1=this[_0x4f67f8(0x9c)][_0x4f67f8(0xa5)](n[_0x4f67f8(0xad)]);if(!_0x4fcaa1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4fcaa1[_0x4f67f8(0x95)](_0x36c8a2);}async[_0xebe36a(0xa7)](_0x53248e){const _0xc03d65=_0xebe36a,_0x4a8d6=this['_injector']['get'](n[_0xc03d65(0xad)]);if(!_0x4a8d6)throw new Error(_0xc03d65(0xae));return _0x4a8d6[_0xc03d65(0xa7)](_0x53248e);}async[_0xebe36a(0xb2)](_0x1712c0){const _0x55efcf=_0xebe36a,_0x1a49b8=this[_0x55efcf(0x9c)]['get'](n['IExchangeService']);if(!_0x1a49b8)throw new Error(_0x55efcf(0xae));return _0x1a49b8['importFileToUnitId'](_0x1712c0,i[_0x55efcf(0xaa)]);}async[_0xebe36a(0x9f)](_0x498151){const _0x40c69c=_0xebe36a,_0x475c54=this[_0x40c69c(0x9c)]['get'](n['IExchangeService']);if(!_0x475c54)throw new Error(_0x40c69c(0xae));return _0x475c54[_0x40c69c(0x9f)](_0x498151);}}c[_0xebe36a(0x97)][_0xebe36a(0xac)](o);