@univerjs-pro/exchange-client 0.7.0-nightly.202505011607 → 0.7.0-nightly.202505021607

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 _0x9dc506=_0x404f;(function(_0x3a734a,_0x2f0624){const _0x35d599=_0x404f,_0x1793e5=_0x3a734a();while(!![]){try{const _0x2e23ff=parseInt(_0x35d599(0x214))/0x1*(parseInt(_0x35d599(0x1f9))/0x2)+-parseInt(_0x35d599(0x20f))/0x3*(-parseInt(_0x35d599(0x1f2))/0x4)+parseInt(_0x35d599(0x211))/0x5*(parseInt(_0x35d599(0x1ff))/0x6)+-parseInt(_0x35d599(0x20a))/0x7*(-parseInt(_0x35d599(0x1f1))/0x8)+-parseInt(_0x35d599(0x207))/0x9*(-parseInt(_0x35d599(0x1f8))/0xa)+parseInt(_0x35d599(0x206))/0xb+-parseInt(_0x35d599(0x200))/0xc*(parseInt(_0x35d599(0x212))/0xd);if(_0x2e23ff===_0x2f0624)break;else _0x1793e5['push'](_0x1793e5['shift']());}catch(_0x4b7953){_0x1793e5['push'](_0x1793e5['shift']());}}}(_0x1af9,0x49125));function _0x1af9(){const _0x5da285=['598568kLHLkS','extend','importFileToUnitId','680072oGbaAD','328cZVDkP','UNIVER_UNKNOWN','_injector','IExchangeService','UNRECOGNIZED','importDOCXToUnitIdAsync','204290XpCJhw','2IfJytT','get','exportXLSXByUnitIdAsync','UNIVER_DOC','UNIVER_SHEET','@univerjs-pro/exchange-client','18BgEwPC','276OKUfri','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToUnitId','FUniver','exportXLSXBySnapshotAsync','5758753HTvTWM','216lPdeMd','@univerjs/core/facade','exportXLSXByUnitId','49nBrkMu','importXLSXToSnapshot','importDOCXToSnapshot','UNIVER_PROJECT','importDOCXToSnapshotAsync','4269HHcvVL','The\x20exchange\x20service\x20is\x20not\x20available','707430bPvhtP','1384383Ujitpu','exportXLSXBySnapshot'];_0x1af9=function(){return _0x5da285;};return _0x1af9();}const r=require(_0x9dc506(0x1fe)),i=require(_0x9dc506(0x208));var o=(_0x3e38c9=>(_0x3e38c9[_0x3e38c9['UNIVER_UNKNOWN']=0x0]=_0x9dc506(0x1f3),_0x3e38c9[_0x3e38c9[_0x9dc506(0x1fc)]=0x1]=_0x9dc506(0x1fc),_0x3e38c9[_0x3e38c9[_0x9dc506(0x1fd)]=0x2]=_0x9dc506(0x1fd),_0x3e38c9[_0x3e38c9['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3e38c9[_0x3e38c9['UNIVER_PROJECT']=0x4]=_0x9dc506(0x20d),_0x3e38c9[_0x3e38c9[_0x9dc506(0x1f6)]=-0x1]=_0x9dc506(0x1f6),_0x3e38c9))(o||{});class c extends i[_0x9dc506(0x204)]{async['importXLSXToUnitId'](_0x502276){const _0x35e5f5=_0x9dc506;return this[_0x35e5f5(0x201)](_0x502276);}async[_0x9dc506(0x201)](_0x380d99){const _0x39ec6e=_0x9dc506,_0x48e103=this[_0x39ec6e(0x1f4)][_0x39ec6e(0x1fa)](r[_0x39ec6e(0x1f5)]);if(!_0x48e103)throw new Error(_0x39ec6e(0x210));return _0x48e103['importFileToUnitId'](_0x380d99,o['UNIVER_SHEET']);}async[_0x9dc506(0x20b)](_0x24d7ee){const _0x15a42c=_0x9dc506;return this[_0x15a42c(0x202)](_0x24d7ee);}async[_0x9dc506(0x202)](_0x12719b){const _0x15ad53=_0x9dc506,_0x47c1af=this['_injector'][_0x15ad53(0x1fa)](r[_0x15ad53(0x1f5)]);if(!_0x47c1af)throw new Error(_0x15ad53(0x210));return _0x47c1af[_0x15ad53(0x20b)](_0x12719b);}async[_0x9dc506(0x209)](_0x197870){const _0x59b6ae=_0x9dc506;return this[_0x59b6ae(0x1fb)](_0x197870);}async[_0x9dc506(0x1fb)](_0xcfccc9){const _0x148ef1=_0x9dc506,_0x1ed5f0=this['_injector'][_0x148ef1(0x1fa)](r[_0x148ef1(0x1f5)]);if(!_0x1ed5f0)throw new Error(_0x148ef1(0x210));return _0x1ed5f0['exportXLSXByUnitId'](_0xcfccc9);}async[_0x9dc506(0x213)](_0x1ae49d){const _0x190560=_0x9dc506;return this[_0x190560(0x205)](_0x1ae49d);}async[_0x9dc506(0x205)](_0x1ddbcf){const _0x7a46c6=_0x9dc506,_0x1ae2f4=this[_0x7a46c6(0x1f4)][_0x7a46c6(0x1fa)](r[_0x7a46c6(0x1f5)]);if(!_0x1ae2f4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1ae2f4[_0x7a46c6(0x213)](_0x1ddbcf);}async[_0x9dc506(0x203)](_0x259a22){const _0x3c304b=_0x9dc506;return this[_0x3c304b(0x1f7)](_0x259a22);}async[_0x9dc506(0x1f7)](_0x1c747d){const _0x567e87=_0x9dc506,_0x2b294a=this[_0x567e87(0x1f4)][_0x567e87(0x1fa)](r[_0x567e87(0x1f5)]);if(!_0x2b294a)throw new Error(_0x567e87(0x210));return _0x2b294a[_0x567e87(0x216)](_0x1c747d,o[_0x567e87(0x1fc)]);}async['importDOCXToSnapshot'](_0x3e45d5){const _0x513691=_0x9dc506;return this[_0x513691(0x20e)](_0x3e45d5);}async[_0x9dc506(0x20e)](_0x1660f1){const _0x205c23=_0x9dc506,_0x3a4124=this[_0x205c23(0x1f4)][_0x205c23(0x1fa)](r[_0x205c23(0x1f5)]);if(!_0x3a4124)throw new Error(_0x205c23(0x210));return _0x3a4124[_0x205c23(0x20c)](_0x1660f1);}}function _0x404f(_0x98cc01,_0x1fbf54){const _0x1af960=_0x1af9();return _0x404f=function(_0x404fa4,_0x21e143){_0x404fa4=_0x404fa4-0x1f1;let _0x59313e=_0x1af960[_0x404fa4];return _0x59313e;},_0x404f(_0x98cc01,_0x1fbf54);}i[_0x9dc506(0x204)][_0x9dc506(0x215)](c);
1
+ 'use strict';const _0x3ad147=_0x3c33;function _0x4e29(){const _0xe5abcf=['importXLSXToUnitId','extend','35124nalGOf','IExchangeService','exportXLSXBySnapshotAsync','3369752gLfSOw','1632102vzRvIk','importDOCXToSnapshotAsync','UNIVER_SLIDE','UNIVER_PROJECT','importDOCXToSnapshot','importXLSXToSnapshotAsync','importFileToUnitId','importXLSXToSnapshot','3938000pSQdCx','424RGycMU','The\x20exchange\x20service\x20is\x20not\x20available','1862jtfiir','6762672OoXaUh','exportXLSXBySnapshot','1mlRLLx','UNIVER_UNKNOWN','UNRECOGNIZED','@univerjs-pro/exchange-client','get','importXLSXToUnitIdAsync','49094GeCvTR','FUniver','_injector','85375QThoYZ','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','UNIVER_DOC','UNIVER_SHEET'];_0x4e29=function(){return _0xe5abcf;};return _0x4e29();}(function(_0x14d708,_0x529ea4){const _0x4c62ff=_0x3c33,_0x154075=_0x14d708();while(!![]){try{const _0x3a4453=-parseInt(_0x4c62ff(0x164))/0x1*(parseInt(_0x4c62ff(0x16a))/0x2)+parseInt(_0x4c62ff(0x156))/0x3+-parseInt(_0x4c62ff(0x15f))/0x4*(parseInt(_0x4c62ff(0x16d))/0x5)+parseInt(_0x4c62ff(0x152))/0x6*(parseInt(_0x4c62ff(0x161))/0x7)+-parseInt(_0x4c62ff(0x155))/0x8+parseInt(_0x4c62ff(0x162))/0x9+parseInt(_0x4c62ff(0x15e))/0xa;if(_0x3a4453===_0x529ea4)break;else _0x154075['push'](_0x154075['shift']());}catch(_0x1f472b){_0x154075['push'](_0x154075['shift']());}}}(_0x4e29,0xf1de2));const r=require(_0x3ad147(0x167)),i=require('@univerjs/core/facade');var o=(_0x13597c=>(_0x13597c[_0x13597c[_0x3ad147(0x165)]=0x0]='UNIVER_UNKNOWN',_0x13597c[_0x13597c['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x13597c[_0x13597c[_0x3ad147(0x14f)]=0x2]='UNIVER_SHEET',_0x13597c[_0x13597c[_0x3ad147(0x158)]=0x3]=_0x3ad147(0x158),_0x13597c[_0x13597c[_0x3ad147(0x159)]=0x4]='UNIVER_PROJECT',_0x13597c[_0x13597c[_0x3ad147(0x166)]=-0x1]=_0x3ad147(0x166),_0x13597c))(o||{});class c extends i[_0x3ad147(0x16b)]{async[_0x3ad147(0x150)](_0x309162){const _0x5877ed=_0x3ad147;return this[_0x5877ed(0x169)](_0x309162);}async[_0x3ad147(0x169)](_0x38d73b){const _0x38f624=_0x3ad147,_0x31dbb8=this['_injector'][_0x38f624(0x168)](r[_0x38f624(0x153)]);if(!_0x31dbb8)throw new Error(_0x38f624(0x160));return _0x31dbb8['importFileToUnitId'](_0x38d73b,o[_0x38f624(0x14f)]);}async['importXLSXToSnapshot'](_0x1c5097){const _0x1743a7=_0x3ad147;return this[_0x1743a7(0x15b)](_0x1c5097);}async['importXLSXToSnapshotAsync'](_0x3399f8){const _0x3fa5e7=_0x3ad147,_0x440114=this[_0x3fa5e7(0x16c)][_0x3fa5e7(0x168)](r[_0x3fa5e7(0x153)]);if(!_0x440114)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x440114[_0x3fa5e7(0x15d)](_0x3399f8);}async['exportXLSXByUnitId'](_0x6122f7){const _0x394d60=_0x3ad147;return this[_0x394d60(0x16e)](_0x6122f7);}async[_0x3ad147(0x16e)](_0x4d80d0){const _0x5063ce=_0x3ad147,_0x36000b=this[_0x5063ce(0x16c)]['get'](r[_0x5063ce(0x153)]);if(!_0x36000b)throw new Error(_0x5063ce(0x160));return _0x36000b['exportXLSXByUnitId'](_0x4d80d0);}async[_0x3ad147(0x163)](_0x41166a){const _0x4cdadb=_0x3ad147;return this[_0x4cdadb(0x154)](_0x41166a);}async[_0x3ad147(0x154)](_0x2336c1){const _0x318813=_0x3ad147,_0x505b3e=this[_0x318813(0x16c)][_0x318813(0x168)](r[_0x318813(0x153)]);if(!_0x505b3e)throw new Error(_0x318813(0x160));return _0x505b3e[_0x318813(0x163)](_0x2336c1);}async['importDOCXToUnitId'](_0x2acbd9){const _0x185c38=_0x3ad147;return this[_0x185c38(0x16f)](_0x2acbd9);}async[_0x3ad147(0x16f)](_0x45a0a5){const _0x331ddb=_0x3ad147,_0x50a8e9=this[_0x331ddb(0x16c)]['get'](r['IExchangeService']);if(!_0x50a8e9)throw new Error(_0x331ddb(0x160));return _0x50a8e9[_0x331ddb(0x15c)](_0x45a0a5,o[_0x331ddb(0x14e)]);}async[_0x3ad147(0x15a)](_0x2fd7fc){const _0x176f54=_0x3ad147;return this[_0x176f54(0x157)](_0x2fd7fc);}async[_0x3ad147(0x157)](_0x1a3638){const _0x181804=_0x3ad147,_0x4a2573=this[_0x181804(0x16c)][_0x181804(0x168)](r[_0x181804(0x153)]);if(!_0x4a2573)throw new Error(_0x181804(0x160));return _0x4a2573[_0x181804(0x15a)](_0x1a3638);}}function _0x3c33(_0x16ac0b,_0x36a0af){const _0x4e29bf=_0x4e29();return _0x3c33=function(_0x3c3301,_0x260e5c){_0x3c3301=_0x3c3301-0x14e;let _0x33c104=_0x4e29bf[_0x3c3301];return _0x33c104;},_0x3c33(_0x16ac0b,_0x36a0af);}i[_0x3ad147(0x16b)][_0x3ad147(0x151)](c);