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

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 _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);
1
+ 'use strict';const _0xdb2ea6=_0x41e7;(function(_0x47b1d2,_0x295b70){const _0x2f5118=_0x41e7,_0xade4ec=_0x47b1d2();while(!![]){try{const _0x22b636=parseInt(_0x2f5118(0x19a))/0x1*(-parseInt(_0x2f5118(0x1ab))/0x2)+parseInt(_0x2f5118(0x1aa))/0x3+-parseInt(_0x2f5118(0x194))/0x4*(parseInt(_0x2f5118(0x192))/0x5)+parseInt(_0x2f5118(0x193))/0x6+-parseInt(_0x2f5118(0x1a7))/0x7+-parseInt(_0x2f5118(0x18a))/0x8*(parseInt(_0x2f5118(0x1a6))/0x9)+parseInt(_0x2f5118(0x1a2))/0xa;if(_0x22b636===_0x295b70)break;else _0xade4ec['push'](_0xade4ec['shift']());}catch(_0x2de1f6){_0xade4ec['push'](_0xade4ec['shift']());}}}(_0x7bc5,0x9885e));function _0x41e7(_0x3cd9f6,_0x25d7f6){const _0x7bc50b=_0x7bc5();return _0x41e7=function(_0x41e70d,_0x5b020c){_0x41e70d=_0x41e70d-0x18a;let _0x33a254=_0x7bc50b[_0x41e70d];return _0x33a254;},_0x41e7(_0x3cd9f6,_0x25d7f6);}const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');var o=(_0x184a41=>(_0x184a41[_0x184a41[_0xdb2ea6(0x1a3)]=0x0]=_0xdb2ea6(0x1a3),_0x184a41[_0x184a41[_0xdb2ea6(0x1a5)]=0x1]=_0xdb2ea6(0x1a5),_0x184a41[_0x184a41['UNIVER_SHEET']=0x2]=_0xdb2ea6(0x1a8),_0x184a41[_0x184a41[_0xdb2ea6(0x19d)]=0x3]='UNIVER_SLIDE',_0x184a41[_0x184a41[_0xdb2ea6(0x190)]=0x4]=_0xdb2ea6(0x190),_0x184a41[_0x184a41['UNRECOGNIZED']=-0x1]=_0xdb2ea6(0x19f),_0x184a41))(o||{});class c extends i[_0xdb2ea6(0x19e)]{async[_0xdb2ea6(0x199)](_0x422ee6){const _0x38ae29=_0xdb2ea6;return this[_0x38ae29(0x18d)](_0x422ee6);}async[_0xdb2ea6(0x18d)](_0x5d42b3){const _0x368d1b=_0xdb2ea6,_0x135a2b=this[_0x368d1b(0x195)][_0x368d1b(0x18f)](r[_0x368d1b(0x196)]);if(!_0x135a2b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x135a2b[_0x368d1b(0x1a4)](_0x5d42b3,o[_0x368d1b(0x1a8)]);}async['importXLSXToSnapshot'](_0x1c05d3){const _0xd35980=_0xdb2ea6;return this[_0xd35980(0x191)](_0x1c05d3);}async['importXLSXToSnapshotAsync'](_0x36cf0c){const _0x5c7148=_0xdb2ea6,_0x201f90=this['_injector'][_0x5c7148(0x18f)](r[_0x5c7148(0x196)]);if(!_0x201f90)throw new Error(_0x5c7148(0x19c));return _0x201f90[_0x5c7148(0x1a1)](_0x36cf0c);}async[_0xdb2ea6(0x1a0)](_0x5a1a8f){const _0x3e2ef3=_0xdb2ea6;return this[_0x3e2ef3(0x1a9)](_0x5a1a8f);}async['exportXLSXByUnitIdAsync'](_0x315cf0){const _0x1c515e=_0xdb2ea6,_0x1fe28c=this[_0x1c515e(0x195)][_0x1c515e(0x18f)](r[_0x1c515e(0x196)]);if(!_0x1fe28c)throw new Error(_0x1c515e(0x19c));return _0x1fe28c[_0x1c515e(0x1a0)](_0x315cf0);}async['exportXLSXBySnapshot'](_0xec7e3e){const _0x49a01f=_0xdb2ea6;return this[_0x49a01f(0x18c)](_0xec7e3e);}async['exportXLSXBySnapshotAsync'](_0x2cd788){const _0x26e185=_0xdb2ea6,_0x5475d3=this[_0x26e185(0x195)][_0x26e185(0x18f)](r['IExchangeService']);if(!_0x5475d3)throw new Error(_0x26e185(0x19c));return _0x5475d3[_0x26e185(0x18b)](_0x2cd788);}async['importDOCXToUnitId'](_0x392793){const _0x3ea1fc=_0xdb2ea6;return this[_0x3ea1fc(0x198)](_0x392793);}async['importDOCXToUnitIdAsync'](_0xf6e4ff){const _0x174ec1=_0xdb2ea6,_0x302769=this['_injector'][_0x174ec1(0x18f)](r['IExchangeService']);if(!_0x302769)throw new Error(_0x174ec1(0x19c));return _0x302769[_0x174ec1(0x1a4)](_0xf6e4ff,o[_0x174ec1(0x1a5)]);}async[_0xdb2ea6(0x18e)](_0xf6b608){return this['importDOCXToSnapshotAsync'](_0xf6b608);}async[_0xdb2ea6(0x19b)](_0x56197f){const _0x18b3ec=_0xdb2ea6,_0x79fd40=this[_0x18b3ec(0x195)][_0x18b3ec(0x18f)](r[_0x18b3ec(0x196)]);if(!_0x79fd40)throw new Error(_0x18b3ec(0x19c));return _0x79fd40[_0x18b3ec(0x18e)](_0x56197f);}}i[_0xdb2ea6(0x19e)][_0xdb2ea6(0x197)](c);function _0x7bc5(){const _0xe78ea0=['exportXLSXByUnitIdAsync','3256737ILBZtf','2tdiUSg','197728RPrrDf','exportXLSXBySnapshot','exportXLSXBySnapshotAsync','importXLSXToUnitIdAsync','importDOCXToSnapshot','get','UNIVER_PROJECT','importXLSXToSnapshotAsync','25DPIdzt','3987708kVjxsy','327724tTeOhz','_injector','IExchangeService','extend','importDOCXToUnitIdAsync','importXLSXToUnitId','610364MZGUvc','importDOCXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','FUniver','UNRECOGNIZED','exportXLSXByUnitId','importXLSXToSnapshot','9483000ASkVrb','UNIVER_UNKNOWN','importFileToUnitId','UNIVER_DOC','72kCogVK','5992112zwDXMm','UNIVER_SHEET'];_0x7bc5=function(){return _0xe78ea0;};return _0x7bc5();}