@univerjs-pro/exchange-client 0.7.0-nightly.202504301607 → 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';function _0x3da3(_0xd07542,_0x207bbe){const _0x120ff1=_0x120f();return _0x3da3=function(_0x3da329,_0x5aa07d){_0x3da329=_0x3da329-0xcc;let _0xd9fe39=_0x120ff1[_0x3da329];return _0xd9fe39;},_0x3da3(_0xd07542,_0x207bbe);}const _0xa8ad69=_0x3da3;(function(_0x12cba1,_0xdda5d1){const _0x420f64=_0x3da3,_0x1db036=_0x12cba1();while(!![]){try{const _0x26bf6b=parseInt(_0x420f64(0xe0))/0x1+parseInt(_0x420f64(0xe1))/0x2*(parseInt(_0x420f64(0xdb))/0x3)+-parseInt(_0x420f64(0xd7))/0x4+parseInt(_0x420f64(0xeb))/0x5*(-parseInt(_0x420f64(0xec))/0x6)+parseInt(_0x420f64(0xe9))/0x7*(-parseInt(_0x420f64(0xf0))/0x8)+-parseInt(_0x420f64(0xd2))/0x9+parseInt(_0x420f64(0xea))/0xa*(parseInt(_0x420f64(0xd9))/0xb);if(_0x26bf6b===_0xdda5d1)break;else _0x1db036['push'](_0x1db036['shift']());}catch(_0x2c297b){_0x1db036['push'](_0x1db036['shift']());}}}(_0x120f,0x473d6));const r=require(_0xa8ad69(0xcd)),i=require(_0xa8ad69(0xd4));var o=(_0x48496f=>(_0x48496f[_0x48496f[_0xa8ad69(0xed)]=0x0]=_0xa8ad69(0xed),_0x48496f[_0x48496f[_0xa8ad69(0xcf)]=0x1]=_0xa8ad69(0xcf),_0x48496f[_0x48496f[_0xa8ad69(0xe3)]=0x2]='UNIVER_SHEET',_0x48496f[_0x48496f[_0xa8ad69(0xdf)]=0x3]='UNIVER_SLIDE',_0x48496f[_0x48496f[_0xa8ad69(0xee)]=0x4]=_0xa8ad69(0xee),_0x48496f[_0x48496f['UNRECOGNIZED']=-0x1]=_0xa8ad69(0xda),_0x48496f))(o||{});class c extends i[_0xa8ad69(0xde)]{async[_0xa8ad69(0xe8)](_0x2fd816){const _0x5ab649=_0xa8ad69;return this[_0x5ab649(0xe2)](_0x2fd816);}async[_0xa8ad69(0xe2)](_0xe00ee2){const _0x260fb7=_0xa8ad69,_0x41eee7=this['_injector'][_0x260fb7(0xe6)](r[_0x260fb7(0xe4)]);if(!_0x41eee7)throw new Error(_0x260fb7(0xe5));return _0x41eee7[_0x260fb7(0xd3)](_0xe00ee2,o[_0x260fb7(0xe3)]);}async[_0xa8ad69(0xe7)](_0x15315d){const _0x2875d8=_0xa8ad69;return this[_0x2875d8(0xdc)](_0x15315d);}async[_0xa8ad69(0xdc)](_0x3f1947){const _0x350001=_0xa8ad69,_0x252e3d=this[_0x350001(0xce)][_0x350001(0xe6)](r[_0x350001(0xe4)]);if(!_0x252e3d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x252e3d[_0x350001(0xe7)](_0x3f1947);}async['exportXLSXByUnitId'](_0x4be2bb){const _0xed5590=_0xa8ad69;return this[_0xed5590(0xd1)](_0x4be2bb);}async['exportXLSXByUnitIdAsync'](_0x12aad3){const _0x1d63d6=_0xa8ad69,_0x2ea2a4=this[_0x1d63d6(0xce)][_0x1d63d6(0xe6)](r[_0x1d63d6(0xe4)]);if(!_0x2ea2a4)throw new Error(_0x1d63d6(0xe5));return _0x2ea2a4[_0x1d63d6(0xcc)](_0x12aad3);}async[_0xa8ad69(0xdd)](_0xeae3d0){const _0x1be44f=_0xa8ad69;return this[_0x1be44f(0xd8)](_0xeae3d0);}async['exportXLSXBySnapshotAsync'](_0x175093){const _0xa36f7f=_0xa8ad69,_0x54678e=this[_0xa36f7f(0xce)]['get'](r[_0xa36f7f(0xe4)]);if(!_0x54678e)throw new Error(_0xa36f7f(0xe5));return _0x54678e[_0xa36f7f(0xdd)](_0x175093);}async[_0xa8ad69(0xef)](_0x25397e){const _0x10d892=_0xa8ad69;return this[_0x10d892(0xd6)](_0x25397e);}async[_0xa8ad69(0xd6)](_0x34ee6f){const _0x38dcc6=_0xa8ad69,_0x4d3d96=this[_0x38dcc6(0xce)]['get'](r[_0x38dcc6(0xe4)]);if(!_0x4d3d96)throw new Error(_0x38dcc6(0xe5));return _0x4d3d96[_0x38dcc6(0xd3)](_0x34ee6f,o['UNIVER_DOC']);}async[_0xa8ad69(0xd0)](_0xb72cf5){const _0x1d657b=_0xa8ad69;return this[_0x1d657b(0xd5)](_0xb72cf5);}async[_0xa8ad69(0xd5)](_0x5eea7f){const _0x48716b=_0xa8ad69,_0x2350df=this[_0x48716b(0xce)][_0x48716b(0xe6)](r[_0x48716b(0xe4)]);if(!_0x2350df)throw new Error(_0x48716b(0xe5));return _0x2350df[_0x48716b(0xd0)](_0x5eea7f);}}function _0x120f(){const _0x24ad28=['exportXLSXBySnapshotAsync','11tkAOwI','UNRECOGNIZED','54429hkxGfw','importXLSXToSnapshotAsync','exportXLSXBySnapshot','FUniver','UNIVER_SLIDE','561614tGJupW','2QLsQNM','importXLSXToUnitIdAsync','UNIVER_SHEET','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','get','importXLSXToSnapshot','importXLSXToUnitId','2000236TSmxYX','14887850QuKZRp','35irrpTJ','429810Mivafj','UNIVER_UNKNOWN','UNIVER_PROJECT','importDOCXToUnitId','16MWUazj','exportXLSXByUnitId','@univerjs-pro/exchange-client','_injector','UNIVER_DOC','importDOCXToSnapshot','exportXLSXByUnitIdAsync','3127536dsdMkU','importFileToUnitId','@univerjs/core/facade','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','1425196WZlgtX'];_0x120f=function(){return _0x24ad28;};return _0x120f();}i[_0xa8ad69(0xde)]['extend'](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);