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

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 _0x26b058=_0x1bcb;(function(_0x4e773c,_0x2be730){const _0x57dfce=_0x1bcb,_0x5162fc=_0x4e773c();while(!![]){try{const _0x2a32fd=-parseInt(_0x57dfce(0x156))/0x1+parseInt(_0x57dfce(0x141))/0x2*(-parseInt(_0x57dfce(0x161))/0x3)+-parseInt(_0x57dfce(0x159))/0x4+parseInt(_0x57dfce(0x15c))/0x5*(parseInt(_0x57dfce(0x14f))/0x6)+-parseInt(_0x57dfce(0x14d))/0x7+-parseInt(_0x57dfce(0x14a))/0x8+parseInt(_0x57dfce(0x143))/0x9*(parseInt(_0x57dfce(0x146))/0xa);if(_0x2a32fd===_0x2be730)break;else _0x5162fc['push'](_0x5162fc['shift']());}catch(_0x252b2c){_0x5162fc['push'](_0x5162fc['shift']());}}}(_0x5963,0xc52d5));function _0x1bcb(_0x20aeb1,_0x60c40b){const _0x59631c=_0x5963();return _0x1bcb=function(_0x1bcb7a,_0x4293de){_0x1bcb7a=_0x1bcb7a-0x141;let _0x526147=_0x59631c[_0x1bcb7a];return _0x526147;},_0x1bcb(_0x20aeb1,_0x60c40b);}const r=require(_0x26b058(0x157)),i=require(_0x26b058(0x145));function _0x5963(){const _0x546839=['FUniver','2ozEEtd','importDOCXToUnitId','9PRXCIT','importDOCXToUnitIdAsync','@univerjs/core/facade','25381210eSPlQU','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','675808zBiHVi','UNIVER_DOC','importDOCXToSnapshot','4040925EgTySw','get','116562LNGkuk','UNIVER_PROJECT','extend','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','importXLSXToSnapshotAsync','91852XDnMYc','@univerjs-pro/exchange-client','_injector','4202320kEvIOE','importDOCXToSnapshotAsync','UNIVER_SHEET','245oYIZiz','IExchangeService','exportXLSXBySnapshot','importFileToUnitId','UNRECOGNIZED','2634672UIofiq','importXLSXToUnitId','importXLSXToSnapshot'];_0x5963=function(){return _0x546839;};return _0x5963();}var o=(_0x1ba123=>(_0x1ba123[_0x1ba123[_0x26b058(0x147)]=0x0]=_0x26b058(0x147),_0x1ba123[_0x1ba123[_0x26b058(0x14b)]=0x1]=_0x26b058(0x14b),_0x1ba123[_0x1ba123[_0x26b058(0x15b)]=0x2]=_0x26b058(0x15b),_0x1ba123[_0x1ba123[_0x26b058(0x154)]=0x3]=_0x26b058(0x154),_0x1ba123[_0x1ba123[_0x26b058(0x150)]=0x4]=_0x26b058(0x150),_0x1ba123[_0x1ba123[_0x26b058(0x160)]=-0x1]=_0x26b058(0x160),_0x1ba123))(o||{});class c extends i['FUniver']{async[_0x26b058(0x162)](_0x5ef346){const _0x4c05ad=_0x26b058;return this[_0x4c05ad(0x148)](_0x5ef346);}async[_0x26b058(0x148)](_0x300519){const _0x3a65c2=_0x26b058,_0x4a2058=this[_0x3a65c2(0x158)]['get'](r[_0x3a65c2(0x15d)]);if(!_0x4a2058)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4a2058[_0x3a65c2(0x15f)](_0x300519,o[_0x3a65c2(0x15b)]);}async[_0x26b058(0x163)](_0x2eb8c0){return this['importXLSXToSnapshotAsync'](_0x2eb8c0);}async[_0x26b058(0x155)](_0x5173e4){const _0x10047c=_0x26b058,_0x15aa7e=this[_0x10047c(0x158)][_0x10047c(0x14e)](r[_0x10047c(0x15d)]);if(!_0x15aa7e)throw new Error(_0x10047c(0x153));return _0x15aa7e['importXLSXToSnapshot'](_0x5173e4);}async['exportXLSXByUnitId'](_0x4e16ea){return this['exportXLSXByUnitIdAsync'](_0x4e16ea);}async[_0x26b058(0x149)](_0x49da9d){const _0x208023=_0x26b058,_0x2f52d8=this[_0x208023(0x158)][_0x208023(0x14e)](r['IExchangeService']);if(!_0x2f52d8)throw new Error(_0x208023(0x153));return _0x2f52d8['exportXLSXByUnitId'](_0x49da9d);}async[_0x26b058(0x15e)](_0x550b9b){const _0x176246=_0x26b058;return this[_0x176246(0x152)](_0x550b9b);}async[_0x26b058(0x152)](_0x164633){const _0x3dda5a=_0x26b058,_0x312000=this['_injector']['get'](r[_0x3dda5a(0x15d)]);if(!_0x312000)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x312000[_0x3dda5a(0x15e)](_0x164633);}async[_0x26b058(0x142)](_0x21ce37){const _0x602646=_0x26b058;return this[_0x602646(0x144)](_0x21ce37);}async[_0x26b058(0x144)](_0x212d15){const _0x4c1701=_0x26b058,_0x4469b7=this[_0x4c1701(0x158)][_0x4c1701(0x14e)](r[_0x4c1701(0x15d)]);if(!_0x4469b7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4469b7[_0x4c1701(0x15f)](_0x212d15,o[_0x4c1701(0x14b)]);}async[_0x26b058(0x14c)](_0x54211f){const _0x41c3a5=_0x26b058;return this[_0x41c3a5(0x15a)](_0x54211f);}async[_0x26b058(0x15a)](_0x1b7cc0){const _0x3dfbd4=_0x26b058,_0x3353f1=this[_0x3dfbd4(0x158)][_0x3dfbd4(0x14e)](r[_0x3dfbd4(0x15d)]);if(!_0x3353f1)throw new Error(_0x3dfbd4(0x153));return _0x3353f1['importDOCXToSnapshot'](_0x1b7cc0);}}i[_0x26b058(0x164)][_0x26b058(0x151)](c);
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);