@univerjs-pro/exchange-client 0.8.0-nightly.202506021607 → 0.8.0-nightly.202506031608

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 _0xb978(){const _0xcac5dd=['21279tmcHAx','exportDOCXBySnapshotAsync','importDOCXToUnitId','3150774cFxhCA','importDOCXToUnitIdAsync','4755136fmXHSL','get','4OfWZFZ','importXLSXToUnitIdAsync','UNIVER_DOC','exportXLSXByUnitId','UNIVER_SLIDE','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','UNRECOGNIZED','_injector','exportDOCXBySnapshot','1126872LPwHCm','UNIVER_SHEET','exportDOCXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','exportDOCXByUnitIdAsync','615983vJoQSF','importDOCXToSnapshot','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','1569491xBbTAl','58roIunS','@univerjs/core/facade','importXLSXToSnapshot','IExchangeService','FUniver','UNIVER_UNKNOWN','UNIVER_PROJECT','1521010VDPGrW','importXLSXToUnitId'];_0xb978=function(){return _0xcac5dd;};return _0xb978();}const _0x539b27=_0x4eca;(function(_0x3e2706,_0x58110d){const _0x4d2733=_0x4eca,_0x13cc84=_0x3e2706();while(!![]){try{const _0x181f7d=parseInt(_0x4d2733(0x8e))/0x1+-parseInt(_0x4d2733(0x94))/0x2*(parseInt(_0x4d2733(0x77))/0x3)+parseInt(_0x4d2733(0x7e))/0x4*(parseInt(_0x4d2733(0x9b))/0x5)+-parseInt(_0x4d2733(0x7a))/0x6+-parseInt(_0x4d2733(0x93))/0x7+parseInt(_0x4d2733(0x7c))/0x8+parseInt(_0x4d2733(0x88))/0x9;if(_0x181f7d===_0x58110d)break;else _0x13cc84['push'](_0x13cc84['shift']());}catch(_0x563faf){_0x13cc84['push'](_0x13cc84['shift']());}}}(_0xb978,0xa72ca));const r=require('@univerjs-pro/exchange-client'),o=require(_0x539b27(0x95));var i=(_0x22b78b=>(_0x22b78b[_0x22b78b['UNIVER_UNKNOWN']=0x0]=_0x539b27(0x99),_0x22b78b[_0x22b78b[_0x539b27(0x80)]=0x1]=_0x539b27(0x80),_0x22b78b[_0x22b78b[_0x539b27(0x89)]=0x2]=_0x539b27(0x89),_0x22b78b[_0x22b78b['UNIVER_SLIDE']=0x3]=_0x539b27(0x82),_0x22b78b[_0x22b78b[_0x539b27(0x9a)]=0x4]=_0x539b27(0x9a),_0x22b78b[_0x22b78b[_0x539b27(0x85)]=-0x1]=_0x539b27(0x85),_0x22b78b))(i||{});function _0x4eca(_0x15f43c,_0x2e32f7){const _0xb97877=_0xb978();return _0x4eca=function(_0x4ecabe,_0x5c786d){_0x4ecabe=_0x4ecabe-0x77;let _0x2ac44b=_0xb97877[_0x4ecabe];return _0x2ac44b;},_0x4eca(_0x15f43c,_0x2e32f7);}class c extends o[_0x539b27(0x98)]{async[_0x539b27(0x9c)](_0x3f4fd1){const _0xd97f97=_0x539b27;return this[_0xd97f97(0x7f)](_0x3f4fd1);}async['importXLSXToUnitIdAsync'](_0x3454c7){const _0x5706e4=_0x539b27,_0x205576=this[_0x5706e4(0x86)]['get'](r['IExchangeService']);if(!_0x205576)throw new Error(_0x5706e4(0x8b));return _0x205576[_0x5706e4(0x8c)](_0x3454c7,i[_0x5706e4(0x89)]);}async[_0x539b27(0x96)](_0x381591){const _0x430608=_0x539b27;return this[_0x430608(0x92)](_0x381591);}async[_0x539b27(0x92)](_0x4a6fad){const _0x443796=_0x539b27,_0x2a1611=this[_0x443796(0x86)][_0x443796(0x7d)](r[_0x443796(0x97)]);if(!_0x2a1611)throw new Error(_0x443796(0x8b));return _0x2a1611[_0x443796(0x96)](_0x4a6fad);}async['exportXLSXByUnitId'](_0x293ab8){const _0x306e89=_0x539b27;return this[_0x306e89(0x84)](_0x293ab8);}async[_0x539b27(0x84)](_0x18b80f){const _0x47602b=_0x539b27,_0x5099ca=this[_0x47602b(0x86)][_0x47602b(0x7d)](r['IExchangeService']);if(!_0x5099ca)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5099ca[_0x47602b(0x81)](_0x18b80f);}async['exportXLSXBySnapshot'](_0x155cca){const _0x3e5d58=_0x539b27;return this[_0x3e5d58(0x90)](_0x155cca);}async['exportXLSXBySnapshotAsync'](_0x53877d){const _0x36b9e4=_0x539b27,_0x212f15=this[_0x36b9e4(0x86)][_0x36b9e4(0x7d)](r[_0x36b9e4(0x97)]);if(!_0x212f15)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x212f15[_0x36b9e4(0x83)](_0x53877d);}async[_0x539b27(0x79)](_0x1003cd){const _0x59ef4d=_0x539b27;return this[_0x59ef4d(0x7b)](_0x1003cd);}async[_0x539b27(0x7b)](_0x26b22e){const _0xea5cb1=_0x539b27,_0x38e3b8=this[_0xea5cb1(0x86)][_0xea5cb1(0x7d)](r[_0xea5cb1(0x97)]);if(!_0x38e3b8)throw new Error(_0xea5cb1(0x8b));return _0x38e3b8[_0xea5cb1(0x8c)](_0x26b22e,i[_0xea5cb1(0x80)]);}async[_0x539b27(0x8f)](_0x4a7901){const _0x5de8a0=_0x539b27;return this[_0x5de8a0(0x91)](_0x4a7901);}async[_0x539b27(0x91)](_0x3a296e){const _0x132373=_0x539b27,_0xd45b4c=this[_0x132373(0x86)][_0x132373(0x7d)](r[_0x132373(0x97)]);if(!_0xd45b4c)throw new Error(_0x132373(0x8b));return _0xd45b4c[_0x132373(0x8f)](_0x3a296e);}async[_0x539b27(0x78)](_0x45d111){const _0x1056a7=_0x539b27,_0x17b63e=this[_0x1056a7(0x86)][_0x1056a7(0x7d)](r[_0x1056a7(0x97)]);if(!_0x17b63e)throw new Error(_0x1056a7(0x8b));return _0x17b63e[_0x1056a7(0x87)](_0x45d111);}async[_0x539b27(0x8d)](_0x11e739){const _0x26925f=_0x539b27,_0x36f0db=this['_injector'][_0x26925f(0x7d)](r[_0x26925f(0x97)]);if(!_0x36f0db)throw new Error(_0x26925f(0x8b));return _0x36f0db[_0x26925f(0x8a)](_0x11e739);}}o[_0x539b27(0x98)]['extend'](c);
1
+ 'use strict';const _0x483197=_0x3f0a;function _0x3f0a(_0x207482,_0x1547e8){const _0x3ccdb4=_0x3ccd();return _0x3f0a=function(_0x3f0ae9,_0x582fa4){_0x3f0ae9=_0x3f0ae9-0x12b;let _0x522540=_0x3ccdb4[_0x3f0ae9];return _0x522540;},_0x3f0a(_0x207482,_0x1547e8);}(function(_0x5668cc,_0x5493c4){const _0xa8914c=_0x3f0a,_0x18385f=_0x5668cc();while(!![]){try{const _0x147e75=-parseInt(_0xa8914c(0x12d))/0x1*(-parseInt(_0xa8914c(0x139))/0x2)+-parseInt(_0xa8914c(0x137))/0x3*(parseInt(_0xa8914c(0x140))/0x4)+parseInt(_0xa8914c(0x130))/0x5+-parseInt(_0xa8914c(0x133))/0x6*(-parseInt(_0xa8914c(0x12b))/0x7)+parseInt(_0xa8914c(0x134))/0x8+parseInt(_0xa8914c(0x14f))/0x9*(-parseInt(_0xa8914c(0x131))/0xa)+parseInt(_0xa8914c(0x14c))/0xb;if(_0x147e75===_0x5493c4)break;else _0x18385f['push'](_0x18385f['shift']());}catch(_0x5ebf84){_0x18385f['push'](_0x18385f['shift']());}}}(_0x3ccd,0xe4ca9));const r=require(_0x483197(0x138)),o=require(_0x483197(0x146));var i=(_0x8d16a6=>(_0x8d16a6[_0x8d16a6[_0x483197(0x12e)]=0x0]=_0x483197(0x12e),_0x8d16a6[_0x8d16a6[_0x483197(0x132)]=0x1]=_0x483197(0x132),_0x8d16a6[_0x8d16a6[_0x483197(0x13e)]=0x2]=_0x483197(0x13e),_0x8d16a6[_0x8d16a6['UNIVER_SLIDE']=0x3]=_0x483197(0x13a),_0x8d16a6[_0x8d16a6['UNIVER_PROJECT']=0x4]=_0x483197(0x12c),_0x8d16a6[_0x8d16a6[_0x483197(0x150)]=-0x1]=_0x483197(0x150),_0x8d16a6))(i||{});class c extends o[_0x483197(0x14b)]{async['importXLSXToUnitId'](_0x25e07){const _0x5836bc=_0x483197;return this[_0x5836bc(0x142)](_0x25e07);}async[_0x483197(0x142)](_0x565bc6){const _0x186d09=_0x483197,_0x57d0b2=this[_0x186d09(0x141)][_0x186d09(0x14e)](r[_0x186d09(0x14a)]);if(!_0x57d0b2)throw new Error(_0x186d09(0x13d));return _0x57d0b2['importFileToUnitId'](_0x565bc6,i[_0x186d09(0x13e)]);}async[_0x483197(0x149)](_0x5809b7){const _0x37ccb7=_0x483197;return this[_0x37ccb7(0x12f)](_0x5809b7);}async[_0x483197(0x12f)](_0x4d4d0f){const _0x355329=_0x483197,_0xd811a1=this['_injector']['get'](r[_0x355329(0x14a)]);if(!_0xd811a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xd811a1[_0x355329(0x149)](_0x4d4d0f);}async['exportXLSXByUnitId'](_0x3393ea){const _0x557d31=_0x483197;return this[_0x557d31(0x13c)](_0x3393ea);}async[_0x483197(0x13c)](_0x19c92b){const _0x408f98=_0x483197,_0x47861f=this[_0x408f98(0x141)][_0x408f98(0x14e)](r['IExchangeService']);if(!_0x47861f)throw new Error(_0x408f98(0x13d));return _0x47861f[_0x408f98(0x151)](_0x19c92b);}async[_0x483197(0x136)](_0x254302){const _0x441d32=_0x483197;return this[_0x441d32(0x13b)](_0x254302);}async[_0x483197(0x13b)](_0x219f67){const _0x4f6902=_0x483197,_0x5f3f41=this[_0x4f6902(0x141)]['get'](r['IExchangeService']);if(!_0x5f3f41)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5f3f41[_0x4f6902(0x136)](_0x219f67);}async[_0x483197(0x144)](_0x1b1a63){const _0x34a045=_0x483197;return this[_0x34a045(0x145)](_0x1b1a63);}async[_0x483197(0x145)](_0x1b9f4f){const _0x1bc8c3=_0x483197,_0x274ad7=this['_injector']['get'](r[_0x1bc8c3(0x14a)]);if(!_0x274ad7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x274ad7[_0x1bc8c3(0x135)](_0x1b9f4f,i[_0x1bc8c3(0x132)]);}async[_0x483197(0x14d)](_0x1f9c67){const _0x2a4573=_0x483197;return this[_0x2a4573(0x148)](_0x1f9c67);}async[_0x483197(0x148)](_0x8f9e49){const _0x3666e5=_0x483197,_0x3167ef=this[_0x3666e5(0x141)][_0x3666e5(0x14e)](r[_0x3666e5(0x14a)]);if(!_0x3167ef)throw new Error(_0x3666e5(0x13d));return _0x3167ef[_0x3666e5(0x14d)](_0x8f9e49);}async['exportDOCXBySnapshotAsync'](_0x488414){const _0x58743d=_0x483197,_0x1a9a92=this[_0x58743d(0x141)]['get'](r[_0x58743d(0x14a)]);if(!_0x1a9a92)throw new Error(_0x58743d(0x13d));return _0x1a9a92['exportDOCXBySnapshot'](_0x488414);}async[_0x483197(0x143)](_0x2ba7d){const _0x367ccb=_0x483197,_0x5bf442=this[_0x367ccb(0x141)][_0x367ccb(0x14e)](r['IExchangeService']);if(!_0x5bf442)throw new Error(_0x367ccb(0x13d));return _0x5bf442[_0x367ccb(0x13f)](_0x2ba7d);}}function _0x3ccd(){const _0x53e899=['importXLSXToSnapshotAsync','917575lVdwZo','10LHOFkc','UNIVER_DOC','1092426WNiWAu','953944QFhJLQ','importFileToUnitId','exportXLSXBySnapshot','756594gidUKk','@univerjs-pro/exchange-client','665258LMBtMq','UNIVER_SLIDE','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','exportDOCXByUnitId','12siIisW','_injector','importXLSXToUnitIdAsync','exportDOCXByUnitIdAsync','importDOCXToUnitId','importDOCXToUnitIdAsync','@univerjs/core/facade','extend','importDOCXToSnapshotAsync','importXLSXToSnapshot','IExchangeService','FUniver','18336021FNizmJ','importDOCXToSnapshot','get','16664031HOISkv','UNRECOGNIZED','exportXLSXByUnitId','35TEbBqD','UNIVER_PROJECT','2calRBI','UNIVER_UNKNOWN'];_0x3ccd=function(){return _0x53e899;};return _0x3ccd();}o[_0x483197(0x14b)][_0x483197(0x147)](c);