@univerjs-pro/exchange-client 0.6.6-nightly.202503211606 → 0.6.6-nightly.202503221606

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 _0x56506d=_0x555a;(function(_0x5879b0,_0x3d64d6){const _0x5a8e25=_0x555a,_0x3858d3=_0x5879b0();while(!![]){try{const _0x5de30f=-parseInt(_0x5a8e25(0x20d))/0x1+-parseInt(_0x5a8e25(0x1ee))/0x2+parseInt(_0x5a8e25(0x1f6))/0x3+-parseInt(_0x5a8e25(0x20b))/0x4*(-parseInt(_0x5a8e25(0x209))/0x5)+-parseInt(_0x5a8e25(0x204))/0x6*(-parseInt(_0x5a8e25(0x1fa))/0x7)+-parseInt(_0x5a8e25(0x1f9))/0x8*(-parseInt(_0x5a8e25(0x201))/0x9)+parseInt(_0x5a8e25(0x207))/0xa*(parseInt(_0x5a8e25(0x1ec))/0xb);if(_0x5de30f===_0x3d64d6)break;else _0x3858d3['push'](_0x3858d3['shift']());}catch(_0x6e4057){_0x3858d3['push'](_0x3858d3['shift']());}}}(_0x5969,0x380a5));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');function _0x555a(_0x258eec,_0x5131bd){const _0x5969d7=_0x5969();return _0x555a=function(_0x555a37,_0x5794b3){_0x555a37=_0x555a37-0x1ec;let _0x2e6bf3=_0x5969d7[_0x555a37];return _0x2e6bf3;},_0x555a(_0x258eec,_0x5131bd);}var o=(_0x3ee77c=>(_0x3ee77c[_0x3ee77c[_0x56506d(0x20e)]=0x0]=_0x56506d(0x20e),_0x3ee77c[_0x3ee77c[_0x56506d(0x1ed)]=0x1]=_0x56506d(0x1ed),_0x3ee77c[_0x3ee77c[_0x56506d(0x1f0)]=0x2]=_0x56506d(0x1f0),_0x3ee77c[_0x3ee77c[_0x56506d(0x1f3)]=0x3]='UNIVER_SLIDE',_0x3ee77c[_0x3ee77c[_0x56506d(0x20a)]=0x4]=_0x56506d(0x20a),_0x3ee77c[_0x3ee77c['UNRECOGNIZED']=-0x1]=_0x56506d(0x1fd),_0x3ee77c))(o||{});class c extends i['FUniver']{async[_0x56506d(0x20c)](_0x399e6c){const _0x4bc3e2=_0x56506d;return this[_0x4bc3e2(0x202)](_0x399e6c);}async[_0x56506d(0x202)](_0x1d3a68){const _0x1047ae=_0x56506d,_0x289859=this['_injector']['get'](r[_0x1047ae(0x205)]);if(!_0x289859)throw new Error(_0x1047ae(0x1ff));return _0x289859['importFileToUnitId'](_0x1d3a68,o[_0x1047ae(0x1f0)]);}async['importXLSXToSnapshot'](_0x9e0f0c){const _0x429eae=_0x56506d;return this[_0x429eae(0x1f8)](_0x9e0f0c);}async['importXLSXToSnapshotAsync'](_0x56d967){const _0x5a5ec5=_0x56506d,_0x4f6ce7=this['_injector'][_0x5a5ec5(0x1ef)](r['IExchangeService']);if(!_0x4f6ce7)throw new Error(_0x5a5ec5(0x1ff));return _0x4f6ce7[_0x5a5ec5(0x1f5)](_0x56d967);}async[_0x56506d(0x200)](_0x154cb2){const _0x3248e8=_0x56506d;return this[_0x3248e8(0x208)](_0x154cb2);}async[_0x56506d(0x208)](_0xc2699){const _0x3d1251=_0x56506d,_0x1ad645=this[_0x3d1251(0x1fb)][_0x3d1251(0x1ef)](r['IExchangeService']);if(!_0x1ad645)throw new Error(_0x3d1251(0x1ff));return _0x1ad645[_0x3d1251(0x200)](_0xc2699);}async[_0x56506d(0x203)](_0x4be24f){const _0x205c81=_0x56506d;return this[_0x205c81(0x1f7)](_0x4be24f);}async['exportXLSXBySnapshotAsync'](_0x71372e){const _0x55e161=_0x56506d,_0x423f5c=this[_0x55e161(0x1fb)][_0x55e161(0x1ef)](r['IExchangeService']);if(!_0x423f5c)throw new Error(_0x55e161(0x1ff));return _0x423f5c['exportXLSXBySnapshot'](_0x71372e);}async[_0x56506d(0x1f2)](_0x12b02e){return this['importDOCXToUnitIdAsync'](_0x12b02e);}async[_0x56506d(0x206)](_0x44d34c){const _0x57b873=_0x56506d,_0x4c1e4f=this[_0x57b873(0x1fb)]['get'](r['IExchangeService']);if(!_0x4c1e4f)throw new Error(_0x57b873(0x1ff));return _0x4c1e4f['importFileToUnitId'](_0x44d34c,o['UNIVER_DOC']);}async[_0x56506d(0x1f1)](_0x34778d){const _0x271886=_0x56506d;return this[_0x271886(0x1f4)](_0x34778d);}async[_0x56506d(0x1f4)](_0x55e811){const _0x199c87=_0x56506d,_0x35c8d1=this['_injector'][_0x199c87(0x1ef)](r[_0x199c87(0x205)]);if(!_0x35c8d1)throw new Error(_0x199c87(0x1ff));return _0x35c8d1['importDOCXToSnapshot'](_0x55e811);}}i[_0x56506d(0x1fe)][_0x56506d(0x1fc)](c);function _0x5969(){const _0x48d360=['exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','120kGKdVu','20293yegtvT','_injector','extend','UNRECOGNIZED','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','17019kIfzic','importXLSXToUnitIdAsync','exportXLSXBySnapshot','366SFwgKs','IExchangeService','importDOCXToUnitIdAsync','20RGldiW','exportXLSXByUnitIdAsync','128175ngDGzN','UNIVER_PROJECT','64DBGeLs','importXLSXToUnitId','410944yOWBUp','UNIVER_UNKNOWN','313863uBbaWy','UNIVER_DOC','123210EjKrMp','get','UNIVER_SHEET','importDOCXToSnapshot','importDOCXToUnitId','UNIVER_SLIDE','importDOCXToSnapshotAsync','importXLSXToSnapshot','88980NLYxLk'];_0x5969=function(){return _0x48d360;};return _0x5969();}
1
+ 'use strict';const _0x3f0bbd=_0x1682;(function(_0xd5e2ee,_0x240e81){const _0xb94b77=_0x1682,_0x3bb126=_0xd5e2ee();while(!![]){try{const _0x5719e7=parseInt(_0xb94b77(0xa9))/0x1+parseInt(_0xb94b77(0x8a))/0x2+parseInt(_0xb94b77(0x9e))/0x3+-parseInt(_0xb94b77(0x9b))/0x4*(-parseInt(_0xb94b77(0x95))/0x5)+parseInt(_0xb94b77(0x91))/0x6*(-parseInt(_0xb94b77(0x9c))/0x7)+-parseInt(_0xb94b77(0xa5))/0x8+-parseInt(_0xb94b77(0xa7))/0x9;if(_0x5719e7===_0x240e81)break;else _0x3bb126['push'](_0x3bb126['shift']());}catch(_0x31de36){_0x3bb126['push'](_0x3bb126['shift']());}}}(_0x1e05,0x2c65f));function _0x1e05(){const _0x55f16c=['importXLSXToSnapshotAsync','UNRECOGNIZED','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','61576ptmzKN','importDOCXToSnapshot','4773474Yzuope','get','145328ctaMGW','importXLSXToSnapshot','UNIVER_SLIDE','exportXLSXBySnapshotAsync','exportXLSXByUnitId','109364MfGbcj','@univerjs/core/facade','importXLSXToUnitId','IExchangeService','exportXLSXBySnapshot','importDOCXToUnitId','importFileToUnitId','491082NTBGjb','_injector','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','4670gtVSTU','exportXLSXByUnitIdAsync','UNIVER_PROJECT','@univerjs-pro/exchange-client','UNIVER_SHEET','importDOCXToSnapshotAsync','1492JDlkgl','14ELnAYi','FUniver','1005720hPtRFF','extend'];_0x1e05=function(){return _0x55f16c;};return _0x1e05();}const r=require(_0x3f0bbd(0x98)),i=require(_0x3f0bbd(0x8b));function _0x1682(_0x3aef96,_0x542c8b){const _0x1e053a=_0x1e05();return _0x1682=function(_0x1682ab,_0x206686){_0x1682ab=_0x1682ab-0x86;let _0x45318c=_0x1e053a[_0x1682ab];return _0x45318c;},_0x1682(_0x3aef96,_0x542c8b);}var o=(_0x1373f0=>(_0x1373f0[_0x1373f0[_0x3f0bbd(0xa2)]=0x0]=_0x3f0bbd(0xa2),_0x1373f0[_0x1373f0['UNIVER_DOC']=0x1]=_0x3f0bbd(0xa4),_0x1373f0[_0x1373f0[_0x3f0bbd(0x99)]=0x2]=_0x3f0bbd(0x99),_0x1373f0[_0x1373f0[_0x3f0bbd(0x87)]=0x3]='UNIVER_SLIDE',_0x1373f0[_0x1373f0[_0x3f0bbd(0x97)]=0x4]='UNIVER_PROJECT',_0x1373f0[_0x1373f0['UNRECOGNIZED']=-0x1]=_0x3f0bbd(0xa1),_0x1373f0))(o||{});class c extends i[_0x3f0bbd(0x9d)]{async[_0x3f0bbd(0x8c)](_0x3f37e3){const _0x356893=_0x3f0bbd;return this[_0x356893(0x93)](_0x3f37e3);}async[_0x3f0bbd(0x93)](_0x14acaa){const _0x59adda=_0x3f0bbd,_0x2b2654=this[_0x59adda(0x92)][_0x59adda(0xa8)](r[_0x59adda(0x8d)]);if(!_0x2b2654)throw new Error(_0x59adda(0xa3));return _0x2b2654[_0x59adda(0x90)](_0x14acaa,o[_0x59adda(0x99)]);}async[_0x3f0bbd(0x86)](_0x141d27){const _0x6e2ea2=_0x3f0bbd;return this[_0x6e2ea2(0xa0)](_0x141d27);}async[_0x3f0bbd(0xa0)](_0x158d37){const _0x2a1343=_0x3f0bbd,_0x307088=this[_0x2a1343(0x92)][_0x2a1343(0xa8)](r[_0x2a1343(0x8d)]);if(!_0x307088)throw new Error(_0x2a1343(0xa3));return _0x307088['importXLSXToSnapshot'](_0x158d37);}async[_0x3f0bbd(0x89)](_0x3b9c31){return this['exportXLSXByUnitIdAsync'](_0x3b9c31);}async[_0x3f0bbd(0x96)](_0x5d908e){const _0x152887=_0x3f0bbd,_0xe5796c=this['_injector'][_0x152887(0xa8)](r[_0x152887(0x8d)]);if(!_0xe5796c)throw new Error(_0x152887(0xa3));return _0xe5796c[_0x152887(0x89)](_0x5d908e);}async[_0x3f0bbd(0x8e)](_0x245986){return this['exportXLSXBySnapshotAsync'](_0x245986);}async[_0x3f0bbd(0x88)](_0x25dfea){const _0x50ce2e=_0x3f0bbd,_0x530223=this[_0x50ce2e(0x92)][_0x50ce2e(0xa8)](r[_0x50ce2e(0x8d)]);if(!_0x530223)throw new Error(_0x50ce2e(0xa3));return _0x530223[_0x50ce2e(0x8e)](_0x25dfea);}async[_0x3f0bbd(0x8f)](_0x54bef3){const _0x32dd24=_0x3f0bbd;return this[_0x32dd24(0x94)](_0x54bef3);}async[_0x3f0bbd(0x94)](_0x4e7736){const _0x5ac77d=_0x3f0bbd,_0x27bab2=this[_0x5ac77d(0x92)][_0x5ac77d(0xa8)](r[_0x5ac77d(0x8d)]);if(!_0x27bab2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x27bab2['importFileToUnitId'](_0x4e7736,o[_0x5ac77d(0xa4)]);}async[_0x3f0bbd(0xa6)](_0x4bbdc9){const _0x1126fa=_0x3f0bbd;return this[_0x1126fa(0x9a)](_0x4bbdc9);}async[_0x3f0bbd(0x9a)](_0x2a285e){const _0x3ac655=_0x3f0bbd,_0x5590e8=this[_0x3ac655(0x92)][_0x3ac655(0xa8)](r['IExchangeService']);if(!_0x5590e8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5590e8[_0x3ac655(0xa6)](_0x2a285e);}}i[_0x3f0bbd(0x9d)][_0x3f0bbd(0x9f)](c);