@univerjs-pro/exchange-client 0.6.7-nightly.202503291606 → 0.6.7-nightly.202503301606

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 _0x5c42(){const _0x25dcd7=['UNIVER_SHEET','1633232TEWceU','UNIVER_SLIDE','18cFPyaU','3460mwsxOm','exportXLSXBySnapshot','get','UNIVER_UNKNOWN','importFileToUnitId','3804WRkXhi','importXLSXToSnapshotAsync','2334955cKumVt','1023870txbPrN','6mhAstt','IExchangeService','importXLSXToSnapshot','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','extend','_injector','33mAdjfF','exportXLSXByUnitId','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','exportXLSXByUnitIdAsync','1598825OYvEYN','importDOCXToUnitIdAsync','UNRECOGNIZED','UNIVER_PROJECT','UNIVER_DOC','2317293JhBvIT','importDOCXToSnapshotAsync','145xRwEDR','importXLSXToUnitIdAsync'];_0x5c42=function(){return _0x25dcd7;};return _0x5c42();}const _0x20a2f0=_0x5e69;(function(_0x129d0f,_0x4768e8){const _0x506a01=_0x5e69,_0x2083e2=_0x129d0f();while(!![]){try{const _0x17a22d=-parseInt(_0x506a01(0x1ea))/0x1*(-parseInt(_0x506a01(0x1f5))/0x2)+-parseInt(_0x506a01(0x200))/0x3*(parseInt(_0x506a01(0x1f0))/0x4)+-parseInt(_0x506a01(0x206))/0x5+-parseInt(_0x506a01(0x1f9))/0x6*(parseInt(_0x506a01(0x1f7))/0x7)+parseInt(_0x506a01(0x1ed))/0x8+-parseInt(_0x506a01(0x1ef))/0x9*(-parseInt(_0x506a01(0x1f8))/0xa)+parseInt(_0x506a01(0x1e8))/0xb;if(_0x17a22d===_0x4768e8)break;else _0x2083e2['push'](_0x2083e2['shift']());}catch(_0x31ee63){_0x2083e2['push'](_0x2083e2['shift']());}}}(_0x5c42,0x38c58));const r=require(_0x20a2f0(0x1fd)),i=require('@univerjs/core/facade');var o=(_0x47d3e1=>(_0x47d3e1[_0x47d3e1[_0x20a2f0(0x1f3)]=0x0]=_0x20a2f0(0x1f3),_0x47d3e1[_0x47d3e1[_0x20a2f0(0x1e7)]=0x1]=_0x20a2f0(0x1e7),_0x47d3e1[_0x47d3e1[_0x20a2f0(0x1ec)]=0x2]=_0x20a2f0(0x1ec),_0x47d3e1[_0x47d3e1['UNIVER_SLIDE']=0x3]=_0x20a2f0(0x1ee),_0x47d3e1[_0x47d3e1[_0x20a2f0(0x1e6)]=0x4]=_0x20a2f0(0x1e6),_0x47d3e1[_0x47d3e1[_0x20a2f0(0x1e5)]=-0x1]='UNRECOGNIZED',_0x47d3e1))(o||{});class c extends i['FUniver']{async[_0x20a2f0(0x204)](_0x3a3c37){const _0xbf49fb=_0x20a2f0;return this[_0xbf49fb(0x1eb)](_0x3a3c37);}async[_0x20a2f0(0x1eb)](_0x50521c){const _0x5db172=_0x20a2f0,_0x30ae78=this['_injector']['get'](r[_0x5db172(0x1fa)]);if(!_0x30ae78)throw new Error(_0x5db172(0x203));return _0x30ae78[_0x5db172(0x1f4)](_0x50521c,o[_0x5db172(0x1ec)]);}async['importXLSXToSnapshot'](_0x36442d){const _0xe2b937=_0x20a2f0;return this[_0xe2b937(0x1f6)](_0x36442d);}async[_0x20a2f0(0x1f6)](_0x360ea5){const _0x42922a=_0x20a2f0,_0x3089cc=this['_injector'][_0x42922a(0x1f2)](r[_0x42922a(0x1fa)]);if(!_0x3089cc)throw new Error(_0x42922a(0x203));return _0x3089cc[_0x42922a(0x1fb)](_0x360ea5);}async[_0x20a2f0(0x201)](_0x37d9c1){const _0x23bbd9=_0x20a2f0;return this[_0x23bbd9(0x205)](_0x37d9c1);}async[_0x20a2f0(0x205)](_0x190407){const _0x33558a=_0x20a2f0,_0x13b515=this[_0x33558a(0x1ff)]['get'](r[_0x33558a(0x1fa)]);if(!_0x13b515)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x13b515[_0x33558a(0x201)](_0x190407);}async['exportXLSXBySnapshot'](_0x53b4c1){const _0x3da823=_0x20a2f0;return this[_0x3da823(0x1fc)](_0x53b4c1);}async[_0x20a2f0(0x1fc)](_0x1aa54b){const _0x589803=_0x20a2f0,_0x554ace=this[_0x589803(0x1ff)][_0x589803(0x1f2)](r[_0x589803(0x1fa)]);if(!_0x554ace)throw new Error(_0x589803(0x203));return _0x554ace[_0x589803(0x1f1)](_0x1aa54b);}async['importDOCXToUnitId'](_0x313f94){const _0x44de09=_0x20a2f0;return this[_0x44de09(0x207)](_0x313f94);}async[_0x20a2f0(0x207)](_0x3f5ff0){const _0x2a74bc=_0x20a2f0,_0x68272a=this[_0x2a74bc(0x1ff)][_0x2a74bc(0x1f2)](r['IExchangeService']);if(!_0x68272a)throw new Error(_0x2a74bc(0x203));return _0x68272a[_0x2a74bc(0x1f4)](_0x3f5ff0,o[_0x2a74bc(0x1e7)]);}async[_0x20a2f0(0x202)](_0xcf6232){const _0x574733=_0x20a2f0;return this[_0x574733(0x1e9)](_0xcf6232);}async['importDOCXToSnapshotAsync'](_0x1d862a){const _0x360046=_0x20a2f0,_0x4ea3f8=this[_0x360046(0x1ff)][_0x360046(0x1f2)](r[_0x360046(0x1fa)]);if(!_0x4ea3f8)throw new Error(_0x360046(0x203));return _0x4ea3f8[_0x360046(0x202)](_0x1d862a);}}function _0x5e69(_0x8f442b,_0x406320){const _0x5c4202=_0x5c42();return _0x5e69=function(_0x5e69c4,_0x440fa5){_0x5e69c4=_0x5e69c4-0x1e5;let _0xc74dab=_0x5c4202[_0x5e69c4];return _0xc74dab;},_0x5e69(_0x8f442b,_0x406320);}i['FUniver'][_0x20a2f0(0x1fe)](c);
1
+ 'use strict';const _0x56bba0=_0x30d3;(function(_0x1d9a73,_0x27953f){const _0x511df6=_0x30d3,_0xfe271f=_0x1d9a73();while(!![]){try{const _0x4467be=parseInt(_0x511df6(0xee))/0x1*(parseInt(_0x511df6(0xd6))/0x2)+parseInt(_0x511df6(0xe6))/0x3*(-parseInt(_0x511df6(0xe0))/0x4)+parseInt(_0x511df6(0xf1))/0x5+-parseInt(_0x511df6(0xe1))/0x6+parseInt(_0x511df6(0xd8))/0x7*(-parseInt(_0x511df6(0xf0))/0x8)+parseInt(_0x511df6(0xe3))/0x9+parseInt(_0x511df6(0xf8))/0xa;if(_0x4467be===_0x27953f)break;else _0xfe271f['push'](_0xfe271f['shift']());}catch(_0x517052){_0xfe271f['push'](_0xfe271f['shift']());}}}(_0x5023,0xbb885));const r=require(_0x56bba0(0xd5)),i=require(_0x56bba0(0xf9));function _0x5023(){const _0x12a767=['FUniver','exportXLSXBySnapshot','28qGbite','5323608CGybuZ','importDOCXToSnapshotAsync','4470651KehJOh','importXLSXToSnapshotAsync','UNIVER_PROJECT','451353RFsfle','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitId','importDOCXToSnapshot','importDOCXToUnitId','UNIVER_DOC','importFileToUnitId','192WbjYbv','UNIVER_SLIDE','1058712ubTdSf','3142865NGGNkS','exportXLSXByUnitIdAsync','extend','UNRECOGNIZED','importDOCXToUnitIdAsync','_injector','The\x20exchange\x20service\x20is\x20not\x20available','7554950MByYPS','@univerjs/core/facade','@univerjs-pro/exchange-client','12758kfYHPG','importXLSXToUnitIdAsync','21QnaVGT','importXLSXToSnapshot','get','UNIVER_SHEET','IExchangeService','exportXLSXBySnapshotAsync'];_0x5023=function(){return _0x12a767;};return _0x5023();}var o=(_0x16065d=>(_0x16065d[_0x16065d[_0x56bba0(0xe8)]=0x0]=_0x56bba0(0xe8),_0x16065d[_0x16065d['UNIVER_DOC']=0x1]=_0x56bba0(0xec),_0x16065d[_0x16065d[_0x56bba0(0xdb)]=0x2]='UNIVER_SHEET',_0x16065d[_0x16065d[_0x56bba0(0xef)]=0x3]=_0x56bba0(0xef),_0x16065d[_0x16065d[_0x56bba0(0xe5)]=0x4]=_0x56bba0(0xe5),_0x16065d[_0x16065d[_0x56bba0(0xf4)]=-0x1]=_0x56bba0(0xf4),_0x16065d))(o||{});function _0x30d3(_0x55ee42,_0x32166f){const _0x502359=_0x5023();return _0x30d3=function(_0x30d369,_0x4ae797){_0x30d369=_0x30d369-0xd5;let _0x2aa1cd=_0x502359[_0x30d369];return _0x2aa1cd;},_0x30d3(_0x55ee42,_0x32166f);}class c extends i[_0x56bba0(0xde)]{async[_0x56bba0(0xe9)](_0x3b8dd5){const _0x5e5161=_0x56bba0;return this[_0x5e5161(0xd7)](_0x3b8dd5);}async['importXLSXToUnitIdAsync'](_0xeaca34){const _0x1f35a6=_0x56bba0,_0x2574cb=this[_0x1f35a6(0xf6)][_0x1f35a6(0xda)](r[_0x1f35a6(0xdc)]);if(!_0x2574cb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2574cb[_0x1f35a6(0xed)](_0xeaca34,o[_0x1f35a6(0xdb)]);}async[_0x56bba0(0xd9)](_0x231bf6){const _0x1bbab4=_0x56bba0;return this[_0x1bbab4(0xe4)](_0x231bf6);}async[_0x56bba0(0xe4)](_0x470d5a){const _0x28bf8b=_0x56bba0,_0x163725=this[_0x28bf8b(0xf6)][_0x28bf8b(0xda)](r['IExchangeService']);if(!_0x163725)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x163725['importXLSXToSnapshot'](_0x470d5a);}async[_0x56bba0(0xe7)](_0x511528){const _0xcd5e8b=_0x56bba0;return this[_0xcd5e8b(0xf2)](_0x511528);}async['exportXLSXByUnitIdAsync'](_0x346af0){const _0x3b58c1=_0x56bba0,_0x22c582=this['_injector']['get'](r['IExchangeService']);if(!_0x22c582)throw new Error(_0x3b58c1(0xf7));return _0x22c582[_0x3b58c1(0xe7)](_0x346af0);}async[_0x56bba0(0xdf)](_0x440529){const _0x400849=_0x56bba0;return this[_0x400849(0xdd)](_0x440529);}async[_0x56bba0(0xdd)](_0x2e38a5){const _0x3bcbbf=_0x56bba0,_0x1754a9=this[_0x3bcbbf(0xf6)][_0x3bcbbf(0xda)](r['IExchangeService']);if(!_0x1754a9)throw new Error(_0x3bcbbf(0xf7));return _0x1754a9[_0x3bcbbf(0xdf)](_0x2e38a5);}async[_0x56bba0(0xeb)](_0x11e439){return this['importDOCXToUnitIdAsync'](_0x11e439);}async[_0x56bba0(0xf5)](_0x31e0a1){const _0x23ebc3=_0x56bba0,_0x403b02=this[_0x23ebc3(0xf6)][_0x23ebc3(0xda)](r[_0x23ebc3(0xdc)]);if(!_0x403b02)throw new Error(_0x23ebc3(0xf7));return _0x403b02['importFileToUnitId'](_0x31e0a1,o[_0x23ebc3(0xec)]);}async['importDOCXToSnapshot'](_0x19b6db){const _0x489abf=_0x56bba0;return this[_0x489abf(0xe2)](_0x19b6db);}async[_0x56bba0(0xe2)](_0xc07c91){const _0x33336e=_0x56bba0,_0x1d4716=this[_0x33336e(0xf6)]['get'](r['IExchangeService']);if(!_0x1d4716)throw new Error(_0x33336e(0xf7));return _0x1d4716[_0x33336e(0xea)](_0xc07c91);}}i[_0x56bba0(0xde)][_0x56bba0(0xf3)](c);