@univerjs-pro/exchange-client 0.6.0-nightly.202502091605 → 0.6.0-nightly.202502111606

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 _0x4ccc2a=_0x38d4;function _0x38d4(_0x4581d6,_0x47e870){const _0x34cda2=_0x34cd();return _0x38d4=function(_0x38d45e,_0xeeb275){_0x38d45e=_0x38d45e-0x1a2;let _0x537806=_0x34cda2[_0x38d45e];return _0x537806;},_0x38d4(_0x4581d6,_0x47e870);}(function(_0x109495,_0x934051){const _0x3ad86b=_0x38d4,_0x77e51f=_0x109495();while(!![]){try{const _0x40c3af=-parseInt(_0x3ad86b(0x1be))/0x1+-parseInt(_0x3ad86b(0x1af))/0x2*(-parseInt(_0x3ad86b(0x1bc))/0x3)+parseInt(_0x3ad86b(0x1aa))/0x4+-parseInt(_0x3ad86b(0x1b8))/0x5+-parseInt(_0x3ad86b(0x1a8))/0x6*(-parseInt(_0x3ad86b(0x1b1))/0x7)+-parseInt(_0x3ad86b(0x1ab))/0x8+-parseInt(_0x3ad86b(0x1bd))/0x9;if(_0x40c3af===_0x934051)break;else _0x77e51f['push'](_0x77e51f['shift']());}catch(_0x37d8eb){_0x77e51f['push'](_0x77e51f['shift']());}}}(_0x34cd,0x8a109));const r=require(_0x4ccc2a(0x1c2)),i=require('@univerjs/core');var o=(_0x2decca=>(_0x2decca[_0x2decca[_0x4ccc2a(0x1b5)]=0x0]=_0x4ccc2a(0x1b5),_0x2decca[_0x2decca[_0x4ccc2a(0x1b3)]=0x1]=_0x4ccc2a(0x1b3),_0x2decca[_0x2decca[_0x4ccc2a(0x1a5)]=0x2]='UNIVER_SHEET',_0x2decca[_0x2decca[_0x4ccc2a(0x1a9)]=0x3]=_0x4ccc2a(0x1a9),_0x2decca[_0x2decca[_0x4ccc2a(0x1a3)]=0x4]=_0x4ccc2a(0x1a3),_0x2decca[_0x2decca[_0x4ccc2a(0x1bf)]=-0x1]=_0x4ccc2a(0x1bf),_0x2decca))(o||{});class c extends i[_0x4ccc2a(0x1ba)]{async[_0x4ccc2a(0x1b6)](_0x4736e5){const _0x51b8e=_0x4ccc2a;return this[_0x51b8e(0x1ad)](_0x4736e5);}async['importXLSXToUnitIdAsync'](_0x312c8f){const _0x3418ef=_0x4ccc2a,_0x52d1b1=this[_0x3418ef(0x1c3)][_0x3418ef(0x1b9)](r['IExchangeService']);if(!_0x52d1b1)throw new Error(_0x3418ef(0x1bb));return _0x52d1b1[_0x3418ef(0x1c4)](_0x312c8f,o[_0x3418ef(0x1a5)]);}async[_0x4ccc2a(0x1a2)](_0x2c6a5c){const _0x18d771=_0x4ccc2a;return this[_0x18d771(0x1b2)](_0x2c6a5c);}async[_0x4ccc2a(0x1b2)](_0x259b09){const _0x131b73=_0x4ccc2a,_0x543681=this[_0x131b73(0x1c3)][_0x131b73(0x1b9)](r['IExchangeService']);if(!_0x543681)throw new Error(_0x131b73(0x1bb));return _0x543681['importXLSXToSnapshot'](_0x259b09);}async['exportXLSXByUnitId'](_0x49bb14){const _0x43017c=_0x4ccc2a;return this[_0x43017c(0x1a6)](_0x49bb14);}async[_0x4ccc2a(0x1a6)](_0x5aed18){const _0x12beb5=_0x4ccc2a,_0xa0b678=this[_0x12beb5(0x1c3)][_0x12beb5(0x1b9)](r['IExchangeService']);if(!_0xa0b678)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xa0b678[_0x12beb5(0x1a7)](_0x5aed18);}async[_0x4ccc2a(0x1c0)](_0x4c8a4f){const _0x27d8b4=_0x4ccc2a;return this[_0x27d8b4(0x1b4)](_0x4c8a4f);}async[_0x4ccc2a(0x1b4)](_0x316927){const _0x25a12f=_0x4ccc2a,_0x1ca1cc=this['_injector'][_0x25a12f(0x1b9)](r[_0x25a12f(0x1c1)]);if(!_0x1ca1cc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1ca1cc[_0x25a12f(0x1c0)](_0x316927);}async[_0x4ccc2a(0x1b0)](_0x2363eb){const _0x180418=_0x4ccc2a;return this[_0x180418(0x1ae)](_0x2363eb);}async[_0x4ccc2a(0x1ae)](_0x3d0945){const _0x2f8319=_0x4ccc2a,_0x5be238=this[_0x2f8319(0x1c3)][_0x2f8319(0x1b9)](r[_0x2f8319(0x1c1)]);if(!_0x5be238)throw new Error(_0x2f8319(0x1bb));return _0x5be238[_0x2f8319(0x1c4)](_0x3d0945,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x3ab7ed){const _0x4a0b7d=_0x4ccc2a;return this[_0x4a0b7d(0x1a4)](_0x3ab7ed);}async[_0x4ccc2a(0x1a4)](_0x2acd24){const _0x3ed1de=_0x4ccc2a,_0x735e7f=this[_0x3ed1de(0x1c3)][_0x3ed1de(0x1b9)](r[_0x3ed1de(0x1c1)]);if(!_0x735e7f)throw new Error(_0x3ed1de(0x1bb));return _0x735e7f[_0x3ed1de(0x1b7)](_0x2acd24);}}i[_0x4ccc2a(0x1ba)][_0x4ccc2a(0x1ac)](c);function _0x34cd(){const _0x38ee56=['1762327rivHVW','importXLSXToSnapshotAsync','UNIVER_DOC','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','importXLSXToUnitId','importDOCXToSnapshot','3795130IGMFad','get','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','39BDLQcH','3411612PzaWKR','303822UJXxZF','UNRECOGNIZED','exportXLSXBySnapshot','IExchangeService','@univerjs-pro/exchange-client','_injector','importFileToUnitId','importXLSXToSnapshot','UNIVER_PROJECT','importDOCXToSnapshotAsync','UNIVER_SHEET','exportXLSXByUnitIdAsync','exportXLSXByUnitId','24DVGvCM','UNIVER_SLIDE','2656224dBnpMq','2725376NaecYn','extend','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','104154WgumuC','importDOCXToUnitId'];_0x34cd=function(){return _0x38ee56;};return _0x34cd();}
1
+ 'use strict';const _0x17ed22=_0x49bd;(function(_0x419839,_0x545a5a){const _0x1072b0=_0x49bd,_0x2ecc1e=_0x419839();while(!![]){try{const _0x4292bc=-parseInt(_0x1072b0(0xd2))/0x1+-parseInt(_0x1072b0(0xd3))/0x2+-parseInt(_0x1072b0(0xd5))/0x3*(parseInt(_0x1072b0(0xdf))/0x4)+parseInt(_0x1072b0(0xd9))/0x5*(-parseInt(_0x1072b0(0xe4))/0x6)+-parseInt(_0x1072b0(0xde))/0x7+parseInt(_0x1072b0(0xdd))/0x8+parseInt(_0x1072b0(0xe5))/0x9;if(_0x4292bc===_0x545a5a)break;else _0x2ecc1e['push'](_0x2ecc1e['shift']());}catch(_0x5852e4){_0x2ecc1e['push'](_0x2ecc1e['shift']());}}}(_0x2884,0x7bedf));function _0x2884(){const _0x367f06=['4zvmqOz','exportXLSXByUnitIdAsync','@univerjs/core','importDOCXToUnitId','exportXLSXBySnapshot','4737990vxLRbk','23547456QGYlaI','importDOCXToSnapshotAsync','exportXLSXByUnitId','_injector','UNIVER_SLIDE','UNIVER_PROJECT','exportXLSXBySnapshotAsync','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','importFileToUnitId','UNRECOGNIZED','UNIVER_UNKNOWN','UNIVER_SHEET','extend','364126XQhioE','652770oIFllU','importDOCXToUnitIdAsync','355479WdLHax','UNIVER_DOC','IExchangeService','importXLSXToSnapshotAsync','5ykvFtS','importXLSXToSnapshot','importDOCXToSnapshot','get','2618152TOsttT','5861583gZILJx'];_0x2884=function(){return _0x367f06;};return _0x2884();}function _0x49bd(_0x3ca309,_0x2e5bd4){const _0x2884a6=_0x2884();return _0x49bd=function(_0x49bd4a,_0x55b6c4){_0x49bd4a=_0x49bd4a-0xc5;let _0x4c27ee=_0x2884a6[_0x49bd4a];return _0x4c27ee;},_0x49bd(_0x3ca309,_0x2e5bd4);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x17ed22(0xe1));var o=(_0x386b58=>(_0x386b58[_0x386b58[_0x17ed22(0xcf)]=0x0]=_0x17ed22(0xcf),_0x386b58[_0x386b58['UNIVER_DOC']=0x1]=_0x17ed22(0xd6),_0x386b58[_0x386b58[_0x17ed22(0xd0)]=0x2]='UNIVER_SHEET',_0x386b58[_0x386b58['UNIVER_SLIDE']=0x3]=_0x17ed22(0xc7),_0x386b58[_0x386b58[_0x17ed22(0xc8)]=0x4]=_0x17ed22(0xc8),_0x386b58[_0x386b58[_0x17ed22(0xce)]=-0x1]=_0x17ed22(0xce),_0x386b58))(o||{});class c extends i['FUniver']{async[_0x17ed22(0xca)](_0x8d2c35){const _0x2dc884=_0x17ed22;return this[_0x2dc884(0xcc)](_0x8d2c35);}async['importXLSXToUnitIdAsync'](_0x14847e){const _0x1a59ad=_0x17ed22,_0x4c2f5e=this['_injector'][_0x1a59ad(0xdc)](r[_0x1a59ad(0xd7)]);if(!_0x4c2f5e)throw new Error(_0x1a59ad(0xcb));return _0x4c2f5e[_0x1a59ad(0xcd)](_0x14847e,o[_0x1a59ad(0xd0)]);}async[_0x17ed22(0xda)](_0x571b30){const _0x18ece1=_0x17ed22;return this[_0x18ece1(0xd8)](_0x571b30);}async[_0x17ed22(0xd8)](_0x1186a5){const _0x173ede=_0x17ed22,_0x69ae24=this[_0x173ede(0xc6)][_0x173ede(0xdc)](r[_0x173ede(0xd7)]);if(!_0x69ae24)throw new Error(_0x173ede(0xcb));return _0x69ae24[_0x173ede(0xda)](_0x1186a5);}async[_0x17ed22(0xc5)](_0x246855){return this['exportXLSXByUnitIdAsync'](_0x246855);}async[_0x17ed22(0xe0)](_0x1807dc){const _0x2b2a79=_0x17ed22,_0x5f550b=this[_0x2b2a79(0xc6)][_0x2b2a79(0xdc)](r[_0x2b2a79(0xd7)]);if(!_0x5f550b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5f550b['exportXLSXByUnitId'](_0x1807dc);}async[_0x17ed22(0xe3)](_0x54eda7){const _0x31d9a9=_0x17ed22;return this[_0x31d9a9(0xc9)](_0x54eda7);}async[_0x17ed22(0xc9)](_0x2f8676){const _0x2d00ad=_0x17ed22,_0x5c73ee=this[_0x2d00ad(0xc6)][_0x2d00ad(0xdc)](r[_0x2d00ad(0xd7)]);if(!_0x5c73ee)throw new Error(_0x2d00ad(0xcb));return _0x5c73ee['exportXLSXBySnapshot'](_0x2f8676);}async[_0x17ed22(0xe2)](_0x56d2c9){return this['importDOCXToUnitIdAsync'](_0x56d2c9);}async[_0x17ed22(0xd4)](_0x2e78e3){const _0x5336c1=_0x17ed22,_0x53c2f5=this[_0x5336c1(0xc6)]['get'](r[_0x5336c1(0xd7)]);if(!_0x53c2f5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x53c2f5['importFileToUnitId'](_0x2e78e3,o['UNIVER_DOC']);}async[_0x17ed22(0xdb)](_0x27315e){const _0x329e40=_0x17ed22;return this[_0x329e40(0xe6)](_0x27315e);}async[_0x17ed22(0xe6)](_0x32e479){const _0x2008cf=_0x17ed22,_0x35e35c=this['_injector']['get'](r[_0x2008cf(0xd7)]);if(!_0x35e35c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x35e35c['importDOCXToSnapshot'](_0x32e479);}}i['FUniver'][_0x17ed22(0xd1)](c);