@univerjs-pro/exchange-client 0.7.0-nightly.202505041606 → 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';const _0x28e79d=_0x3cd8;function _0x2b25(){const _0x2b60f9=['1670yJznVp','exportXLSXBySnapshotAsync','185192nRwIEt','18730QpXlZJ','importXLSXToSnapshot','exportXLSXBySnapshot','UNIVER_SLIDE','7866yLvGwW','extend','importDOCXToSnapshot','247219wbJwOt','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','26881OEkzOo','732714LRXeLh','get','IExchangeService','4LXyZas','importXLSXToUnitIdAsync','FUniver','UNRECOGNIZED','importXLSXToUnitId','382638paIbvN','UNIVER_UNKNOWN','_injector','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','UNIVER_PROJECT','UNIVER_DOC','importDOCXToUnitId','UNIVER_SHEET','102vrckzp','@univerjs-pro/exchange-client','exportXLSXByUnitId'];_0x2b25=function(){return _0x2b60f9;};return _0x2b25();}(function(_0x3c8b03,_0x3c4659){const _0x570330=_0x3cd8,_0x56ab06=_0x3c8b03();while(!![]){try{const _0x35e0d8=parseInt(_0x570330(0x211))/0x1+parseInt(_0x570330(0x1f8))/0x2+parseInt(_0x570330(0x212))/0x3*(-parseInt(_0x570330(0x1f3))/0x4)+parseInt(_0x570330(0x207))/0x5*(parseInt(_0x570330(0x201))/0x6)+-parseInt(_0x570330(0x20e))/0x7+-parseInt(_0x570330(0x206))/0x8+-parseInt(_0x570330(0x20b))/0x9*(-parseInt(_0x570330(0x204))/0xa);if(_0x35e0d8===_0x3c4659)break;else _0x56ab06['push'](_0x56ab06['shift']());}catch(_0x331b31){_0x56ab06['push'](_0x56ab06['shift']());}}}(_0x2b25,0x1e8d0));function _0x3cd8(_0x362387,_0x107a72){const _0x2b256a=_0x2b25();return _0x3cd8=function(_0x3cd891,_0x42a8b3){_0x3cd891=_0x3cd891-0x1f3;let _0x1b8d55=_0x2b256a[_0x3cd891];return _0x1b8d55;},_0x3cd8(_0x362387,_0x107a72);}const r=require(_0x28e79d(0x202)),i=require('@univerjs/core/facade');var o=(_0x3019e5=>(_0x3019e5[_0x3019e5['UNIVER_UNKNOWN']=0x0]=_0x28e79d(0x1f9),_0x3019e5[_0x3019e5['UNIVER_DOC']=0x1]=_0x28e79d(0x1fe),_0x3019e5[_0x3019e5[_0x28e79d(0x200)]=0x2]='UNIVER_SHEET',_0x3019e5[_0x3019e5[_0x28e79d(0x20a)]=0x3]=_0x28e79d(0x20a),_0x3019e5[_0x3019e5[_0x28e79d(0x1fd)]=0x4]=_0x28e79d(0x1fd),_0x3019e5[_0x3019e5['UNRECOGNIZED']=-0x1]=_0x28e79d(0x1f6),_0x3019e5))(o||{});class c extends i[_0x28e79d(0x1f5)]{async[_0x28e79d(0x1f7)](_0x2faaea){const _0x373353=_0x28e79d;return this[_0x373353(0x1f4)](_0x2faaea);}async['importXLSXToUnitIdAsync'](_0x55a203){const _0x301f00=_0x28e79d,_0x44b6fd=this[_0x301f00(0x1fa)]['get'](r[_0x301f00(0x214)]);if(!_0x44b6fd)throw new Error(_0x301f00(0x210));return _0x44b6fd['importFileToUnitId'](_0x55a203,o[_0x301f00(0x200)]);}async[_0x28e79d(0x208)](_0x3bd5de){const _0x6cc1c1=_0x28e79d;return this[_0x6cc1c1(0x1fb)](_0x3bd5de);}async[_0x28e79d(0x1fb)](_0x3daf6e){const _0x1844de=_0x28e79d,_0x4d8fa2=this[_0x1844de(0x1fa)][_0x1844de(0x213)](r[_0x1844de(0x214)]);if(!_0x4d8fa2)throw new Error(_0x1844de(0x210));return _0x4d8fa2[_0x1844de(0x208)](_0x3daf6e);}async[_0x28e79d(0x203)](_0x4c6c28){const _0x1bd949=_0x28e79d;return this[_0x1bd949(0x20f)](_0x4c6c28);}async[_0x28e79d(0x20f)](_0x2a78ab){const _0x301775=_0x28e79d,_0x11e80a=this[_0x301775(0x1fa)][_0x301775(0x213)](r[_0x301775(0x214)]);if(!_0x11e80a)throw new Error(_0x301775(0x210));return _0x11e80a[_0x301775(0x203)](_0x2a78ab);}async[_0x28e79d(0x209)](_0x27c322){const _0x2bea69=_0x28e79d;return this[_0x2bea69(0x205)](_0x27c322);}async['exportXLSXBySnapshotAsync'](_0x113fc5){const _0x231bc5=_0x28e79d,_0x2709b9=this[_0x231bc5(0x1fa)][_0x231bc5(0x213)](r[_0x231bc5(0x214)]);if(!_0x2709b9)throw new Error(_0x231bc5(0x210));return _0x2709b9[_0x231bc5(0x209)](_0x113fc5);}async[_0x28e79d(0x1ff)](_0x10296a){return this['importDOCXToUnitIdAsync'](_0x10296a);}async['importDOCXToUnitIdAsync'](_0x18ef93){const _0x28ed40=_0x28e79d,_0x38f712=this['_injector'][_0x28ed40(0x213)](r['IExchangeService']);if(!_0x38f712)throw new Error(_0x28ed40(0x210));return _0x38f712['importFileToUnitId'](_0x18ef93,o[_0x28ed40(0x1fe)]);}async[_0x28e79d(0x20d)](_0x1b0845){const _0x4324ba=_0x28e79d;return this[_0x4324ba(0x1fc)](_0x1b0845);}async[_0x28e79d(0x1fc)](_0x67963a){const _0x468518=_0x28e79d,_0x4a9109=this[_0x468518(0x1fa)]['get'](r[_0x468518(0x214)]);if(!_0x4a9109)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4a9109[_0x468518(0x20d)](_0x67963a);}}i[_0x28e79d(0x1f5)][_0x28e79d(0x20c)](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();}