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

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';function _0x3167(){const _0x25c703=['9SNuESK','629799eZbdlP','UNIVER_UNKNOWN','importDOCXToSnapshot','UNRECOGNIZED','importDOCXToUnitIdAsync','IExchangeService','18246uHGqqt','455OsyLCR','extend','importDOCXToSnapshotAsync','UNIVER_SHEET','exportXLSXBySnapshotAsync','1594768vkxMIv','_injector','UNIVER_PROJECT','791890IIqbgX','exportXLSXBySnapshot','importXLSXToSnapshot','12vAXVTe','2XASJhO','5upeWuK','exportXLSXByUnitId','importXLSXToSnapshotAsync','2639540cQpdCZ','importFileToUnitId','importXLSXToUnitId','get','UNIVER_SLIDE','@univerjs-pro/exchange-client','1925924ONMbsV','UNIVER_DOC','FUniver','@univerjs/core/facade','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','93561rDRbTv','The\x20exchange\x20service\x20is\x20not\x20available'];_0x3167=function(){return _0x25c703;};return _0x3167();}const _0x240a0c=_0x4185;(function(_0x3572bb,_0x4a3884){const _0x509037=_0x4185,_0x3d414f=_0x3572bb();while(!![]){try{const _0x596dca=parseInt(_0x509037(0xc1))/0x1+-parseInt(_0x509037(0xb1))/0x2*(parseInt(_0x509037(0xc4))/0x3)+parseInt(_0x509037(0xb5))/0x4*(parseInt(_0x509037(0xb2))/0x5)+-parseInt(_0x509037(0xca))/0x6*(parseInt(_0x509037(0xcb))/0x7)+-parseInt(_0x509037(0xaa))/0x8+parseInt(_0x509037(0xc3))/0x9*(parseInt(_0x509037(0xad))/0xa)+parseInt(_0x509037(0xbb))/0xb*(parseInt(_0x509037(0xb0))/0xc);if(_0x596dca===_0x4a3884)break;else _0x3d414f['push'](_0x3d414f['shift']());}catch(_0x30c2f1){_0x3d414f['push'](_0x3d414f['shift']());}}}(_0x3167,0x61d87));const r=require(_0x240a0c(0xba)),i=require(_0x240a0c(0xbe));function _0x4185(_0x490a2d,_0x563a50){const _0x316766=_0x3167();return _0x4185=function(_0x418575,_0x4df9bc){_0x418575=_0x418575-0xa7;let _0x5782d8=_0x316766[_0x418575];return _0x5782d8;},_0x4185(_0x490a2d,_0x563a50);}var o=(_0x34bdc1=>(_0x34bdc1[_0x34bdc1[_0x240a0c(0xc5)]=0x0]='UNIVER_UNKNOWN',_0x34bdc1[_0x34bdc1['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x34bdc1[_0x34bdc1[_0x240a0c(0xa8)]=0x2]='UNIVER_SHEET',_0x34bdc1[_0x34bdc1['UNIVER_SLIDE']=0x3]=_0x240a0c(0xb9),_0x34bdc1[_0x34bdc1[_0x240a0c(0xac)]=0x4]=_0x240a0c(0xac),_0x34bdc1[_0x34bdc1[_0x240a0c(0xc7)]=-0x1]=_0x240a0c(0xc7),_0x34bdc1))(o||{});class c extends i[_0x240a0c(0xbd)]{async[_0x240a0c(0xb7)](_0x51ff43){const _0x1f9e3e=_0x240a0c;return this[_0x1f9e3e(0xc0)](_0x51ff43);}async['importXLSXToUnitIdAsync'](_0x54f37a){const _0xcf06f4=_0x240a0c,_0xb350d0=this['_injector'][_0xcf06f4(0xb8)](r['IExchangeService']);if(!_0xb350d0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xb350d0[_0xcf06f4(0xb6)](_0x54f37a,o[_0xcf06f4(0xa8)]);}async['importXLSXToSnapshot'](_0x18cd62){const _0xe7e29c=_0x240a0c;return this[_0xe7e29c(0xb4)](_0x18cd62);}async[_0x240a0c(0xb4)](_0x341444){const _0x2c61b4=_0x240a0c,_0x18b73e=this[_0x2c61b4(0xab)][_0x2c61b4(0xb8)](r[_0x2c61b4(0xc9)]);if(!_0x18b73e)throw new Error(_0x2c61b4(0xc2));return _0x18b73e[_0x2c61b4(0xaf)](_0x341444);}async[_0x240a0c(0xb3)](_0x42605e){const _0x3b8200=_0x240a0c;return this[_0x3b8200(0xbf)](_0x42605e);}async['exportXLSXByUnitIdAsync'](_0x50cb22){const _0x3a60bc=_0x240a0c,_0x480d48=this[_0x3a60bc(0xab)][_0x3a60bc(0xb8)](r['IExchangeService']);if(!_0x480d48)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x480d48[_0x3a60bc(0xb3)](_0x50cb22);}async[_0x240a0c(0xae)](_0xc31ec2){const _0x39181e=_0x240a0c;return this[_0x39181e(0xa9)](_0xc31ec2);}async[_0x240a0c(0xa9)](_0x59f3e4){const _0x57d033=_0x240a0c,_0x21bf88=this[_0x57d033(0xab)][_0x57d033(0xb8)](r[_0x57d033(0xc9)]);if(!_0x21bf88)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x21bf88[_0x57d033(0xae)](_0x59f3e4);}async['importDOCXToUnitId'](_0x13cbcf){const _0x10283b=_0x240a0c;return this[_0x10283b(0xc8)](_0x13cbcf);}async['importDOCXToUnitIdAsync'](_0x131b94){const _0x55a82e=_0x240a0c,_0x397542=this[_0x55a82e(0xab)][_0x55a82e(0xb8)](r[_0x55a82e(0xc9)]);if(!_0x397542)throw new Error(_0x55a82e(0xc2));return _0x397542['importFileToUnitId'](_0x131b94,o[_0x55a82e(0xbc)]);}async[_0x240a0c(0xc6)](_0xc97c1d){const _0x26a97a=_0x240a0c;return this[_0x26a97a(0xa7)](_0xc97c1d);}async[_0x240a0c(0xa7)](_0x4ee3cb){const _0x439f01=_0x240a0c,_0xba8618=this['_injector'][_0x439f01(0xb8)](r[_0x439f01(0xc9)]);if(!_0xba8618)throw new Error(_0x439f01(0xc2));return _0xba8618['importDOCXToSnapshot'](_0x4ee3cb);}}i[_0x240a0c(0xbd)][_0x240a0c(0xcc)](c);