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

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';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);
1
+ 'use strict';const _0x210273=_0x3a9e;(function(_0x384203,_0xc80277){const _0x306075=_0x3a9e,_0x2f43c6=_0x384203();while(!![]){try{const _0x1ff1ac=-parseInt(_0x306075(0x11b))/0x1*(parseInt(_0x306075(0x10e))/0x2)+parseInt(_0x306075(0x102))/0x3+-parseInt(_0x306075(0x109))/0x4+parseInt(_0x306075(0x103))/0x5*(parseInt(_0x306075(0x110))/0x6)+-parseInt(_0x306075(0x112))/0x7+parseInt(_0x306075(0x11d))/0x8*(-parseInt(_0x306075(0x11c))/0x9)+parseInt(_0x306075(0x115))/0xa*(parseInt(_0x306075(0x105))/0xb);if(_0x1ff1ac===_0xc80277)break;else _0x2f43c6['push'](_0x2f43c6['shift']());}catch(_0x156ca4){_0x2f43c6['push'](_0x2f43c6['shift']());}}}(_0x1007,0x31e08));const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');function _0x3a9e(_0x4b56c4,_0x14e322){const _0x100748=_0x1007();return _0x3a9e=function(_0x3a9e7e,_0x5ba1d7){_0x3a9e7e=_0x3a9e7e-0x102;let _0x287ec9=_0x100748[_0x3a9e7e];return _0x287ec9;},_0x3a9e(_0x4b56c4,_0x14e322);}var i=(_0x46b735=>(_0x46b735[_0x46b735[_0x210273(0x10a)]=0x0]=_0x210273(0x10a),_0x46b735[_0x46b735['UNIVER_DOC']=0x1]=_0x210273(0x118),_0x46b735[_0x46b735[_0x210273(0x108)]=0x2]=_0x210273(0x108),_0x46b735[_0x46b735[_0x210273(0x10b)]=0x3]=_0x210273(0x10b),_0x46b735[_0x46b735[_0x210273(0x117)]=0x4]=_0x210273(0x117),_0x46b735[_0x46b735[_0x210273(0x119)]=-0x1]=_0x210273(0x119),_0x46b735))(i||{});function _0x1007(){const _0x4440e7=['UNIVER_DOC','UNRECOGNIZED','importDOCXToUnitId','5662TuNqhz','2819115XddYJG','8EKfnPj','688137eQcgAr','29740pXWuyW','importDOCXToSnapshot','99kPQRZf','importXLSXToSnapshot','_injector','UNIVER_SHEET','1475820qWMpQB','UNIVER_UNKNOWN','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','92JYFxnb','importFileToUnitId','264NgvPcj','IExchangeService','150010ruqtvf','exportXLSXBySnapshot','get','752530OdgNEt','FUniver','UNIVER_PROJECT'];_0x1007=function(){return _0x4440e7;};return _0x1007();}class o extends c[_0x210273(0x116)]{async['importXLSXToUnitId'](_0x481eaa){const _0x4c072f=_0x210273,_0x2259f6=this[_0x4c072f(0x107)][_0x4c072f(0x114)](n[_0x4c072f(0x111)]);if(!_0x2259f6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2259f6[_0x4c072f(0x10f)](_0x481eaa,i['UNIVER_SHEET']);}async[_0x210273(0x106)](_0x46fdd1){const _0x25f67e=_0x210273,_0x16dbc3=this[_0x25f67e(0x107)][_0x25f67e(0x114)](n['IExchangeService']);if(!_0x16dbc3)throw new Error(_0x25f67e(0x10c));return _0x16dbc3['importXLSXToSnapshot'](_0x46fdd1);}async[_0x210273(0x10d)](_0x33bfc1){const _0x6ae3c0=_0x210273,_0x4c86f1=this[_0x6ae3c0(0x107)][_0x6ae3c0(0x114)](n[_0x6ae3c0(0x111)]);if(!_0x4c86f1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4c86f1[_0x6ae3c0(0x10d)](_0x33bfc1);}async[_0x210273(0x113)](_0x63a8fa){const _0x1701c7=_0x210273,_0x5186c9=this[_0x1701c7(0x107)]['get'](n[_0x1701c7(0x111)]);if(!_0x5186c9)throw new Error(_0x1701c7(0x10c));return _0x5186c9[_0x1701c7(0x113)](_0x63a8fa);}async[_0x210273(0x11a)](_0x405030){const _0x173005=_0x210273,_0x22a4bb=this['_injector'][_0x173005(0x114)](n[_0x173005(0x111)]);if(!_0x22a4bb)throw new Error(_0x173005(0x10c));return _0x22a4bb['importFileToUnitId'](_0x405030,i[_0x173005(0x118)]);}async[_0x210273(0x104)](_0x38ec92){const _0x2eea3b=_0x210273,_0x312e42=this[_0x2eea3b(0x107)][_0x2eea3b(0x114)](n['IExchangeService']);if(!_0x312e42)throw new Error(_0x2eea3b(0x10c));return _0x312e42['importDOCXToSnapshot'](_0x38ec92);}}c[_0x210273(0x116)]['extend'](o);