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

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 _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);