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

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 _0x3481c9=_0x5706;(function(_0x4672d0,_0x31935d){const _0x10f7e6=_0x5706,_0x5971da=_0x4672d0();while(!![]){try{const _0x2d4c29=parseInt(_0x10f7e6(0x202))/0x1+-parseInt(_0x10f7e6(0x209))/0x2+parseInt(_0x10f7e6(0x200))/0x3+parseInt(_0x10f7e6(0x203))/0x4*(-parseInt(_0x10f7e6(0x20d))/0x5)+parseInt(_0x10f7e6(0x20f))/0x6+-parseInt(_0x10f7e6(0x1f0))/0x7+-parseInt(_0x10f7e6(0x1f8))/0x8*(-parseInt(_0x10f7e6(0x1fb))/0x9);if(_0x2d4c29===_0x31935d)break;else _0x5971da['push'](_0x5971da['shift']());}catch(_0x18be73){_0x5971da['push'](_0x5971da['shift']());}}}(_0x1575,0x4d106));function _0x1575(){const _0x555b6e=['IExchangeService','importFileToUnitId','18ZGMSUw','importXLSXToSnapshotAsync','importXLSXToSnapshot','importDOCXToUnitIdAsync','importDOCXToUnitId','3165TwOwwc','importDOCXToSnapshot','171080aibJMt','4xneMoO','UNIVER_DOC','importXLSXToUnitId','UNIVER_SHEET','importDOCXToSnapshotAsync','FUniver','560140sGEyCc','exportXLSXByUnitIdAsync','UNRECOGNIZED','UNIVER_PROJECT','1658125EhOqNI','UNIVER_UNKNOWN','3002238oZdQoB','UNIVER_SLIDE','1785595uBxZer','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','_injector','get','@univerjs-pro/exchange-client','@univerjs/core/facade','2039704LIypKm'];_0x1575=function(){return _0x555b6e;};return _0x1575();}const r=require(_0x3481c9(0x1f6)),i=require(_0x3481c9(0x1f7));var o=(_0x1067a9=>(_0x1067a9[_0x1067a9[_0x3481c9(0x20e)]=0x0]=_0x3481c9(0x20e),_0x1067a9[_0x1067a9[_0x3481c9(0x204)]=0x1]=_0x3481c9(0x204),_0x1067a9[_0x1067a9[_0x3481c9(0x206)]=0x2]=_0x3481c9(0x206),_0x1067a9[_0x1067a9[_0x3481c9(0x1ef)]=0x3]=_0x3481c9(0x1ef),_0x1067a9[_0x1067a9[_0x3481c9(0x20c)]=0x4]=_0x3481c9(0x20c),_0x1067a9[_0x1067a9[_0x3481c9(0x20b)]=-0x1]=_0x3481c9(0x20b),_0x1067a9))(o||{});function _0x5706(_0x5f0cfa,_0x30444f){const _0x157545=_0x1575();return _0x5706=function(_0x570697,_0x1478b6){_0x570697=_0x570697-0x1ef;let _0x3b54d3=_0x157545[_0x570697];return _0x3b54d3;},_0x5706(_0x5f0cfa,_0x30444f);}class c extends i[_0x3481c9(0x208)]{async[_0x3481c9(0x205)](_0x491a41){const _0x5bb465=_0x3481c9;return this[_0x5bb465(0x1f1)](_0x491a41);}async[_0x3481c9(0x1f1)](_0x1c9f97){const _0x980204=_0x3481c9,_0x1739e8=this[_0x980204(0x1f4)][_0x980204(0x1f5)](r[_0x980204(0x1f9)]);if(!_0x1739e8)throw new Error(_0x980204(0x1f2));return _0x1739e8[_0x980204(0x1fa)](_0x1c9f97,o[_0x980204(0x206)]);}async[_0x3481c9(0x1fd)](_0x1dc22e){const _0x2c93f5=_0x3481c9;return this[_0x2c93f5(0x1fc)](_0x1dc22e);}async[_0x3481c9(0x1fc)](_0x479589){const _0xdfc46f=_0x3481c9,_0x2e87c0=this[_0xdfc46f(0x1f4)][_0xdfc46f(0x1f5)](r[_0xdfc46f(0x1f9)]);if(!_0x2e87c0)throw new Error(_0xdfc46f(0x1f2));return _0x2e87c0[_0xdfc46f(0x1fd)](_0x479589);}async['exportXLSXByUnitId'](_0x2c3961){const _0x2d7a7f=_0x3481c9;return this[_0x2d7a7f(0x20a)](_0x2c3961);}async[_0x3481c9(0x20a)](_0x1316b0){const _0x2673bb=_0x3481c9,_0xf9af76=this['_injector'][_0x2673bb(0x1f5)](r[_0x2673bb(0x1f9)]);if(!_0xf9af76)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf9af76['exportXLSXByUnitId'](_0x1316b0);}async['exportXLSXBySnapshot'](_0x101b82){const _0xb10842=_0x3481c9;return this[_0xb10842(0x1f3)](_0x101b82);}async['exportXLSXBySnapshotAsync'](_0x756f2){const _0x5db06b=_0x3481c9,_0x57cb64=this[_0x5db06b(0x1f4)][_0x5db06b(0x1f5)](r[_0x5db06b(0x1f9)]);if(!_0x57cb64)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57cb64['exportXLSXBySnapshot'](_0x756f2);}async[_0x3481c9(0x1ff)](_0x191371){return this['importDOCXToUnitIdAsync'](_0x191371);}async[_0x3481c9(0x1fe)](_0x5c56bf){const _0x3f8807=_0x3481c9,_0x32f40d=this['_injector'][_0x3f8807(0x1f5)](r[_0x3f8807(0x1f9)]);if(!_0x32f40d)throw new Error(_0x3f8807(0x1f2));return _0x32f40d[_0x3f8807(0x1fa)](_0x5c56bf,o[_0x3f8807(0x204)]);}async[_0x3481c9(0x201)](_0x1f4faf){return this['importDOCXToSnapshotAsync'](_0x1f4faf);}async[_0x3481c9(0x207)](_0x1047ba){const _0x10613c=_0x3481c9,_0x14db68=this[_0x10613c(0x1f4)][_0x10613c(0x1f5)](r['IExchangeService']);if(!_0x14db68)throw new Error(_0x10613c(0x1f2));return _0x14db68[_0x10613c(0x201)](_0x1047ba);}}i[_0x3481c9(0x208)]['extend'](c);